system command - problem resolved

John Esak john at valar.com
Wed Nov 2 12:01:04 PST 2005


Well, you may have answered your own problem. I don't know what is wrong...
because the system command can not possibly do anything *but* execute its
chosen argument, and then processing returns tot the command immediately
following the SYSTEM command. So, for whatever reason, your screen is
getting corrrupted and it takes the various keystrokes you mentioned to fix
things up. If working with

   SYSTEM NOREDRAW le < pa < etc.

doesn't make things better... than why not just PUSHKEY the exact keystrokes
you said the user has to push to put the screen to rights?

John Esak


> -----Original Message-----
> From: Dennis Malen [mailto:dmalen at malen.com]
> Sent: Wednesday, November 02, 2005 2:53 PM
> To: john at valar.com; pmahler
> Cc: Fplist (E-mail)
> Subject: Re: system command - problem resolved
>
>
> John,
>
> After the program properly goes to windows and pulls up the
> correct program,
> we want the user to minimize the screen and continue with filePro. What's
> happening is that when the window is minimized the cursor is in
> the middle
> of the screen and only half the screen is displayed. The user has to hit
> enter and the cursor goes to the bottom where it should be. The
> only problem
> is that half the screen is still displayed. The user must press
> another key
> for a different screen and then manually come back to the screen
> they were
> in order to redraw the screen.
>
> I used the following which did not work:
>
>  system le<lg{pa;le="";lg="";pa="";pushkey "[DRAW]";end
>
> I also tried to use the "screen" command and that did not work.
>
> What appears to be happening is that when filepro processes the request
> through system, it is not coming back to that line. It gets hung
> up. Hitting
> enter seems to bring it back, but the screen still has to be redrawn
> manually.
>
> Perhaps there is something more that is needed at the end of the system
> command that will break off control of the screen so that the program can
> continue.
>
> This is the processing we use to access the windows program:
>
> le="echo";lg="\"\\033&o";pa="Fvar
> searchnum="{@rn{";CompileFile(\\"260268.cs\\");\\015\""
>
> Dennis
>
> ----- Original Message -----
> From: "John Esak" <john at valar.com>
> To: "Dennis Malen" <dmalen at malen.com>
> Cc: "Fplist (E-mail)" <filepro-list at seaslug.org>
> Sent: Wednesday, November 02, 2005 1:47 PM
> Subject: RE: system command - problem resolved
>
>
> > If you're still having trouble with the cursor not being inthe
> right place
> > or something. Try adding a pushkey to redraw the screen after
> the function
> > of your @key/system command is finished...
> >
> > @keyT   if:
> >      then: le=blah;pa=blaxxxx; system le < pa;  pushkey "[DRAW]";  end
> >
> > It may help, though I'm not clear on what is actually going on, but
> > judging
> > by what you said... this might help... also try putting a sleep
> "2000" in
> > between the system command and the pushkey draw so that you will see a
> > small
> > pause and then the screen redrawing. If you see the scre en
> redrawing and
> > your cursor is still messed up... something else is going on.
> >
> >> -----Original Message-----
> >> From: Dennis Malen [mailto:dmalen at malen.com]
> >> Sent: Wednesday, November 02, 2005 12:32 PM
> >> To: john at valar.com
> >> Cc: Fplist (E-mail)
> >> Subject: Re: system command - problem resolved
> >>
> >>
> >> John,
> >>
> >> W are executing from and @key.
> >>
> >> Dennis
> >> ----- Original Message -----
> >> From: "John Esak" <john at valar.com>
> >> To: "Dennis Malen" <dmalen at malen.com>
> >> Cc: "Fplist (E-mail)" <filepro-list at seaslug.org>
> >> Sent: Tuesday, November 01, 2005 9:23 PM
> >> Subject: RE: system command - problem resolved
> >>
> >>
> >> > Great... I just back from my trip... and if what you have is
> working..
> >> > *that* is what I would have sent you. :-)
> >> >
> >> > Trouble with cursor... how are you exectuing teh SYSTEM
> command? From
> >> > an
> >> > @key or @wlf or what?
> >> >
> >> > John
> >> >
> >> >
> >> >> -----Original Message-----
> >> >> From: filepro-list-bounces+john=valar.com at lists.celestial.com
> >> >> [mailto:filepro-list-bounces+john=valar.com at lists.celestial.com]On
> >> >> Behalf Of Dennis Malen
> >> >> Sent: Tuesday, November 01, 2005 8:32 PM
> >> >> To: Kenneth Brody
> >> >> Cc: filepro-list at lists.celestial.com
> >> >> Subject: Re: system command - problem resolved
> >> >>
> >> >>
> >> >> To everyone and especially Ken and Mark,
> >> >>
> >> >> The following works:
> >> >>
> >> >> le="echo";lg="\"\\033&o";pa="Fvar
> >> >> searchnum="{"55555"{";CompileFile(\\"260268.cs\\");\\015\""
> >> >>
> >> >> The foregoing executes the .cs file and takes us to windows and
> >> >> then to the
> >> >> appropriate record in scanning software.
> >> >>
> >> >> So thanks!!!!!!!!
> >> >>
> >> >> Only one minor problem, when it returns to filepro the cursor
> >> >> gets hung up
> >> >> on the screen.
> >> >>
> >> >> We have to press enter and go into another screen and then go
> >> >> back. What do
> >> >> we need in the processing?
> >> >>
> >> >> Your greatest fan of the list,
> >> >>
> >> >> Dennis
> >> >>
> >> >> ----- Original Message -----
> >> >> From: "Kenneth Brody" <kenbrody at bestweb.net>
> >> >> To: "Dennis Malen" <dmalen at malen.com>
> >> >> Cc: <filepro-list at lists.celestial.com>
> >> >> Sent: Tuesday, November 01, 2005 8:01 PM
> >> >> Subject: Re: system command
> >> >>
> >> >>
> >> >> > (Repeated top-posting left uncorrected.)
> >> >> >
> >> >> > Quoting Dennis Malen (Tue, 1 Nov 2005 19:49:12 -0500):
> >> >> >
> >> >> >> Here's how we generated Mark's code:
> >> >> >>
> >> >> >> le="echo";lg="\"\\033&o";pa="Fvar
> >> >> >> searchnum="{"55555"{";CompileFile(\\\\"260268.cs\\\\");\\015\"
> >> >> >>  >"/tmp/dennistest"
> >> >> >
> >> >> > Well, something is doing nasty things to the code you're
> >> posting, since
> >> >> > the above is all messed up.
> >> >> >
> >> >> >> ----- Original Message -----
> >> >> >> From: "Kenneth Brody" <kenbrody at bestweb.net>
> >> >> > [...]
> >> >> >> >> >    ^[&oFvar searchnum=55555;CompileFile("260268.cs");^M
> >> >> >> > [...versus...]
> >> >> >> >> >    ^[&oFvar searchnum=55555;CompileFile(\"260268.cs\");
> >> >> > [...]
> >> >> >
> >> >> > In any case, you can see that your code generates two extra
> >> backslashes
> >> >> > in the output.  Simply remove the parts of your code that
> >> >> generates them.
> >> >> >
> >> >> > --
> >> >> > KenBrody at BestWeb dot net        spamtrap:
> >> >> <g8ymh8uf001 at sneakemail.com>
> >> >> > http://www.hvcomputer.com
> >> >> > http://www.fileProPlus.com
> >> >> >
> >> >> >
> >> >> >
> >> >>
> >> >>
> >> >> _______________________________________________
> >> >> Filepro-list mailing list
> >> >> Filepro-list at lists.celestial.com
> >> >> http://mailman.celestial.com/mailman/listinfo/filepro-list
> >> >
> >> >
> >> >
> >> >
> >>
> >
> >
> >
> >
>



More information about the Filepro-list mailing list