Article View: comp.emacs
Article #3308Re: Binding function keys on the RS/6000
From: Dale DePriest
Date: Wed, 18 Nov 1992 16:02
Date: Wed, 18 Nov 1992 16:02
28 lines
1433 bytes
1433 bytes
For any particular machine the easy way to figure out
key the keybindings needed is to use ^Q and press the key
you are interested in. The exact key sequence is displayed
in the emacs buffer. Now you can program the key using
global-set-key as you described.
(global-set-key "\e[225z" 'goto-line)
Substitute the sequence you saw in the buffer. If you do this
in the *scratch* buffer you can try it out by hitting line feed
instead of return after you type it in.
If the key doesn't send any sequence after ^Q then your pretty
much out of luck although you might try the termcap entries or
in X the xterm resources can be setup to send the sequence.
Hope this helps.
--
_ _ Dale DePriest San Jose, California
/`) _ // daled@Cadence.COM voice: (408) 428-5249
o/_/ (_(_X_(`
--
_ _ Dale DePriest San Jose, California
/`) _ // daled@Cadence.COM voice: (408) 428-5249
o/_/ (_(_X_(`
Technical Details
Message-ID:
<1992Nov18.160214.12149@Cadence.COM>Path:
arc1-ca.pugleaf.net!sparky!uunet!Cadence.COM!daledReferences:
<1e8d8hINNat4@FEYNMAN.SYSTEMSY.CS.YALE.EDU> <1e8jb7INN7h2@crcnis1.unl.edu>Show Full Headers
Complete Article Headers
Newsgroups: comp.emacs Path: arc1-ca.pugleaf.net!sparky!uunet!Cadence.COM!daled From: daled@cadence.com (Dale DePriest) Subject: Re: Binding function keys on the RS/6000 Message-ID: <1992Nov18.160214.12149@Cadence.COM> Sender: usenet@Cadence.COM (Usenet News) Nntp-Posting-Host: cds9172.cadence.com Organization: Cadence Design Systems References: <1e8d8hINNat4@FEYNMAN.SYSTEMSY.CS.YALE.EDU> <1e8jb7INN7h2@crcnis1.unl.edu> Date: Wed, 18 Nov 1992 16:02:14 GMT Lines: 28