Article View: gnu.emacs.help
Article #189458Re: terminal prog can't send ctl-h
From: David Bolen
Date: Tue, 15 Jan 1991 19:20
Date: Tue, 15 Jan 1991 19:20
34 lines
2466 bytes
2466 bytes
In article <RUSTY.91Jan14165956@belch.Berkeley.EDU> rusty@belch.Berkeley.EDU (Rusty Wright) writes: >I have a friend who is using some terminal emulation program on an >Apple II and it can't send control-h. When he presses control-h it >sends delete. (...) > (...keyboard translation elisp code...) >Does anybody have any suggestions as to what key I could swap delete >with instead of backspace since his terminal program can't generate a >backspace? Wow, I think that's a bit of a complicated way to do what you want. If you're just trying to get GNUEmacs to recognize some different keys for deleting characters and help, you can add the following to your .emacs file: (global-set-key "\^?" 'delete-backward-char) (global-set-key "\^_" 'help-command) This will bind the delete key to the command for deleting characters - no translation is necessary. This also rebinds the help command to the keystroke Ctrl-_ (Control-Underscore) rather than it's default Ctrl-H. This is the help key sequence in many older versions of emacs (which is why I choice it for myself), but you can choose any key sequence you prefer. -- -- David -- /-----------------------------------------------------------------------\ \ David Bolen / | Laboratory Automation, IBM Thomas J. Watson Research Center | / P.O. Box 218, Yorktown Heights, NY 10598 \ | - - - - - - - - - - - - M i t h r a n d i r - - - - - - - - - - - - | | Internet : db3l@ibm.com | Bitnet : db3l@yktvmv | | Usenet : uunet!bywater!arnor!larios!db3l | Phone : (914) 945-1940 | \---------------------------------------------------------------------/
Technical Details
Message-ID:
<DB3L.91Jan15142051@larios.watson.ibm.com>Path:
arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!bywater!arnor!larios!db3lReferences:
<RUSTY.91Jan14165956@belch.Berkeley.EDU>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103b8b,441ef65ade31d621 X-Google-Attributes: gid103b8b,public X-Google-ArrivalTime: 1991-01-17 10:48:03 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!bywater!arnor!larios!db3l From: db3l@ibm.com (David Bolen) Newsgroups: gnu.emacs.help Subject: Re: terminal prog can't send ctl-h Message-ID: <DB3L.91Jan15142051@larios.watson.ibm.com> Date: 15 Jan 91 19:20:51 GMT References: <RUSTY.91Jan14165956@belch.Berkeley.EDU> Sender: news@arnor.uucp (NNTP News Poster) Distribution: gnu Organization: Laboratory Automation, IBM Thomas J. Watson Research Center Lines: 34 In-Reply-To: rusty@belch.Berkeley.EDU's message of 14 Jan 91 21:59:56 GMT