[comp.emacs] function keys on a sun

gps@APPLE.COM (Gregory Pat Scandalis) (11/12/90)

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