Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!rochester!rutgers!sri-unix!husc6!cmcl2!brl-adm!brl-smoke!gwyn From: gwyn@brl-smoke.ARPA (Doug Gwyn ) Newsgroups: comp.lang.c,comp.unix.questions Subject: Re: Keyboard Input (Revised Question) ... Message-ID: <6184@brl-smoke.ARPA> Date: Tue, 28-Jul-87 12:30:39 EDT Article-I.D.: brl-smok.6184 Posted: Tue Jul 28 12:30:39 1987 Date-Received: Thu, 30-Jul-87 00:47:10 EDT References: <1043@bucsb.bu.edu.UUCP> <196@chemabs.UUCP> Reply-To: gwyn@brl.arpa (Doug Gwyn (VLD/VMB)) Organization: Ballistic Research Lab (BRL), APG, MD. Lines: 7 Keywords: Keyboard Xref: mnetor comp.lang.c:3338 comp.unix.questions:3383 In article <196@chemabs.UUCP> rsh27@UNIX14.UUCP (PUT YOUR NAME HERE) writes: >(By the way on our Ultrix 1.2 system, in System V emulation mode, a program >that uses O_NODELAY mode on the keyboard will cause a user to be logged off >when it terminates.) That's inherent in O_NDELAY. If you don't reset it, when the shell tries to read from the terminal it gets back what it interprets as EOF and exits.