|
Home > Archive > Unix Programming > January 2004 > Anyway to have telnet run with session script?
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Anyway to have telnet run with session script?
|
|
| Mark A. Odell 2004-01-23, 5:32 pm |
| Is it possible (first) and not to hard (second) to run a telnet session to
a host and have the i/o come from a script? Something like
minicom -s <file>.
Thanks.
--
- Mark ->
--
| |
| Michael Fuhr 2004-01-23, 5:32 pm |
| "Mark A. Odell" <nospam@embeddedfw.com> writes:
quote:
> Is it possible (first) and not to hard (second) to run a telnet session to
> a host and have the i/o come from a script? Something like
> minicom -s <file>.
Expect is often used to automate interactive sessions.
http://expect.nist.gov/
--
Michael Fuhr
http://www.fuhr.org/~mfuhr/
| |
| Frank da Cruz 2004-01-23, 5:33 pm |
| In article <m1brq328nu.gnus@usa.net>,
those who know me have no need of my name wrote:
: in comp.unix.programmer i read:
:>"Mark A. Odell" <nospam@embeddedfw.com> writes:
:
:>> Is it possible (first) and not to hard (second) to run a telnet session
:>> to a host and have the i/o come from a script?
:
:>Expect is often used to automate interactive sessions.
:
: also an alternative client may be useful, e.g., kermit.
:
See:
http://www.columbia.edu/kermit/ckermit.html C-Kermit for Unix
http://www.columbia.edu/kermit/ckututor.html C-Kermit/Unix tutorial
http://www.columbia.edu/kermit/ckscripts.html C-Kermit scripts
(see, especially, the "autotelnet" script).
- Frank
|
|
|
|
|