svn commit: r189542 - head/bin/sh

Kostik Belousov kostikbel at gmail.com
Sun Mar 8 12:25:30 PDT 2009


On Sun, Mar 08, 2009 at 07:09:55PM +0000, Ed Schouten wrote:
> Author: ed
> Date: Sun Mar  8 19:09:55 2009
> New Revision: 189542
> URL: http://svn.freebsd.org/changeset/base/189542
> 
> Log:
>   Don't disable CR-to-NL translation when waiting for data to arrive.
>   
>   A difference between the old and the new TTY layer is that the new
>   implementation does not perform any post-processing before returning
>   data back to userspace when calling read().
>   
>   sh(1)'s read turns the TTY into a raw mode before calling select(). This
>   means that the first character will not receive any ICRNL processing.
>   Inherit this flag from the original terminal attributes.
>   
>   Even though this issue is not present on RELENG_*, I'm MFCing it to make
>   sh(1) in jails behave better.

Wouldn't this be a problem for any other tty users too, in particular for
the other shells that use raw mode ?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/svn-src-head/attachments/20090308/b4232dfd/attachment.pgp


More information about the svn-src-head mailing list