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 To: cygwin Subject: ssh, ncurses and xemacs (was Re: sshd, xemacs and termcap) References: <39F15A02 DOT E149F2D3 AT redhat DOT com> From: ht AT cogsci DOT ed DOT ac DOT uk (Henry S. Thompson) Date: 23 Oct 2000 12:15:48 +0100 In-Reply-To: ht@cogsci.ed.ac.uk's message of "22 Oct 2000 00:37:00 +0100" Message-ID: Lines: 42 User-Agent: Gnus/5.0805 (Gnus v5.8.5) XEmacs/21.2(beta13) (Demeter) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii ht AT cogsci DOT ed DOT ac DOT uk (Henry S. Thompson) writes: > Corinna Vinschen writes: > > > "Henry S. Thompson" wrote: > > > > > > Finally got my sshd working (thanks to Corinna and contributors to > > > this list), but when I run remotely and try to use xemacs > > > (xemacs-21.1.8, cygwin build) I get > > > > > > Initialization error: Terminal type `xterm' undefined (or can't access > > > database?) > > > > > > I get a a similar error egardless of what I set TERM to, despite the > > > fact that e.g. less clearly _can_ find xterm in /etc/termcap. > > > > Isn't emacs compiled using curses? You'll have to have the curses > > library. Look at > > > > ftp://ftp.franken.de/pub/win32/develop/gnuwin32/cygwin/porters/Wilson_Charles_S/V1.1/ncurses-5.0/ > > That worked, thank you very much. _But_, when running xemacs, backspace or delete hard suspends xemacs and trash its terminal state. Problem appears to be that in going to raw mode, susp (and lots of other things) are set to ^?. This isn't a problem from a local terminal, because the relevant keys don't generate that code, but when coming in via ssh they do. This feels like a bug in ncurses, with some things getting set to -1 (== \177 when masked) which shouldn't, but a fairly detailed look at the ncurses sources doesn't reveal anything. Any suggestions? ht -- Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh W3C Fellow 1999--2001, part-time member of W3C Team 2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440 Fax: (44) 131 650-4587, e-mail: ht AT cogsci DOT ed DOT ac DOT uk URL: http://www.ltg.ed.ac.uk/~ht/ -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com