*bypass command [options...]Where command is a magic command and options... are the options to command command.
The *bypass command allows magic commands to ignore the state of terminal input redirection. The purpose is to prevent a command that runs in the background from changing the terminal state. Otherwise, a background command (or rather, idle task, as there are no true background processes in Tcl) can run when a command has been half-typed into the terminal or console window, and suddenly switch from interpreting keystrokes as input to the terminal to interpreting keystrokes as macros to be executed. All background tasks should use *bypass on magic commands to avoid this behavior.
*bypass is implemented as a built-in window "wizard" command in magic.
Return to command index |
Last updated: December 4, 2005 at 4:28pm