HP3000-L Archives

October 1995, Week 2

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Tony Laico <[log in to unmask]>
Reply To:
Tony Laico <[log in to unmask]>
Date:
Fri, 13 Oct 1995 13:33:12 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (54 lines)
** High Priority **
 
>>>>>>>>>>>>>>>
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
 
Sample of what happens
 
:run telnet.arpa.sys;stdin=teletest.usr
Telnet Client [A0001000]     (C) Hewlett-Packard Co. 1994 telnet>
Trying...
Connected to ux_box.
Escape character is '^]'.
 
 
HP-UX ux_box A.09.01 E 9000/735 (ttys0)
 
login:
 
it sits there and waits until you type something in.  It seems to be
reading
STDIN to that point, and then stopping.
 
Sample Script:
 
open ux_box
TESTUSER testpassword quit
 
<<<<<<<<<<<<<<<
Your problem, executing Unix scripts on a 9000 from a 3000,
in batch, and without using Telnet, is currently being addressed
by the firm that I work for, Eagle Consulting abnd Development....
 
There is a simple solution available...you can contact
D.Thatcher   ([log in to unmask]) for
more details...
 
--Tony

ATOM RSS1 RSS2