Re: svn commit: r189542 - head/bin/sh

[ Available lists | Index of svn-src-all | Month of Mar 2009 | Week of 8 Mar 2009 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
Kostik Belousov <kostikbel@gmail.com>
Date
8 Mar 2009 19:25:29
Subject
Re: svn commit: r189542 - head/bin/sh
Message-ID
20090308192525.GO41617@deviant.kiev.zoral.com.ua


[ Hide this part ]
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 ?


[ Show this part (application/pgp-signature) ]

Elapsed time: 0.115 seconds