[GRASS-dev] 6.3.0 release - need to set default font

Michael Barton michael.barton at asu.edu
Sun Nov 25 21:19:25 EST 2007

On 11/25/07 3:42 PM, "Hamish" <hamish_nospam at yahoo.com> wrote:

>> Michael Barton wrote:
>>> What about making GRASS_FONT a GRASS variable rather than a shell variable?
>>> I assume that it then could be set by g.gisenv (ending up in .grassrc6) and
>>> consequently would then persist across working sessions.
> Glynn Clements wrote:
>> It should go into the user's environment, via ~/.grass.bashrc or one
>> of the standard shell initialisation scripts, like any other user
>> preference.
> my guess here is that Michael is not seeing the GRASS_FONT set in
> .grass.bashrc
> as he is working in a GIS.m lauched by init.sh *before* the grass terminal
> session (and thus .grass.bashrc) is run. If gis.m is run from the grass
> terminal prompt it should see it.

This seems to be the case (running TclTk or wxPython). If I quit the GUI and
then restart it from the terminal, I can see the results of setting
GRASS_FONT in .grass.bashrc.


> If that is the case a previously mooted solution is to have a ~/.grassrc file
> which is sourced earlier in the game, before GUI subprocesses are spawned.
> If we do add that, an idea of what a possible GRASS 7 ~/.grass/ dir might
> contain could help reduce migration issues later.
> Hamish
> ______________________________________________________________________________
> ______
> Be a better sports nut!  Let your teams follow you
> with Yahoo Mobile. Try it now.
> http://mobile.yahoo.com/sports;_ylt=At9_qDKvtAbMuh1G1SQtBI7ntAcJ

Michael Barton, Professor of Anthropology
Director of Graduate Studies
School of Human Evolution & Social Change
Center for Social Dynamics & Complexity
Arizona State University

phone: 480-965-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton

More information about the grass-dev mailing list