Re: Startup with last view

Pete Helgren <[email protected]>
Newsgroups gmane.comp.java.tn5250j.general
Message-ID <[email protected]>
Ok...A couple of things....here 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
emul.height=1024
JCPS400=XXX.XXX.XXX.XXX -p 992 -sslType SSLv2 -e -t -spp 1080 -d
emul.restricted=
JCPS400A=XXX.XXX.XXX.XXX -p 23 -e -t -spp 1080 -d
VAS400=XXX.XXX.XXX.XXX -p 23 -e -t -spp 1080 -d
SLC-Local=XXX.XXX.XXX.XXX -p 23 -e -t -spp 1080 -d
SLC400=XXX.XXX.XXX.XXX -p 992 -sslType SSLv3 -e -t -spp 1080 -d

First thing I noticed was that the emul.view had -s SLC400 -s SLC400 
listed twice.  If I remove the second value and start it with last view, 
I get ONE session correctly (but the WRONG session - I get the VAS400 
session with the "-s" showing as the system...not sure why.  If I then 
start the SLC400 session disconnect and exit and continue to start with 
last view,  I only get ONE session, the wrong session with a -s 
displayed but the emul.view the has values -s  -s SLC400

Seems to me like there is a problem storing and retrieving the 
parameters.  The "-s     " entry *seems* to be starting the VAS400 
session although I don't know why.

I'll keep playing with it as I get the chance...I am at a user 
conference and don't *too* much time to play....

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
>
>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 you have a Device Name defined for those session?
>
>Regards
>
>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 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
>[email protected]
>https://lists.sourceforge.net/lists/listinfo/tn5250j-general
>
>  
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.