(end) on screen

Kenneth Brody kenbrody at spamcop.net
Sun May 10 20:03:24 PDT 2009


Fairlight wrote:
> Only Kenneth Brody would say something like:
>> Bill Campbell wrote:
[...]
>>> 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.)
> 
> Does showctr() use any env vars like PAGER, VISUAL, etc?

No, why would it?  It simply shows the message centered on the specified line.

>> I doubt the SHOWCTR has anything to do with the "(END)" appearing from less.
> 
> (END) appearing in less is pretty much the default behaviour.  I have no
> idea what the OP thinks is so unusual about less doing this.  Has done for
> as long as I can remember.

Because, based on his description, it's appearing on the filePro screen, and 
nothing in his (rather brief) description said anything about SYSTEM, USER, 
FORM, or other command that might start an external process.

-- 
Kenneth Brody


More information about the Filepro-list mailing list