*** empty log message ***
[spider.git] / src / client.c
index 1473682a4acaf8f2cfea3d145b16220735a95396..80b6de69603fe44db14f2b3b6ea33c774b4acced 100644 (file)
@@ -629,9 +629,11 @@ void term_timeout(int i)
 
 void terminate(int i)
 {
+#if 0
        if (node && send_Z && call) {
                send_msg(node, 'Z', "bye", 3);
        }
+#endif
        
        signal(SIGALRM, term_timeout);
        alarm(10);
@@ -836,6 +838,7 @@ lgotcall:
        } else {
                struct termios t = in->t;
                t.c_lflag &= ~(ECHO|ECHONL|ICANON);
+               t.c_oflag = 0;
                if (tcsetattr(0, TCSANOW, &t) < 0) 
                        die("tcsetattr (%d)", errno);
                in->echo = echo;