12 fprintf(stderr, "PAUSE ");
16 fprintf(stderr, " statement executed\n");
17 if( isatty(fileno(stdin)) )
19 fprintf(stderr, "To resume execution, type go. Any other input will terminate job.\n");
20 if( getchar()!='g' || getchar()!='o' || getchar()!='\n' )
22 fprintf(stderr, "STOP\n");
29 fprintf(stderr, "To resume execution, execute a kill -%d %d command\n",
31 signal(PAUSESIG, waitpause);
34 fprintf(stderr, "Execution resumes after PAUSE.\n");