Delivered-To: listarch-cygwin AT sourceware DOT cygnus DOT com Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com X-Mailer: emacs 20.3.5.3.1 (via feedmail 8 I); VM 6.67 under Emacs 20.3.5.3.1 From: "David Starks-Browning" MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14022.65333.423000.845970@gargle.gargle.HOWL> Date: Sun, 14 Feb 1999 16:52:05 +0000 (GMT Standard Time) To: cygwin AT sourceware DOT cygnus DOT com, xemacs-nt AT xemacs DOT org Subject: cygwin build of xemacs (-nw) and inetd/telnetd Greetings, This is submitted to both cygwin and xemacs-nt lists. I just completed a cygwin B20.1 build of xemacs-21.0.63 on NT4/SP4. I am also using Sergey's remote package, providing inetd & telnetd. The goal of this effort is to run xemacs -nw in a (remote) telnet session. GNU nt-emacs is known not to work under these circumstances. Unfortunately, xemacs does not seem to be getting certain keystrokes, namely DEL and C-g. Is there something special that I must do for these to work properly? I have confirmed that info 2.18 (from GNU texinfo 3.12) sees ^G and ^? fine, by inspecting a dribble file. This should rule out Sergey's remote package (or my telnet client app) as the culprit. On the other hand, none of this is a problem when xemacs -nw is invoked in a local, "cygnus.bat" shell with CMD.EXE. No doubt there is much I don't understand about xemacs keys & bindings. In case it's relevant, I found this in the PROBLEMS file: > *** You type Control-H (Backspace) expecting to delete characters. > > Emacs has traditionally used Control-H for help; unfortunately this > interferes with its use as Backspace on TTY's. One way to solve this > problem is to put this in your .emacs: > > (when (eq tty-erase-char ?\C-h) > (keyboard-translate ?\C-h ?\C-?) > (global-set-key "\M-?" 'help-command)) > > This checks whether the TTY erase char is C-h, and if it is, makes > Control-H (Backspace) work sensibly, and moves help to Meta-? (ESC ?). It almost seems like this is already implemented: after "stty erase ^H", C-h generates "backspace", and after "stty erase ^?", C-h generates help-command. (Sorry, I probably have the terminology wrong.) In both cases, neither ^? (\177) nor ^G (\007) seem to register with xemacs. Cygwin bash is my login shell per /etc/passwd, TERM=linux and CYGWIN="tty binmode". (~/.bash_profile execs a new bash after setting CYGWIN.) I've built xemacs with and without ncurses (4.12) with no effect. Anyone? Thanks for your help. Kind regards, David ------------------------------------------------------------------- David Starks-Browning | starksb AT ebi DOT ac DOT uk EMBL Outstation -- | The European Bioinformatics Institute | Wellcome Trust Genome Campus | tel: +44 (1223) 494 616 Hinxton, Cambridge, CB10 1SD, UK | fax: +44 (1223) 494 468 -------------------------------------------------------------------