(end) on screen
Kenneth Brody
kenbrody at spamcop.net
Sun May 10 14:22:14 PDT 2009
Bill Campbell wrote:
> On Sat, May 09, 2009, Scott Nelson wrote:
>> fP 5.6.07 on SCO OSE 6, when running a prc that does a showctr to the
>> screen, just before it shows, at the bottom left of the screen is an
>> (END). After hitting q, the process continues. Checking the ps show
>> 'less' being used at that time. Is there a problem with this version of
>> less?
>
> Scott:
>
> I wouldn't be surprised with a version of less, but more likely
> the showctr routine forks the less process, but never does a
> waitpid() to reap its child processes when they terminate.
SHOWCTR(), nor anything else in filePro, will start a "less" process unless
someone explicitly tells filePro to do so. (And there's no way to tell
filePro to do so in a SHOWCTR statement.)
I doubt the SHOWCTR has anything to do with the "(END)" appearing from less.
I'd be curious what is the parent process of "less". Does he have the
printer destination set to use "less"?
The question isn't "why is less showing '(END)' when done", but rather "why
is less even being run in the first place".
--
Kenneth Brody
More information about the Filepro-list
mailing list