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:
Jim Wowchuk <[log in to unmask]>
Reply To:
Jim Wowchuk <[log in to unmask]>
Date:
Sat, 14 Oct 1995 09:26:54 +1000
Content-Type:
text/plain
Parts/Attachments:
text/plain (33 lines)
Randy Smith wrote:
>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)
 
If you've the freedom to explore other possibilities, you might want to take
a look at the Python language (http://www.python.com).  If I've read
correctly it should give you the capability to distribute scripts across a
network and invoke them where needed.  And you can pass arbitrarily created
"objects" between these systems (files/structures/etc).  These scripts can
not only access operating system functions and shell commands but can even
access the Web and interpret html scripts.    Python is available (free) on
Unix (and others) and now, thanks to Gavin, on MPE/iX 5.0!
 
This could be a lot more work, but the effort sounds like it would be
worthwhile.  I expect to have more definitive answers by next month.
 
Regards.
----
Jim "seMPEr" Wowchuk           Internet:    [log in to unmask]
Vanguard Computer Services     Compu$erve:  100036,106
 _--_|\                        Post:        PO Box 18, North Ryde, NSW 2113
/      \                       Phone:       +61 (2) 888-9688
\.--.__/ <---Sydney NSW        Fax:         +61 (2) 888-3056
      v      Australia

ATOM RSS1 RSS2