Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Mar 2009 21:25:26 +0200
From:      Kostik Belousov <kostikbel@gmail.com>
To:        Ed Schouten <ed@freebsd.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r189542 - head/bin/sh
Message-ID:  <20090308192525.GO41617@deviant.kiev.zoral.com.ua>
In-Reply-To: <200903081909.n28J9tVg092709@svn.freebsd.org>
References:  <200903081909.n28J9tVg092709@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--q/E04pvXIjS/VngA
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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
>=20
> Log:
>   Don't disable CR-to-NL translation when waiting for data to arrive.
>  =20
>   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().
>  =20
>   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.
>  =20
>   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 ?

--q/E04pvXIjS/VngA
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (FreeBSD)

iEYEARECAAYFAkm0G6UACgkQC3+MBN1Mb4iEJwCghLdTOmo70VyvMbC2bWB00F1e
Df0AoOTChxcTbkO7mT0dTip9iQfD/PAF
=eEaP
-----END PGP SIGNATURE-----

--q/E04pvXIjS/VngA--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090308192525.GO41617>