console window object


\begin{datadesc}{file}
The file object corresponding to this console window. If ...
...ode{file.flush()} between \code{write()}
and \code{read()} calls.
\end{datadesc}


\begin{funcdesc}{setmode}{mode}
Set the input mode of the console to \var{C_ECHO}, etc.
\end{funcdesc}


\begin{funcdesc}{settabs}{n}
Set the tabsize to \var{n} spaces.
\end{funcdesc}


\begin{funcdesc}{cleos}{}
Clear to end-of-screen.
\end{funcdesc}


\begin{funcdesc}{cleol}{}
Clear to end-of-line.
\end{funcdesc}


\begin{funcdesc}{inverse}{onoff}
Enable inverse-video mode:\ characters with the...
...o (this disables the upper half of a
non-\ASCII{} character set).
\end{funcdesc}


\begin{funcdesc}{gotoxy}{x\, y}
Set the cursor to position \code{(\var{x}, \var{y})}.
\end{funcdesc}


\begin{funcdesc}{hide}{}
Hide the window, remembering the contents.
\end{funcdesc}


\begin{funcdesc}{show}{}
Show the window again.
\end{funcdesc}


\begin{funcdesc}{echo2printer}{}
Copy everything written to the window to the printer as well.
\end{funcdesc}