Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!ll-xn!ames!amdcad!sun!guy From: guy@sun.uucp (Guy Harris) Newsgroups: comp.unix.questions Subject: Re: catching signals while writing to a tty-line Message-ID: <27741@sun.uucp> Date: Fri, 11-Sep-87 04:17:14 EDT Article-I.D.: sun.27741 Posted: Fri Sep 11 04:17:14 1987 Date-Received: Sat, 12-Sep-87 15:43:53 EDT References: <589@euraiv1.UUCP> <2021@sfsup.UUCP> Organization: Sun Microsystems, Inc. - Mtn View, CA Lines: 11 > Previous versions of UNIX(R) behaved as you'd like it to - write returned > the number of characters actually written. Are you certain that *all* versions prior to S5 did this? I am not aware of any commonly distributed versions that did; V6 returned -1 and set "errno" to EINTR, as did V7 (and thus 4BSD, at least if any data had actually been transferred), as did System III. -- Guy Harris {ihnp4, decvax, seismo, decwrl, ...}!sun!guy guy@sun.com (or guy@sun.arpa)