csh script interruptability

utzoo!decvax!harpo!utah-cs!utah-gr!thomas utzoo!decvax!harpo!utah-cs!utah-gr!thomas
Fri Nov 12 11:37:30 AEST 1982


I've seen this problem before.  It seems to be that the 'scripting' shell
is too anxious to respond to the ^C, without realizing that the underlying
program might catch the ^C.  It should presumably ensure that the program
has indeed exited before continuing.  It's even easier to make it happen,
try
	(vi;echo foo)
then hit ^C while in vi.

The reason that vi is eating cycles at a tremendous rate is probably that
it is getting EOFs or something by virtue of being unable to read the tty.
(Not the right pgrp?)

=Spencer



More information about the Comp.bugs.4bsd.ucb-fixes mailing list