Re: [Tn5250j-general] Startup with last view

2005-07-22 Thread Pete Helgren
Well, that at least is good news. That means my fixes didn't break anything.. :-) I am not an Ant expert so I can't give you much command line instruction. I use Eclipse and then when it comes time to build something I just right click the build.xml file and chose run, build option 2. I

Re: [Tn5250j-general] Startup with last view

2005-07-22 Thread Richard Houston
Thanks Pete, the -DSSL=true is supposed to enable the ssl stuff, at least that is what the tn5250j website said but that might be out of date. Oddly enough I just did a cvs update and there was one file updated. I recompiled and the last view works. I guess the previous update I did was not the

Re: [Tn5250j-general] Startup with last view

2005-07-22 Thread Pete Helgren
No problem. The most important thing is to solve the problem. How you get there is just the fun part of the journey. Pete Richard Houston wrote: Thanks Pete, the -DSSL=true is supposed to enable the ssl stuff, at least that is what the tn5250j website said but that might be out of

Re: [Tn5250j-general] Startup with last view

2005-07-21 Thread Pete Helgren
Richard, Any chance to try the jar? Just curious Pete Richard Houston wrote: Thanks Pete, I'll let you know as soon as I get any info. What JDK are you using? Just for my own reference. Best regards, +--+ | Richard Houston

Re: [Tn5250j-general] Startup with last view

2005-07-21 Thread Richard Houston
Yip, that works with out issue. I wonder what I am doing wrong. I compile with ant -DSSL=true run. Any ideas? Best regards, +--+ | Richard Houston .^. | | R.L.H. Consulting /V\ | | E-Mail [EMAIL PROTECTED]/(

Re: [Tn5250j-general] Startup with last view

2005-07-15 Thread Kenneth Pouncey
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

Re: [Tn5250j-general] Startup with last view

2005-07-15 Thread Pete Helgren
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

Re: [Tn5250j-general] Startup with last view

2005-07-15 Thread Richard Houston
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

Re: [Tn5250j-general] Startup with last view

2005-07-15 Thread Pete Helgren
Hmmm... That WAS what I was seeing before I tweaked the code. I am not seeing that now. The first problem I saw was the start of the default session and then the code was skipping the first "last view" session in the list. I was running it in Eclipse, however, so I could debug it. So, I'll

Re: [Tn5250j-general] Startup with last view

2005-07-15 Thread Richard Houston
Thanks Pete, I'll let you know as soon as I get any info. What JDK are you using? Just for my own reference. Best regards, +--+ | Richard Houston .^. | | R.L.H. Consulting /V\ | | E-Mail [EMAIL PROTECTED]/(

Re: [Tn5250j-general] Startup with last view

2005-07-15 Thread Pete Helgren
"What JDK are you using?" 1.4.2_06 Pete Richard Houston wrote: Thanks Pete, I'll let you know as soon as I get any info. What JDK are you using? Just for my own reference. Best regards, +--+ | Richard Houston .^. | |

[Tn5250j-general] Startup with last view

2005-07-14 Thread Pete
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.

Re: [Tn5250j-general] Startup with last view

2005-07-14 Thread Kenneth Pouncey
Wow Pete do not for the life of me understand why. It is in the .tn5250j folder under your user profile. The file to look for is sessions and the element is emul.view emul.view=-s luxdev -s luxdev-gui -s luxdev-gui -s luubps01-gui -s luubps01-gui This is mine and it works like a charm. Do

Re: [Tn5250j-general] Startup with last view

2005-07-14 Thread Kenneth Pouncey
Pete Thanks for looking at that for me if you can and have the time. I have a very hectic C# project and no AS/400 connection here. Thanks Kenneth Quoting Pete [EMAIL PROTECTED]: Originally this wasn't working for me but now it is. However, when one of the sessions starts, it still shows

Re: [Tn5250j-general] Startup with last view

2005-07-14 Thread Pete Helgren
No...No device name defined. Let me look at a few things and I'll get back to you, Pete Kenneth Pouncey wrote: Wow Pete do not for the life of me understand why. It is in the .tn5250j folder under your user profile. The file to look for is sessions and the element is emul.view

Re: [Tn5250j-general] Startup with last view

2005-07-14 Thread Kenneth Pouncey
Pete Try it with a device name defined. Anything will do. Quoting Pete Helgren [EMAIL PROTECTED]: No...No device name defined. Let me look at a few things and I'll get back to you, Pete Kenneth Pouncey wrote: Wow Pete do not for the life of me understand why. It is in the

Re: [Tn5250j-general] Startup with last view

2005-07-14 Thread Richard Houston
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

Re: [Tn5250j-general] Startup with last view

2005-07-14 Thread Pete Helgren
Ok...A couple of thingshere is the sessions file I have: (I have XXX'ed out the IP addresses) #-- Session Information #Thu Jul 14 08:28:35 MDT 2005 emul.startLastView= emul.frame0=0,0,1280,1024 emul.logLevel=2 emul.default= emul.width=1280 emul.view=-s SLC400 -s SLC400

Re: [Tn5250j-general] Startup with last view

2005-07-14 Thread Pete Helgren
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

Re: [Tn5250j-general] Startup with last view

2005-07-14 Thread Pete Helgren
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