Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Re: System Port Trap Example

From: rotenca:telvia:it at: 13-Oct-2002 10:21

Hi Carl,
> The code below will detect both CTRL-C and REBOL ESCAPE key.
On my 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 [ set-modes system/ports/system [ signal: intersect get-modes system/ports/system 'signal-names [ sigquit sigterm sigint sighup ] ] ] What it useful for? --- Ciao Romano