|
|
1.1 root 1: # include <signal.h>
2: /* @(#) tstp.c: 1.1 10/15/83 (1.2 4/7/82) */
3:
4: # ifdef SIGTSTP
5:
6: # include "curses.ext"
7:
8: /*
9: * handle stop and start signals
10: *
11: * 3/5/81 (Berkeley) @(#)_tstp.c 1.1
12: */
13: _tstp() {
14:
15: # ifdef DEBUG
16: if (outf) fflush(outf);
17: # endif
18: _ll_move(lines-1, 0);
19: endwin();
20: fflush(stdout);
21: kill(0, SIGTSTP);
22: signal(SIGTSTP, _tstp);
23: fixterm();
24: SP->doclear = 1;
25: wrefresh(curscr);
26: }
27: # endif
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.