This is the mail archive of the
mailing list for the Cygwin project.
Re: Map Backspace to ASCII DEL?
- From: Ian Brandt <ian at ianbrandt dot com>
- To: Cygwin <cygwin at cygwin dot com>
- Date: Thu, 21 Aug 2003 09:16:44 -0400
- Subject: Re: Map Backspace to ASCII DEL?
- References: <200308211045.LAA11912@aps5.ph.bham.ac.uk>
I think that rxvt has the functionality which you require. For example:
rxvt -backspacekey ^? -deletekey ^h
will give you a session in which the backspace key generates ^h and the
delete key generates ^?. (It might then be useful to issue stty -erase ^?
so that you can use the backspace key to delete characters in simple
In the case of emacs, have you tried running it under X11? In this mode it
can distinguish between the backspace key (which it interprets as a
'delete last character' function) and ^h (which calls the help command).
rxvt is purely an X application though, no? I'm trying to get this
going under the Cygwin console. For X I could use xmodmap which would
change the binding before it got to rxvt, xterm, emacs, etc.
I in fact often do use X by ssh'ing to a remote system with port
forwarding. I use Exceed as my local X server and it has a xmodmap
equivalent. It's nice because I can use the mouse for cut/copy/paste,
but it is somewhat slow. For a quick session the cygwin terminal would
be much more efficient, if I could get it to function properly!
(Besides the backspace problem I'm having issues with running full
screen applications such as less and emacs -nw. (It seems that some
terminal capability is not performing as advertised as the screen ends
up garbled on occasion. This is my next challenge.)
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html