Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm Sender: cygwin-developers-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin-developers AT sourceware DOT cygnus DOT com Date: Mon, 29 Mar 1999 22:52:24 -0500 From: "'Chris Faylor'" To: Sergey Okhapkin Cc: Corinna Vinschen , "'cygwin-developers AT sourceware DOT cygnus DOT com'" Subject: Re: Latest tty changes. Message-ID: <19990329225224.A2777@cygnus.com> References: <01BE7A2D DOT 1FCFC660 AT r7a003723as DOT hlb DOT cable DOT rcn DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.3i In-Reply-To: <01BE7A2D.1FCFC660@r7a003723as.hlb.cable.rcn.com>; from Sergey Okhapkin on Mon, Mar 29, 1999 at 09:42:57PM -0500 Thank you. I've applied this change and it does seem to fix things. It shouldn't make a difference but it does. Now I just have to figure out why. -chris On Mon, Mar 29, 1999 at 09:42:57PM -0500, Sergey Okhapkin wrote: >The problem with binmode and tty (single LF output instead of CRLR) still exists if CYGWIN set to tty. Here is the fix: > >fhandler_tty.cc (fhandler_tty_master::init): initialize termios flags to force > CR after LF. > >--- fhandler_tty.cc.orig Wed Mar 24 22:22:47 1999 >+++ fhandler_tty.cc Mon Mar 29 19:11:21 1999 >@@ -66,6 +66,7 @@ fhandler_tty_master::init (int ntty) > > termios ti; > memset (&ti, 0, sizeof (ti)); >+ ti.c_oflag = ONLRET; > console->tcsetattr (0, &ti); > > ttyp->common_init (this); > > >-- >Sergey Okhapkin, http://www.lexa.ru/sos >Piscataway, NJ > > -- cgf AT cygnus DOT com http://www.cygnus.com/