mike@nexus.UU.NET (Mike Hickey) (05/19/88)
Version: 18.50
Machine: NCR Tower 32-400
OS: NCR UNIX Rel. 1.03
Symptom:
After doing a suspend-emacs, when at the shell prompt a ^S is
entered followed by ^D, emacs will hang forever.
Problem:
The child shell has exited while in a paused state. Emacs can't
do any output because the tty driver is waiting to see a resume-output.
Since emacs happily uses ^Q, the driver is never satisfied.
Solution:
For the Tower (and others that have TCXONC), adding the line
ioctl(0, TCXONC, 1) in sysdep.c in init_sys_modes will continue any
suspended I/O. This is highly preferable to using set-input-mode.
/mike