Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site brl-tgr.ARPA Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!genrad!panda!talcott!harvard!seismo!brl-tgr!tgr!gwyn@BRL.ARPA From: gwyn@BRL.ARPA (VLD/VMB) Newsgroups: net.unix-wizards Subject: Re: bourne shell \"read\" vs. hangup trap (1) Message-ID: <70@brl-tgr.ARPA> Date: Tue, 26-Nov-85 11:16:49 EST Article-I.D.: brl-tgr.70 Posted: Tue Nov 26 11:16:49 1985 Date-Received: Thu, 28-Nov-85 04:36:00 EST Sender: news@brl-tgr.ARPA Lines: 8 Your test script works fine on a real SVR2 Bourne shell. I suspect your problem is due to the auto-restart of slow system calls (such as read from a terminal) after interruption by a signal, a "feature" of 4.2BSD. There is some attempt in their /bin/sh to handle the new signal behavior, but it isn't complete. Use a BRL Bourne shell instead (or get one from Robbins).