bourne shell \"read\" vs. hangup trap (1)

VLD/VMB gwyn at BRL.ARPA
Wed Nov 27 02:16:49 AEST 1985


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).



More information about the Comp.unix.wizards mailing list