home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!spool.mu.edu!mixcom.com!calyx.corp
- From: calyx.corp@mixcom.mixcom.com (calyx.corp)
- Newsgroups: gnu.emacs.help
- Subject: redefining DEL key to delete-char ?
- Message-ID: <1992Jul24.150044.12939@mixcom.com>
- Date: 24 Jul 92 15:00:44 GMT
- Article-I.D.: mixcom.1992Jul24.150044.12939
- Sender: mmxxmm@mixcom.com (Calyx Corp.)
- Distribution: usa
- Organization: Milwaukee Internet Xchange BBS, Milwaukee, WI U.S.A.
- Lines: 19
-
- I am used to interfaces where the BACKSPACE key deletes to the left of
- the cursor, and the DEL key deletes the character at the cursor.
-
- I am using Emacs 18.58 on SCO Unix with a wyse 150 terminal (TERM=wy150).
- In emacs/lisp/term/wy150.el I put (among other stuff) the following lines:
-
- (global-unset-key "\C-?") ;; undefine Delete key as 'delete-backward-char
- (define-key global-map "\C-?" 'delete-char)
-
- The Delete key still deletes to the left of the cursor while I am editing
- buffers, but if I am typing stuff into prompts (like searching for regular
- expressions in info), then it does delete to the left of the cursor. Huh?
-
- Am I doing something wrong here? Should I use another way to set the
- Delete key other than through "define-key global-map" ?
-
- Nels Olsen
- --
- calyx.corp@mixcom.com
-