Re: [Tn5250j-general] Emulator hangs
Hello Kenneth, problem is we cannot easily recreate the problem either. It just happens once and a while. So I cannot send you a guaranteed test case. Wim Kenneth Pouncey [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 28/06/2005 11:36 Please respond to tn5250j-general@lists.sourceforge.net To tn5250j-general@lists.sourceforge.net cc Subject Re: [Tn5250j-general] Emulator hangs Hello Wim That is what I was thinking that it was the left-ctrl that might be causing the problem when sending the keys via the keyboard handler. If you sent it within the stream as a keystroke it does not go through the keyboard handler but straight to the keystroke simulator. That way we can narrow the problem area. Can you send me an example of this so I can take a look at it? It does not happen within the emulator itself or else I do not know how to recreate it on my side. Regards Kenneth Quoting [EMAIL PROTECTED]: Kenneth, when the emulator hangs, it hangs. A reset (using eg left-ctrl) doesn't solve the problem. HTH, Wim. Kenneth Pouncey [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 24/06/2005 17:55 Please respond to tn5250j-general@lists.sourceforge.net To tn5250j-general@lists.sourceforge.net cc Subject Re: [Tn5250j-general] Emulator hangs Wim and Ignacio I was thinking about this little problem. To see if it is the keybuffering that is causing the problem let's try something. At the end of your keys that your are sending insert as the last key sequence [reset]. The last thing it will do is clear the keybuffer after all is done. If this solves it then we will need to debug the keybuffering if I can get an example from you guys and reproduce the code. Let me know if it works. I am not sure but it could depend on the version of the code that you are running against because I remember having a problem with not being able to even send a reset key at one time (not sure of the release right now). If you can run the code base and create the KB at the the bottom then press the reset key the KB should go off and the buffered keys should be cleared. Regards Kenneth Quoting Kenneth Pouncey [EMAIL PROTECTED]: Hola Ignacio You have not stolen the thread at all. We need all the input that we can get and is the reason this list exists. At least we know that it is not just one person having this problem and it is reproducable. You must be doing that same things as Wim and his company so if both or one of you can send me some sample code on how you are calling this I can give it a debug. Gracias Kenneth Quoting [EMAIL PROTECTED]: Hello, We don't pass data by keystroke emulation, however, sometimes our users tell us about similar problems: while they were working on the emulation, sometimes it hangs showing KB at the bottom part of display. At the moment, we don't have much information about it. ( I am sorry, I have stolen this thread ) Ignacio. [EMAIL PROTECTED] con fecha 24/06/2005 14:49:17 Por favor, responda a tn5250j-general@lists.sourceforge.net Destinatarios: tn5250j-general@lists.sourceforge.net CC:(cci: Ignacio Lacosta/RIU/ES) Asunto: [Tn5250j-general] Emulator hangs Hello all, We use the emulator embedded in our apps. When called upon we create a session, pass is userid, password, initial command etc and display the emulator. All data is injected into the system by keystroke emulation. As such the user sees the login and bootstrap process. To minimize this we hold the emulator invisible for a while (configurable amound of millisecs). What we noticed now at a customer site is that, the emulator often hangs on the launching on the command, not in system X mode, but in KB mode. You can not do anything to unblock this, nor do you see anything special at AS/400 side for the job. You can just stop the emulator and restart. If we however augment our invisibility period to a longer time, the hangs occur much less frequent. Does anybody have any ideas about what is causing this problem? Thanks for any input on this, Wim Van Leuven. Kenneth Pouncey [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 02/06/2005 10:12 Please respond to tn5250j-general@lists.sourceforge.net To tn5250j-general@lists.sourceforge.net cc Subject Re: [Tn5250j-general] New to tn5250j What would you call these keying actions? Like for instance the ALT + arrow left/right is called Cursor Next Word and Cursor Previous Word. What would be the description of these? Quoting Marc Vos [EMAIL PROTECTED]: Kenneth, 2) ALT + arrow left/right is great! Quickly moving across the
Re: [Tn5250j-general] JDK version
Hello Kenneth, I remembered Patrick asking this upgrade, but not from the point of using 'new' technologies like nio, I think. Rather to cleanout 1.3 specific code and integrating new APIs. Probably Swing related APIs most of the times. As I understood NIO it mostly helps for doing async io indeed but also allow better scalable IO. This is however more server oriented than this client side project is. So this would not directly benefit us. However a lot of the multithreading things that are in the code base right, would be gone. You wouldn't have to start a comm-thread for every emulator but use one thread on a channel as a switcher. As you mostly use one emulator session at the time, this wouldn't pose performance problems and do the same thing with less resources. HTH, Wim. Kenneth Pouncey [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 28/06/2005 11:44 Please respond to tn5250j-general@lists.sourceforge.net To tn5250j-general@lists.sourceforge.net cc Subject [Tn5250j-general] JDK version Hello all I remember a post, from Patrick I think, that was asking to move the emulator up to 1.4 and use some of the features for those greater than 1.3. I am assuming that would mean to use the NIO streams, channels and the such correct? If that is the case what would using the NIO help us achieve that can not be done now? Would it be better? What would be the goal? I ask because after having used the NIO in a couple of small projects it really only helps for asynchronous correct? We really use synchronous on the client side and really do not see any speed enhancment or anything like that when using the synchronous model. If anyone suggests the asynchronous model for doing this could they tell me why that would help. I do not see it but am open to learning the benefits and the coding if it will help us reach a goal. Regards Kenneth --- 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] Emulator hangs
Wim Quoting [EMAIL PROTECTED]: Hello Kenneth, problem is we cannot easily recreate the problem either. It just happens once and a while. So I cannot send you a guaranteed test case. That sucks. Those are the worse kinds of problems. Is this only happening with sending keys during the signon sequence or do you already have a session open and then send keys to it? Both? Is it only while sending keys or does it happen during live keying as well from an operator? Can you go ahead and try the reset keystroke within the stream and let's see what happens? Not sure if it is feasable for you guys or not. Just trying to help with an idea. Regards Kenneth Wim Kenneth Pouncey [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 28/06/2005 11:36 Please respond to tn5250j-general@lists.sourceforge.net To tn5250j-general@lists.sourceforge.net cc Subject Re: [Tn5250j-general] Emulator hangs Hello Wim That is what I was thinking that it was the left-ctrl that might be causing the problem when sending the keys via the keyboard handler. If you sent it within the stream as a keystroke it does not go through the keyboard handler but straight to the keystroke simulator. That way we can narrow the problem area. Can you send me an example of this so I can take a look at it? It does not happen within the emulator itself or else I do not know how to recreate it on my side. Regards Kenneth Quoting [EMAIL PROTECTED]: Kenneth, when the emulator hangs, it hangs. A reset (using eg left-ctrl) doesn't solve the problem. HTH, Wim. Kenneth Pouncey [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 24/06/2005 17:55 Please respond to tn5250j-general@lists.sourceforge.net To tn5250j-general@lists.sourceforge.net cc Subject Re: [Tn5250j-general] Emulator hangs Wim and Ignacio I was thinking about this little problem. To see if it is the keybuffering that is causing the problem let's try something. At the end of your keys that your are sending insert as the last key sequence [reset]. The last thing it will do is clear the keybuffer after all is done. If this solves it then we will need to debug the keybuffering if I can get an example from you guys and reproduce the code. Let me know if it works. I am not sure but it could depend on the version of the code that you are running against because I remember having a problem with not being able to even send a reset key at one time (not sure of the release right now). If you can run the code base and create the KB at the the bottom then press the reset key the KB should go off and the buffered keys should be cleared. Regards Kenneth Quoting Kenneth Pouncey [EMAIL PROTECTED]: Hola Ignacio You have not stolen the thread at all. We need all the input that we can get and is the reason this list exists. At least we know that it is not just one person having this problem and it is reproducable. You must be doing that same things as Wim and his company so if both or one of you can send me some sample code on how you are calling this I can give it a debug. Gracias Kenneth Quoting [EMAIL PROTECTED]: Hello, We don't pass data by keystroke emulation, however, sometimes our users tell us about similar problems: while they were working on the emulation, sometimes it hangs showing KB at the bottom part of display. At the moment, we don't have much information about it. ( I am sorry, I have stolen this thread ) Ignacio. [EMAIL PROTECTED] con fecha 24/06/2005 14:49:17 Por favor, responda a tn5250j-general@lists.sourceforge.net Destinatarios: tn5250j-general@lists.sourceforge.net CC:(cci: Ignacio Lacosta/RIU/ES) Asunto: [Tn5250j-general] Emulator hangs Hello all, We use the emulator embedded in our apps. When called upon we create a session, pass is userid, password, initial command etc and display the emulator. All data is injected into the system by keystroke emulation. As such the user sees the login and bootstrap process. To minimize this we hold the emulator invisible for a while (configurable amound of millisecs). What we noticed now at a customer site is that, the emulator often hangs on the launching on the command, not in system X mode, but in KB mode. You can not do anything to unblock this, nor do you see anything special at AS/400 side for the job. You can just stop the emulator and restart. If we however augment our invisibility period to a longer time, the hangs occur much less frequent. Does anybody have any
[Tn5250j-general] PASTE in pop-menu does not work
Hi Kenneth, The last few days I exerienced that the normal pasting of copied text with the pop-up menu does not work. Only typing ALT-V works. Paste special works. -Marc Vos --- 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] PASTE in pop-menu does not work
Marc Thanks for that. Can you open another bug report please? Also did you get my other e-mails about the field exit? Regards Kenneth Quoting Marc Vos [EMAIL PROTECTED]: Hi Kenneth, The last few days I exerienced that the normal pasting of copied text with the pop-up menu does not work. Only typing ALT-V works. Paste special works. -Marc Vos --- 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] JDK version
Wim Thanks for the feedback. Quoting [EMAIL PROTECTED]: Hello Kenneth, I remembered Patrick asking this upgrade, but not from the point of using 'new' technologies like nio, I think. Rather to cleanout 1.3 specific code and integrating new APIs. Probably Swing related APIs most of the times. Ahhh. Boy misunderstood that then. As I understood NIO it mostly helps for doing async io indeed but also allow better scalable IO. This is however more server oriented than this client side project is. Yes correct the same thing as I thought. So this would not directly benefit us. However a lot of the multithreading things that are in the code base right, would be gone. You wouldn't have to start a comm-thread for every emulator but use one thread on a channel as a switcher. As you mostly use one emulator session at the time, this wouldn't pose performance problems and do the same thing with less resources. Well this is what I have been thinking about when using asynchronous but could not see the benefit of the single thread issue. I say this because all the emulator instances can interact at different times not just in one and only one. For instance I have a query running on one terminal and it updates the screen while I am on another terminal waiting for the other to finish. I can still work on the other terminals and the interaction is still going on in the others. There are also timing marks that are sent and heartbeat-keepalives that still have to be used between the other terminals as well. I apoligize for my blindnes for all those out there that understand the asynchronous better than I do but do not see how to handle this situation in the channel switching code. Will this work? If it will then it is an option for me to continue with. I would really hate to tear all of that code apart again just to find out it will not work. Like I said have only used the asynchronous in a small server part but my mind will not wrap around putting this to use on the client side. Maybe I am not seeing the forest for the trees in front. Thanks for the feedback Wim. Regards Kenneth HTH, Wim. Kenneth Pouncey [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 28/06/2005 11:44 Please respond to tn5250j-general@lists.sourceforge.net To tn5250j-general@lists.sourceforge.net cc Subject [Tn5250j-general] JDK version Hello all I remember a post, from Patrick I think, that was asking to move the emulator up to 1.4 and use some of the features for those greater than 1.3. I am assuming that would mean to use the NIO streams, channels and the such correct? If that is the case what would using the NIO help us achieve that can not be done now? Would it be better? What would be the goal? I ask because after having used the NIO in a couple of small projects it really only helps for asynchronous correct? We really use synchronous on the client side and really do not see any speed enhancment or anything like that when using the synchronous model. If anyone suggests the asynchronous model for doing this could they tell me why that would help. I do not see it but am open to learning the benefits and the coding if it will help us reach a goal. Regards Kenneth --- 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] PASTE in pop-menu does not work
I'll do that. Yes, I did. -Marc On 28-06-2005 13:50, Kenneth Pouncey [EMAIL PROTECTED] wrote: Marc Thanks for that. Can you open another bug report please? Also did you get my other e-mails about the field exit? Regards Kenneth Quoting Marc Vos [EMAIL PROTECTED]: Hi Kenneth, The last few days I exerienced that the normal pasting of copied text with the pop-up menu does not work. Only typing ALT-V works. Paste special works. -Marc Vos --- 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