Subject: | |
From: | |
Reply To: | |
Date: | Thu, 19 Oct 1995 07:49:50 +0100 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
>Hello all!
>
>We're trying to have a POSIX shell script, or a job of some kind, use 5.0's
>generic telnet to go over to a unix machine and execute a Perl/Shell/? script
>over there. We've tried multiple ways of redirecting STDIN. Each time, it
>connects fine, but it waits for someone to input the user name and
>password. If
>that's to be run automatically, that won't do. We've tried running telnet
>through
>a job stream, and it flat out told us that you can't run telnet in batch mode.
>
>Is there something that I'm missing? (sample below)
>
>TIA
>
>- Randy Smith
>Hoechst Celanese - Shelby Plant
>
<snip>
Randy,
As other gentle listers have pointed it out, the Telnet client won't accept
input redirection nor batch mode. You still have two options, as a
workaround:
1) Run a terminal emulator script on a PC, or
2) Write a command file that loads the desired commands in one or more
terminal function keys, then issues the escape sequence that triggers the
corresponding function key(s)
Both these options need a "live" connection on a terminal or PC.
FWIW
Regards,
Roger Costandi
Systems Engineer, R&D
Mighty Keys (France)
|
|
|