Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!linus!wivax!decvax!harpo!utah-cs!utah-gr!thomas From: thomas@utah-gr.UUCP Newsgroups: net.unix-wizards Subject: Re: Interrupting programs that are doing output to terminals. Message-ID: <854@utah-gr.UUCP> Date: Wed, 27-Jul-83 02:28:42 EDT Article-I.D.: utah-gr.854 Posted: Wed Jul 27 02:28:42 1983 Date-Received: Wed, 27-Jul-83 11:33:04 EDT References: sri-arpa.3421 Lines: 7 A fix to your problem (write says it has written N characters, but has actually written less than N because of an interrupt) is to put a sighold(SIGINT)/sigrelse(SIGINT) around the write. This is admittedly gross, but it does work. If you are using stdio, you need to put it inside flsbuf(). =Spencer