home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!utcsri!torn!cunews!revcan!software.mitel.com!klug!klug
- From: klug@Software.Mitel.COM (Peter Klug)
- Newsgroups: gnu.emacs.help
- Subject: Re: Code for sun keyboard -- how can i find out?
- Message-ID: <KLUG.92Sep2085018@klug.Software.Mitel.COM>
- Date: 2 Sep 92 12:50:18 GMT
- References: <1992Sep1.160714.7075@cas.org>
- Sender: klug@Software.Mitel.COM
- Organization: Mitel Corporation; Kanata, Ontario, Canada
- Lines: 27
- In-reply-to: zfs60@cas.org's message of 1 Sep 92 16:07:14 GMT
-
-
- In article <1992Sep1.160714.7075@cas.org> zfs60@cas.org writes:
-
- i know the following because that was what i got a long time ago, but
- i wonder if there is anyway to find out the code for an arbitrary key,
- such as insert, and do-nothing key among arrow keys. thanks.
-
- (global-set-key "\e[215z" 'previous-line)
- --------
- this is the code for upward arrow
-
-
- Unless I'm misunderstanding the question, I think a simple
- quoted-insert should give you what you want. When I set up my .emacs
- file, I used quoted-insert to determine the code for all the keys I
- configured and they seem to be doing what I assigned to them.
-
- Exceute quoted-insert and then type the keystroke. Just remember that
- the escape (or Meta) gets displayed as "^[".
-
- Example:
- [D is left arrow (you'd use "M-[D")
-
- --
- * Peter Klug * Peter_Klug@Software.Mitel.COM
- * Mitel Corporation *
- * Kanata, Ontario, Canada * Nostalgia ain't what it used to be.
-