[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ^Y suspending in nano and info
From: |
Thomas Bushnell, BSG |
Subject: |
Re: ^Y suspending in nano and info |
Date: |
10 Dec 2001 09:45:32 -0800 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 |
Jordi Mallach <jordi@sindominio.net> writes:
> Under the hurd, pressing ^Y inside nano sends a SIGSTOP, when it should
> just go back one page in the editor. Under Linux it's ok, and only ^Z
> suspends the application when it's ran with the "-z" flag.
>
> Neal says maybe nano isn't ignoring SIGSTOP or some other signal that it
> should be ignoring, but this also happens with info(1), so maybe it's a
> Mach bug. Ideas?
>
> Please Cc: me or nano-devel, as I'm not subscribed to bug-hurd.
Ignoring signals isn't what should be done, it's setting the terminal
modes properly.
C-y sends SIGTSTP when it is read from the terminal (not when it's
typed; that's what makes it different from C-z) if ISIG is set in the
lflag element of the termios structure.
Are you sure it's getting SIGSTOP?? Nothing should be sending that at
all.