Actually Kenneth, it is even simpler I think. The STRPCO command actually doesn't do anything (anymore). Just the STRPCCMD fails if you have not issued a STRPCO in advance. It is just client access that scans for what is in the stream on STRPCCMD and indeed scrapes the command and runs it and does an enter. As such it seems the screen has never been displayed.

HTH,
wim




Kenneth Pouncey <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]

17/06/2005 10:52

Please respond to
tn5250j-general@lists.sourceforge.net

To
tn5250j-general@lists.sourceforge.net
cc
Subject
Re: [Tn5250j-general] STRPCCMD - STRPCO uses?






Wim

Well first off that test screen you have is pretty cool :-)  

Second it looks sort of like what we did for the scanner.  So basically what it
does is this.  

1)  Sends the screen with a special command modeled after our scanner stuff.
2)  if it does receive this and PCO is active then it will read the screen and
not display it.  Even sending an Enter key afterwards could be.  Would actually
need to sniff the interaction but I think that is what it does.

3)  If it is not active just display the screen like it says.  Basically turning
on and off the scanner by a 5250 screen command.  This stops other emulators
from continuing.  

Very simple indeed.  The solution was elegant.

Like I said in one of the previous messages to Pete.  It is not the 5250 data
streams themselves but how the client interprets and manipulates what is there.

Now that is cool!!!

Regards

Kenneth



Quoting [EMAIL PROTECTED]:

> Kenneth,
>
> I'm completely with your proposal about the STRPCCMDJ as it will allow for
> so much more than STRPCCMD. The problem being however you application has
> to run on TN5250j.
>
> Most of the customers use e.g. third party software where the STRPCCMD is
> programmed in the application. so they can not change it. The call is used
> for the most stupiest stuff you can imagine. e.g. open an image or a word
> document; Whatever. You imagine it they do it somewhere;
>
> That is the main reason I think we need to implement standard STRPCCMD
> behaviour. As a matter a fact the STRPCCMD functionality is implemented so
> simple it is even stupid. Look at the screenshots below
>
> Wim.
>
>
>
>
>
>
>
>
>
>
>
> Kenneth Pouncey <[EMAIL PROTECTED]>
> Sent by: [EMAIL PROTECTED]
> 17/06/2005 10:00
> Please respond to
> tn5250j-general@lists.sourceforge.net
>
>
> To
> tn5250j-general@lists.sourceforge.net
> cc
>
> Subject
> Re: [Tn5250j-general] STRPCCMD - STRPCO uses?
>
>
>
>
>
>
>
> Wim
>
> I have been thinking about this ever since Ignacio posted to the list.  My
> idea
> was to implement our own STRPCCMD command maybe called STRPCCMDJ or
> something
> stupid like that.  Here we just attach a scan listener like you do in one
> of the
> modules maybe My5250 and take care of it that way.  When we get the
> command we
> can parse it and anything that has #!STRPCCMD xxxxxxxxx in it we just
> execut it.
>  Was going to be one of my sample/examples :-)
>
> Technical question?  Is there a special stream passed back for this type
> of
> call?  If there is would it be the -128 code that Ignacio posted?  If it
> is
> where did he get the information from?
>
> Also what do they use it for?  Sorry but can not really think of a use. Am
> just
> a lowly programmer and not into the solutions that you and the others out
> there do.
>
> Cool!!!  Let's make this sucker jump through some hoops now that the code
> base
> is stable.  This could turn out to be a lot more flexible that what CA
> provides
> as well.  We could also allow a custom implementation to be loaded from
> the
> command line so the clients can load their own modules to handle this in
> their
> own way.
>
> Regards
>
> Kenneth
>
> Quoting [EMAIL PROTECTED]:
>
> > Hello Kenneth,
> >
> > I've been looking on this issue also, because STRPCCMD is used by almost
>
> > all of our customers. So, I think we should implement it next to the
> > scanning solution. I was wondering though if the streamdetection should
> do
> > a callback to an interface, or should immediately run the command as it
> is
> > so basic/standard functionality that a callback would be overhead.
> >
> > Not sure though what to scan for.
> >
> > Wim.
> >
> >
> >
> >
> >
> >
> > Kenneth Pouncey <[EMAIL PROTECTED]>
> > Sent by: [EMAIL PROTECTED]
> > 17/06/2005 09:36
> > Please respond to
> > tn5250j-general@lists.sourceforge.net
> >
> >
> > To
> > tn5250j-general@lists.sourceforge.net
> > cc
> >
> > Subject
> > [Tn5250j-general] STRPCCMD - STRPCO uses?
> >
> >
> >
> >
> >
> >
> >
> >
> > Hello all
> >
> > I have seen a couple of people now trying to use this command.  Does
> > anybody
> > have any ideas on it's use or do they use it?  If so then how?
> >
> > The reason I ask is that I do beleive we can do this within the emulator
>
> > as
> > well.   That would work for linux environments as well :-))
> >
> > If there is enough interest in this I will give it a try for the next
> > release?
> >
> > Also if anybody has any technical documentation on this and would share
> it
> > with
> > me that would be great.
> >
> > 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=7477&alloc_id=16492&op=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=7477&alloc_id=16492&op=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=7477&alloc_id=16492&op=click
_______________________________________________
Tn5250j-general mailing list
Tn5250j-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tn5250j-general

Reply via email to