delorie.com/archives/browse.cgi | search |
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 |
Message-ID: | <01BE7A2D.1FCFC660@r7a003723as.hlb.cable.rcn.com> |
From: | Sergey Okhapkin <sos AT prospect DOT com DOT ru> |
To: | "'Chris Faylor'" <cgf AT cygnus DOT com> |
Cc: | Corinna Vinschen <corinna DOT vinschen AT cityweb DOT de>, |
"'cygwin-developers AT sourceware DOT cygnus DOT com'" | |
<cygwin-developers AT sourceware DOT cygnus DOT com> | |
Subject: | Latest tty changes. |
Date: | Mon, 29 Mar 1999 21:42:57 -0500 |
Encoding: | 23 TEXT |
Hi! 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |