version 1.4, 1997/04/13 20:22:39 |
version 1.5, 1997/04/13 20:32:06 |
|
|
if (hadintr) { |
if (hadintr) { |
fflush(stdout); |
fflush(stdout); |
fprintf(stderr, |
fprintf(stderr, |
"\n(Interrupt -- one more to kill letter)\n"); |
"\n(Interrupt -- one more to kill letter)\n"); |
} else { |
} else { |
if (isatty(0)) { |
if (isatty(0)) { |
printf("(continue)\n"); |
printf("(continue)\n"); |
|
|
/* |
/* |
* the control flow is subtle, because we can be called from ~q. |
* the control flow is subtle, because we can be called from ~q. |
*/ |
*/ |
if (!hadintr) { |
if (hadintr == 0 && isatty(0)) { |
if (value("ignore") != NOSTR) { |
if (value("ignore") != NOSTR) { |
puts("@"); |
puts("@"); |
fflush(stdout); |
fflush(stdout); |