Map Backspace to ASCII DEL?
Ian Brandt
ian@ianbrandt.com
Thu Aug 21 14:23:00 GMT 2003
Dr.D.J.Picton wrote:
[snip]
> 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
> terminal input.)
>
> 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.)
Regards,
Ian
--
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