Operating System - HP-UX
1847196 Members
4360 Online
110263 Solutions
New Discussion

Re: Expect script error message

 
SOLVED
Go to solution
jerry1
Super Advisor

Expect script error message

While trying to run an Expect script in a while
loop reading from an input file. I get the
following message on the 49th printer name in
the data list. Does anyone know what this error
message means? I have included the expect script if anyone is interested.

spawn telnet mt1g3l2
parent: sync byte read: bad file number
child: sync byte write: bad file number
2 REPLIES 2
Jeroen Peereboom
Honored Contributor
Solution

Re: Expect script error message

Without reading the script:
what happens if you sort the printers differently? Still the 49th printer?

JP.
jerry1
Super Advisor

Re: Expect script error message

Never mind. It just came to me that the
system I am trying to run it on still has
a problem with telnet because of nstrpty being set to default 60.
It runs okay on other systems.