From owner-svn-src-head@FreeBSD.ORG Sun Mar 8 19:25:29 2009 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 900CD106567E; Sun, 8 Mar 2009 19:25:29 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.terabit.net.ua (mail.terabit.net.ua [195.137.202.147]) by mx1.freebsd.org (Postfix) with ESMTP id 32AE18FC44; Sun, 8 Mar 2009 19:25:29 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from skuns.zoral.com.ua ([91.193.166.194] helo=mail.zoral.com.ua) by mail.terabit.net.ua with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63 (FreeBSD)) (envelope-from ) id 1LgOcp-000MvC-6z; Sun, 08 Mar 2009 21:25:27 +0200 Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id n28JPQfM010451 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 8 Mar 2009 21:25:26 +0200 (EET) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.3/8.14.3) with ESMTP id n28JPQjf098601; Sun, 8 Mar 2009 21:25:26 +0200 (EET) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.3/8.14.3/Submit) id n28JPQOq098600; Sun, 8 Mar 2009 21:25:26 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Sun, 8 Mar 2009 21:25:26 +0200 From: Kostik Belousov To: Ed Schouten Message-ID: <20090308192525.GO41617@deviant.kiev.zoral.com.ua> References: <200903081909.n28J9tVg092709@svn.freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="q/E04pvXIjS/VngA" Content-Disposition: inline In-Reply-To: <200903081909.n28J9tVg092709@svn.freebsd.org> User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Virus-Scanned: mail.terabit.net.ua 1LgOcp-000MvC-6z c875e31df4c98aff4738b342715102d0 X-Terabit: YES Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r189542 - head/bin/sh X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Mar 2009 19:25:30 -0000 --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--