🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.emacs
Article #3303

Re: Binding function keys on the RS/6000

#3303
From: David Kaminsky
Date: Mon, 16 Nov 1992 19:37
26 lines
1245 bytes
In article <1e8d8hINNat4@FEYNMAN.SYSTEMSY.CS.YALE.EDU> kaminsky-david@cs.yale.edu (David Kaminsky) writes:
>	Does anyone know how to bind the function keys on the
>IBM RS/6000's running AIX?  I used:
>
>(global-set-key "\e[225z" 'goto-line) ; F2
>(global-set-key "\e[226z" 'replace-string) ; F3
>	...
>
>	for a Sparcstation, but the RS/6000 uses different codes.  
>
>	Please mail responses to kaminsky-david@cs.yale.edu.
>
>	Thanks a lot.
>

	It was suggested that I use C-q <fn key> to find the binding
of the function key.  It worked perfectly (thanks John).  F1-F9 are:
\e[001q - 009q.  For example:

(global-set-key "\e[002q" 'goto-line) ; F2

	binds F2 to goto-line.

	Thanks again to those who responded.

David
Technical Details
Message-ID: <1e8tagINNbo4@FEYNMAN.SYSTEMSY.CS.YALE.EDU>
Path: arc1-ca.pugleaf.net!sparky!uunet!destroyer!gumby!yale!yale.edu!not-for-mail
References: <1e8d8hINNat4@FEYNMAN.SYSTEMSY.CS.YALE.EDU>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!destroyer!gumby!yale!yale.edu!not-for-mail
From: kaminsky-david@cs.yale.edu (David Kaminsky)
Newsgroups: comp.emacs
Subject: Re: Binding function keys on the RS/6000
Date: 16 Nov 1992 14:37:51 -0500
Organization: Yale University Computer Science Dept., New Haven, CT 06520-2158
Lines: 26
Distribution: world
Message-ID: <1e8tagINNbo4@FEYNMAN.SYSTEMSY.CS.YALE.EDU>
References: <1e8d8hINNat4@FEYNMAN.SYSTEMSY.CS.YALE.EDU>
NNTP-Posting-Host: feynman.systemsy.cs.yale.edu