Re: [Tn5250j-general] Web5250
Cool! I tried as best I could to get the function keys working and also hard coded the control key as Enter (my preference). You'll find out pretty quickly that the complete set of key movements still needs to be handled. Try the cursor movement keys, for example. Or new line. Also, I have been trying to figure out equivalent field types for the 5250 data. Go into SEU on a source member and you can't edit anything. So I need to figure out all the variations of editable vs non-editable fields. Since I don't know the 5250 stream well enough, I could probably use some help there. We should probably externalize the IP address and port settings to a properties file (on the server) and we'll have to figure out things like local preferences and key mappings and store them locally (I guess cookies are the only local way to do this with a browser). Plenty still to do. Probably need a central place for a features list, build that list, and start working on it. Pete Kenneth Pouncey wrote: Pete Well just got through setting up and testing with the web5250. The keys work quite well. With all the extra lines in the .js file it does slow down just a tad. For me it is fast enough to be satified with it. Even the F4 help F3 and enter keys work. Really cool if you ask me. I just had someone looking over my shoulder when I finally got it all up and running. They just stood there with their mouth open. The next thing was oh those html tools that come with the V5r2 are really nice, will have try that myself. I just laughed and told him it was part of the tn5250j emulator package and he took a double take. Was really funny. So what do you think is next for this? Regards Kenneth --- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20 ___ Tn5250j-general mailing list Tn5250j-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tn5250j-general --- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20 ___ Tn5250j-general mailing list Tn5250j-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tn5250j-general
Re: [Tn5250j-general] Web5250
Should have said: so if you press enter the entire screen lights up with errors because all the characters are off by 5 (in position 1 instead of position 6) Pete Pete Helgren wrote: How do you do that? I wish I knew more about the inter workings of tn5250j. One of these days I'll roll up may sleeves and get my hands dirty and muck around in the code base for a few weeks. That took care of the ability to edit the code, however, there appears to be an alignment issue with the data as it appears in SEU. SEU must have a field that tells it how to align the data on the screen because the Type entry in SEU normally aligns to position 6 (at least in an RPG OPM program) and in this case the type field aligns to position 1 so if you press enter the entire screen lights up with errors because all the characters are off by 1. If you could point out where to look for this, I could take a shot at it. The field itself, in debug, does not have the leading blanks and I can't tell how SEU "knows" to align the data since tn5250j DOES align the data. I'll also add a properties file that will hold the IP address so we don't have to keep changing IP addresses if we fully update the code. I'll also investigate the "cursor movement" issues. Final question: How do we want to handle the CVS access on this? This is a pretty small piece of code so far. We could: 1. Create a sub project of tn5250j and make the code available there. 2. Create a new SF project . 3. I could get you set up with CVS access on our CVS server. I might be able to get anonymous access set up for folks to check out the source but I am really not in a good position to set up multiple committers and such. Your call. I know that Richard is interested in the code and I expect, if I post to a few other lists that I participate in , that we could get some volume of interest on this. I just don't want to announce it being available until we are ready for folks to access the code. What do you think? I'll do the legwork on the SF project or our company CVS if you think that is the best way to go. As admin on tn5250j, you'd have to set up the sub-project (however that is done). Pete
Re: [Tn5250j-general] SSL support
This works for me in 0.5.7 pre3. When I start the session I am prompted to accept the SSL cert and then I get the signon screen. It was been quite a while since I set this up but I don't recall doing much more than just following the SSLInstructions.html document. Pete Richard Houston wrote: Yeah, the no connect error is the same thing I got. Kenneth, do you have any insight on how to get the ssl working? Best regards, +--+ | Richard Houston .^. | | R.L.H. Consulting /V\ | | E-Mail [EMAIL PROTECTED]/( )\ | | WWW www.rlhc.net ^^-^^| +--+ On Wed, July 6, 2005 12:55 am, Patrick Bielen wrote: Hi Richard, Does anyone have a good howto on getting ssl support on tn5250j to work? Well i never got it running here at stafa. When i enable it i get no connect, so i never even tried it again. Maybe there is somebody else with better luck. Met vriendelijke groeten, Best Regards, Patrick Bielen System-Administrator Stafa Holland BV Microsoft Certified Professional Sun Certified Java Programmer --- 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=7477alloc_id=16492op=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=7477alloc_id=16492op=click ___ Tn5250j-general mailing list Tn5250j-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tn5250j-general
Re: [Tn5250j-general] SSL support
There is a pretty good setup article in the IBM iSeries knowledge base. http://www-912.ibm.com/s_dir/slkbase.nsf/slkbase Search using "17615517" (the document number) you should have a hit on "SSL and Secure Telnet Server Configuration". Make sure you have the correct licensed programs installed (Cryptographic Access Provider and Digital Certificate Manager). The Mochasoft site has a good overview as well. (http://www.mochasoft.dk/tn5250.htm) It has been a little while since I have set this up but I'll give you help where ever I can. Once the Certificate is set up and assigned to telnet, you just want to make sure that your telnet settings allow SSL (CHGTELNA ALWSSL (*YES) ) The SSLInstructions.html just has this: - Tested with Sun JRE 1.4.0_01-b03 on Win2K XP Security Policy File Installation 1. Download Security Policy java.policy. 2. Read Instructions in java.policy to install/setup policy file. 3. Restart Browser That is about it. Pete Richard Houston wrote: Thanks Pete, Do you know where that doc is? Sorry for my ignorance here. :/ Also do we know if the ssl 5250 port is on by default on the AS/400 or do we need to turn it on? Best regards, +--+ | Richard Houston .^. | | R.L.H. Consulting /V\ | | E-Mail [EMAIL PROTECTED]/( )\ | | WWW www.rlhc.net ^^-^^| +--+ On Wed, July 6, 2005 1:55 pm, Pete Helgren wrote: This works for me in 0.5.7 pre3. When I start the session I am prompted to accept the SSL cert and then I get the signon screen. It was been quite a while since I set this up but I don't recall doing much more than just following the SSLInstructions.html document. Pete Richard Houston wrote: Yeah, the no connect error is the same thing I got. Kenneth, do you have any insight on how to get the ssl working? Best regards, +--+ | Richard Houston .^. | | R.L.H. Consulting /V\ | | E-Mail [EMAIL PROTECTED]/( )\ | | WWW www.rlhc.net ^^-^^| +--+ On Wed, July 6, 2005 12:55 am, Patrick Bielen wrote: Hi Richard, Does anyone have a good howto on getting ssl support on tn5250j to work? Well i never got it running here at stafa. When i enable it i get no connect, so i never even tried it again. Maybe there is somebody else with better luck. Met vriendelijke groeten, Best Regards, Patrick Bielen System-Administrator Stafa Holland BV Microsoft Certified Professional Sun Certified Java Programmer --- 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=7477alloc_id=16492op=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=7477alloc_id=16492op=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=7477alloc_id=16492op=click ___ Tn5250j-general mailing list Tn5250j-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tn5250j-general
Re: [Tn5250j-general] Update
And, in my case, it displays in *front* of the splash screen. I am running SUSE 9.2 on my other partition. I'll boot into Linux and see what I get. Pete Richard Houston wrote: On Fri, July 8, 2005 6:10 pm, Pete Helgren wrote: No. The connection panel comes up right after the splash screen for me (Windows XP, JDK 1.4.2_06) Just to clarify, the screen pops up but is behind the splash screen. On Linux you need to click on the panel to bring it forward. It's not a failure but an annoyance really. Now on the version be for this one, the splash screen would pop up and diapered after the connection panel is displayed. This is on Linux and Sun JDK 1.4.2_08. Thanks all, Rich --- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar ___ Tn5250j-general mailing list Tn5250j-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tn5250j-general
Re: [Tn5250j-general] Update
Yes. I am *fairly* certain it did. Pete Richard Houston wrote: Also, did your previous version have the splash screen disappear before the connection screen comes up? Best regards, +--+ | Richard Houston .^. | | R.L.H. Consulting /V\ | | E-Mail [EMAIL PROTECTED]/( )\ | | WWW www.rlhc.net ^^-^^| +--+ On Mon, July 11, 2005 10:45 am, Pete Helgren wrote: And, in my case, it displays in *front* of the splash screen. I am running SUSE 9.2 on my other partition. I'll boot into Linux and see what I get. Pete Richard Houston wrote: On Fri, July 8, 2005 6:10 pm, Pete Helgren wrote: No. The connection panel comes up right after the splash screen for me (Windows XP, JDK 1.4.2_06) Just to clarify, the screen pops up but is behind the splash screen. On Linux you need to click on the panel to bring it forward. It's not a failure but an annoyance really. Now on the version be for this one, the splash screen would pop up and diapered after the connection panel is displayed. This is on Linux and Sun JDK 1.4.2_08. Thanks all, Rich --- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar ___ Tn5250j-general mailing list Tn5250j-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tn5250j-general --- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar ___ Tn5250j-general mailing list Tn5250j-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tn5250j-general
Re: [Tn5250j-general] Update
Richard (and Kenneth), I re-booted into Linux, and I stand corrected. 0.5.7 pre3 has the splash screen that doesn't disappear and displays over the Connections panel. AND, the latest version 0.6.1.Alpha 1 does the same thing. It is as though the "splash" screen doesn't know how to close. I ran it under SUSE 9.2 with the same JDK I use in Windows (1.4.2_06) So, it looks like you'll have to take a look at it and figure out what's up. Works fine in Windows though. So, it IS broken in Linux. Pete Richard Houston wrote: Also, did your previous version have the splash screen disappear before the connection screen comes up? Best regards, +--+ | Richard Houston .^. | | R.L.H. Consulting /V\ | | E-Mail [EMAIL PROTECTED]/( )\ | | WWW www.rlhc.net ^^-^^| +--+ On Mon, July 11, 2005 10:45 am, Pete Helgren wrote: And, in my case, it displays in *front* of the splash screen. I am running SUSE 9.2 on my other partition. I'll boot into Linux and see what I get. Pete Richard Houston wrote: On Fri, July 8, 2005 6:10 pm, Pete Helgren wrote: No. The connection panel comes up right after the splash screen for me (Windows XP, JDK 1.4.2_06) Just to clarify, the screen pops up but is behind the splash screen. On Linux you need to click on the panel to bring it forward. It's not a failure but an annoyance really. Now on the version be for this one, the splash screen would pop up and diapered after the connection panel is displayed. This is on Linux and Sun JDK 1.4.2_08. Thanks all, Rich --- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar ___ Tn5250j-general mailing list Tn5250j-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tn5250j-general --- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar ___ Tn5250j-general mailing list Tn5250j-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tn5250j-general
Re: [Tn5250j-general] Update
No sweat. We are ALL busy! I am not a committer in the project (or I would have committed the patch myself) but the SSL/Applet patch is easy. Let me know if you need more info on it. Pete Kenneth Pouncey wrote: Hello Richard and Pete I will take a look at that tonight. I wonder what changed. I never got a chance to look at the SSL sorry about that. Got to take the work as it comes and they do not have an AS/400. Regards Kenneth Quoting Richard Houston [EMAIL PROTECTED]: Also, did your previous version have the splash screen disappear before the connection screen comes up? Best regards, +--+ | Richard Houston .^. | | R.L.H. Consulting /V\ | | E-Mail [EMAIL PROTECTED]/( )\ | | WWW www.rlhc.net ^^-^^| +--+ On Mon, July 11, 2005 10:45 am, Pete Helgren wrote: And, in my case, it displays in *front* of the splash screen. I am running SUSE 9.2 on my other partition. I'll boot into Linux and see what I get. Pete Richard Houston wrote: On Fri, July 8, 2005 6:10 pm, Pete Helgren wrote: No. The connection panel comes up right after the splash screen for me (Windows XP, JDK 1.4.2_06) Just to clarify, the screen pops up but is behind the splash screen. On Linux you need to click on the panel to bring it forward. It's not a failure but an annoyance really. Now on the version be for this one, the splash screen would pop up and diapered after the connection panel is displayed. This is on Linux and Sun JDK 1.4.2_08. Thanks all, Rich --- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar ___ Tn5250j-general mailing list Tn5250j-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tn5250j-general --- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar ___ Tn5250j-general mailing list Tn5250j-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tn5250j-general --- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar ___ Tn5250j-general mailing list Tn5250j-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tn5250j-general
Re: [Tn5250j-general] Startup with last view
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 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=7477alloc_id=16492op=click ___ Tn5250j-general mailing list Tn5250j-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tn5250j-general
Re: [Tn5250j-general] Startup with last view
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 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=7477alloc_id=16492op=click ___ Tn5250j-general mailing list Tn5250j-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tn5250j-general
Re: [Tn5250j-general] Startup with last view
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=7477alloc_id=16492op=click ___ Tn5250j-general mailing list Tn5250j-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tn5250j-general
Re: [Tn5250j-general] Startup with last view
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=7477alloc_id=16492op=click ___ Tn5250j-general mailing list Tn5250j-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tn5250j-general
Re: [Tn5250j-general] Startup with last view
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=7477alloc_id=16492op=click ___ Tn5250j-general mailing list Tn5250j-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tn5250j-general
Re: [Tn5250j-general] Startup with last view
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 rebuild the jar and stuff it over into my Linux partition and run it from there. I have some issues with Eclipse in Linux because I share the workspace between Windows and Linux and neither side is happy with the other so I might have to do some work to debug the code running in Linux if I see the same problem in Linux. Meanwhile, Kenneth may get a chance to review what I did. I admit not not knowing all the subtleties of tn5250j from a programming perspective so I might have missed something that Kenneth will catch. Pete Richard Houston wrote: 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
Re: [Tn5250j-general] Startup with last view
"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 .^. | | R.L.H. Consulting /V\ | | E-Mail [EMAIL PROTECTED]/( )\ | | WWW www.rlhc.net ^^-^^| +--+ On Fri, July 15, 2005 1:37 pm, Pete Helgren wrote: I tried that and it works fine in Linux so I am not sure what is going on at your end.. I will attach the .jar I am using. See if it makes any difference for you. Pete Pete Helgren wrote: 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 rebuild the jar and stuff it over into my Linux partition and run it from there. I have some issues with Eclipse in Linux because I share the workspace between Windows and Linux and neither side is happy with the other so I might have to do some work to debug the code running in Linux if I see the same problem in Linux. Meanwhile, Kenneth may get a chance to review what I did. I admit not not knowing all the subtleties of tn5250j from a programming perspective so I might have missed something that Kenneth will catch. Pete Richard Houston wrote: 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 P
Re: [Tn5250j-general] Startup with last view
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 .^. | | R.L.H. Consulting /V\ | | E-Mail [EMAIL PROTECTED]/( )\ | | WWW www.rlhc.net ^^-^^| +--+ On Fri, July 15, 2005 1:37 pm, Pete Helgren wrote: I tried that and it works fine in Linux so I am not sure what is going on at your end.. I will attach the .jar I am using. See if it makes any difference for you. Pete Pete Helgren wrote: 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 rebuild the jar and stuff it over into my Linux partition and run it from there. I have some issues with Eclipse in Linux because I share the workspace between Windows and Linux and neither side is happy with the other so I might have to do some work to debug the code running in Linux if I see the same problem in Linux. Meanwhile, Kenneth may get a chance to review what I did. I admit not not knowing all the subtleties of tn5250j from a programming perspective so I might have missed something that Kenneth will catch. Pete Richard Houston wrote: 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-Ma
Re: [Tn5250j-general] Startup with last view
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 use the "All" target in Ant to rebuild the whole project and I am done (unless I get an error). Not sure what -DSSL=true parameter is but, I am not an Ant command line guy.just a "point and click" guy Pete Richard Houston wrote: 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]/( )\ | | WWW www.rlhc.net ^^-^^| +--+ On Thu, July 21, 2005 2:13 pm, Pete Helgren wrote: 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 .^. | | R.L.H. Consulting /V\ | | E-Mail [EMAIL PROTECTED]/( )\ | | WWW www.rlhc.net ^^-^^| +--+ On Fri, July 15, 2005 1:37 pm, Pete Helgren wrote: I tried that and it works fine in Linux so I am not sure what is going on at your end.. I will attach the .jar I am using. See if it makes any difference for you. Pete Pete Helgren wrote: 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 rebuild the jar and stuff it over into my Linux partition and run it from there. I have some issues with Eclipse in Linux because I share the workspace between Windows and Linux and neither side is happy with the other so I might have to do some work to debug the code running in Linux if I see the same problem in Linux. Meanwhile, Kenneth may get a chance to review what I did. I admit not not knowing all the subtleties of tn5250j from a programming perspective so I might have missed something that Kenneth will catch. Pete Richard Houston wrote: 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 i
Re: [Tn5250j-general] Startup with last view
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 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 one I am compiling from now. Sorry to waist your time on this. Turns out it was my mistake. Everything looks good now. Thanks for the help. P.S. Kenneth, do we still need to use the -DSSL=true to get the ssl support in tn5250J? or is it included by default now. Just wondering. Best regards, +--+ | Richard Houston .^. | | R.L.H. Consulting /V\ | | E-Mail [EMAIL PROTECTED]/( )\ | | WWW www.rlhc.net ^^-^^| +--+ On Fri, July 22, 2005 11:10 am, Pete Helgren wrote: 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 use the "All" target in Ant to rebuild the whole project and I am done (unless I get an error). Not sure what -DSSL=true parameter is but, I am not an Ant command line guy.just a "point and click" guy Pete Richard Houston wrote: 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]/( )\ | | WWW www.rlhc.net ^^-^^| +--+ On Thu, July 21, 2005 2:13 pm, Pete Helgren wrote: 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 .^. | | R.L.H. Consulting /V\ | | E-Mail [EMAIL PROTECTED]/( )\ | | WWW www.rlhc.net ^^-^^| +--+ On Fri, July 15, 2005 1:37 pm, Pete Helgren wrote: I tried that and it works fine in Linux so I am not sure what is going on at your end.. I will attach the .jar I am using. See if it makes any difference for you. Pete Pete Helgren wrote: 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 rebuild the jar and stuff it over into my Linux partition and run it from there. I have some issues with Eclipse in Linux because I share the workspace between Windows and Linux and neither side is happy with the other so I might have to do some work to debug the code running in Linux if I see the same problem in Linux. Meanwhile, Kenneth may get a chance to review what I did. I admit not not knowing all the subtleties of tn5250j from a programming perspective so I might have missed something that Kenneth will catch. Pete Richard Houston wrote: 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 PROTECTE
Re: [Tn5250j-general] Connection issue
No idea at all. Some of that kind of stuff makes me very nervous... Pete Richard Houston wrote: Thanks Pete, I actually updated to JDK 5.04 for 1.4.2_07 and it works fin again. Not sure what the issue really was but it works now. We had two systems that were having the issue and the update fixed both of then. Have any idea why that would be? Best regards, +--+ | Richard Houston .^. | | R.L.H. Consulting /V\ | | E-Mail [EMAIL PROTECTED]/( )\ | | WWW www.rlhc.net ^^-^^| +--+ On Tue, August 23, 2005 12:53 pm, Pete Helgren wrote: Richard, Sorry for the delay, I just got back from vacation Not sure what is up with that. I bounced over to my Linux side and the application is still working for me. Do you use named devices when you configure tn5250j? If so, does the device show as "Available to use?" Something strange going on there. Especially since telnet works. Have you tried running without SSL? Just about all the ideas I could think of. Pete Richard Houston wrote: Hi all, I now have 2 systems with the same issue. When the user tries to connect the get a DISCONNECTED message on the th5250 window. I see the following when starting TN from a command line. [EMAIL PROTECTED] ~]# java -jar /usr/local/tn5250j/tn5250j.jar No other instances of tn5250j running. INFO [org.tn5250j.GlobalConfigure] Information Message: /root/.tn5250j/macros (No such file or directory). The file macros will be created for first time use. 0[main] INFO org.tn5250j.framework.common.SessionManager - New session Manager initialized 26 [main] INFO org.tn5250j.framework.Tn5250jController - plugin directory is: /root/ext 27 [main] INFO org.tn5250j.framework.Tn5250jController - Tn5250j plugin manager created 764 [Thread-0] INFO org.tn5250j.framework.Tn5250jController - Tn5250j plugin manager started 54587 [main] INFO org.tn5250j.framework.tn5250.tnvt - new session - xraf9406 57250 [Thread-1] INFO org.tn5250j.framework.transport.SocketConnector - Creating Plain Socket 57261 [Thread-1] ERROR org.tn5250j.framework.transport.SocketConnector - java.net.SocketException: Invalid argument or cannot assign requested address 57263 [Thread-1] INFO org.tn5250j.framework.transport.SocketConnector - No socket was created 57263 [Thread-1] WARN org.tn5250j.framework.tn5250.tnvt - I did not get a socket Now these systems were connecting just fine till last week. No new software was installed and no changes to the VPN setups were made. They can connect to all the other network service just fine. I can ping the 400 and I can also get to it via telnet which I believe eliminate routing and net work connectivity issues. This is tn5250j 0.6.1 Beta1 SUN jdk 1.4.2_6 Any thought and or comments would be greatly appreciated. Best regards, +--+ | Richard Houston .^. | | R.L.H. Consulting /V\ | | E-Mail [EMAIL PROTECTED]/( )\ | | WWW www.rlhc.net ^^-^^| +--+ --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ Tn5250j-general mailing list Tn5250j-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tn5250j-general --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ Tn5250j-general mailing list Tn5250j-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tn5250j-general --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ Tn5250j-general mailing list Tn5250j-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tn5250j-general
Re: [Tn5250j-general] Checking in on the project
Well, not exactly sure how to describe it (although I have it in my head clearly...) And, I'll be the first to admit that I am not fully familiar with the architecture of tn5250j. I am assuming you read a stream and figure out how to translate the fields and values into GUI components. Those components have a given ordinal relationship on the screen (X,Y locations) and then you place the GUI components in place of the text ones. A VERY simple example: Let's say you have screen that has two fields, a static text field and a "text box", like so: This is the text: this is the data So lets say the static text starts at 1,1 and the text box starts at 2,1. Although you are reading a stream, it eventually maps the entire screen to X,Y coordinates and that is how it displays on the screen. You could "save" these ordinal relationships to a file (kind of like SDA does) and then, through a GUI, allow the "designer" to move them to where they want them to go so, as in the above example, although the stream "says": Put static text field (STF1) in position 1,1 and put text box field 1 (TBF1) in positions 2,1, you could use the "saved" re-mapping file to tell the application to actually "paint" the controls to position 5,20 and 7,1 like so This is the text: this is the data So all the "mapping" file would do is to save the original field positions and map them to new places on the screen. A GUI tool that captured the original positions and allowed the "designer" to move them to new positions would be needed to create and save the map file, and a map in memory of the original screen before it is mapped would probably be needed in order to send the data , updated with the changed data values, back to the iSeries in the correct sequence. But this is the general idea. I think the Seagull screenscraper does something like this although I have no experience with that product and don't know the underlying technology at all. Maybe WebFacing is similar. But, conceptually, that is what I have in my head. Pete [EMAIL PROTECTED] wrote: What exactly do you mean with the map file? Pete Helgren [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 14/10/2005 16:48 Please respond to tn5250j-general@lists.sourceforge.net To tn5250j-general@lists.sourceforge.net cc Subject Re: [Tn5250j-general] Checking in on the project Thanks Wim. This sounds "exactly" like what I had in mind a couple of years ago. Seems to me that the "mapping" concept would be fairly straight-forward (probably a lot harder to do than it sounded...) This is very cool and Swing would be a good fit. Have you looked at Java Server Faces at all? I saw a demo of a JSF app that looked very "Swing-like" but was all HTML and mostly a server side implementation. I have been meaning to take a look at it in more detail and see how difficult the coding is. The JSP/Struts/Tiles approach has always been too complex to me and JSF *seemed* to simplify that. I need to take a look at it soon but it might give you a richer-looking UI without the client side hassles of Swing. Mapping to JSF components might be a possibility. I'll look into it when I have a chance to see what you are doing. One other idea I had in the "screen scraping" area was a "static" mapping option that would allow you to actually change the component layout at the client end. Rather than doing the transformation on the fly, you could create "map file" and use that instead. Not sure how to implement that though. Thanks for the information on the code pages and the good news on the code page support in JT400. That should take care of it! Look forward to hearing more about the screen scraper Pete Helgren [EMAIL PROTECTED] wrote: Hello Pete, great to hear some acitivity from this corner. The screenscraper works for one of our customers and is tailored to their screen layouts. Still have to do some bugfixes for them shortly, so I can send some screenshots on the list to give an idea to what it looks like. We were now discussing internally whether w
Re: [Tn5250j-general] Checking in on the project
I. don't think there have been many changes since then (if any). I can always use the help! I'll figure out how to get a CVS going so we can keep the project current. Thanks, Pete Richard Houston wrote: No problem. We have a Java developer her who got the code you posted a few months ago working and I am sure we can help out getting things ironed out. We found a few issue and are interested in seeing the newest version. Maybe our Java guy can give you a had with some coding. Best regards, +--+ | Richard Houston .^. | | R.L.H. Consulting /V\ | | E-Mail [EMAIL PROTECTED]/( )\ | | WWW www.rlhc.net ^^-^^| +--+ On Tue, October 18, 2005 11:19 am, Pete Helgren wrote: Well, I can't guarantee that it is at "project ready" status yet. Still plenty to do. I would consider this more at the Alpha level than Beta. I'll send the link when it is ready... Pete Richard Houston wrote: That would be great! I have a project that we could really use this for. Best regards, +--+ | Richard Houston .^. | | R.L.H. Consulting /V\ | | E-Mail [EMAIL PROTECTED]/( )\ | | WWW www.rlhc.net ^^-^^| +--+ On Mon, October 17, 2005 10:36 am, Pete Helgren wrote: Richard, I'll see if I can get a site up with some info and with a download and setup instructions. Pete Richard Houston wrote: Hey Peter, Your right, it is way more then just htmling the green screen, but in it's most basic form that is one of the things it can do. We had to do several labs at the tech preview I was talking about and I was able to get a bunch of the "cool" HATS features going and I am not a programmer at all. Licensing is not all that bad as well if you already are using WebSphere. For my client we are looking at just what web5250 is doing. Can I get a copy of the latest code and a quick how to set it up? Best regards, +--+ | Richard Houston .^. | | R.L.H. Consulting /V\ | | E-Mail [EMAIL PROTECTED]/( )\ | | WWW www.rlhc.net ^^-^^| +--+ On Fri, October 14, 2005 2:37 pm, Pete Helgren wrote: Richard, HATS and Web5250 are a little different from one another. Web5250 is more like iSeries Access for Web, which I finally saw at Common last month in Orlando. Web5250 presents a "green screen" in a browser, pretty much all. Now, iSeries Access for Web does a heckofalot more than that, but basically, that is it. Screen shot like so: (I can't remember if they will display on the list or not so I'll try it): That is really all the Web5250 is. I need to get a live link established and get my website updated to show where this project is. But, the concept is 5250 in a browser. HATS (I think) is more "invasive" in the look and feel area. Pete Richard Houston wrote: Hi all, Just wanted to chiming on this topic. I was at a proof of technologies at IBM here on HATS http://www-306.ibm.com/software/webservers/hats/ It basically turns the 5250 screens into pure HTML. The development env only works on windows right now which suck for m 400 based client as they run Linux on the desktop. Nice this about hats is that there is no code changes required on the 400 side. You can customize the layout and such as well so it can look nothing like your green screen apps at all. Kind of cool. I, personally, would like to see some sort of OSS version out there and I think this is what web5250 we aiming for. Maybe with enough effort web5250 could do the same. Just a thought. Best regards, +--+ | Richard Houston .^. | | R.L.H. Consulting /V\ | | E-Mail [EMAIL PROTECTED]/( )\ | | WWW www.rlhc.net ^^-^^| +--+ On Fri, October 14, 2005 9:48 am, Pete Helgren wrote: Thanks Wim. This sounds "exactly" like what I had in mind a couple of years ago. Seems to me that the "mapping" concept would be fairly straight-forward (probably a lot harder to do than it sounded...) This is very cool and Swing would be a good fit. Have you looked at Java Server Faces at all? I saw a demo of a JSF app that looked very "Swing-like" but was all HTML and mostly a server side implementation. I have been meaning to take a look at it in more detail and see how
[Tn5250j-general] Project priorities and future development
(Duplicate post...I used the wrong e-mail address to send the original with and it now waits for moderator approval) Kenneth, YIKES! I thought I was suddenly inheriting the bug list! Glad to know that it is your to-do and not mine. Good to see you on the list again! The HTML stuff hasn't changed and I promised Richard that I would post the code and perhaps set up a demo site. I haven't done either, yet. Things continue to be pretty busy around here and since the Web5250 application hasn't come front and center for the company (yet) I haven't had much time to devote to it. I will get it going in the next day or so. We have discussed where to put it on a couple of occasions. I can: 1. Set up a new SourceForge project and maintain the distro there. 2. Set up a CVS entry for the project on my CVS server. 3. We could (you could) create a sub project or branch on the tn5250j project and we could store it there (although I am not familiar with the SF CVS) I am not that CVS savvy so I don't know what the pro's and con's would be to each approach. My aim for setting up the web site was to do a brief project overview with screen shots and then have a live login link to my iSeries so folks could try it. I had not implemented the changes you sent in my version, so I'll have to revisit that (I think you had a servlet that processed the login request). I any case, most of the issues I have come across were of two types. 1. The function keys failed to work as I wanted to and 2. The translation of 5250 field types wasn't complete so that I was unable to access some types of field data. Also, cursor movement is a problem (using the cursor keys to move on the screen). I just haven't had the chance to fully investigate it. Richard has developers that have tweaked the code as well. We should probably decide (soon) how we are going to manage the changes so we can get one code base established. Pete --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ Tn5250j-general mailing list Tn5250j-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tn5250j-general
Re: [Tn5250j-general] Another change sent in
Kenneth, That may be related to the fix I committed this summer. The session counts were off by one in that case as well (see my post form 7/14 if you are interested). Pete --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ Tn5250j-general mailing list Tn5250j-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tn5250j-general
Re: [Tn5250j-general] [Fwd: Fw: TN5250J License]
Wim (and all). Sorry not to weigh in until now. I have been very, very busy. Hoping things will slow down a bit over the next 2 or three weeks so I can do more on the tn5250j stuff. I am not a licensing expert but as I understand the LGPL, a company can integrate the java classes/jars (library is what the LGPL language says) into their application and can charge for the the application as long as they don't "charge" for whatever they use from tn5250j. It is a fine line in my opinion but they still need to indicate in their copyrights that some of the application is dependent upon tn5250j and licensed under LGPL (if we go that way). So they can use the tn5250j as part of their solution. They cannot use any source from the project in their own code or build a derived application from tn5250j and charge for it. They can only use complete "components" that are identifiable as such from tn5250j (like the protocolBean). What I don't know is that if they decide to enhance the tn5250j code are they obligated to contribute that code back to the project? I *think* they are but I am not sure. Where things get "fuzzy" is how to determine what "component" is being used. No doubt some of the tn5250j code has found it's way into a commercial product or two already. Not everybody plays by the rules. But I think there is little risk in this approach. In any case it speaks highly of what you guys have accomplished! Pete [EMAIL PROTECTED] wrote: Hello all, as I understood it, the people from Help/Systems were looking for a 5250 protocol to embed into their product. Of course they will be charging their customers for this. As I interpret this, it's not a question of not OSS'ing the project anymore, but establishing a licensing policy on the project that allows them to integrate it. Kenneth Pouncey [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 14/12/2005 06:47 Please respond to tn5250j-general@lists.sourceforge.net To tn5250j-general@lists.sourceforge.net, [EMAIL PROTECTED] cc Subject Re: [Tn5250j-general] [Fwd: Fw: TN5250J License] Matt If you are on the list now here was a personal e-mail sent to me from one of the people. I ony copied pasted a part of the e-mail as there was some personal info and do not want to get him/her in trouble. Could you maybe give some answers to the questions. I want to open this conversation up and let everyone decide. Sorry to put you in this but all the others that I have done this too has backed down answering the questions in a public format. You guys have been the most up front and honest so far which is why I have even considered it. Regards Kenneth Email below: --- Kenneth - - Wow!! No kidding!! Help/Systems!! MOST INTERESTING (yes I am shouting). Since I am only a user, not a developer on this project, my 2 cents is from a different perspective. My concerns are the life of the product. As you know and I have said repeatedly - tn5250j rocks! Its great! I want it to survive as an oss product. I would understand if the developers needed to generate a cash flow, as sad as that would make me. Do you know what Help/Systems is up to? Are they planning on putting out the 5250 emulation and trying to charge for it? Do they want to use it as an oss product? --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ Tn5250j-general mailing list Tn5250j-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tn5250j-general
Re: [Tn5250j-general] The web 5250 site is up.
Thanks Wim. It still have a ways to go. Function keys are problematic (sometimes they pass through to the browser depending on what browser). There are some bugs in the signon routine. I need to figure out how to get SSL to work with all this stuff. I have some key combinations that I haven't implemented. I wish I could figure out how to get a cursor key to work on an HTML form. I'd like to have a configuration tool that would allow for some user configuration control from the server. A bunch of odds and ends. I figure with a few more folks looking at this I'll be able to get enough interest and perhaps, suggestions and help, to finish it up. Kenneth gets most of the credit. He got it working, I've just been "tweaking". Pete [EMAIL PROTECTED] wrote: That is fabulous! I've seen the rendering is complete char bases? However it does work and look great!
Re: [Tn5250j-general] STRPCCMD
Thanks Wim. I'll also build and test in the next day or so based on what Christian has committed. I am VERY interested in your screen scraper code. Thanks for including that. Pete [EMAIL PROTECTED] wrote: Hello guys, sorry to get back to you so lately. But been so busy here. In the meantime, our company has been takenover. So you can imagine. I have checked the changes and those are probably not commited to CVS. I'm including our changes, as I don't have a project setup for TN development against sourceforge. Is anybody willing to verify the changes and commit them? The class changed for STRPCCMD is of course the tnvt.java. The changes have been made against a reference version 0.5.8a. This surely isn't the latest. Note also we have included a new a new package org.tn550j.swing.text.* We have set this up to implement a screenscraper on top of tn5250j. It allows you to render the datastream directly into JTextArea as a GUI like an HTML file with textfields and buttons and stuff. Just take a look at it and see where we can get. Thanks in advance, Wim Richard Houston [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 14/07/2006 23:45 Please respond to [EMAIL PROTECTED]; Please respond to tn5250j-general@lists.sourceforge.net To tn5250j-general@lists.sourceforge.net cc Subject Re: [Tn5250j-general] STRPCCMD Hey guys, We have been testing the strpccmd on our Linux setups but with little success. We get a screen on the 400 saying that we need to start PCO.exe on the PC but of course we can not so that on Linux. So my question is, do we know if the below mentioned patches are in CVS yet and does anyone know how I can get around the PCO.exe issue? I have showed my client and he is really really excited to get it to work. Thanks guys! ++ Best regards, -Richard Houston -R.L.H. Consulting -E-Mail [EMAIL PROTECTED] -WWW http://www.rlhc.net -Blog http://www.rlhc.net/blog/ Probably that we have the code on our fixes path for the emulator. I'll verify this. Christian Geisert [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 05/07/2006 09:18 Please respond to tn5250j-general@lists.sourceforge.net To tn5250j-general@lists.sourceforge.net cc Subject Re: [Tn5250j-general] STRPCCMD [EMAIL PROTECTED] schrieb: Did you try the STRPCCMD + F4 to display commandproperties and then fill in the command on the screen? If you run /usr/bin/firefox from any shell, the browser opens? What version of the emulator are you running? It might be you have to set a property to enable the scanning for strpccmd I just tried it with latest cvs and doesn't work for me either. Wim, are you sure the code has been committed? I remember there has been some discussion about implementing it but I don't think it has been comitted. I'll hopefully have some time to have a closer look at it later Christian Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Tn5250j-general mailing list Tn5250j-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tn5250j-general Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Tn5250j-general mailing list Tn5250j-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tn5250j-general - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
Re: [Tn5250j-general] STRPCCMD
Richard, If you scan the archives for STRPCCMD you'll find some activity from July, 2006, that indicated that the code for the feature hadn't been committed yet. There was a patch submitted and a full jar containing other items from Win van Leuven. The code hasn't been committed by anyone, in fact the product has been so stable that there hasn't been much activity recently. I meant to apply the updates but I really haven't gotten to it. I'll see what I can do. I have had some NPE's plaguing me lately with 0.6.1 beta version and I need to get to the bottom of that so if I open up the code again I'll see if I can get the update done as well. That is about the best I can do. Pete Helgren Richard Houston wrote: Hey everyone, We have a need to use the STRPCCMD command on TN5250J on Linux. Does anyone have this working and or know if this can be done? We have tried it on Linux and Windows and both throw and error about PCO.exe not found on the system. Thanks all and any help on this would be greatly appreciated. ++ Best regards, -Richard Houston -R.L.H. Consulting -E-Mail [EMAIL PROTECTED] -WWW http://www.rlhc.net -Bloghttp://www.rlhc.net/blog/ - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Tn5250j-general mailing list Tn5250j-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tn5250j-general - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Tn5250j-general mailing list Tn5250j-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tn5250j-general
Re: [Tn5250j-general] STRPCCMD
Interestingly, when I looked at the code this weekend, it had the code that implemented the STRPCCMD in it already. I compared it against CVS and it looks like what I have is current. I need to debug the code, since it isn't working, but that may take a while for me to get to. Pete Christian Geisert wrote: Pete Helgren schrieb: Richard, If you scan the archives for STRPCCMD you'll find some activity from July, 2006, that indicated that the code for the feature hadn't been committed yet. There was a patch submitted and a full jar containing other items from Win van Leuven. The code hasn't been committed by And I tried to extract just the code for STRPCO, but it didn't work. Then someone else sent an updated patch which I started to test but then I got busy with other stuff... I'll see what I can do. anyone, in fact the product has been so stable that there hasn't been much activity recently. ;-) I meant to apply the updates but I really haven't gotten to it. I'll see what I can do. I have had some NPE's plaguing me lately with 0.6.1 beta version and I need to get to the bottom of that so if I open up the code again I'll see if I can get the update done as well. And there are some issues with Java 5 which I'd like to fix. - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/___ Tn5250j-general mailing list Tn5250j-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tn5250j-general
Re: [Tn5250j-general] STRPCCMD
Christian, Thanks. Richard has been patient and I haven't been able to get to it (I'm swamped). I need to review outstanding bugs as well. It would be nice to release a Final sometime since we have been at 0.6.1 Beta 1 forever. I'd also like to make this an Eclipse plugin so that I can have a tn5250j pane in WDSc. My list is long and my available time is limited. Pete Christian Geisert wrote: Richard Houston schrieb: Hey Everyone, Just wondering if there was anything I could do to help the debugging of the STRPCCMD code. My client is looking forward to putting another nail in the client accesses coffin in there environment and this function would do that. Please let me know if there is anything I can do to help out. I didn't find the time until now but I hope I'll have the patch ready early next week. Christian - SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 ___ Tn5250j-general mailing list Tn5250j-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tn5250j-general - SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4___ Tn5250j-general mailing list Tn5250j-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tn5250j-general
Re: [Tn5250j-general] STRPCCMD
I am going to second that. I looked at my source and most of those lines in the patch were already in there. After manually updating the file I can't get it to run because of a class cast exception. A complete tnvt.java file might be the most expedient way to get this tested. Pete Richard Houston wrote: Thanks Christian, I am having issues patching the file I get a malformed patch error. Would you consider just sending me your tnvt.java file? Here is the error: [EMAIL PROTECTED]:~/tn5250j$ patch src/org/tn5250j/framework/tn5250/tnvt.java /home/rich/Desktop/tn5250j.diff patching file src/org/tn5250j/framework/tn5250/tnvt.java Hunk #2 FAILED at 91. Hunk #3 FAILED at 921. Hunk #4 FAILED at 1194. Hunk #5 FAILED at 1205. Hunk #6 FAILED at 1917. patch: malformed patch at line 120: screen52.getCurrentPos()); Thanks in advance! ++ Best regards, -Richard Houston -R.L.H. Consulting -E-Mail [EMAIL PROTECTED] -WWW http://www.rlhc.net -Bloghttp://www.rlhc.net/blog/ Christian Geisert schrieb: Richard Houston schrieb: Hey Everyone, Just wondering if there was anything I could do to help the debugging of the STRPCCMD code. My client is looking forward to putting another nail in the client accesses coffin in there environment and this function would do that. Please let me know if there is anything I can do to help out. I didn't find the time until now but I hope I'll have the patch ready early next week. Finally here's a patch for testing This is based on work by Wim Van Leuven with adaption from Mahmoud GANGAT - I just did change the check for the PCO string which didn't work for me (problem with codepages..) A nice story aside: Last week I was at IBM (to test Apache OFBiz on the System i) and guess what the IBM guy used to access the System i? Yes, he was running tn5250j!! Woohooo that made already my day - and Java performance looked really good on the new maschine ;-) -- Christian - SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php___ Tn5250j-general mailing list Tn5250j-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tn5250j-general - SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ Tn5250j-general mailing list Tn5250j-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tn5250j-general - SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace___ Tn5250j-general mailing list Tn5250j-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tn5250j-general
Re: [Tn5250j-general] STRPCCMD
Sweet! Compiled and works like a charm! Thanks Pete Helgren Christian Geisert wrote: Richard Houston schrieb: Thanks Christian, I am having issues patching the file I get a malformed patch error. Would you consider just sending me your tnvt.java file? Sure .. .attached. Here is the error: [EMAIL PROTECTED]:~/tn5250j$ patch src/org/tn5250j/framework/tn5250/tnvt.java /home/rich/Desktop/tn5250j.diff patching file src/org/tn5250j/framework/tn5250/tnvt.java Hunk #2 FAILED at 91. Hunk #3 FAILED at 921. Hunk #4 FAILED at 1194. Hunk #5 FAILED at 1205. Hunk #6 FAILED at 1917. patch: malformed patch at line 120: screen52.getCurrentPos()); Mmmh ... works for me with latest from cvs repository Just did a fresh checkout and appliedt the patch without a problem: cvs -d:pserver:[EMAIL PROTECTED]:/cvsroot/tn5250j co tn5250j cd tn5250j patch -p0 ~/tmp/patch_tn5250j_pco-20071210-ok2.diff patching file src/org/tn5250j/framework/tn5250/tnvt.java -- Christian - SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ Tn5250j-general mailing list Tn5250j-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tn5250j-general - SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace___ Tn5250j-general mailing list Tn5250j-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tn5250j-general
Re: [Tn5250j-general] Print screen whit Java 1.6
Richard, Not sure I can match the environment but the next time I boot into SUSE I'll give this a whirl. I think I am running Java 6 on that partition. Are you running the latest version? (we HAVE to get a final built and posted one of these days) The one that fixed the STRPCCMD? Pete Richard Houston wrote: Hey Everyone, Hope you all had a great holiday and got some time off. Was wondering if anyone has had a chance to look the below issue? I know your all busy so I humbly ask this question of you. Thanks all and take care in the new year. Rich ++ Best regards, -Richard Houston -R.L.H. Consulting -E-Mail [EMAIL PROTECTED] -WWW http://www.rlhc.net -Bloghttp://www.rlhc.net/blog/ Hey all, Recently we started to update our Linux clients to ubuntu 7.10. The users really like the Compiz 3D effects and they perform much better then the Linux we were using before. We initial used java1.5, installed via the Ubuntu repository's, but with Compiz on the tn5250j screen would only come up blank and would never render. I updated to Java 1.6 and all was good again. We have found one issue though. The ALT+P (print screen) does not work. When I try I get this error: Exception in thread Thread-11 java.lang.NullPointerException: null attribute at sun.print.IPPPrintService.isAttributeValueSupported(IPPPrintService.java :1147) at sun.print.ServiceDialog$OrientationPanel.updateInfo(ServiceDialog.java:2 121) at sun.print.ServiceDialog$PageSetupPanel.updateInfo(ServiceDialog.java:126 3) at sun.print.ServiceDialog.updatePanels(ServiceDialog.java:437) at sun.print.ServiceDialog.initPrintDialog(ServiceDialog.java:195) at sun.print.ServiceDialog.init(ServiceDialog.java:124) at javax.print.ServiceUI.printDialog(ServiceUI.java:188) at sun.print.RasterPrinterJob.printDialog(RasterPrinterJob.java:855) at sun.print.PSPrinterJob.printDialog(PSPrinterJob.java:421) at org.tn5250j.PrinterThread.run(PrinterThread.java:157) Any thought on that? Thanks all!! Rich ++ Best regards, -Richard Houston -R.L.H. Consulting -E-Mail [EMAIL PROTECTED] -WWW http://www.rlhc.net -Bloghttp://www.rlhc.net/blog/ - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Tn5250j-general mailing list Tn5250j-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tn5250j-general - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Tn5250j-general mailing list Tn5250j-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tn5250j-general - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ Tn5250j-general mailing list Tn5250j-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tn5250j-general
Re: [Tn5250j-general] TN5250J in WDSC/RDi
Roberto, Perhaps Sourceforge can help you contact Kenneth. I don't think that anyone else has Admin access to the project but perhaps there is a method for transferring administrative control on a project that has been abandoned by a project admin. And, don't get me wrong, I don't think that Kenneth has truly abandoned the project but I have to believe that he would want the project to progress, as we all do. And he hasn't checked in for quite some time. As a last resort, Davide's suggestion to fork the project would be a possibility although the tn5250j name and project site has enough traction that changing to a new project name and site might have *some* downside risk that people wouldn't identify this new effort with the old and think that tn5250j is dead. Pete Helgren Roberto Endrizzi wrote: Good morning all, unfortunately I didn't receive any news from Kenneth and so I decided to re-post in here hoping he will read and answer. But I also want to make myself clear about the meaning of my previous message: me and my group are interested in taking all the project up, not only being inserted as developers. As I said we work for an italian IT-company which uses tn5250j a lot and that decided to give us the opportunity (intended as working-hours) to work on the project to improve it. In case Kenneth decides to pass the administration of the project to us it will, of course, remain open-source and there's also the possibility that we will need some external developers. Hoping to hear from you soon, Best Regards, Roberto Endrizzi - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Tn5250j-general mailing list Tn5250j-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tn5250j-general - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Tn5250j-general mailing list Tn5250j-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tn5250j-general
Re: [Tn5250j-general] Spool File Export not working
V3R2M0! Hmmm that *might* be the problem. I'll see what command/api is called in the source and see if it is supported that far back. I'll take a look. Unfortunately I sent my good ol E02 to the recycling center a while back and I don't have a customer on anything older than V4R5M0 at the moment. I'll see what I can find out. Pete Karl Cunningham wrote: Pete, Thanks for the reply. The Windows system from which I am running this is XP SP2, Java 6. This is connecting to an AS/400 with OS/400 at V3R2. I've wondered if V3R2 is too old to support this function. I can see a number of spool files present on the system with WRKSPLF, so I know there should be some for the spool exporter to display. When I click the Load button and enter the user name and password, I see some SNA network traffic, so I think it's doing something. I also looked at the source and didn't find the error. I thought maybe it's a Java error? Thanks again for any help you can give. Karl On 12/18/2008 5:07 PM, Pete Helgren wrote: Karl, This is working OK on my system (XP SP3, Java 6). I scanned the source looking for that error text and couldn't find anything. Perhaps a bit more about your environment might help. Pete Karl Cunningham wrote: Greetings -- I can't seem to get the Spool File Exporter to work. After logging in, I right-click in the console window and select Export-Spool. The Spool Exporter dialog comes up. I leave everything as defaults and click Load. A dialog comes up asking for my user name and password, which I enter and click OK. I expected a list of my spool files to appear. No spool files are listed and a red message comes up in the lower left corner of the Spool Exporter dialog which says system: Property is not set. We've tried this from Linux and Windows clients, with the same result. Could someone tell me which property needs to be set and how to do it? Has anyone else gotten this to work? Thanks for any help. Regards, Karl Cunningham -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Tn5250j-general mailing list Tn5250j-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tn5250j-general -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Tn5250j-general mailing list Tn5250j-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tn5250j-general -- ___ Tn5250j-general mailing list Tn5250j-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tn5250j-general -- ___ Tn5250j-general mailing list Tn5250j-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tn5250j-general
Re: [Tn5250j-general] tn250 code quesiton
Michael, It is built from the latest SF project files. I need to do some more complete testing and then set a valid version on the release but basically what I have at my site is what you could build from the SF project files. If you have concerns about the validity of the file, you could just check out the files from SF and build them yourself. I think the SF files carry a different versioning because the ant build files haven't been updated but the code that is compiled and deployed is current. Pete Michael D. Setzer II wrote: http://www.petesworkshop.com/downloads/tn5250j-install-0.6.2_beta-1.jar Is a file that I've downloaded and used recently from info on another list, and was wondering how this links with the project on sourceforge?? -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev ___ Tn5250j-general mailing list Tn5250j-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tn5250j-general -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev ___ Tn5250j-general mailing list Tn5250j-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tn5250j-general