www.delorie.com/gnu/docs/glibc/libc_354.html   search  
 
Buy the book!


The GNU C Library

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

17. Low-Level Terminal Interface

This chapter describes functions that are specific to terminal devices. You can use these functions to do things like turn off input echoing; set serial line characteristics such as line speed and flow control; and change which characters are used for end-of-file, command-line editing, sending signals, and similar control functions.

Most of the functions in this chapter operate on file descriptors. See section 13. Low-Level Input/Output, for more information about what a file descriptor is and how to open a file descriptor for a terminal device.

17.1 Identifying Terminals  How to determine if a file is a terminal device, and what its name is.
17.2 I/O Queues  About flow control and typeahead.
17.3 Two Styles of Input: Canonical or Not  Two basic styles of input processing.
17.4 Terminal Modes  How to examine and modify flags controlling details of terminal I/O: echoing, signals, editing. Posix.
17.5 BSD Terminal Modes  BSD compatible terminal mode setting
17.6 Line Control Functions  Sending break sequences, clearing terminal buffers ...
17.7 Noncanonical Mode Example  How to read single characters without echo.
17.8 Pseudo-Terminals  How to open a pseudo-terminal.


  webmaster     delorie software   privacy  
  Copyright 2003   by The Free Software Foundation     Updated Jun 2003