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. Compare raw mode.