How about lp5250d? Could it be hacked to automagically re-connect if the print session dies for some reason, or is that already available? Thanks, Chris -----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: #!/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: LINUX5250@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/linux5250 or email: LINUX5250-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/linux5250.
As an Amazon Associate we earn from qualifying purchases.
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.