Article View: gnu.emacs.help
Article #188813trouble with key mappings on sun sparc
From: Andy Davidson
Date: Thu, 11 Jul 1991 23:07
Date: Thu, 11 Jul 1991 23:07
29 lines
1524 bytes
1524 bytes
Hi
I am using gnuemacs 18.55 on a sun sparc station and on sco unix.
How do I know what the key codes are? for example here is a map
someone on the net sent me. how do I figure out what the function key
codes would be?
thanks in advance andy
; set up some Sun key bindings (for use under X)
(setq window-setup-hook
(function
(lambda ()
(defvar sun-raw-map (make-sparse-keymap)
"*Keymap for ESC-[ encoded keyboard")
(define-key sun-raw-map "214z" 'beginning-of-buffer) ; R7
(define-key sun-raw-map "216z" 'scroll-down) ; R9
(define-key sun-raw-map "218z" 'recenter) ; R11
(define-key sun-raw-map "220z" 'end-of-buffer) ; R13
(define-key sun-raw-map "222z" 'scroll-up) ; R15
(define-key esc-map "[" sun-raw-map)
)))
--
-----------------------------------------------------------------
"bede-bede-bede Thats all Folks"
Porky Pig
Technical Details
Message-ID:
<1991Jul11.230719.8777@cats.com>Path:
arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!fernwood!portal!cats.com!andyShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103b8b,61780b380a2c6e1,start X-Google-Attributes: gid103b8b,public X-Google-ArrivalTime: 1991-07-12 00:03:22 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!fernwood!portal!cats.com!andy From: andy@cats.com (Andy Davidson) Newsgroups: gnu.emacs.help Subject: trouble with key mappings on sun sparc Message-ID: <1991Jul11.230719.8777@cats.com> Date: 11 Jul 91 23:07:19 GMT Organization: CATS Software Inc Lines: 29