X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-0.5 required=5.0 	tests=AWL,BAYES_50,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <COL102-W16EE786807A25DBC3C5517B5EC0@phx.gbl>
From: Karl M <karlm30@hotmail.com>
To: <cygwin@cygwin.com>
Subject: RE: Cygwin 1.7 ssh and window size
Date: Sun, 6 Sep 2009 13:18:16 -0700
In-Reply-To: <20090904141401.GB14283@ednor.casa.cgf.cx>
References: <COL102-W316176F3DDACC50EE94F7DB5F30@phx.gbl>   <COL102-W35F1C8D6AA2D5D87D323D4B5F20@phx.gbl>   <20090831040857.GA2667@ednor.casa.cgf.cx>   <COL102-W5769CACE9552E85E3C2B58B5F20@phx.gbl>  <h7fnnt$5jl$1@ger.gmane.org>   <COL102-W103E97FFD3771B4F7B3050B5F20@phx.gbl>  <20090904141401.GB14283@ednor.casa.cgf.cx>
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com


> 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
>>symptoms.
>>
>>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
>>(cmd.exe).
>>
>>(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.
=20
Thanks,
=20
...Karl
_________________________________________________________________
Get back to school stuff for them and cashback for you.
http://www.bing.com/cashback?form=3DMSHYCB&publ=3DWLHMTAG&crea=3DTEXT_MSHYC=
B_BackToSchool_Cashback_BTSCashback_1x1

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

