Home
last modified time | relevance | path

Searched refs:SIGTSTP (Results 1 – 25 of 103) sorted by relevance

12345

/freebsd/contrib/less/
H A Dsignal.c74 #ifdef SIGTSTP
81 LSIGNAL(SIGTSTP, stop); in stop()
156 #ifdef SIGTSTP in init_signals()
157 (void) LSIGNAL(SIGTSTP, secure ? SIG_IGN : stop); in init_signals()
181 #ifdef SIGTSTP in init_signals()
182 (void) LSIGNAL(SIGTSTP, SIG_DFL); in init_signals()
211 #ifdef SIGTSTP in psignals()
227 LSIGNAL(SIGTSTP, SIG_DFL); in psignals()
228 kill(getpid(), SIGTSTP); in psignals()
235 LSIGNAL(SIGTSTP, stop); in psignals()
/freebsd/contrib/ncurses/ncurses/tty/
H A Dlib_tstp.c48 #if defined(SIGTSTP) && (HAVE_SIGACTION || HAVE_SIGVEC)
75 #ifdef SIGTSTP in signal_name()
76 case SIGTSTP: in signal_name()
199 (void) sigaddset(&mask, SIGTSTP); in handle_SIGTSTP()
215 sigaction(SIGTSTP, &act, &oact); in handle_SIGTSTP()
216 kill(getpid(), SIGTSTP); in handle_SIGTSTP()
221 sigaction(SIGTSTP, &oact, NULL); in handle_SIGTSTP()
381 sigaction(SIGTSTP, &new_sigaction, &old_sigaction); in _nc_signal_handler()
383 sigaction(SIGTSTP, &old_sigaction, NULL); in _nc_signal_handler()
384 } else if (sigaction(SIGTSTP, NULL, &old_sigaction) == 0 in _nc_signal_handler()
[all …]
/freebsd/contrib/nvi/cl/
H A DREADME.signal2 SIGHUP, SIGINT, SIGQUIT, SIGTERM, SIGTSTP and SIGWINCH.
30 SIGINT and SIGTSTP are a much more difficult issue to resolve. Vi has
126 First, System V's curses doesn't handle SIGTSTP correctly. If you use the
134 own SIGTSTP handling.
136 The problem with this is that if we do our own SIGTSTP handling, in either
151 and getting ready to send a SIGTSTP to the process group in order to put
154 processes) receive the SIGTSTP. This permits it to clean up the terminal
156 group a SIGTSTP, putting everyone to sleep and waking the shell.
158 Third, handing SIGTSTP asynchronously is further complicated by the child
160 starts running some filter, and SIGTSTP stops them both, vi has to know
[all …]
/freebsd/crypto/heimdal/appl/telnet/telnet/
H A Dsys_bsd.c313 #ifdef SIGTSTP
457 #ifdef SIGTSTP in TerminalNewMode()
458 signal(SIGTSTP, susp); in TerminalNewMode()
498 #ifdef SIGTSTP in TerminalNewMode()
499 signal(SIGTSTP, SIG_DFL); in TerminalNewMode()
501 sigaddset(&sm, SIGTSTP); in TerminalNewMode()
688 #ifdef SIGTSTP
733 #ifdef SIGTSTP in sys_telnet_init()
734 signal(SIGTSTP, susp); in sys_telnet_init()
/freebsd/contrib/telnet/telnet/
H A Dsys_bsd.c114 #ifdef SIGTSTP
594 #ifdef SIGTSTP in TerminalNewMode()
595 (void) signal(SIGTSTP, susp); in TerminalNewMode()
648 #ifdef SIGTSTP in TerminalNewMode()
649 (void) signal(SIGTSTP, SIG_DFL); in TerminalNewMode()
651 (void) sigsetmask(sigblock(0) & ~(1<<(SIGTSTP-1))); in TerminalNewMode()
653 (void) sigrelse(SIGTSTP); in TerminalNewMode()
768 #ifdef SIGTSTP
813 #ifdef SIGTSTP in sys_telnet_init()
814 (void) signal(SIGTSTP, susp); in sys_telnet_init()
/freebsd/usr.bin/bc/
H A Dtty.c53 if (sig == SIGTSTP) { in tstpcont()
58 signal(SIGTSTP, tstpcont); in tstpcont()
/freebsd/contrib/tcsh/
H A Dtc.sig.h126 sigaction(SIGTSTP, NULL, &(sv)[2]); \
134 sigaddset(&m__, SIGTSTP); \
146 sigaction(SIGTSTP, &(sv)[2], NULL); \
H A Dsh.init.c584 #ifdef SIGTSTP in mesginit()
585 if (mesg[SIGTSTP].pname == NULL) { in mesginit()
586 mesg[SIGTSTP].iname = "TSTP"; in mesginit()
588 mesg[SIGTSTP].pname = CSAVS(2, 48, "Suspended"); in mesginit()
590 mesg[SIGTSTP].pname = CSAVS(2, 49, "Stopped"); in mesginit()
/freebsd/lib/libc/gen/
H A Dsiglist.c53 [SIGTSTP] = "TSTP",
88 [SIGTSTP] = "Suspended",
H A Dreadpassphrase.c119 (void)__libc_sigaction(SIGTSTP, &sa, &savetstp); in readpassphrase()
157 (void)__libc_sigaction(SIGTSTP, &savetstp, NULL); in readpassphrase()
171 case SIGTSTP: in readpassphrase()
/freebsd/usr.bin/mail/
H A Dtty.c70 savetstp = signal(SIGTSTP, SIG_DFL); in grabh()
137 (void)signal(SIGTSTP, savetstp); in grabh()
209 (void)signal(SIGTSTP, ttystop); in readtty()
220 (void)signal(SIGTSTP, SIG_DFL); in readtty()
/freebsd/contrib/libarchive/libarchive_fe/
H A Dpassphrase.c154 M(M(SIGTSTP, SIGTTIN), SIGTTOU)))
240 (void)sigaction(SIGTSTP, &sa, &savetstp); in readpassphrase()
288 (void)sigaction(SIGTSTP, &savetstp, NULL); in readpassphrase()
303 case SIGTSTP: in readpassphrase()
/freebsd/cddl/lib/libdtrace/
H A Dsignal.d60 inline int SIGTSTP = 18; variable
61 #pragma D binding "1.0" SIGTSTP
112 signal == SIGTSTP ? "SIGTSTP" :
/freebsd/crypto/openssh/openbsd-compat/
H A Dreadpassphrase.c124 (void)sigaction(SIGTSTP, &sa, &savetstp); in readpassphrase()
166 (void)sigaction(SIGTSTP, &savetstp, NULL); in readpassphrase()
180 case SIGTSTP: in readpassphrase()
/freebsd/contrib/libfido2/openbsd-compat/
H A Dreadpassphrase.c128 (void)sigaction(SIGTSTP, &sa, &savetstp); in readpassphrase()
170 (void)sigaction(SIGTSTP, &savetstp, NULL); in readpassphrase()
184 case SIGTSTP: in readpassphrase()
/freebsd/usr.bin/top/
H A Dtop.c580 sigaddset(&new_sigmask, SIGTSTP); in main()
585 signal(SIGTSTP, tstop); in main()
743 signal(SIGTSTP, SIG_DFL); in main()
746 sigsetmask(sigblock(0) & ~(1 << (SIGTSTP - 1))); in main()
747 kill(0, SIGTSTP); in main()
750 signal(SIGTSTP, tstop); in main()
/freebsd/bin/sh/
H A Dtrap.c281 case SIGTSTP: in setsignal()
304 if (mflag && (signo == SIGTSTP || in setsignal()
537 if (sig != 0 && sig != SIGSTOP && sig != SIGTSTP && sig != SIGTTIN && in exitshell_savedstatus()
/freebsd/usr.bin/msgs/
H A Dmsgs.c478 signal(SIGTSTP, onsusp); in main()
522 signal(SIGTSTP, SIG_DFL); in main()
692 signal(SIGTSTP, SIG_DFL); in onsusp()
694 kill(0, SIGTSTP); in onsusp()
695 signal(SIGTSTP, onsusp); in onsusp()
/freebsd/usr.bin/talk/
H A Dinit_disp.c77 (void) sigaction(SIGTSTP, (struct sigaction *)0, &sa); in init_display()
79 (void) sigaction(SIGTSTP, &sa, (struct sigaction *)0); in init_display()
/freebsd/contrib/libedit/
H A Dsig.h51 _DO(SIGTSTP) \
/freebsd/contrib/sendmail/src/
H A Dalias.c522 #ifdef SIGTSTP
584 #ifdef SIGTSTP
585 oldsigtstp = sm_signal(SIGTSTP, SIG_IGN);
636 #ifdef SIGTSTP
637 (void) sm_signal(SIGTSTP, oldsigtstp);
/freebsd/contrib/llvm-project/lldb/tools/driver/
H A DPlatform.h40 #define SIGTSTP 20 macro
/freebsd/lib/libsysdecode/
H A Dsignal.c50 [SIGTSTP] = "SIGTSTP",
/freebsd/sbin/reboot/
H A Dreboot.c390 (void)signal(SIGTSTP, SIG_IGN); in main()
410 if (kill(1, SIGTSTP) == -1) in main()
/freebsd/lib/libc/nls/
H A Dbe_BY.UTF-8.msg221 $ SIGTSTP

12345