Set or unset the terminal to/from cbreak mode.
Sets the terminal to echo or not echo characters.
Gets a character from the terminal and (if necessary)
Otherwise, the character gotten is returned.
has been set, then the window is left unaltered.
In order to retain control of the terminal,
it is necessary to have one of
whatever routine you call to read characters will set
and then reset to the original mode when finished.
Get a string through the window
and put it in the location pointed to by
which is assumed to be large enough to handle it.
It sets tty modes if necessary,
to get the characters needed to fill in the string
until a newline or EOF is encountered.
The newline stripped off the string.
Set or unset the terminal to/from raw mode.
is a trademark of Bell Laboratories.
this also turns of newline mapping
.Fd scanw fmt\*,arg1\*,arg2\*,...
.Fd wscanw win\*,fmt\*,arg1\*,arg2\*,...
It does this using consecutive