From owner-cvs-src-old@FreeBSD.ORG Sun May 31 19:37:26 2009 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8A1B6106567F for ; Sun, 31 May 2009 19:37:26 +0000 (UTC) (envelope-from jilles@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 770AC8FC1F for ; Sun, 31 May 2009 19:37:26 +0000 (UTC) (envelope-from jilles@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id n4VJbQpi025886 for ; Sun, 31 May 2009 19:37:26 GMT (envelope-from jilles@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n4VJbQQL025885 for cvs-src-old@freebsd.org; Sun, 31 May 2009 19:37:26 GMT (envelope-from jilles@repoman.freebsd.org) Message-Id: <200905311937.n4VJbQQL025885@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to jilles@repoman.freebsd.org using -f From: Jilles Tjoelker Date: Sun, 31 May 2009 19:37:06 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/bin/sh miscbltin.c sh.1 X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 31 May 2009 19:37:27 -0000 jilles 2009-05-31 19:37:06 UTC FreeBSD src repository Modified files: bin/sh miscbltin.c sh.1 Log: SVN rev 193185 on 2009-05-31 19:37:06Z by jilles sh: Make read's timeout (-t) apply to the entire line, not only the first character. This avoids using non-standard behaviour of the old (upto FreeBSD 7) TTY layer: it reprocesses the input queue when switching to canonical mode. The new TTY layer does not provide this functionality and so read -t worked very poorly (first character is not echoed, cannot be backspaced but is still read). This also agrees with what most other shells with read -t do. PR: bin/129566 Reviewed by: stefanf Approved by: ed (mentor) Revision Changes Path 1.40 +0 -17 src/bin/sh/miscbltin.c 1.128 +2 -2 src/bin/sh/sh.1