This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Cygwin 1.7 ssh and window size

> Date: Fri, 4 Sep 2009 10:14:01 -0400
> From: cgf
> Subject: Re: Cygwin 1.7 ssh and window size
> On Sun, Aug 30, 2009 at 11:05:58PM -0700, Karl M wrote:
>>My first email had a cygcheck and the following steps to reproduce the
>>I just noticed the following with Cygwin 1.7, and ssh (and vi in this
>>example), on Vista Business SP2.
>>If I (1) open a bash cygwin window from the normal installed shortcut
>>(2) drag the bottom edge of the window down to enlarge it.
>>(3) ssh localhost (or to another host).
>>(4) edit a file with vi.
>>Then only a portion of the window is used, the size of the original
>>window before enlarging it.
>>If I (5) exit vi, and exit the ssh session.
>>(6) ssh localhost (or to another host).
>>(7) edit a file with vi.
>>Then the entire window is used for editing.
> As I mentioned in another thread, Cygwin's handling of console window
> size changes is not perfect. It is hampered by what Windows provides.
> I don't see any difference between Cygwin 1.5 and Cygwin 1.7 in this
> regard and I would not have expected any since there were no changes
> in that part of the code.
With the latest snapshot, if I enter a blank line before ssh localhost,
ssh uses the correct window size on the remote host (in this case, the
same host), although vi uses the correct window size without a blank
line after resizing. So ssh is doing something different than vi in
how it deals with window size.
Get back to school stuff for them and cashback for you.

Problem reports:
Unsubscribe info:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]