[U2] UV telnet disconnects over WAN

2007-06-06 Thread Gabriel Green
Ever since we switched to a new network (but before as well), we've
experienced lots of unexpected disconnects--people in the middle of
transactions or actively doing things suddenly becoming disconnected, often
leaving the transaction they were in locked which I then must clear
manually.

The new network is a DSL-based MPLS product, which basically means ISPs
throughout the country resell last mile connectivity, and at the DSLAM
tunnel it to our (private) network service provider, which then gets routed
to us.  Ping times are better and more consistent than the old frame relay
network but disconnects more frequent.

I am hoping that switching from Systech devices and Cisco 2500s serving ADDS
terminals to thin clients with AccuTerm and the send keepalives option on in
the telnet options will prevent this from happening.

Anyone had experience with this type of problem?

Thanks
Gabe
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] UV telnet disconnects over WAN

2007-06-06 Thread Martin Phillips
I am going to take a wild guess that you are in the US and hence my UK 
experiences are probably worthless.


For a long time, we have had a 512k ADSL connection because it was all that 
was available at our location. Ten days ago we upgraded to an 8M connection. 
It has been a disaster and is currently running at an effective rate of 
about 300k with frequent disconnects (Sometimes every few seconds).


Our telecomms supplier tells us that some degree of difficulty is normal in 
the first few days of a new connection as it goes through a period of line 
training, however, what we are seeing is not to be expected. We had an 
engineer here this morning who has gone off scratching his head. If anything 
that might be applicable to you comes out of this, I'll post another reply.



Martin Phillips, Ladybridge Systems Ltd 
---

u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] UV telnet disconnects over WAN

2007-06-06 Thread Steve Ferries
The new network is a DSL-based MPLS product

We use DSL at our Montreal office but over LAN Extension which is also a
Bell network but no guaranteed service level. We run about 120 telnet
connections, and we do not have any issues. Ping times vary from 20ms to
800ms.

We had some issues early on, ping times over 2 seconds which caused
disconnects. Bell had to come in and remove the staple that nicked the
cable.


Steve Ferries
TCR Ltd
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] UV telnet disconnects over WAN

2007-06-06 Thread Anthony Youngman
Probably not relevant ...

I know some early Demon broadband adopters had nightmares when BT
upgraded their kit. Because it wouldn't affect any subscribers they
did it without informing any ISPs, with the result that when customers
complained the ISPs didn't have a clue.

If you were an early broadband adopter, I'd get the terminator in your
exchange checked out, but it shouldn't be a problem.

Note for non-brits - this upgrade is free because BT want to upgrade
their kit, but it's a nightmare when things go wrong because they're not
giving customers a choice. You go from a guaranteed 512Mb to a 8Mb at
best connection, and a lot of people have reported connection speeds
falling. I'm lucky - living maybe 100yds from the exchange I think I get
about 5.7Mb connection speed :-) And when things go wrong, if you're not
a BT customer it's a nightmare because they won't talk to you and
everything goes the Chinese-whispers route via your ISP ...

Cheers,
Wol

-Original Message-
From: Martin Phillips [mailto:[EMAIL PROTECTED] 
Sent: 06 June 2007 15:36
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] UV telnet disconnects over WAN

I am going to take a wild guess that you are in the US and hence my UK 
experiences are probably worthless.

For a long time, we have had a 512k ADSL connection because it was all
that 
was available at our location. Ten days ago we upgraded to an 8M
connection. 
It has been a disaster and is currently running at an effective rate of 
about 300k with frequent disconnects (Sometimes every few seconds).

Our telecomms supplier tells us that some degree of difficulty is normal
in 
the first few days of a new connection as it goes through a period of
line 
training, however, what we are seeing is not to be expected. We had an 
engineer here this morning who has gone off scratching his head. If
anything 
that might be applicable to you comes out of this, I'll post another
reply.


Martin Phillips, Ladybridge Systems Ltd 
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2][UV]telnet

2004-11-03 Thread Adrian Matthews
Interesting attitude.

-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/


RE: [U2][UV]telnet

2004-11-03 Thread Adrian Matthews
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

Re: [U2][UV]telnet

2004-11-03 Thread Stu Glancy
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

Re: [U2][UV]telnet

2004-11-02 Thread Stu Glancy
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/


RE: [U2][UV]telnet

2004-10-31 Thread David Jordan
I started a project, but have not got around to completing it.  This was to
use the socket API in universe BASIC to talk to a telnet service.  This was
to enable a UniVerse Application to interface with external applications
that have a telnet interface. 

I got it partly working, but have not had the time to fully configure the
telnet functions and I am not that experienced with the telnet API, but this
sounds like one type of solution to this problem

Regards

David Jordan
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2][UV]telnet

2004-10-31 Thread FFT2001
In a message dated 10/30/2004 3:50:40 PM Pacific Standard Time, 
[EMAIL PROTECTED] writes:

 You are right however, that most windows telnet clients/terminal emulators
 allow session startup to be scripted.  If the original user will be
 connected via a PC, then perhaps the solution is to try and work out how the
 BASIC app can invoke a new terminal emulation session to another host FROM
 THE PC.  Wintegrate has subroutine calls you can make to get something run
 on the PC, Accuterm probably does too.
 

Yes it doesn't matter where the OP is.  What matters is where the CONNECTOR 
is i.e. the human-machine connecting *into* that OP.  I'm pretty confident that 
the answer has to be on a Windows PC... of course they may be running xterm 
or green-screen or Macintosh for that matter ;)
   At any rate, from a BASIC program, running in an OP on Unix, Windows, or 
Linux, or anything really, certain PRINT statements, piped through Accuterm 
make Accuterm wake up and say Hey they are asking ME to do something.
   In other words, certain characters are a *signal* to Accuterm to act, not 
just display.  That action can be Launch a script.  So at any point in any 
BASIC program you can launch an Accuterm script to do whatever you want.  
Either on the PC, or piping back into the BASIC program for that matter.
   SO you can say get the time which launches an Accuterm script to connect 
via your Internet gateway off your PC to the Universal clock in Greenwich, 
cuts and pastes the answer back into your BASIC program running MvBase on a 
native ADDS machine from 1994!  (or something like that).
   In addition to launching on-demand scripts, you can also launch on-startup 
scripts.  That is, your command line changes from C:/Program 
Files/Accuterm.exe to C:/Program Files/Accuterm.exe domystuff.scr
   When you click that desktop icon, it launches that script at startup.  
That script can then test the telnet session, wait for LOGIN, answer it, wait for 
PASSWORD, answer it, exit the menu, and run the command 
ERASEEVERYTHING_CAUSE_THEY_JUST_FIRED_ME
   :) You know... and stuff... just kidding by the way.
Will Johnson
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2][UV]telnet

2004-10-30 Thread FFT2001
In a message dated 10/28/2004 7:10:40 PM Pacific Daylight Time, 
[EMAIL PROTECTED] writes:

 Are you just trying to fire up a telnet
 session and get it logged in so a user can then start interacting with a
 system?  If so, then you essentially have to write your own telnet
 client/terminal emulator.

Not true.  Accuterm for example, can launch a script upon opening.  That 
script can log you in.  You don't have to write your own telnet ...
Will
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2][UV]telnet

2004-10-30 Thread Ken Wallis
 [EMAIL PROTECTED] wrote

 [EMAIL PROTECTED] writes:

  Are you just trying to fire up a telnet
  session and get it logged in so a user can then start
 interacting with a
  system?  If so, then you essentially have to write your own telnet
  client/terminal emulator.

 Not true.  Accuterm for example, can launch a script upon
 opening.  That
 script can log you in.  You don't have to write your own telnet ...

Will, the OP is on UNIX.  If I understand correctly he wants to invoke the
telnet session from the UNIX box where UV is running, and have it connect to
another host of unknown type, log in and get to a certain point in the app,
then transfer control back to the user.  I can't see a way to do that with
any telnet program I know of that runs on UNIX - they're all pretty dumb.

You are right however, that most windows telnet clients/terminal emulators
allow session startup to be scripted.  If the original user will be
connected via a PC, then perhaps the solution is to try and work out how the
BASIC app can invoke a new terminal emulation session to another host FROM
THE PC.  Wintegrate has subroutine calls you can make to get something run
on the PC, Accuterm probably does too.

Cheers,

Ken
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2][UV]telnet

2004-10-29 Thread Rex Gozar
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/


[U2][UV]telnet

2004-10-28 Thread Stu Glancy
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/


Re: [U2][UV]telnet

2004-10-28 Thread karlp
I'm not sure you've given enough information. What would the script do?
What's it for?

I've created scripts that use ssh rather than telnet for automated
processes but never telnet.

Karl

quote who=Stu Glancy
 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/



-- 
Karl L. Pearson
Director of IT,
ATS Industrial Supply
Direct: 801-978-4429
Toll-free: 800-789-9300 1,29
Fax: 801-972-3888
http://www.atsindustrial.com
[EMAIL PROTECTED]
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2][UV]telnet

2004-10-28 Thread Lance Jahnke
CMD='SH -c telnet myserver'
EXECUTE CMD
END
* UniVerse


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Stu Glancy
Sent: Thursday, October 28, 2004 1:54 PM
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/
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2][UV]telnet

2004-10-28 Thread Stu Glancy
Too simple.  How do you pass the user id and password?
Lance Jahnke wrote:
CMD='SH -c telnet myserver'
EXECUTE CMD
END
* UniVerse
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Stu Glancy
Sent: Thursday, October 28, 2004 1:54 PM
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/
---
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/


Re: [U2][UV]telnet

2004-10-28 Thread Stu Glancy
What the script does is not so important just yet.  How do you pass the 
login id and password?

[EMAIL PROTECTED] wrote:
I'm not sure you've given enough information. What would the script do?
What's it for?
I've created scripts that use ssh rather than telnet for automated
processes but never telnet.
Karl
quote who=Stu Glancy
 

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/
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2][UV]telnet

2004-10-28 Thread Andrew McLaughlin
Try:
   CMD='SH -c telnet myserver -l myuser  EOF ' : char(10):' password 
' : char(10): ' EOF'

That should pass in the password to the prompt via the  input 
chevron. The EOF signals where the inputs should stop...

Andrew
Andrew McLaughlin - Business Systems Manager - Shurflo Pump LLC - 
Pentair Water Group
[EMAIL PROTECTED] - http://www.shurflo.com/
5900 Katella Ave - Cypress, CA  90630-5009
Main: 562-797-6668 - Cell: 714-270-6727

On Oct 28, 2004, at 2:36 PM, Stu Glancy wrote:
Too simple.  How do you pass the user id and password?
Lance Jahnke wrote:
CMD='SH -c telnet myserver'
EXECUTE CMD
END
* UniVerse
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2][UV]telnet

2004-10-28 Thread Scott Ballinger
I don't think you can. You could use rlogin, which will bypass the
user/password, assuming your current user/password exists on the remote
system. (Yes I know that rlogin is not secure, so get off the soapbox.)

Another option is to use ssh. You can define key-pairs for the local and
remote systems, or configure /etc/hosts.equiv to do what you want.

Scott Ballinger
Pareto Corporation
Edmonds WA USA
206-713-6006

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Stu Glancy
Sent: Thursday, October 28, 2004 2:37 PM
To: [EMAIL PROTECTED]
Subject: Re: [U2][UV]telnet


Too simple.  How do you pass the user id and password?

Lance Jahnke wrote:

CMD='SH -c telnet myserver'
EXECUTE CMD
END
* UniVerse


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Stu Glancy
Sent: Thursday, October 28, 2004 1:54 PM
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/
---
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/
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2][UV]telnet

2004-10-28 Thread Alfke, Colin
Many emulators have scripting built-in. You may have to start a session
that automatically runs your script. In effect, your execute statement
would start the emulator which would run your script to do what you
want.

This doesn't really seem like a good solution. If you let the list know
what you are trying to accomplish you may get some good ideas on other
ways to solve your problem.

Hth
Colin Alfke

-Original Message-
From: Andrew McLaughlin [mailto:[EMAIL PROTECTED] 

Try:

CMD='SH -c telnet myserver -l myuser  EOF ' : char(10):' password

' : char(10): ' EOF'

That should pass in the password to the prompt via the  input 
chevron. The EOF signals where the inputs should stop...

Andrew
On Oct 28, 2004, at 2:36 PM, Stu Glancy wrote:

 Too simple.  How do you pass the user id and password?

 Lance Jahnke wrote:

 CMD='SH -c telnet myserver'
 EXECUTE CMD
 END
 * UniVerse
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2][UV]telnet

2004-10-28 Thread Ken Wallis
Stu,

If what you have to do is anything but mindlessly simple and you don't mind
a bit of a learning curve, then I'd suggest using perl to drive your telnet
session.  EXECUTE 'SH -c perl mytelnet.pl arg1 arg2 ... argn' from BASIC
and write yourself a perl script to drive the telnet session.  There is a
perl module you can download from CPAN (www.cpan.org) called Net::Telnet
which takes care of pretty much everything you might want to do inside the
telnet session, and if you vaguely care about the output which come back and
it may be some sort of full screen application, then there is another module
called Term::VT102 which you can use to grab anything you see on the telnet
session and process it to produce clear text and tell you where the cursor
is etc.

I know this because I'm currently working with it for a different purpose -
automating benchmarking and QA scripts, and originally, I thought about
using expect, but found that perl was at least as easy as expect/tcl, but
far more powerful.

Cheers,

Ken

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Tom Firl
 Sent: Friday, 29 October 2004 8:22 AM
 To: [EMAIL PROTECTED]
 Subject: RE: [U2][UV]telnet


 For a variety of reasons (security being a big one), many
 people think that automating a telnet client isn't a good
 idea... Karl may be fishing for more information so as to
 suggest an alternative solution.

 At any rate, the following has worked all right for simple
 tasks on an AIX system running Universe:

 SH -c '(sleep 1; echo username; sleep 1; echo password; sleep
 5; echo ls -l; sleep 3; echo exit) | telnet hostname'

 Tom Firl
 Columbia Ultimate

  -Original Message-
  From: Stu Glancy [mailto:[EMAIL PROTECTED]
  Sent: Thursday, October 28, 2004 2:39 PM
  To: [EMAIL PROTECTED]
  Subject: Re: [U2][UV]telnet
 
 
  What the script does is not so important just yet.  How do
  you pass the
  login id and password?
 
  [EMAIL PROTECTED] wrote:
 
  I'm not sure you've given enough information. What would the
  script do?
  What's it for?
  
  I've created scripts that use ssh rather than telnet for automated
  processes but never telnet.
  
  Karl
  
  quote who=Stu Glancy
  
  
  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/
  ---
  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/
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2][UV]telnet

2004-10-28 Thread Stu Glancy
Didn't work.  I tried several times just in case I fat fingered somewhere.
Andrew McLaughlin wrote:
Try:
   CMD='SH -c telnet myserver -l myuser  EOF ' : char(10):' 
password ' : char(10): ' EOF'

That should pass in the password to the prompt via the  input 
chevron. The EOF signals where the inputs should stop...

Andrew
Andrew McLaughlin - Business Systems Manager - Shurflo Pump LLC - 
Pentair Water Group
[EMAIL PROTECTED] - http://www.shurflo.com/
5900 Katella Ave - Cypress, CA  90630-5009
Main: 562-797-6668 - Cell: 714-270-6727

On Oct 28, 2004, at 2:36 PM, Stu Glancy wrote:
Too simple.  How do you pass the user id and password?
Lance Jahnke wrote:
CMD='SH -c telnet myserver'
EXECUTE CMD
END
* UniVerse

---
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/


RE: [U2][UV]telnet

2004-10-28 Thread David Jordan
Consider using the sockets interface in UniVerse to access the telnet
session.  Telnet is just another socket device and you have greater control
than the execute command.

Regards
David Jordan

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Alfke, Colin
Sent: Friday, 29 October 2004 9:17 AM
To: [EMAIL PROTECTED]
Subject: RE: [U2][UV]telnet

Many emulators have scripting built-in. You may have to start a session
that automatically runs your script. In effect, your execute statement
would start the emulator which would run your script to do what you
want.

This doesn't really seem like a good solution. If you let the list know
what you are trying to accomplish you may get some good ideas on other
ways to solve your problem.

Hth
Colin Alfke

-Original Message-
From: Andrew McLaughlin [mailto:[EMAIL PROTECTED] 

Try:

CMD='SH -c telnet myserver -l myuser  EOF ' : char(10):' password

' : char(10): ' EOF'

That should pass in the password to the prompt via the  input 
chevron. The EOF signals where the inputs should stop...

Andrew
On Oct 28, 2004, at 2:36 PM, Stu Glancy wrote:

 Too simple.  How do you pass the user id and password?

 Lance Jahnke wrote:

 CMD='SH -c telnet myserver'
 EXECUTE CMD
 END
 * UniVerse
---
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/


Re: [U2][UV]telnet

2004-10-28 Thread Stu Glancy
This was close.  I removed the exit and it sill exited.  I'd like to 
take over manually once I get in.

By the way, this example answered a question I've had for a while.  I 
saw automated telnet sessions posting and retrieving cash register 
transactions with a UniData server running Datatel's school 
administration software and wondered how it was done.  Wrap CAPTURE 
around this and I have the answer.

Tom Firl wrote:
For a variety of reasons (security being a big one), many people think that automating 
a telnet client isn't a good idea... Karl may be fishing for more information so as to 
suggest an alternative solution.
At any rate, the following has worked all right for simple tasks on an AIX system 
running Universe:
SH -c '(sleep 1; echo username; sleep 1; echo password; sleep 5; echo ls -l; sleep 3; echo 
exit) | telnet hostname'
Tom Firl
Columbia Ultimate
 

-Original Message-
From: Stu Glancy [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 28, 2004 2:39 PM
To: [EMAIL PROTECTED]
Subject: Re: [U2][UV]telnet
What the script does is not so important just yet.  How do 
you pass the 
login id and password?

[EMAIL PROTECTED] wrote:
   

I'm not sure you've given enough information. What would the 
 

script do?
   

What's it for?
I've created scripts that use ssh rather than telnet for automated
processes but never telnet.
Karl
quote who=Stu Glancy
 

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/
   

---
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/
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2][UV]telnet

2004-10-28 Thread Ken Wallis
Stu Glancy wrote:

 This was close.  I removed the exit and it sill exited.  I'd like to
 take over manually once I get in.

What do you mean by 'manually'?  Are you just trying to fire up a telnet
session and get it logged in so a user can then start interacting with a
system?  If so, then you essentially have to write your own telnet
client/terminal emulator.  If the issue is that once you are in there is
something complex that needs doing automatically, but first you have to work
out what exactly has to be done, then life is a touch easier, but not much.

Bottom line is, that with or without the 'exit', once your telnet session
sees EOF on its input stream, it is going to terminate.  To prevent this
you'd have to come up with a way of redirecting your terminal io to the
script you've piped into telnet.  You could sort of do that with 'cat 
/dev/tty', but you'll see all sorts of buffering issues, and it won't work
when there's no associated terminal.  Trying to get around these problems in
a shell script will be harder than learning expect or perl ...

 Tom Firl wrote:

 At any rate, the following has worked all right for simple
 tasks on an AIX system running Universe:
 
 SH -c '(sleep 1; echo username; sleep 1; echo password;
 sleep 5; echo ls -l; sleep 3; echo exit) | telnet hostname'

You could try:

SH -c '(sleep 1; echo username; sleep 1; echo password; sleep 5; cat 
/dev/tty) | telnet hostname'

But I don't think it'll work as you'd like.

Cheers,

Ken
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/