Xref: utzoo gnu.emacs.help:96 comp.emacs:9349 Path: utzoo!telly!attcan!uunet!tut.cis.ohio-state.edu!MEDIA-LAB.MEDIA.MIT.EDU!straz From: straz@MEDIA-LAB.MEDIA.MIT.EDU (Steve Strassmann) Newsgroups: gnu.emacs.help,comp.emacs Subject: how do I rebind X windows F-keys? Message-ID: <9010222113.AA28891@media-lab.media.mit.edu> Date: 22 Oct 90 21:13:12 GMT Sender: daemon@tut.cis.ohio-state.edu Followup-To: gnu.emacs.help Distribution: gnu Organization: GNUs Not Usenet Lines: 27 When I use X windows, I have function keys such as Execute, Menu, F1, F2, etc. (At least these are the names used by X programs like xmodmap and xev). When I type these into emacs, they generate escape sequences like these: f1 = esc [ 1 1 ~ (five ASCII characters) f2 = esc [ 1 2 ~ f3 = esc [ 1 3 ~ select = esc [ 4 ~ menu = esc [ 2 9 ~ execute = esc [ - 1 ~ break = esc [ - 1 ~ stop = esc [ - 1 ~ (1) What's the best way to bind such keys to my favorite function? (2) Is there a way to disambiguate Execute, Break, and Stop? It seems meta-[ is already bound to backward-paragraph, so it seems meta-[ is not a valid prefix character in the sense of, say, ctrl-X. ps. my machine is an HP 9000/835 running HP-UX 7.0, X11.2 (latest vendor release), gnuemacs version 18.55.2. Please reply directly to me, since I'm not on the info-gnu-emacs list. Thanks, Steve Strassmann straz@media-lab.media.mit.edu