home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: gnu.emacs.help
- Path: sparky!uunet!news.claremont.edu!ucivax!megatek!hollen
- From: hollen@megatek.UUCP (Dion Hollenbeck)
- Subject: Re: Code for sun keyboard -- how can i find out?
- In-Reply-To: zfs60@cas.org's message of Tue, 1 Sep 1992 16: 07:14 GMT
- Message-ID: <HOLLEN.92Sep1122151@peg.megatek.UUCP>
- Sender: hollen@megatek.com (Dion Hollenbeck)
- Organization: Megatek Corporation, San Diego, California
- References: <1992Sep1.160714.7075@cas.org>
- Date: Tue, 1 Sep 1992 20:21:51 GMT
- Lines: 47
-
- >>>>> On Tue, 1 Sep 1992 16:07:14 GMT, zfs60@cas.org () said:
-
- zfs> i know the following because that was what i got a long time ago, but
- zfs> i wonder if there is anyway to find out the code for an arbitrary key,
- zfs> such as insert, and do-nothing key among arrow keys. thanks.
-
- zfs> (global-set-key "\e[215z" 'previous-line)
- zfs> --------
- zfs> this is the code for upward arrow
-
- I wish I could remember how to find this out, since I did it ages ago,
- I have forgotten. However, here are the results.
-
-
- ;; R keys
- (define-key sun-raw-map "208z" 'GOLD-prefix) ; R1 ("gold")
- (define-key sun-raw-map "209z" 'query-replace) ; R2
- (define-key sun-raw-map "210z" 'yank) ; R3
- (define-key sun-raw-map "211z" 'set-mark-command) ; R4
- (define-key sun-raw-map "212z" 'kill-region) ; R5
- (define-key sun-raw-map "213z" 'copy-region-as-kill) ; R6
- ;; ; R7 home
- ;; ; R8 uparrow
- ;; ; R9 pgup
- ;; ; R10 leftarrow
- ;;(define-key sun-raw-map "218z" 'something-here?) ; R11
- ;; ; R12 rtarrow
- ;; ; R13 end
- ;; ; R14 dnarrow
- ;; ; R15 pgdown
-
- ;; L keys
- ;;NOTE: L1 does not work
- ;;(define-key sun-raw-map "192z" 'nothing) ; L1
- ;;(define-key sun-raw-map "193z" 'nothing) ; L2
- (define-key sun-raw-map "194z" 'next-start-of-line) ; L3
- (define-key sun-raw-map "195z" 'next-end-of-line) ; L4
- (define-key sun-raw-map "196z" 'delete-char) ; L5
- (define-key sun-raw-map "197z" 'delete-current-word) ; L6
- (define-key sun-raw-map "198z" 'kill-line) ; L7
- (define-key sun-raw-map "199z" 'delete-current-line) ; L8
- ;;(define-key sun-raw-map "200z" 'nothing) ; L9
- ;;(define-key sun-raw-map "201z" 'nothing) ; L10
- --
- Dion Hollenbeck UUCP: {uunet, ucsd, sun}!megatek!hollen
- INTERNET: hollen@megatek.com
- Megatek Corporation 9645 Scranton Rd. San Diego, Ca. 92121
-