index Zimbu documentation

MODULE TIO @public

summary

     

Classes, Interfaces and methods for Terminal Input/Output.

BITS  InputMode @public  For docs see the termios manpage, c_iflag constants.
BITS  OutputMode @public  For docs see the termios manpage, c_oflag constants.
ENUM  CharSize @public  Character size in bits.
BITS  ControlMode @public  For docs see the termios manpage, c_cflag constants.
BITS  LocalMode @public  For docs see the termios manpage, c_lflag constants.
ENUM  Speed @public  Speed in baud.
CLASS  Mode @public  Stores terminal mode values.
 
getMode(fd) TIO.Mode @public  Return a TIO.Mode with the current mode for file fd.
 

members (alphabetically)

     

FUNC getMode(IO.File fd) TIO.Mode @public

     

Return a TIO.Mode with the current mode for file fd.

The C functionality that this is based on can be found in the termios manpage. E.g. http://linux.die.net/man/3/termios

license

      Copyright 2014 Bram Moolenaar All Rights Reserved.

      Licensed under the Apache License, Version 2.0. See the LICENSE file or obtain a copy at: http://www.apache.org/licenses/LICENSE-2.0