Subj : Right and left arrows
To   : Frozen Fire
From : Tracker1
Date : Sat Jun 29 2002 01:00 am

"Frozen Fire" <Frozen Fire@VERT> wrote in message...
>
> Anyone know the command keys for the right and left arrows?
>
> Appreciated :)


Thought I sent you my menu.js file, it is in there.. :)

var KEY_UP = String.fromCharCode(0x1e);
var KEY_DOWN = String.fromCharCode(0x0a);
var KEY_RIGHT = String.fromCharCode(0x06);
var KEY_LEFT = String.fromCharCode(0x1d);
var KEY_HOME = String.fromCharCode(0x02);
var KEY_END = String.fromCharCode(0x05);
var KEY_BACK = String.fromCharCode(0x08);
var KEY_DEL = String.fromCharCode(0x7F);

Note back/del are not reliably separate, an emulator will send either,
one or the other...  (ie, some emulators send del, when bs is pressed)

best to have them both react the same if you use them, or at least have
alternate keys. :)  ...also, ctrl-z in 2k/xp's terminal will switch from
ansi, to raw input, then pass the ctrl-z.. basically this toggles
between escape sequences, and the actual keycodes.

--
=======================================================================
Michael J. Ryan  -  tracker1[*at*]theroughnecks.com
Roughneck BBS: http://www.theroughnecks.net  telnet://theroughnecks.net
=======================================================================
Y!: aztracker1 - aim: azTracker1 - icq: 4935386 - msn: see email
One program for aim/icq/yahoo/msn/irc  -  http://www.trillian.cc/

---
� Synchronet � *QWK Origin:  Roughneck BBS - theroughnecks.net