Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <3A6D77F5.AB46B1F3@ece.gatech.edu> Date: Tue, 23 Jan 2001 07:24:21 -0500 From: Charles Wilson X-Mailer: Mozilla 4.75 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: Seth Delackner CC: cygwin AT cygwin DOT com Subject: Re: openssh ssh using bash loses control of terminal References: <20010122211555 DOT A9626 AT io DOT jtan DOT com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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. --Chuck Seth Delackner wrote: > > Whenever I ssh into a remote linux box and run 'mutt' or 'vi' and press ':' to enter a special command, my terminal goes ballistic sending the characters '6' and 'c' endlessly. > > I am running Bash 2.04.5(12) and OpenSSH version 2.3.0p1. I have TERM=linux, CYGIN='ntsec tty'. I've just gotten through a few hours of searching the mailing list archive getting sshd to run as a service, so I really don't want to delve back in to debug this. Any help would be appreciated. > > -- > Want to unsubscribe from this list? > Check out: http://cygwin.com/ml/#unsubscribe-simple -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple