.Stream.Term.SetAttr (gb.term)
Sets the parameters associated with the terminal from the
Settings argument.
The
Mode argument specifies when the changes take effect:
Term.TCSANOW
|
The change occurs immediately.
|
Term.TCSADRAIN
|
The change occurs after all output written to the stream has been transmitted. This option should be used when changing parameters that affect output.
|
Term.TCSAFLUSH
|
The change occurs after all output written to the stream has been transmitted, and all input that has been received but not read will be discarded before the change is made.
|
This method is a direct interface to the tcsetattr()
system function.