[EMAIL PROTECTED] 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:


#!/bin/tcsh
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: [EMAIL PROTECTED]
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/linux5250
or email: [EMAIL PROTECTED]
Before posting, please take a moment to review the archives
at http://archive.midrange.com/linux5250.



Reply via email to