home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.emacs
- Path: sparky!uunet!usc!sol.ctr.columbia.edu!ira.uka.de!sun1.ruf.uni-freiburg.de!fidji!news
- From: ruprecht@informatik.uni-freiburg.de (Nick Ruprecht)
- Subject: Re: Sun arrow keys with meta and control?
- Message-ID: <ruprecht.714899945@fidji>
- Sender: news@fidji.informatik.uni-freiburg.de
- Organization: Institut fuer Informatik der Universitaet Freiburg, Deutschland
- References: <GRIFFITH.92Aug25201534@harris.earley.sns.neuphilologie.uni-tuebingen> <1992Aug26.082622.6223@glas.rtsg.mot.com>
- Distribution: comp
- Date: Thu, 27 Aug 92 07:56:31 GMT
- Lines: 67
-
- stephen@glas.rtsg.mot.com (Stephen Shortland) writes:
-
- >In article <GRIFFITH.92Aug25201534@harris.earley.sns.neuphilologie.uni-tuebingen> griffith@harris.earley.sns.neuphilologie.uni-tuebingen (John Griffith) writes:
- [...]
- >> What I would like to do but have been unable to figure out is
- >> how to bind meta-up-arrow to something different than plain up-arrow.
-
- >However shift arrow produces a different set of key sequences -
-
- Out-of-the-box emacs' X key handling is rather less than sophisticated.
- It hard-wires the KeySyms sent by the server to characters and escape
- sequences. You can control the KeySyms sent with the program "xmodmap".
- You can specify several KeySyms for each key, but, unfortunately, only
- the first and second entry is used (for non-shifted and shifted states).
- So, the shift key can cause a difference, but the other modifier keys
- cannot.
-
- There are several patches around that provide better keybinding
- facilities for emacs. Unfortunately, they all have to patch C code, so
- you have to be able to recompile emacs. Never able to resist pushing my
- own patch, here is a list of archive sites that carry it:
-
- ----- archie -s x-rebind-keysym -----
-
- Host archive.cis.ohio-state.edu
-
- Location: /n/archive/0/extra-ftp/gnu/emacs/elisp-archive/patches
- FILE -rw-rw-r-- 14612 Jun 21 1991 x-rebind-keysym.patch.Z
-
- Host freja.diku.dk
-
- Location: /elisp-archive/incoming
- FILE -rw-r--r-- 14757 Jun 28 1991 x-rebind-keysym.Z
- Location: /elisp-archive/patches
- FILE -rw-r--r-- 14612 Jun 29 1991 x-rebind-keysym.patch.Z
-
- Host gatekeeper.dec.com
-
- Location: /.1/GNU/elisp-archive/patches
- FILE -r--r--r-- 14612 Jan 12 18:57 x-rebind-keysym.patch.Z
-
- Host puffin.doc.ic.ac.uk
-
- Location: /gnu/EmacsBits/elisp-archive/patches
- FILE -r--r--r-- 14612 Jun 21 1991 x-rebind-keysym.patch.Z
-
- Host src.doc.ic.ac.uk
-
- Location: /gnu/EmacsBits/elisp-archive/patches
- FILE -r--r--r-- 14612 Jun 21 1991 x-rebind-keysym.patch.Z
-
- Host unix.hensa.ac.uk
-
- Location: /pub/uunet/languages/elisp/patches
- FILE -rw-r--r-- 14612 Jun 21 1991 x-rebind-keysym.patch.Z
-
- -----
-
- The GNU Emacs FAQ, topic #130 gives more information on emacs key
- handling and key rebinding as well as another patch.
-
- Hope this helps. Best regards -
-
- --
-
- Nick Ruprecht
- Institut fuer Informatik der Universitaet Freiburg
-