delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/01/23/14:54:19

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
Date: Tue, 23 Jan 2001 14:22:49 -0500 (EST)
From: Charles Wilson <cwilson AT ece DOT gatech DOT edu>
X-Sender: cwilson AT frontal DOT ibb DOT gatech DOT edu
To: Earnie Boyd <cygwin AT cygwin DOT com>
cc: Seth Delackner <seth AT jtan DOT com>
Subject: Re: openssh ssh using bash loses control of terminal
In-Reply-To: <3A6DBCF4.503AD9A5@yahoo.com>
Message-ID: <Pine.GSO.4.20.0101231411130.17923-100000@frontal.ibb.gatech.edu>
MIME-Version: 1.0


On Tue, 23 Jan 2001, Earnie Boyd wrote:
> It's most likely implementation specific.  I tried your example on HP-UX
> and it tried to write to /usr/share/lib/terminfo and of course I don't
> have write access to that directory.  I specified the TERMINFO variable
> to ~/.terminfo and it wrote out the data.

Ok. I can accept that.

> > w.r.t. dependency definitions, I thought I had included all the necessary
> > ones.  I'll check again.
> > 
> 
> I have better luck, leaving the TERM setting on Cygwin side as cygwin
> and changing the TERM setting on the remove side to one that is commonly
> available for that system. E.G.: export TERM=xterms.

Well, the original problem was just that: the poster was using a "commonly
available" term setting: TERM=linux.  And that caused problems on the
cygwin side. 

I've noticed this myself: I used to always set TERM=linux. However, when I
then ran an ncurses-based program, after exiting that program the console
was filled with 6[6[ or 2c;2c; etc.  The bottom line: TERM=linux and a DOS
box on cygwin do not play well together.

Solution: use the least common denominator, like TERM=xterm, or teach both
the local system and the remote system to understand the terminal
you are actually using (in this case, DOSbox == 'CYGWIN').

I get around it by using TERM=rxvt-cygwin, in an rxvt window.  On the
remote side, my login script strips anything after '-' so it resets
TERM=rxvt whin I login to the remote system.

> Cheers,
> Earnie.
> 
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
> 


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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