Ignacio

> One minor problem we have, (as I consider but not our users), is at the
> begining of applet loading. When the applet is started and you can see the
> first screen, you have to do a few mouse clicks within before you are able
> to type in. This behaviour does not happen when we use tn5250j in desktop
> way.

Yes I have had that problem myself and really do not have any idea how to fix
it.  It seems to happen only on linux but am not sure nor am really familiar
with applets.  If you do find the solution please be sure to post it.

> We are going to use tn5250j in a very intensive way 7/24 and our users are
> very, very demanding, especially about keys behaviour. I am sure we will
> have problems keeping our code with the project cvs.

OK but that is weird because tn5250j comes with a very extensive key mapping
functionality so not sure what you would have to change that much.  Really all
you would have to do is create a custom map and it will automatically be used by
the emulator.  If anything and at the worst you could change the Configure
factory to call out to a HTTP:// address and file name to load the properties
from for each user.  Very customizable for that and would only need to touch on
part of code and not that much code at all.

Have actually thought about implementing something like that myself in the
emulator.  Hell if you do get it working I would be glad to put it in the 
emulator.

> (I hope my English would be a little clear. I am not very confident with
> it.)

No problems at all.  Very clear understandable writing.  You have no reason
whatsoever to not feel confident with it.

Regards

Kenneth

Quoting [EMAIL PROTECTED]:

> 
> Hi Kenneth,
> 
> 
> (I am sorry if got wrong sending mail to incorrect list.)
> 
> I am not able to check the list daily, but I should do it.
> 
> For enable STRPCCMD we add this code to tnvt class in method
> writeToDisplay:
> 
>                                     case -128: //strpccmd
>                                         String
> comparar="-4-41-61-4264-125-128-95-128-128";
>                                         String comparar2="";
>                                         for (int i=1;i<11;i++)
>                                             comparar2+=bk.getNextByte();
>                                         if(comparar.equals(comparar2))
>                                             {
>                                                 String comando="";
>                                                 int currentbyte=0;
>                                                 while(currentbyte!=2)
>                                                 {
> 
> comando+=ebcdic2uni(currentbyte);
> 
> currentbyte=bk.getNextByte();
>                                                 }
> 
> ejec(comando.substring(1,comando.length()));
>                                                 bk.setPrevByte();
> 
> screen52.sendKeys(screen52.MNEMONIC_ENTER);
>                                             }else{
>                                                 for (int i=1;i<11;i++)
>                                                     bk.setPrevByte();
>                                             }
> 
> The "ejec" call performs a simple execution of local program specified by
> the argument, which can contains arguments in the same string, eg:
> ejec("/var/bin/firefox http://intranet/help.jsp?book=13";)
> 
> In AS400 part, we can made STRPCO (Start Personal Communications) and then
> STRPCCMD with the string referred in the above example. In Client Access
> there is a component pco.exe which gets this call and executes the local
> process.
> 
> When user ends his AS400 session he gets a message telling "PCO.EXE IS NOT
> FOUND. PRESS ENTER". We were solving this make up issue by sending the
> intro automatically after log out.
> 
> One minor problem we have, (as I consider but not our users), is at the
> begining of applet loading. When the applet is started and you can see the
> first screen, you have to do a few mouse clicks within before you are able
> to type in. This behaviour does not happen when we use tn5250j in desktop
> way.
> 
> We are going to use tn5250j in a very intensive way 7/24 and our users are
> very, very demanding, especially about keys behaviour. I am sure we will
> have problems keeping our code with the project cvs.
> 
> (I hope my English would be a little clear. I am not very confident with
> it.)
> 
> Regards
> 
> Ignacio.
> 
> ------------------------------------------------------------
> 
> Ignacio
> 
> Could you please join our tn5250j-general mailing list.  I
> would really like to discuss this with you and there are
> quite a few people that would be interested in this.  If you
> could please copy and paste this last message when you join
> because I have a few questions about the change and what it
> did and why.  This comment area is not a good medium to chat
> back and forth with.
> 
> Also if you would like to change the source in cvs I can
> give you access so we can keep up to date.
> 
> Am very interested in your implementation of the STRPCCMD
> and what you are doing here.
> 
> Well that is if you guys are willing to discuss this with us.
> 
> Congrats on finding that because I never would have.
> 
> Please join us as I am looking forward to some discussions
> with other developers that are actually changing the code.
> 
> Regards
> 
> Kenneth
> 
> ----------------------------------------------------------------------
> 
> Comment By: Ignacio (ilacosta)
> Date: 2005-06-08 15:41
> 
> Message:
> Logged In: YES
> user_id=1215661
> 
> Hi Kenneth, thank you for your answer. I'm sorry for the delay
> in my response, but I was on a trip.
> 
> Working with this issue, I could see that in the AS400
> terminals Mocha and tn5250j appeared with different type.
> We found the solution to this problem by changing the
> value "abyte[50]=16" to "abyte[50]=17" in tnvt class.
> 
> I'm glad I can see activity on this project. It can be very
> important piece of our big project of migration from Windows
> world to Linux. We have plans to use the tn5250j as applet.
> And we are changing little things to our particular
> requirements, mainly setting default properties, keys
> mapping...
> One of changes we made was add code for intercept the AS
> command STRPCCMD to execute local processes: in some
> circumstances our users are able to press F1 to get
> contextual help, wich is served after opening a browser with
> URL  arguments.
> 
> We are a spanish catering trade with presence in Europe,
> North Africa, Caribbean zone and Florida, and we have about
> 500 AS400 users.
> 
> Congratulations for the great work.
> 
> Ignacio.
> 
> 
> 
> 
> -------------------------------------------------------
> 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

Reply via email to