[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lynx-dev Problem with ^Z suspending
From: |
Kari E. Hurtta |
Subject: |
Re: lynx-dev Problem with ^Z suspending |
Date: |
Sat, 23 Jan 1999 18:23:33 +0200 (EET) |
Klaus Weide:
> The SIGTSTP signal handler could prevent this kind of thing by
> - blocking SIGTTOU (and maybe others) while doing its
> output thing (and checking returns from write and ioctl); or
With POSIX's sigaction is is easy to block SIGTTOU when SIGTSTP
is invoked:
new_sigtstp.sa_handler = handle_sigtstp;
sigemptyset(&new_sigtstp.sa_mask);
sigaddset(&new_sigtstp.sa_mask,SIGTTOU);
new_sigtstp.sa_flags = 0;
if (-1 == sigaction(SIGTSTP,&new_sigtstp,&old_sigtstp))
...
That causes that SIGTTOU is also blocked during SIGTSTP processing.
/ Kari Hurtta
- lynx-dev Problem with ^Z suspending, Klaus Weide, 1999/01/22
- Re: lynx-dev Problem with ^Z suspending, Bela Lubkin, 1999/01/24
- Re: lynx-dev Problem with ^Z suspending, Bela Lubkin, 1999/01/24
- Re: lynx-dev Problem with ^Z suspending, dickey, 1999/01/24
- Re: lynx-dev Problem with ^Z suspending, Henry Nelson, 1999/01/24
- Re: lynx-dev Problem with ^Z suspending, Bela Lubkin, 1999/01/26