I apologize for my incomplete response. Perhaps I should have said
"didn't have the quick answer I was looking for." This forum is a great
place to share ideas and anyone who offends here may not get the help
they are looking for. The only problem with this forum is the over
response and analysis when a simple solution is wanted. I didn't want
to reply to every email, nor do I have the time to do so, so I was
waiting for sufficient reply to see if someone had my answer. Yes,
there are other ways to solve my problem but Tom recognized my request
for a simple example and an answer that met my needs. Sorry if I offended.
Adrian Matthews wrote:
What I was getting at is that it easier to help people if they explain
the issue they are trying to solve rather than a problem with a
particular solution.
For example, if you wanted to run a remote telnet session to another U2
server just to execute another program then I might have suggested an
RPC call. It still might be the case that a "telnet script" is not the
best solution to what you are doing, but without knowing why you want to
do it.......
Besides I only made the comment after postings from other people saying
"perhaps he's doing this" or "maybe he's doing that" so obviously a lot
of people wanted more detail.
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Stu Glancy
Sent: 02 November 2004 18:04
To: [EMAIL PROTECTED]
Subject: Re: [U2][UV]telnet
Au contrair. Tom Firl was able to give me exactly what I needed. I was
able to build a PAragraph with <<inputs>> that executed a sh -c script
passing the inputs to allow login and execution of a shell script. I
was after "concept" and Tom gave me concept. (See below.) I used echo
to pass my inputs and all worked just fine. If you were frustrated with
my posting then perhaps you didn't have the answer.
SH -c '(sleep 1; echo username; sleep 1; echo password; sleep 5; echo
"ls -l"; sleep 3; echo "exit") | telnet hostname'
Adrian Matthews wrote:
I must admit that the original post is a good example of one of the
things I find really frustrating about this list. People just don't
give
enough info to get any real help.
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Rex Gozar
Sent: 29 October 2004 13:23
To: [EMAIL PROTECTED]
Subject: RE: [U2][UV]telnet
Bob:
I think Stu is trying to run another data entry application via telnet,
without the user realizing it.
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Bob Witney
Sent: Friday, October 29, 2004 3:05 AM
To: [EMAIL PROTECTED]
Subject: RE: [U2][UV]telnet
Stu:
I think that you are attempting to so something akin to this;
ftp -iv servername << EOF
cd /account
cd ramis_archive
cd /account/CRG.VENDOR
get filename
quit
EOF
Where the login would be a line in .netrc on your home account
i.e machine servername login loginid password passwordone
I don't think that you can invoke a telnet session the same way
Bob
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Stu Glancy
Sent: 28 October 2004 19:54
To: [EMAIL PROTECTED]
Subject: [U2][UV]telnet
I want to create a telnet script from a program and execute
it. Can it
be done? If it can, what would the EXECUTE look like? What
would the
script look like? I'm looking for concept and a little detail.
-------
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
-------
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/
-------
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/
The information contained in this email is strictly confidential and
for the use of the addressee only, unless otherwise indicated. If you
are not the intended recipient, please do not read, copy, use or
disclose to others this message or any attachment. Please also notify
the sender by replying to this email or by telephone +44 (0)20 7896 0011
and then delete the email and any copies of it. Opinions, conclusions
(etc.) that do not relate to the official business of this company shall
be understood as neither given nor endorsed by it. IG Markets Limited
and IG Index Plc are authorised and regulated by the Financial Services
Authority and, in Australia, by the Australian Securities and
Investments Commission.
-------
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/
-------
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/
The information contained in this email is strictly confidential and for the use
of the addressee only, unless otherwise indicated. If you are not the intended
recipient, please do not read, copy, use or disclose to others this message or any
attachment. Please also notify the sender by replying to this email or by telephone
+44 (0)20 7896 0011 and then delete the email and any copies of it. Opinions,
conclusions (etc.) that do not relate to the official business of this company shall
be understood as neither given nor endorsed by it. IG Markets Limited and IG Index
Plc are authorised and regulated by the Financial Services Authority and, in
Australia, by the Australian Securities and Investments Commission.
-------
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/
-------
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/