🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sources.d
Article #1710

Making "expect" work as expected.

#1710
From: Mark Elston, NSI Inc., Edwards A...
Date: Fri, 12 Apr 1991 19:28
14 lines
922 bytes
Has anyone out there gotten 'expect' to compile and run on a SVR2 machine?  I
get through compiling OK but when I run it I seem to get the child process
dying unexplainably and the rest is a bunch of error messages.  

In order to compile it I had to change the dup2 calls in cmdSpawn to
fcntl(slave,F_DUPFD,0) etc....

I also used the "inter_simple.c" code.

Any ideas, questions, comments (please, no flames...I'm really trying).

Mark.
-- 
#   elston@edwards-tems.af.mil      #
Technical Details
Message-ID: <1991Apr12.122815.48@edwards-tems.af.mil>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!ucsd!mvb.saic.com!eafbvax!eafbtems!elston

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!ucsd!mvb.saic.com!eafbvax!eafbtems!elston
From: elston@edwards-tems.af.mil (Mark Elston, NSI Inc., Edwards AFB CA)
Newsgroups: comp.sources.d
Subject: Making "expect" work as expected.
Message-ID: <1991Apr12.122815.48@edwards-tems.af.mil>
Date: 12 Apr 91 19:28:15 GMT
Organization: T&E Mission Simulator - Edwards AFB, CA
Lines: 14