version 1.8, 2000/10/10 15:41:10 |
version 1.9, 2001/09/04 23:35:59 |
|
|
tc.t_brkc = esc; |
tc.t_brkc = esc; |
#endif |
#endif |
} else { |
} else { |
|
#ifdef SIGTSTP |
|
sigset_t mask; |
|
#endif /* SIGTSTP */ |
#ifdef SIGINFO |
#ifdef SIGINFO |
void ayt_status(); |
void ayt_status(); |
|
|
|
|
#endif |
#endif |
#ifdef SIGTSTP |
#ifdef SIGTSTP |
(void) signal(SIGTSTP, SIG_DFL); |
(void) signal(SIGTSTP, SIG_DFL); |
# ifndef SOLARIS |
sigemptyset(&mask); |
(void) sigsetmask(sigblock(0) & ~(1<<(SIGTSTP-1))); |
sigaddset(&mask, SIGTSTP); |
# else SOLARIS |
sigprocmask(SIG_UNBLOCK, &mask, NULL); |
(void) sigrelse(SIGTSTP); |
|
# endif SOLARIS |
|
#endif /* SIGTSTP */ |
#endif /* SIGTSTP */ |
#ifndef USE_TERMIO |
#ifndef USE_TERMIO |
ltc = oltc; |
ltc = oltc; |