[GRASS5] Re: [bug #750] (grass) g.manual problem

Justin Hickey jhickey at hpcc.nectec.or.th
Tue Jun 12 03:36:26 EDT 2001


Hi Glynn

Glynn Clements wrote:
> 
> Justin Hickey wrote:
> 
> > As you can see, the -1 and -a options do nothing for me. I haven't 
> > had time to look at this yet, any hints on where to start?
> 
> g.manual fails if PAGER is unset:
> 
>   if [ "$opt1" ]
>   then
>     /bin/ls $GISBASE/man/man1 | $PAGER
>     exit 0
>   elif [ "$opta" ]
>   then
>     /bin/ls -C $GISBASE/man/man1 | $PAGER
>     exit 0
>   fi
> 
> This needs to be changed to $GRASS_PAGER; presumably the global 
> change of PAGER to GRASS_PAGER overlooked the scripts.

Yep, you're right. That was it. Thanks for the fix. I'll update the CVS
tree and I checked for other instances of PAGER in src/scripts but did
not find any. 

Thanks again.

-- 
Sincerely,

Jazzman (a.k.a. Justin Hickey)  e-mail: jhickey at hpcc.nectec.or.th
High Performance Computing Center
National Electronics and Computer Technology Center (NECTEC)
Bangkok, Thailand
==================================================================
People who think they know everything are very irritating to those
of us who do.  ---Anonymous

Jazz and Trek Rule!!!
==================================================================



More information about the grass-dev mailing list