[comp.emacs] arrow keys on sun

mikew@wheeler (09/13/90)

I can't get sun arrow keys to work under emacstool.

under emacs for the arrows I get things like

(global-set-key "\eOx" 'previous-line)

which works.

But under emacstool I get \e[A etc for the arrow keys
and when I try

(global-set-key "\e[A" 'previous-line)

I get an error complaining about prefix invalid

^[[A 

What is wrong here?


___________________________________________________________
|Mike Whitbeck             |                              |
|Desert Research Inst.     | mikew@wheeler.wrc.unr.edu    |
|POB 60220                 |                              |
|RENO, NV 89506            | 702-673-7348                 |
|__________________________|______________________________|

Never attribute to malice what can be explained by incompetance.
(because incompetance really is so much more common than deliberate
malice)- J. Martin in "To Rise Above Principle"

______________________________.
| mikew@wheeler.wrc.unr.edu    |
|__RENO___NEVADA_______________|