🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.bug
Article #985

Eternally paused on return from shell

#985
From: Mike Hickey
Date: Wed, 18 May 1988 18:53
23 lines
948 bytes
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
Technical Details
Message-ID: <149@nexus.UU.NET>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!nexus!mike

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!nexus!mike
From: mike@nexus.UU.NET (Mike Hickey)
Newsgroups: gnu.emacs.bug,comp.emacs
Subject: Eternally paused on return from shell
Keywords: flow control
Message-ID: <149@nexus.UU.NET>
Date: 18 May 88 18:53:35 GMT
Organization: Nexus Inc., Washington DC
Lines: 23