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

Glynn Clements glynn.clements at virgin.net
Tue Jun 12 02:58:18 EDT 2001


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.

-- 
Glynn Clements <glynn.clements at virgin.net>



More information about the grass-dev mailing list