diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2001-12-06 05:37:05 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2001-12-06 05:37:05 +0000 |
commit | 356637a543a91c28362353168555fdfe110d4bf6 (patch) | |
tree | 46d0fd327ae800eb18c864b71276bc3c86af616f /sys/dev/pci | |
parent | 7379aa77a00dba03363eb1419cf4ae4e335d830f (diff) |
Do not set handler for SIGINT and SIGQUIT to SIG_IGN since it prevents
getpass()/readpassphrase() from being able to restore the tty mode
on keyboard interrupt. Along with the recent readpassphrase.c commit
this means that if you ^C things that use login scripts (like su(1))
with a non-CBREAK shell your tty mode will be restored nicely.
TODO:
The various login scripts need to install handlers to avoid leaving
turd files or otherwise ending in a bad state. It would also be
nice to send BI_REJECT to the back channel.
Diffstat (limited to 'sys/dev/pci')
0 files changed, 0 insertions, 0 deletions