Latest tty changes.
Sergey Okhapkin
sos@prospect.com.ru
Mon Mar 29 18:43:00 GMT 1999
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
More information about the Cygwin-developers
mailing list