[comp.sys.hp] pty and/or expect under HP-UX 7.0?

tn03@uafhcx.uucp (Tn3270 access) (11/22/90)

I have been assigned a project wherein I must change passwords
automatically via a cron job.  I have devised a way to do it using
crypt() and nawk, but I would prefer to use pty or expect.  My problem
with pty is portability (sgtty.h) and my problem with expect is Tcl
(tar won't unpack "dir checksum error").  I would like to know if
someone out there has covered this ground before me and would share
the fruit of their efforts.

Second question: would pty help our hanging pty devices?  We get so
many ptys zombified that we have to reboot about once a week to regain
them.  Any ideas on this?

James E. Ward