🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.help
Article #188985

Pipes, Ptys and EOF

#188985
From: Christopher McConnell
Date: Wed, 15 May 1991 18:47
13 lines
1351 bytes
In ILISP, I currently use pipes (process-connection-type set to nil)
because when I use ptys, long strings sent to an inferior process lose
characters in the middle even when the string is broken up into small
chunks.  This causes another problem in that I can't send an EOF down
the pipe.  (There is no problem sending a ^d character, but in a pipe
the character is sent whereas in a pty, the character is eaten and an
empty string is sent.  Sending an empty string doesn't work in a pipe
either.)

So, does anyone know how to prevent pty's from losing input or to send
an EOF down a pipe?  

Thanks!
Technical Details
Message-ID: <CCM.91May15144755@DARWIN.CRITTERS.CS.CMU.EDU>
Path: arc1-ca.pugleaf.net!gmdzi!unido!math.fu-berlin.de!ira.uka.de!sol.ctr.columbia.edu!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!tut.cis.ohio-state.edu!sei.cmu.edu!fs7.ece.cmu.edu!o.gp.cs.cmu.edu!pt.cs.cmu.edu!DARWIN.CRITTERS.CS.CMU.EDU!ccm

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 103b8b,4e61cf5e85a6b9ae,start
X-Google-Attributes: gid103b8b,public
X-Google-ArrivalTime: 1991-05-15 22:49:11 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!math.fu-berlin.de!ira.uka.de!sol.ctr.columbia.edu!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!tut.cis.ohio-state.edu!sei.cmu.edu!fs7.ece.cmu.edu!o.gp.cs.cmu.edu!pt.cs.cmu.edu!DARWIN.CRITTERS.CS.CMU.EDU!ccm
From: ccm@CS.CMU.EDU (Christopher McConnell)
Newsgroups: gnu.emacs.help
Subject: Pipes, Ptys and EOF
Message-ID: <CCM.91May15144755@DARWIN.CRITTERS.CS.CMU.EDU>
Date: 15 May 91 18:47:55 GMT
Sender: ccm@DARWIN.CRITTERS.CS.CMU.EDU
Distribution: gnu
Organization: School of Computer Science, Carnegie Mellon University
Lines: 13