gt5431b@prism.gatech.EDU (Michael J. Gourlay) (12/05/90)
Hello, I have looked into the different ways of using telnet through a C program. I have found three ways (short of reimplementing telnet). The `expect' program or set of libraries looks like the best way, since it has many uses. the `pty' program looks formidable to compile, and the set of routines that I have that actually implement the telnet protocol expect there to be a telnet.h, which HPUX does not have, and in general, the routines are expecting more BSD than HPUX can handle. I have had no luck compiling expect for my HPUX 900 series 370. Does anyone have expect for a seriers 300 HPUX? Thanks. Mike Gourlay, mike@penguin.gatech.edu PS: more to the point, has anyone gotten an HPUX series 30 to use telnet or other interactive (direct tty) programs to work through a C program?