Xref: utzoo gnu.emacs.help:307 comp.emacs:9493 Path: utzoo!attcan!uunet!tut.cis.ohio-state.edu!APPLE.COM!gps From: gps@APPLE.COM (Gregory Pat Scandalis) Newsgroups: gnu.emacs.help,comp.emacs Subject: function keys on a sun Message-ID: <11205@goofy.Apple.COM> Date: 12 Nov 90 00:13:53 GMT Sender: daemon@tut.cis.ohio-state.edu Followup-To: gnu.emacs.help Organization: Apple Special Projects Lines: 33 Hi, I'm new to this group. I have a sun4 runing x11r4 with emacs 18.55.2. I've tried to program the function keys with things like (PageUp key): (global-set-key " ^[[214z" 'beginning-of-buffer) I keep getting the following message: Key sequence "^[[214z" uses invalid prefix characters I entered the key with the ^q mechanism. Since the first character that the PageUp key echos is an ESC, I have also tried: (global-set-key " \e[214z" 'beginning-of-buffer) The problem seems to be that emacs allows a key sequence to be 2-3 characters only. Does anyone have any idea about how to define these keys. -pat Gregory Pat Scandalis gps@apple.com Thanks in advance. Gregory Pat Scandalis gps@apple.com "Good taste is the enemy of creativity" -- Pablo Picasso