This script demonstrates the use of the TermIOS class to get and set terminal settings through the File::getTerminalAttributes() and File::setTerminalAttributes() methods.

In the case of this script the stdout constant is used (which is a constant of class File).

{htmlfile}examples/getch.q.html{/htmlfile}