Path: 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 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 #