[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: terminating lines with accidental eof

From: Bob Proulx
Subject: Re: terminating lines with accidental eof
Date: Wed, 5 Jul 2006 02:39:46 -0600
User-agent: Mutt/1.5.9i

Andreas Schwab wrote:
> Bob Proulx writes:
> > A small point.  You are aware that the tty driver converts enter from
> > the keyboard into a newline?  See the tty driver 'icrnl' flag setting.
> > Programs never read a carriage return.  Programs actually read a
> > newline character.
> Only in icanon mode, otherwise it's readline that does the processing.

Well, yes, but...  The readline code is simulating the behavior of the
tty driver in that case.  The tty driver is the reference behavior.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]