[TUHS] Cooked Mode (v8 shell)

Chet Ramey chet.ramey at case.edu
Tue Jan 24 01:53:46 AEST 2023


On 1/23/23 10:51 AM, Theodore Ts'o wrote:
> On Mon, Jan 23, 2023 at 09:49:08AM -0500, Chet Ramey wrote:
>> On 1/23/23 9:45 AM, Brian M Zick wrote:
>>>> 6) It ran in cooked mode.
>>>
>>> Sorry if this is obvious to everyone else: What does this phrase mean?
>>
>> It did not perform line editing, so it did not change the terminal modes
>> and read one character at a time. If you only ever read a line at a time
>> from the terminal, you can let the terminal driver do that for you.
> 
> I've never been convinced by that particular argument, since if you
> want command-line completion, the terminal driver is way too
> low-level.

But that's the point: they don't.

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
		 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    chet at case.edu    http://tiswww.cwru.edu/~chet/



More information about the TUHS mailing list