[comp.sources.d] Making "expect" work as expected.

elston@edwards-tems.af.mil (Mark Elston, NSI Inc., Edwards AFB CA) (04/13/91)

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      #