Details Ticket 750


Comment | Reply | Take | Open


Serial Number 750
Subject g.manual problem
Area bug
Queue grass
Requestors jhickey@hpcc.nectec.or.th
Owner none
Status resolved
Last User Contact Tue Jun 12 09:04:59 2001 (7 yr ago)
Current Priority 30
Final Priority 70
Due No date assigned
Last Action Tue Jun 12 09:41:44 2001 (7 yr ago)
Created Fri Jun 8 12:01:54 2001 (7 yr ago)

Transaction History Ticket 750


Fri, Jun 8 2001 12:01:54    Request created by guest  
Subject: g.manual problem

Platform: SGI/Irix
Xwindows version: IRIX
Xwindows manager: IRIX
TclTk version: tcl/tk 8.3
grass downloaded at: CVS Server, Germany
grass binary for platform: I compiled the sources myself
grass sources source: yes, I am using the latest GRASS from CVS
c compiler name: cc

The "g.manual -1" and "g.manual -a" commands do nothing but "g.manual --help"
and the man page indicate they should list all manual entries.

Justin Hickey
Mon, Jun 11 2001 17:18:05    Mail sent by neteler@geog.uni-hannover.de  
Return-Path <neteler@geog.uni-hannover.de>
Delivered-To grass-bugs@mailman.intevation.de
Date Mon, 11 Jun 2001 16:49:10 +0100
From Markus Neteler <neteler@geog.uni-hannover.de>
To Request Tracker <grass-bugs@intevation.de>
Cc grass5@geog.uni-hannover.de
Subject Re: [GRASS5] [bug #750] (grass) g.manual problem
Message-ID <20010611164910.G24187@hgeo02.geog.uni-hannover.de>
Mail-Followup-To Request Tracker <grass-bugs@intevation.de>, grass5@geog.uni-hannover.de
References <20010608100155.45F4D139F7@mailman.intevation.de>
Mime-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Disposition inline
User-Agent Mutt/1.2.5i
In-Reply-To <20010608100155.45F4D139F7@mailman.intevation.de>; from grass-bugs@intevation.de on Fri, Jun 08, 2001 at 12:01:55PM +0200
On Fri, Jun 08, 2001 at 12:01:55PM +0200, Request Tracker wrote:
> this bug's URL: http://intevation.de/rt/webrt?serial_num=750
> -------------------------------------------------------------------------
> 
> Subject: g.manual problem
> 
> Platform: SGI/Irix
> Xwindows version: IRIX
> Xwindows manager: IRIX
> TclTk version: tcl/tk 8.3
> grass downloaded at: CVS Server, Germany
> grass binary for platform: I compiled the sources myself
> grass sources source: yes, I am using the latest GRASS from CVS
> c compiler name: cc
> 
> The "g.manual -1" and "g.manual -a" commands do nothing but "g.manual --help"
and the man page indicate they should list all manual entries.
> 
> Justin Hickey

Hi Justin,

here it works fine. Be sure that you have eliminated the (old) binary
version of g.manual. Check

which g.manual
/usr/local/grass5/scripts/g.manual

that you use the script version. What does

echo $GRASS_PAGER
more

tell you?

Markus


Tue, Jun 12 2001 03:46:11    Mail sent by jhickey@hpcc.nectec.or.th  
Return-Path <jhickey@hpcc.nectec.or.th>
Delivered-To grass-bugs@mailman.intevation.de
Sender jhickey@impact1.hpcc.nectec.or.th
Message-ID <3B2573B2.ABA9D31E@hpcc.nectec.or.th>
Date Tue, 12 Jun 2001 08:43:14 +0700
From Justin Hickey <jhickey@hpcc.nectec.or.th>
Organization HPCC, NECTEC
X-Mailer Mozilla 4.76C-SGI [en] (X11; I; IRIX 6.5 IP22)
X-Accept-Language en
MIME-Version 1.0
To Grass Developers <grass5@geog.uni-hannover.de>, Grass Bugs <grass-bugs@intevation.de>
Subject Re: [bug #750] (grass) g.manual problem
References <20010611151806.05647139F4@mailman.intevation.de>
Content-Type text/plain; charset=us-ascii
Content-Transfer-Encoding 7bit
Hi Markus

Markus Neteler via RT wrote:
> here it works fine. Be sure that you have eliminated the (old) binary
> version of g.manual. Check
> 
> which g.manual
> /usr/local/grass5/scripts/g.manual
> 
> that you use the script version. What does
> 
> echo $GRASS_PAGER
> more
> 
> tell you?

The following is a sample run from Grass built yesterday from an update
of the release branch, followed by

make uninstall
make clean
make
make install

Note that this was obtained by selecting the text on the terminal
window, and then pasting it in my mail composer window.

Mapset <PERMANENT> in Location <jhickey>                               
GRASS 5.0.0pre1 > g.manual -1
                                                                       
Mapset <PERMANENT> in Location <jhickey>                               
GRASS 5.0.0pre1 > which g.manual
/tmp/grass/grass5/scripts/g.manual
                                                                       
Mapset <PERMANENT> in Location <jhickey>                               
GRASS 5.0.0pre1 > echo $GRASS_PAGER
more
                                                                       
Mapset <PERMANENT> in Location <jhickey>                               
GRASS 5.0.0pre1 > g.manual -a
                                                                       
Mapset <PERMANENT> in Location <jhickey>                               
GRASS 5.0.0pre1 > 

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?

-- 
Sincerely,

Jazzman (a.k.a. Justin Hickey)  e-mail: jhickey@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!!!
==================================================================


Tue, Jun 12 2001 09:04:59    Mail sent by glynn.clements@virgin.net  
Return-Path <glynn.clements@virgin.net>
Delivered-To grass-bugs@mailman.intevation.de
From Glynn Clements <glynn.clements@virgin.net>
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Transfer-Encoding 7bit
Message-ID <15141.48522.330685.17482@cerise.nosuchdomain.co.uk>
Date Tue, 12 Jun 2001 07:58:18 +0100
To Justin Hickey <jhickey@hpcc.nectec.or.th>
Cc Grass Developers <grass5@geog.uni-hannover.de>, Grass Bugs <grass-bugs@intevation.de>
Subject Re: [GRASS5] Re: [bug #750] (grass) g.manual problem
In-Reply-To <3B2573B2.ABA9D31E@hpcc.nectec.or.th>
References <20010611151806.05647139F4@mailman.intevation.de> <3B2573B2.ABA9D31E@hpcc.nectec.or.th>
X-Mailer VM 6.92 under 21.4 (patch 3) "Academic Rigor" XEmacs Lucid
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@virgin.net>


Tue, Jun 12 2001 09:36:52    Mail sent by jhickey@hpcc.nectec.or.th  
Return-Path <jhickey@hpcc.nectec.or.th>
Delivered-To grass-bugs@mailman.intevation.de
Sender jhickey@impact1.hpcc.nectec.or.th
Message-ID <3B25C67A.2699F447@hpcc.nectec.or.th>
Date Tue, 12 Jun 2001 14:36:26 +0700
From Justin Hickey <jhickey@hpcc.nectec.or.th>
Organization HPCC, NECTEC
X-Mailer Mozilla 4.76C-SGI [en] (X11; I; IRIX 6.5 IP22)
X-Accept-Language en
MIME-Version 1.0
To Grass Developers <grass5@geog.uni-hannover.de>, Grass Bugs <grass-bugs@intevation.de>
Subject Re: [bug #750] (grass) g.manual problem
References <20010611151806.05647139F4@mailman.intevation.de> <3B2573B2.ABA9D31E@hpcc.nectec.or.th> <15141.48522.330685.17482@cerise.nosuchdomain.co.uk>
Content-Type text/plain; charset=us-ascii
Content-Transfer-Encoding 7bit
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@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!!!
==================================================================


Tue, Jun 12 2001 09:41:45    Status changed to resolved by jhickey  
Comment | Reply | Take | Open

You are currently authenticated as guest.
[Show Configuration] [Login as another user]

Users Guide - Mail Commands - Homepage of RequestTracker 1.0.7 - list any request