delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/08/01/12:41:23

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-Id: <5.1.0.14.0.20010801110653.00adae50@postoffice.swbell.net>
X-Sender: swoneill AT postoffice DOT swbell DOT net
X-Mailer: QUALCOMM Windows Eudora Version 5.1
Date: Wed, 01 Aug 2001 11:20:23 -0500
To: cygwin AT cygwin DOT com
From: "Sean O'Neill" <swoneill AT bigfoot DOT com>
Subject: Question about line wrapping and ssh
Mime-Version: 1.0

Having a little bit of a headache with Cygwin and line wrapping when ssh'd 
to another system.  I normally use SecureCRT for ssh because of this 
problem but I figured I'd ask the group.

I'm using the most current version of Cygwin on a Win2K Pro 
laptop.  Recently updated my setup.exe and I usually do updates weekly so 
its pretty current.

What's happening is when I view or vi a file on a remote UNIX system 
through OpenSSH in Cygwin, the line wrapping is messed up.  Through 
SecureCRT, a line needing to be wrapped will break at say column 80 and the 
remaining text will be immediately beneath the first part of the line.  A $ 
command in view/vi works as it should.  Nothing weird.

In OpenSSH under Cygwin, the line will break at column 80.  Instead of 
characters 81 through whatever showing up immediately on the next line of 
the screen, there is a blank line.  Then character 81 through whatever show 
up on the 2nd line.  A $ command in view/vi attempts to work correctly.  It 
will goto the same position on the screen as it does through SecureCRT but 
the cursor is on a blank line.  The text it should be on top of is beneath it.

Something like this:

SecureCRT:
123456789123456789123456789abcdefg<break point>
hijklmnop.......

OpenSSH in Cygwin:
123456789123456789123456789abcdefg<break point>
<what shows up as a blank line on the screen>
hijklmnop.......

My stty settings on the remote system looks just fine.  Compared to the 
stty setting of the SecureCRT window of the exact same size, they are 
identical.

Any ideas ???  Does this have something to do with the CYGWIN variable?  My 
CYGWIN variable is:

CYGWIN=ntsec tty

I even set my CYGWIN32 variable to:

CYWGIN32=title tty

Didn't help.  Wasn't sure if this had something to do with OpenSSH or 
Cygwin but I though I'd start here first.  Any thoughts appreciated.


........................................................
......... ..- -. .. -..- .-. ..- .-.. . ... ............
.-- .. -. -... .-.. --- .-- ... -.. .-. --- --- .-.. ...

Sean O'Neill


--
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