change
This commit is contained in:
parent
be65c84ef2
commit
6f3a3a393a
3
st.c
3
st.c
|
@ -895,14 +895,13 @@ stty(char **args)
|
|||
int
|
||||
ttynew(const char *line, char *cmd, const char *out, char **args)
|
||||
{
|
||||
static struct sigaction sa;
|
||||
struct sigaction sa;
|
||||
sa.sa_handler = sigusr1;
|
||||
sigemptyset(&sa.sa_mask);
|
||||
sa.sa_flags = SA_RESTART;
|
||||
sigaction(SIGUSR1, &sa, NULL);
|
||||
|
||||
int m, s;
|
||||
//struct sigaction sa;
|
||||
|
||||
if (out) {
|
||||
term.mode |= MODE_PRINT;
|
||||
|
|
Loading…
Reference in a new issue