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

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 11:17:10 -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: <3A6D918A.5A5BE094@yahoo.com>
Message-ID: <Pine.GSO.4.20.0101231114240.17150-100000@frontal.ibb.gatech.edu>
MIME-Version: 1.0

On Tue, 23 Jan 2001, Earnie Boyd wrote:

> Charles Wilson wrote:
> > 
> > This is because you are running in a DOS box locally, and the remote app
> > is using (a remote version of) ncurses.  The DOS box ain't linux.  What
> > you want to do is set TERM=cygwin, but then you need to instruct the
> > remote machine in what "cygwin" means
> > .  Download the following file:
> > 
> > http://www.neuro.gatech.edu/users/cwilson/cygutils/cygwin.terminfo
> > 
> > which is an excerpt from the ncurses-5.2-4-src.tar.gz terminfo.src.  Put
> > cygwin.terminfo on the remote machine, and run 'tic cygwin.terminfo' on
> > that machine.  This should create a partial terminfo database in
> > ~/.terminfo/* on the remote machine, "teaching" it about TERM=cygwin.
> > 
> 
> Be sure to `export TERMINFO='~/.terminfo'' in order for tic to put this
> in your home directory.  Chuck, you needed to include all dependency
> definitions.  Dependencies can be found from a search of `use='.

Hmmm...I thought that if tic could not write to the system default
terminfo database, then it used ~/.terminfo as a fallback automatically.
Ditto for programs that use ncurses: I thought they looked in the system
location AND in ~/.terminfo without the need for a special TERMINFO
variable setting.  Am I wrong?

w.r.t. dependency definitions, I thought I had included all the necessary
ones.  I'll check again.

--Chuck


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