From: Ian AT kiwiplan DOT co DOT nz (Ian Collins) Subject: b19: ioctl (TCGETA) fail: invalid argument 7 Mar 1998 16:33:53 -0800 Message-ID: Mime-Version: 1.0 Content-Type: text/plain To: "'Gnu Mailing list'" I seem to remember that I had the same problem originally on b18. Any ideas anyone? #include struct termio tbuf; main() { if (ioctl(0, TCGETA, &tbuf) == -1){ perror("ioctl (TCGETA) fail"); /* THIS IS TRIGGORED */ exit(1); } printf("ioctl ok\n"); exit(0); Ian Collins. System Manager. KIWIPLAN NZ. - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".