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] 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