Re: [Tn5250j-general] Emulator hangs
Hello Kenneth, not sure if I every mentioned in this discussion that when the emulator hangs, it doesn't paint anything. Just a black screen (well depending on you color settings of course). Not sure if this gives you any more information thought. Even, at the customers site where the problem occurred most frequently, the users said that is happend less frequently then on our first setup and tryout day. It is also quite difficult for us to send a [reset] at the end but in our development environments. I'll give that a try by coding it in and see if it helps. I however have not seen the problem quite often. Regards, Wim. Kenneth Pouncey [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 28/06/2005 12:01 Please respond to tn5250j-general@lists.sourceforge.net To tn5250j-general@lists.sourceforge.net cc Subject 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
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
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
Re: [Tn5250j-general] Emulator hangs
Hello Wim Do you have a code snippet for me to test with and example signon scenario? I have not done this so would need to actually see the code to give it a try and debug if there is a problem with the Key handling routines. Regards Kenneth Quoting [EMAIL PROTECTED]: 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 screen could be enhanced when you could add a CTRL + arrow left/right/up/down combination which would jump 3 spaces left/right or lines up/down. Can I configure that myself? --- Actually have thought about this myself but never really got around to implementing it. Humm will have to think about it. Could you open up a request for enhancement out on the site for me? Done. -Marc --- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 ___ Tn5250j-general mailing list Tn5250j-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tn5250j-general --- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 ___ 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