DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Terminal device control

Improving terminal I/O performance

For user-level programs that read and write to terminals, the TTY subsystem in UNIX System V provides a flexible interface, known as the termio facility. The flexibility of the termio facility enables users to perform efficient TTY I/O in a wide range of applications. However, the improper use of this termio can result in inefficient user programs. This section discusses writing programs that use termio and focuses on the topics of buffer size, canonical mode, raw mode and flow control and provides several code examples.

User programs that read from terminal devices must read from TTYs in either canonical mode or raw mode.


Next topic: TTY in canonical mode
Previous topic: Session management and job control

© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 02 June 2005