On Mon, Dec 10, 2001 at 09:45:32AM -0800, Thomas Bushnell, BSG wrote:
> 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.

That's what gdb said. Haven't had time to play with it again.

Chris committed a patch to nano's CVS which fixes the problem. He stole
the fix from less.

  signal_init()
        - Unconditionally disable VDSUSP if it exists, stops ^Y
          suspending nano on the Hurd.

Can you tell us if this is {the,a} correct fix? I can attach the patch
if you want. The fix is applied to nano 1.1.4-1.diff.gz which I just
uploaded to Debian's incoming today.

Thanks,
Jordi
-- 
Jordi Mallach Pérez || [EMAIL PROTECTED] || Rediscovering Freedom,
   aka Oskuro in    || [EMAIL PROTECTED]      || Using Debian GNU/Linux
 Reinos de Leyenda  || [EMAIL PROTECTED]          || http://debian.org

http://sindominio.net  GnuPG public information:      pub  1024D/917A225E 
telnet pusa.uv.es 23   73ED 4244 FD43 5886 20AC  2644 2584 94BA 917A 225E

Attachment: msg02374/pgp00000.pgp
Description: PGP signature

Reply via email to