This bug still exists; the link I provided for the patch no longer works
though, and neither does the original e-mail address.  So here's the patch
again, inline this time.

--- netkit-telnet-0.17/telnet/terminal.cc       2006-04-08 23:01:19.701512988 
+0200
+++ netkit-telnet-0.17.my/telnet/terminal.cc    2006-04-08 23:14:09.636796319 
+0200
@@ -664,9 +664,10 @@
     nttyb = ottyb;
 
 #else  /* USE_TERMIO */
-    tcgetattr(0, &old_tc);
-
-    new_tc = old_tc;
+    if (!tcgetattr(0, &old_tc))
+        new_tc = old_tc;
+    else
+        old_tc = new_tc;
 
 #ifndef        VDISCARD
     termFlushChar = CONTROL('O');


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to