On 10/8/07, Ted Harding ted.harding@nessie.mcc.ac.uk wrote:
Say I'm logged in to a remote host in a telnet session. At a certain point, I would like to send the contents of a text file to the other end (as if I'd typed them in by hand).
...
What I'd really like to do is to be able to "break out" of the direct connection between my keyboard and the far end, and issue a local command to squirt said file down the line via the telnet session. And then break back in again.
Sending the Escape code (usually by pressing ^] ) should break out of the telnet session.
The next step of sending a text file, I'm not sure.
Can you run "screen"? That has copy and paste facilities for the mouseless.
Tim.