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?

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

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.