Home >  Term: cooked mode
cooked mode

One of two forms (the other being raw mode) in which an operating system such as UNIX or MS-DOS "sees" the handle, or identifier, for a character-based device. If the handle is in cooked mode, the operating system stores each character in a buffer and gives special treatment to carriage returns, end-of-file markers, and linefeed and tab characters, sending a line of data to a device, such as the screen, only after it reads a carriage-return or end-of-file character. In cooked mode, characters read from standard input are often automatically echoed (displayed) on the screen.

0 0

ผู้สร้าง

  • Maxiao
  •  (V.I.P) 19232 points
  • 100% positive feedback
© 2024 CSOFT International, Ltd.