[313] in Athena Bugs
^C in csh
daemon@ATHENA.MIT.EDU (Theodore Ts'o)
Tue May 3 19:01:08 1988
Date: Tue, 3 May 88 18:59:44 EDT
From: Theodore Ts'o <tytso@ATHENA.MIT.EDU>
To: John D Kubiatowicz <kubitron@ATHENA.MIT.EDU>
Cc: bugs@ATHENA.MIT.EDU
Reply-To: tytso@ATHENA.MIT.EDU
>The current version of csh does not permit you to interrupt "foreach" and
>"repeat" loops with ^C. This is quite annoying at times.
This doesn't appear to be true, at least not in the 5.5T vax, 6.0a RT or
6.0a Vax versions. (See below) What is true is that shell built-ins
are not interruptable, but that's because writing cleanup handlers for
all of the builtin's codes would be a lot of work.
- Ted
<tytso@oliver> {/mit/tytso}
8% foreach i ( /usr/athena/* )
? echo $i
? sleep 3
? end
/usr/athena/2020
^C<tytso@oliver> {/mit/tytso}
9% repeat 1000 echo "foo"
foo
foo
foo
foo
foo
foo
foo
foo
^C
<tytso@oliver> {/mit/tytso}
10%