Sunday, October 13, 2002, 9:21:34 AM, Romano wrote:

>> The code below will detect both CTRL-C and REBOL ESCAPE key.

> On my 1.2.8.3.1 only escape.

> And this expression:
>     get-modes system/ports/system 'system-modes
> gives as result:
>     [window winmsg endian]

> so the following code will be never executed:

>       if find get-modes system/ports/system 'system-modes 'signal [
[...]

> What it useful for?

the result depends on the operating system you're working on. for
example on linux you'll get the following:

>> get-modes system/ports/system 'system-modes
== [signal read-fd write-fd except-fd signal-names endian]

as of course rebol will most likely not receive windows messages on
linux :)

-- 
Best regards,
 Andreas                            mailto:andreas.bolka@;gmx.net

-- 
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the 
subject, without the quotes.

Reply via email to