Xref: utzoo comp.emacs:7857 gnu.emacs:2383 Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!zaphod.mps.ohio-state.edu!rpi!netserv2!deven From: deven@rpi.edu (Deven T. Corzine) Newsgroups: comp.emacs,gnu.emacs Subject: Re: GNU Emacs and the use of Left Function keys on the SUN Message-ID: Date: 26 Feb 90 22:03:45 GMT References: <1451@apctrc.UUCP> Distribution: usa Organization: Rensselaer Polytechnic Institute, Troy, NY Lines: 33 In-Reply-To: zjam0b@apctrc.trc.amoco.com's message of 13 Feb 90 17:26:40 GMT On 13 Feb 90 17:26:40 GMT, zjam0b@apctrc.trc.amoco.com (Andrew Montgomery) said: Andrew> I am currently running GNU Emacs 18.55.3 and trying to define Andrew> the function keys on a SUN-3 terminal, and am finding it Andrew> impossible to properly define some of the Left function keys Andrew> (L6, L9, F1, and more). Andrew> How can I do this? I am currently trying to use the Andrew> `define-key' command: Andrew> (global-set-key "\e[200z" 'find-file);L9:VISIT NEW FILE Andrew> and am having no success what so ever. The "special" function Andrew> keys are not being redifined, while the other function keys Andrew> are. Odds are high that your windowing system is eating those key sequences. If you want to see if you can use it, you can simply edit your .emacs and type in the global-set-key, but to enter the sequence, type the opening quote, C-q (or if flow control is a problem, use "M-x quoted-insert" if you must) then type the function key itself and the closing quote. If the window system isn't trapping that key, you should get the proper string in quotes. (then, if you want, replace the literal escape with "\e" -- shouldn't matter.) Deven -- Deven T. Corzine Internet: deven@rpi.edu, shadow@pawl.rpi.edu Snail: 2151 12th St. Apt. 4, Troy, NY 12180 Phone: (518) 274-0327 Bitnet: deven@rpitsmts, userfxb6@rpitsmts UUCP: uunet!rpi!deven Simple things should be simple and complex things should be possible.