Cbreak mode

Cbreak mode

cbreak mode (sometimes called rare mode) is a mode of a terminal or pseudo terminal character device in Unix-like systems, between raw mode and cooked mode. Unlike cooked mode it works with single characters at a time, rather than forcing a wait for a whole line and then feeding the line in all at once. Yet unlike raw mode, keystrokes like abort (usually Control-C) are still processed by the terminal and will interrupt the program.

See also

* Raw mode
* Cooked mode
* Terminal emulator
* Serial communications
* Chapter of the "Wikibook"
* Command and Data modes

References


Wikimedia Foundation. 2010.

Игры ⚽ Нужно сделать НИР?

Look at other dictionaries:

  • POSIX terminal interface — The POSIX terminal interface is the generalized abstraction, comprising both an Application Programming Interface for programs, and a set of behavioural expectations for users of a terminal, as defined by the POSIX standard and the Single Unix… …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”