Open topic with navigation
USupported on UNIX
xcall STTY(setting_flag[, seconds])
One of the following terminal setting controls: (n)
0 = Restore stty attributes to their original settings (before Synergy DBL modified them).
1 = Set the Synergy DBL standard stty settings.
2 = Don’t restore terminal attributes on the SPAWN or SHELL subroutines at runtime exit.
3 = Restore terminal attributes on the SPAWN or SHELL subroutines and at runtime exit.
4 = Enable stty of a serial device used in the OPEN statement.
5 = Disable stty of a serial device used in the OPEN statement.
6 = Change device open time-out to seconds.
7 = Restore the terminal attributes on the SPAWN or SHELL subroutines even if the runtime is set to not affect terminal attributes.
(optional) The number of seconds for the runtime to wait to open a device before returning a “Device in use” ($ERR_DEVUSE) error.
The STTY subroutine sets or unsets the terminal settings.
You can reset setting 7 by calling STTY with setting 3.
For settings 3 and 7, terminal attributes are only restored on SPAWN if SPAWN’s second argument is passed.