Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!linus!decvax!harpo!eagle!mhuxl!houxm!ihnp4!inuxc!pur-ee!uiucdcs!uiuccsb!mcdaniel From: mcdaniel@uiuccsb.UUCP Newsgroups: net.bugs.4bsd Subject: Minor tset bug - (nf) Message-ID: <4318@uiucdcs.UUCP> Date: Sun, 4-Dec-83 04:27:50 EST Article-I.D.: uiucdcs.4318 Posted: Sun Dec 4 04:27:50 1983 Date-Received: Tue, 6-Dec-83 23:01:43 EST Lines: 17 #N:uiuccsb:6300004:000:409 uiuccsb!mcdaniel Dec 4 00:35:00 1983 /***** uiuccsb:problems / emrath / 11:04 pm Dec 3, 1983 */ I found a very minor bug in tset. tset assumes that stderr is the file connected to the terminal that is to be set up. If stderr is not a terminal, then tset tries to write an error msg to stderr. However, tset exits prematurely. Between lines 405 & 406 of tset.c: prs("Not a terminal\n"); exit(1); add the line: flush(); /* ---------- */