(end) on screen

Fairlight fairlite at fairlite.com
Sun May 10 14:38:46 PDT 2009


Only Kenneth Brody would say something like:
> 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.)

Does showctr() use any env vars like PAGER, VISUAL, etc?

> 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.

mark->
-- 
"I'm not subtle. I'm not pretty, and I'll piss off a lot of people along
the way. But I'll get the job done" --Captain Matthew Gideon, "Crusade"


More information about the Filepro-list mailing list