Resizing window bug

110 views
Skip to first unread message

j.greg...@gmail.com

unread,
Jul 29, 2015, 12:02:53 PM7/29/15
to chromium-hterm
I'm using Secure Shell in the browser and when I resize my browser window and go into vim, the layout is messed up and it is still thinking the terminal size is what it was when I originally connected to the server.  Is this a known issue?  Any way to manually update the terminal dimensions based on the new window size?

Robert Ginda

unread,
Jul 29, 2015, 12:06:44 PM7/29/15
to j.greg...@gmail.com, chromium-hterm
Doesn't sound familiar to me.

* You're running Secure Shell in a tab rather than as a window?  Is it any better if you run in a window?
* Can you confirm, using `stty -a` that the terminal dimensions really are wrong?
* Do the terminal dimensions appear in an overlay when you resize?
* Any errors in the js console?
* Does changing the font size (ctrl plus, then ctrl zero) fix the dimensions?


Rob.

On Wed, Jul 29, 2015 at 9:02 AM, <j.greg...@gmail.com> wrote:
I'm using Secure Shell in the browser and when I resize my browser window and go into vim, the layout is messed up and it is still thinking the terminal size is what it was when I originally connected to the server.  Is this a known issue?  Any way to manually update the terminal dimensions based on the new window size?

--
You received this message because you are subscribed to the Google Groups "chromium-hterm" group.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-hterm/e3688e2e-096f-430a-93e9-8934fa323612%40chromium.org.

j.greg...@gmail.com

unread,
Jul 29, 2015, 12:16:15 PM7/29/15
to chromium-hterm, rgi...@chromium.org
* You're running Secure Shell in a tab rather than as a window?  Is it any better if you run in a window?

I'm running in a chrome tab on Mac OSX.  I can try on my chromebook later to see if it happens in a window

* Can you confirm, using `stty -a` that the terminal dimensions really are wrong?

Before resize:
08:18AM # stty -a
speed 38400 baud; rows 54; columns 228; line = 0;

After resize:
stty -a
speed 38400 baud; rows 54; columns 228; line = 0;

* Do the terminal dimensions appear in an overlay when you resize?
 
Yes

* Any errors in the js console?

Looks I get an substr error when setting a color on init.  Might be my customization, I'll look into this.

* Does changing the font size (ctrl plus, then ctrl zero) fix the dimensions?

Nope

Robert Ginda

unread,
Jul 29, 2015, 12:54:05 PM7/29/15
to Greg Allen, chromium-hterm


On Jul 29, 2015 9:16 AM, <j.greg...@gmail.com> wrote:
>>
>> * You're running Secure Shell in a tab rather than as a window?  Is it any better if you run in a window?
>
>
> I'm running in a chrome tab on Mac OSX.  I can try on my chromebook later to see if it happens in a window
>
>> * Can you confirm, using `stty -a` that the terminal dimensions really are wrong?
>
>
> Before resize:
>
> 08:18AM # stty -a
> speed 38400 baud; rows 54; columns 228; line = 0;
>
> After resize:
>
> stty -a
> speed 38400 baud; rows 54; columns 228; line = 0;
>
>
>> * Do the terminal dimensions appear in an overlay when you resize?
>
>  
>
> Yes
>
>
>> * Any errors in the js console?
>
>
> Looks I get an substr error when setting a color on init.  Might be my customization, I'll look into this.
>

Try changing the terminal profile field to anything, this will let you run with the default prefs without actually disturbing your customizations.

>> * Does changing the font size (ctrl plus, then ctrl zero) fix the dimensions?
>
>
> Nope
>
> On Wednesday, July 29, 2015 at 9:06:44 AM UTC-7, Robert Ginda wrote:
>>
>> Doesn't sound familiar to me.
>>
>> * You're running Secure Shell in a tab rather than as a window?  Is it any better if you run in a window?
>> * Can you confirm, using `stty -a` that the terminal dimensions really are wrong?
>> * Do the terminal dimensions appear in an overlay when you resize?
>> * Any errors in the js console?
>> * Does changing the font size (ctrl plus, then ctrl zero) fix the dimensions?
>>
>>
>> Rob.
>>
>> On Wed, Jul 29, 2015 at 9:02 AM, <j.greg...@gmail.com> wrote:
>>>
>>> I'm using Secure Shell in the browser and when I resize my browser window and go into vim, the layout is messed up and it is still thinking the terminal size is what it was when I originally connected to the server.  Is this a known issue?  Any way to manually update the terminal dimensions based on the new window size?
>>>
>>> --
>>> You received this message because you are subscribed to the Google Groups "chromium-hterm" group.
>>> To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-hterm/e3688e2e-096f-430a-93e9-8934fa323612%40chromium.org.
>>
>>
> --
> You received this message because you are subscribed to the Google Groups "chromium-hterm" group.

> To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-hterm/3a750b66-6b50-4229-9323-040dd2be71f6%40chromium.org.

j.greg...@gmail.com

unread,
Jul 29, 2015, 1:01:58 PM7/29/15
to chromium-hterm, rgi...@google.com
I changed profile and I still have the same issues.  Rows and columns stay the same after resizing browser window.  I'm running 0.8.34 if that helps.

Robert Ginda

unread,
Jul 29, 2015, 1:06:20 PM7/29/15
to Greg Allen, chromium-hterm

Did the js console error go away?

j.greg...@gmail.com

unread,
Jul 29, 2015, 1:10:55 PM7/29/15
to chromium-hterm, rgi...@google.com
Yes.  I fixed that issue on my profile too and no more js error.

j.greg...@gmail.com

unread,
Jul 29, 2015, 1:54:19 PM7/29/15
to chromium-hterm, rgi...@google.com
I also just checked on my chromebook (in a separate window) and I have the same exact experience.


On Wednesday, July 29, 2015 at 10:06:20 AM UTC-7, rginda wrote:

j.greg...@gmail.com

unread,
Jul 30, 2015, 4:34:05 PM7/30/15
to chromium-hterm, rgi...@google.com
were you able to reproduce the issue?


On Wednesday, July 29, 2015 at 10:06:20 AM UTC-7, rginda wrote:

Robert Ginda

unread,
Jul 30, 2015, 4:53:06 PM7/30/15
to j.greg...@gmail.com, chromium-hterm
It doesn't reproduce on my Linux box, and unfortunately I haven't had a chance to try anywhere else.

I tried Secure Shell 0.8.34 and Secure Shell (dev) 0.8.34.1, on Chrome 45.0.2454.15 (Official Build) dev (64-bit), Ubuntu 14.04.2.


Rob.

j.greg...@gmail.com

unread,
Jul 31, 2015, 5:16:27 PM7/31/15
to chromium-hterm, j.greg...@gmail.com, rgi...@google.com
looks like it has to do with my setup.  I'm using envy (https://github.com/progrium/envy) and I think the problem is there.

Thanks for your help Rob

Robert Ginda

unread,
Jul 31, 2015, 5:22:49 PM7/31/15
to Greg Allen, chromium-hterm
Ah, good to hear.  I was afraid I had another monkey on my back.  Thanks for letting me know.
Reply all
Reply to author
Forward
0 new messages