How about lp5250d?  Could it be hacked to automagically re-connect if
the print session dies for some reason, or is that already available?


-----Original Message-----
From: linux5250-bounces@xxxxxxxxxxxx
[mailto:linux5250-bounces@xxxxxxxxxxxx] On Behalf Of James Rich
Sent: Friday, September 19, 2003 2:05 PM
To: Linux 5250 Development Project
Subject: Re: [LINUX5250] Failure to connect

Phillip.Watts@xxxxxxxxx wrote:
> Most of the time when I start 3 or 4 sessions
> in .xinitrc, one of them will fail to connect and xt5250
> and its xterm will die very quickly, maybe within 1 second. Then I am 
> usually able to start an xterm and manually start the session.  
> Sometimes this happens with only one session defined.
> It acts like a timing issue.  Like if the AS400 is not quick enough 
> tn5250 gives up.  Is there a timeout parameter or someting?

I just tried this by creating a little script that does this:

xt5250 myas400 &
xt5250 myas400 &
xt5250 myas400 &
xt5250 myas400 &

Half of the time only three came up and the other half all four came up.

  I'm not sure what the problem is yet.

> On this same subject, I saw an emulator once which:
> if it could not connect shortly to the AS400, the program would stay 
> live and every time you hit Enter it would retry.  Is there such an 
> option in tn5250? Thanks

There isn't, but you could probably hack it to do so.  You could 
probably change it to sleep() for some period of time if connect doesn't

work and try again.

James Rich

This is the Linux 5250 Development Project (LINUX5250) mailing list To
post a message email: LINUX5250@xxxxxxxxxxxx To subscribe, unsubscribe,
or change list options,
or email: LINUX5250-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.