[GRASSLIST:3372] Set PNG resolution permanently

Hi,

I would like to set the PNG monitor resolution permanently in
grass5.0.2.

I changed my .grassrc to

.
.
.
GRASS_WIDTH: 3200
GRASS_HEIGHT: 2400
GRASS_PNGFILE:map.png
.
.
.

It does not work. I also tried to use '=' instead of ':'. I tried also
after logging out from grass. No effects.
Is it not possible at all to set it in .grassrc?

Ulrich

--
__________________________________________________

Ulrich Leopold MSc.

Computational Bio- and Physical Geography (CBPG)
Institute for Biodiversity and Ecosystem Dynamics (IBED)
Faculty of Science
University of Amsterdam
Nieuwe Achtergracht 166
NL-1018WV Amsterdam

Room: B2.52
Phone: +31 20 525 7456 (7451 Secretary)
Fax: +31 20 525 7431
Mobile: +31 64 220 3028
Email: uleopold@science.uva.nl
URL: www.science.uva.nl/ibed/cbpg

Ulrich Leopold wrote:

I would like to set the PNG monitor resolution permanently in
grass5.0.2.

I changed my .grassrc to

.
.
.
GRASS_WIDTH: 3200
GRASS_HEIGHT: 2400
GRASS_PNGFILE:map.png
.
.
.

It does not work. I also tried to use '=' instead of ':'. I tried also
after logging out from grass. No effects.
Is it not possible at all to set it in .grassrc?

No. These three variables are environment variables, not GRASS
variables.

For bash, add the following to ~/.grass.bashrc:

  export GRASS_WIDTH=3200
  export GRASS_HEIGHT=2400
  export GRASS_PNGFILE=map.png

For csh/tcsh, add the following to ~/.grass.cshrc:

  setenv GRASS_WIDTH 3200
  setenv GRASS_HEIGHT 2400
  setenv GRASS_PNGFILE map.png

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