Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 May 2009 19:37:06 +0000 (UTC)
From:      Jilles Tjoelker <jilles@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/bin/sh miscbltin.c sh.1
Message-ID:  <200905311937.n4VJbQQL025885@repoman.freebsd.org>

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

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



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