PLease accept my apology if this is not the right place to post this
question - I have found other references here though....
I'm trying to use expect to telnet to a remote machine and execute some
commands. The problem is that when login has successfully completed,
I am very limited in the commands that expect can execute via exec
or system on the remote machine. For example, I am unable to print
a file on the remote machine yet nor can the script perform an ls on
that file (if this is confusing, these commands yield responses from the
local machine instead.). This doesn't make sense since 'expect' scripts
are supposed to be able to anything that the user can.
My ultimate project is to be able to issue commands on comm server;
including string parsing from a screenful of information...
All assistance will be appreciated. Thanx.