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.

Bob


_______________________________________________
Bug-bash mailing list
Bug-bash@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-bash

Reply via email to