delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/01/10/13:23:01

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-Id: <4.3.1.2.20020110131930.02161ef0@pop.ma.ultranet.com>
X-Sender: lhall AT pop DOT ma DOT ultranet DOT com
X-Mailer: QUALCOMM Windows Eudora Version 4.3.1
Date: Thu, 10 Jan 2002 13:20:05 -0500
To: James Garrison <jhg AT athensgroup DOT com>, cygwin AT cygwin DOT com
From: "Larry Hall (RFK Partners, Inc)" <lhall AT rfk DOT com>
Subject: Re: resize command hangs from ssh session
In-Reply-To: <3C3DD8B0.6030602@athensgroup.com>
Mime-Version: 1.0

At 01:08 PM 1/10/2002, James Garrison wrote:
>I've searched the archive and can't seem to find anything
>applicable.  My problem:
>
>Win2000SP2 CYGWIN_NT-5.0 1.3.6(0.47/3/2) 2001-12-08 17:02 i686 unknown
>OpenSSH_3.0.2p1, SSH protocols 1.5/2.0, OpenSSL 0x0090602f
>
>Open a Cygwin command shell (my default is configured to 80x45)
>ssh to a RH Linux 7.1 box
>Change the window size to, say, 80x60
>Run the 'resize' command (on linux host)
>
>The text cursor jumps to the bottom-right corner of the window
>(this is normal) and just stays there (this is not normal).
>resize never returns.  This behavior ALWAYS happens even if
>I don't physically resize the window (i.e. run resize
>immediately after logging in and it still hangs).
>
>I've tried setting TERM=ansi, TERM=vt100 and TERM=cygwin
>in the Linux shell with identical results.
>
>If I logout (back to cygwin shell) and re-ssh from
>the resized (80x60) window everything works and the
>COLUMNS and LINES environment variables are correctly set.
>
>As I understand it, resize sends a specific terminal control
>sequence that requests the hardware to reply with the current
>size.  I assume that either cygwin's bash isn't playing just
>right, or something gets garbled over ssh.
>
>As a side note, I tried running resize locally (in the
>cygwin bash shell) and it fails looking for cygncurses5.dll,
>which is not in any of my bin directories.  I did find
>cygncurses6.dll in /usr/bin.  Is this related or just a
>coincidence?
>
>Suggestions on how to debug this further?


Did you see this?

http://cygwin.com/ml/cygwin/2002-01/msg00212.html

Is it applicable?



Larry Hall                              lhall AT rfk DOT com
RFK Partners, Inc.                      http://www.rfk.com
838 Washington Street                   (508) 893-9779 - RFK Office
Holliston, MA 01746                     (508) 893-9889 - FAX


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019