home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!wupost!sdd.hp.com!spool.mu.edu!olivea!pagesat!spssig.spss.com!bobhays
- From: bobhays@spss.com (Bob Hays)
- Newsgroups: comp.unix.aix
- Subject: Re: Emacs backspace (WAS: various first-time admin questions.)
- Message-ID: <1992Dec11.173751.9063@spss.com>
- Date: 11 Dec 92 17:37:51 GMT
- References: <101509@netnews.upenn.edu> <BAS.92Dec11102246@carlo.phys.uva.nl> <661@vercors.frec.bull.fr>
- Sender: news@spss.com (Net News Admin)
- Organization: SPSS, Inc.
- Lines: 45
-
- In article <661@vercors.frec.bull.fr>, ravip@pinot.frec.bull.fr writes:
- > In article <BAS.92Dec11102246@carlo.phys.uva.nl>, bas@phys.uva.nl (Bas
- > de Bakker) writes:
- > |>>>>>> On 10 Dec 92 19:06:45 GMT, lau@desci.wharton.upenn.edu (Yan K.
- > Lau) said:
- > |>
- > |>ykl> I have been able to compile emacs but the backspace key is not
- > |>ykl> working properly within emacs. I was told that I need to use
- > |>ykl> xmodmap. Where would I fix this? Per user or system wide? Are
- > |>ykl> there sites with versions of software tested and compiled under
- > |>ykl> AIX 3.2? Pointers appreciated.
- > |>
- > |>The easiest way (IMHO) is to edit a header file in emacs/src. It was
- > |>something like aixkeys.h. At the start of the last part (keys without
- > |>Alt, Ctrl etc.) there's a line which defines the backspace key, This
- > |>line is in an #if 0. Just change this to an #if 1.
- > |>
- > |>All this from memory.
- > |>
- > |>Bas de Bakker.
- >
- > The easier way is to set BS key or ( ctrl-h ?? ) to
- > backward-delete-char in your .emacs file if I remember correctly.
- > Like this:
- > global-set-key "\C-h" backward-delete-char
-
- You might want to take this to the emacs comp group. However....
-
- If you use the global-set-key approach, you'll have to weed out all
- the definitions for each sub-mode that may define, on their own, in
- their local map, the backspace key.
-
- Not that you shouldn't do it (this is exactly how we are getting
- Lucid, an X emacs editor, to do backspace), just be aware of the
- costs.
-
- Now, if anyone knows how to use the Num Lock key in emacs on AIX....
-
- Have fun! - Bob
-
- --
- ===============================================================================
- The opinions expressed above are those of Bob Hays and not SPSS, Inc.
- bobhays@spss.com Phone: (312) 329-3529 | "I'm hovering like a fly, waiting
- Fax: (312) 329-3657 | for a windshield on a freeway" -PG
-