Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Mar 2009 19:09:55 +0000 (UTC)
From:      Ed Schouten <ed@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/bin/sh miscbltin.c
Message-ID:  <200903081910.n28JAFoN001388@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
ed          2009-03-08 19:09:55 UTC

  FreeBSD src repository

  Modified files:
    bin/sh               miscbltin.c 
  Log:
  SVN rev 189542 on 2009-03-08 19:09:55Z by ed
  
  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.
  
  PR:             bin/129566
  MFC after:      2 weeks
  
  Revision  Changes    Path
  1.37      +1 -0      src/bin/sh/miscbltin.c



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