emacs -nw keypad, tpu-edt.el, and C-h

Andy Koppe andy.koppe@gmail.com
Thu May 28 15:15:00 GMT 2009

Ken Brown:
> A separate issue that has arisen in this thread is that when emacs runs
> in a cygwin terminal [*], it sees C-h as DEL instead of as the help key.
> Can someone familiar with cygwin terminals help with this?  I'm speculating
> again (bad habit), but it seems that the keycodes are being processed before
> they reach emacs, so that C-h becomes indistinguishable from the Backspace
> key.

Careful, you're straying into a pseudo-religious warzone here. :)

There's an ancient and pointless argument about whether the Backspace
key should send ^H (0x08) or ^? (0x7F). See here for the whole sorry


Inevitably, Linux distributions are split on this issue, with Debian
using ^? and Redhat using ^H. Cygwin is in the ^H camp, i.e. all its
terminals send ^H by default. xterm, rxvt, and mintty can be
configured to send ^? instead though, which, as you note, is
particular useful with emacs as it leaves Ctrl+H available as the help


Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

More information about the Cygwin mailing list