Thanks Pete, K I am still having an issue, I checked out a fresh copy of tn5250j, removed my .tn5250 Dir and started fresh.
Compiled with Linux and sun JDK1.4.2_08 using ant -DSSL=true run. Then I setup my connections and connect twice. I now have 2 session to the same machine in two tabs sitting on the login screen. I then check of the save last session and click apply from the connections window. Close down TN and reopen it with Java -jar tn5250j.jar. I then see one tab marked -s. I open my session file and find "emul.view =-s null". I then edited the emul.view to emul.view=-s traf , the name assigned to the connection I setup in the connections window. Relaunch TN and get one tab marked as -s, same as the first run. When I view the sessions file the emul.view is set back to emul.view=-s null. Very strange. Any ideas? Thanks Rich Best regards, +------------------------------------------+ | Richard Houston .^. | | R.L.H. Consulting /V\ | | E-Mail <[EMAIL PROTECTED]> /( )\ | | WWW <www.rlhc.net> ^^-^^ | +------------------------------------------+ On Fri, July 15, 2005 8:43 am, Pete Helgren wrote: > I just committed the changes and I did test the start with default and > it seems to work. > > Let me know what you think. > > > Pete > > > > Kenneth Pouncey wrote: > > >> Pete >> >> >> As long as the start default still works I see no problem at all in >> committing this. Once it is committed I will test it tonight to see if >> what I normally do works as well. Will also test a default setup as >> well. >> >> Again thank you very much for the analysis and the fix. >> >> >> Regards >> >> >> Kenneth >> >> >> Pete Helgren wrote: >> >> >>> OK! >>> >>> >>> I found a couple of things that might be causing the problem. >>> Kenneth, you can check my assumptions before I update CVS with my >>> changes. >>> >>> These two changes start at around line 348 in My5250.java >>> >>> >>> 1. There is a startNewSession(); there even before we start to >>> iterate through the specific sessions retrieved. I think that will >>> just start a default session (not sure where it gets it from). 2. >>> We start the sessions stored in the vector (os400_sessions) at >>> 1 rather than 0. That skips the first session that was configured. >>> >>> >>> I commented out the startNewSession() and then changed the for loop >>> to start at 0 rather than 1. >>> >>> That took care of my problems. Do you want me to commit those >>> changes? >>> >>> Pete >>> >>> >>> >>> >>> >>> Pete Helgren wrote: >>> >>> >>>> Is this version from a clean check out of CVS today? >>>> >>>> >>>> >>>> Not today. I pulled from CVS and built my jar before Kenneth had >>>> finished the patch for the splash screen. I could rebuild again >>>> since I updated last night but there is enough weirdness going on >>>> that I am going to run in debug and see if I can figure this out on >>>> my own. >>>> >>>> I am pretty busy right now but I might get a chance to look at this >>>> later today. >>>> >>>> Pete >>>> >>>> >>>> >>>> >>>> >>>> Richard Houston wrote: >>>> >>>> >>>>> Pete, >>>>> >>>>> >>>>> Is this version from a clean check out of CVS today? >>>>> Just wondering. >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> Best regards, >>>>> +------------------------------------------+ >>>>> | Richard Houston .^. | >>>>> | R.L.H. Consulting /V\ | >>>>> | E-Mail <[EMAIL PROTECTED]> /( )\ | >>>>> | WWW <www.rlhc.net> ^^-^^ | >>>>> +------------------------------------------+ >>>>> >>>>> >>>>> >>>>> On Thu, July 14, 2005 9:38 am, Pete wrote: >>>>> >>>>> >>>>> >>>>>> Originally this wasn't working for me but now it is. However, >>>>>> when one of the sessions starts, it still shows the -s. For >>>>>> example: >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> These are both active sessions but the system name on the first >>>>>> session shows as -s. >>>>>> >>>>>> It may have something to do with how the sessions are initially >>>>>> saved. Where is the information about the "last view" stored. I >>>>>> can clear that info then re-test (or debug) the program. >>>>>> >>>>>> Pete >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>> >>>>> >>>>> >>>>> >>>>> ------------------------------------------------------- >>>>> SF.Net email is sponsored by: Discover Easy Linux Migration >>>>> Strategies >>>>> from IBM. Find simple to follow Roadmaps, straightforward >>>>> articles, informative Webcasts and more! Get everything you need >>>>> to get up to speed, fast. >>>>> http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click >>>>> _______________________________________________ >>>>> Tn5250j-general mailing list >>>>> Tn5250j-general@lists.sourceforge.net >>>>> https://lists.sourceforge.net/lists/listinfo/tn5250j-general >>>>> >>>>> >>>>> >>>>> > ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Tn5250j-general mailing list Tn5250j-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tn5250j-general