Hi Bo
(Also sent to [EMAIL PROTECTED])
I tried your code below, and it works pretty well, except that in version
2.1.90.3.1 (Win32), it doesn't return a value for the INSERT key.
Documentation says it should return a value "^(1B)[H". Makes it kind of hard
to get the console into/out of insert mode.
That's the only documented key that I've found that doesn't return a value.
It returns the value 9 for the TAB key, but returns nothing for the
SHIFT-TAB key. Should it?
Regards,
Bernie Schneider
CIBER, Inc.
303-224-4159
[EMAIL PROTECTED]
> -----Original Message-----
> From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]]
> Sent: Wednesday, October 27, 1999 7:53 AM
> To: [EMAIL PROTECTED]
> Subject: [REBOL] very boneheaded question Re:(4)
------------------------------- SNIP -------------------------
> For a good way to see what characters your system outputs when you press a
> key, you can use the following code:
>
> >> cons: open/binary [scheme: 'console]
> >> forever [wait cons prin first cons prin " "]
>
> Another good thing to do to understand the console better is to look at
> the
> code for %redit.r. It has a lot of console functions pre-scripted.
>
> Have fun!
> --
> Bohdan "Bo" Lechnowsky
> REBOL Adventure Guide
> REBOL Technologies 707-467-8000 (http://www.rebol.com)
> Download the REBOL Messaging Language for all Platforms