[GRASS5] New help button - please text review

Markus Neteler neteler at itc.it
Wed Feb 2 06:12:29 EST 2005


On Wed, Feb 02, 2005 at 06:08:33PM +1300, Hamish wrote:
> > On Tue, Feb 01, 2005 at 11:45:19AM -0500, John Gillette wrote:
> > > xmessage -center -file - any_file.txt
> > > at a terminal reproduces your error message.
> > > Do you need the final dash (-) in the GRASS_PAGER variable?
> > > In other words:
> > > setenv GRASS_PAGER "xmessage -center -file"
> > 
> > 
> > Magic! This works
> > 
> >    if $TERM is csh like
> >      setenv GRASS_PAGER "xmessage -center -file"
> > 
> >    if $TERM is bash like
> >      export GRASS_PAGER="xmessage -center -file"
> > 
> > Thanks, John!
> > 
> > This should be documented somewhere in the online
> > help system.
> 
> 
> 
> ... ah yes. The "-file -" indicates input is to be piped from stdin.
> 
> xmessage works, but is very inconsistent with the rest of the GRASS GUI.

Meanwhile I disovered that

- Hamish's version works for g.list
- John's version works for g.setproj

GRASS_PAGER doesn't behave the same...

Markus
 




More information about the grass-dev mailing list