Berkeley CSUA MOTD:Entry 22032
Berkeley CSUA MOTD
 
WIKI | FAQ | Tech FAQ
http://csua.com/feed/
2024/11/23 [General] UID:1000 Activity:popular
11/23   

2001/8/7 [Uncategorized] UID:22032 Activity:very high
8/8     I want to bind control-backspace in my .emacs. What is the escape
        sequence for BS?
        \_ Its either ?\C-h or ?\C-?.
           \_ \C-h is the help key and \C-? doesn't work.
              \_ Use vi.  (You knew it was coming.)
                 \_ obuED!EDISTHESTANDARDEDITOR!
        \_ backspace is ^H, so there is no such thing as ctrl-backspace.  You
           could map this at an X11 level (a la xmodmap), since it would
           see it as ctrl-backspace, but at a terminal level it's the same
           as typing delete.  If by backspace you mean delete, then, alas,
           there's also no such thing as ctrl-delete at a terminal level.