[comp.sys.hp] Where is telnet.h????

mike@penguin.gatech.edu (Mike Gourlay) (12/03/90)

Hi folks,

	I need to open up a telnet port from a program and write and
read to and from it.  That sounds pretty common to me.

	I noticed that HPUX completely lacks anything resembling telnet.h

	Someone tell me that I'm having a nightmare.  HPUX is weird, okay,
being an interesting mix of System V and BSD, but what is going on here?
It isn't as if telnet(1) isn't on HPUX.  I use it.  The problem is that
you can't
popen("telnet someplace.domain.org", "rw") because telnet writes and
reads
the tty, not stdio.  I need to telnet to someplace, but I'm not about to
implement
the entire telnet protocol.  I have a package of telnet routines that
would work
if it were  not for that I lack <arpa/telnet.h>

	I would like someone to tell me that someone has played a big
practical
joke on me, took root access for a minute, and mv'ed telnet.h to
someplace,
and now I have to go find it.  RIGHT?

	How, if HP did in fact leave out telnet.h, am I supposed to open
a telnet port?  Has anyone wanted to do this before on an HPUX machine?
I have a 9000s370 in case that is relevant.

	Thanks in advance,
	Mike Gourlay