This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: openssh ssh using bash loses control of terminal


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='.

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]