you cannot expect (pun:) Expect.pm to open remote files. Expect.pm is for automating/scripting the interaction to locally started programs. You can edit files on file systems capable of remote mounting e.g. NFS...and then it's just a matter of opening the file as usual. However, you could handle a locally started telnet/ssh session with Expect.pm: login, and then start a remote program via the telnet/ssh to edit the file. All this applies only if the remote system is unix/linux. | [reply] |