multi-g.manuals; concurrency locking

Simon Cox simon at artemis.earth.monash.edu.au
Sun Mar 27 14:35:59 EST 1994


>
> I assume you're entering commands in an 'xterm' window. You start GRASS in
> that window with 'grass4.1', enter the directory stuff in the entry mask,
> and press ESCAPE to leave the mask. You can now enter commands such as
> 'g.manual'. All you have to do now is enter
>
>     xterm &
>
> to start a *second* 'xterm' window as a background subprocess of your
> ongoing GRASS session. In the second xterm window (or the first, it
> doesn't matter), you can now start 'g.manual' and just leave it running.
> You can even start a third xterm window to run g.help permanently during
> your session.
>
> Isn't Unix neat?    %^)


Thanks for your suggestions, Mark.  Unfortunately, it doesn't
work for me!  The new xterm does NOT inherit all the settings of the
parent window - in particular, it doesn't keep all of the PATH environment
variables - example

old window:

GRASS 4.1 > printenv | grep PATH
FONTPATH=/usr/openwin/lib/fonts
HELPPATH=/usr/openwin/lib/locale:/usr/openwin/lib/help
LD_LIBRARY_PATH=/usr/openwin/lib:/usr/lib:/usr/lib/f77:/usr/local/lib:/usr/local/lib/X11:/usr/local/lib/intrepid:/sci4/ermapper/lib/sun4
MANPATH=/usr/local/lang/man:/usr/openwin/share/man:/usr/lib/X11/man:/usr/man:/usr/newsprint/man:/usr/local/man
PATH=/home/sci2/newgrass/grass4.1/bin:/home/sci2/newgrass/grass4.1/scripts:/home/sci2/newgrass/grass4.1/garden/bin:/usr/openwin/bin:/usr/openwin/bin/xview:/usr/openwin/demo:/usr/local:/usr/local/bin:/usr/ucb:/home/sci2/simon/bin:/home/sci2/simon/scripts:/home/sci2/simon/grass/scripts:/usr/bin:/bin:.:/usr/newsprint/bin:/usr/local/X11/bin:/sci4/ermapper:/usr/local/lang:/usr/local/bin/pbm
XFILESEARCHPATH=/usr/openwin/lib/%T/%N%S
XPATH=/usr/local/X11

new window:

cerberus% printenv | grep PATH
FONTPATH=/usr/openwin/lib/fonts
HELPPATH=/usr/openwin/lib/locale:/usr/openwin/lib/help
LD_LIBRARY_PATH=/usr/openwin/lib:/usr/lib:/usr/lib/f77:/usr/local/lib:/usr/local/lib/X11:/usr/local/lib/intrepid:/sci4/ermapper/lib/sun4
MANPATH=/usr/local/lang/man:/usr/openwin/share/man:/usr/lib/X11/man:/usr/man:/usr/newsprint/man:/usr/local/man:/home/sci2/newgrass/man
PATH=/usr/openwin/bin:/usr/openwin/bin/xview:/usr/openwin/demo:/usr/local:/usr/local/bin:/usr/ucb:/home/sci2/simon/bin:/home/sci2/simon/scripts:/home/sci2/simon/grass/scripts:/usr/bin:/bin:.:/usr/newsprint/bin:/usr/local/X11/bin:/sci4/ermapper:/usr/local/lang:/usr/local/bin/pbm
XFILESEARCHPATH=/usr/openwin/lib/%T/%N%S
XPATH=/usr/local/X11

so it doesn't know g.manual.
How to fix this?  I also tried adding the path to the grass manuals
to my MANPATH (see second example above), expecting to be able to
use standard UNIX "man", but this also didn't work.

Also:  what is the best way to get GRASS to read my .cshrc
so that I keep my favorite aliases?


Thanks

Simon Cox


----
___________________________________________________
      __  L     Dr Simon Cox			
   ,~'  L_|\    VIEPS Department of Earth Sciences, 
,-'         \   Monash University, Clayton Vic 3168        
(   soon     \  Australia
X<~~~~~~~~~  /          Phone +61 3 905 5762
 L,~'   "\_x/           Fax   +61 3 905 5062
           u    simon at artemis.earth.monash.edu.au
___________________________________________________



More information about the grass-user mailing list