🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.bug
Article #99724

process-connection-type and signalling processes

#99724
From: Olin Shivers
Date: Sun, 27 May 1990 11:20
20 lines
1590 bytes
In the (unofficial) elisp manual, it says that if a process is communicating
by pipes instead of ptys (as determined by the global var
PROCESS-CONNECTION-TYPE) then the signalling functions (e.g.,
interrupt-process, kill-process, stop-process, and so forth) ignore their
second argument (CURRENT-GROUP).

Not so. If CURRENT-GROUP is T, these signals don't arrive. This is aggravated
by the fact that there's no advertised way to determine, given a process,
whether it's communicating via pipes or a pty.

For an example of this behavior, set PROCESS-CONNECTION-TYPE to nil,
crank up /bin/cat as a subprocess, and try (stop-process proc t)
and (stop-process proc nil).

Perhaps the manual is in error -- I don't know. If the manual is correct,
though, then this appears to be a bug in the signalling functions.

I might also add that it seems like a good idea to have a way to query a
process to find out its connection type.
	-Olin
Technical Details
Message-ID: <9005271121.AA04312@life.ai.mit.edu>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!ns-mx!iowasp!deimos.cis.ksu.edu!rutgers!tut.cis.ohio-state.edu!A.GP.CS.CMU.EDU!shivers

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fb2f1,33fbbbece961b843,start
X-Google-Attributes: gidfb2f1,public
X-Google-ArrivalTime: 1990-05-27 05:17:43 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!ns-mx!iowasp!deimos.cis.ksu.edu!rutgers!tut.cis.ohio-state.edu!A.GP.CS.CMU.EDU!shivers
From: shivers@A.GP.CS.CMU.EDU (Olin Shivers)
Newsgroups: gnu.emacs.bug
Subject: process-connection-type and signalling processes
Message-ID: <9005271121.AA04312@life.ai.mit.edu>
Date: 27 May 90 11:20:26 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 20
Posted: Sun May 27 12:20:26 1990