In an E-mail message, Bart Cosyn wrote:
> 
> Hi,
> Is there a way to adapt some settings in my project .cshrc when i am 
> working in Grass.
> 
> Logging in on grass starts a subshell and i presume it reads the .cshrc 
> in the Mapset directory. I want to add some typical aliases for each 
> project. An other boring thig is that my set filec does not work any 
> more! Is there a way to tell grass to add these things!
> 
> 			Bart
> 
> **************************************************************************
> 
> 	ir. Bart Cosyn
> 	EC- Environment project
> 	CRS4
> 	Environmental modelling group
> 	Via Nazario Sauro, 10
> 	09123-Cagliari
> 	Italy
> 	Tel +/39/70/2796278
> 	Fax +/39/70/2796216
> 	E-mail: bcosyn@crs4.it
> **************************************************************************
> 
> 

You could try using a .grass.cshrc file.  This resides in your home
directory and is read by GRASS at startup.  You can set all kinds of
aliases, modify your prompt, define the xterm titlebar, etc.
The .grass.cshrc file is copied to your mapset location as a .cshrc file,
so you would have to modify each location .cshrc file after you started
up GRASS to reflect custom aliases for each location.

Alternatively, you could eliminate the .grass.cshrc file in your home
directory, and simply move a shell environment file (i.e. Cshrc ) to
.cshrc in your mapset location after you've started GRASS and then source
this new .cshrc file.  This of course could be put into a script.

You could also create your own GIS.sh script for starting GRASS and setting
shell variables.  See the GIS.sh file in $GIS/etc.  Conceivably, you could
even launch xterms from your GRASS window that had different shell variables.

Hope this helps.


-- 
-------------------------

Paul Loechl					p-loechl@cecer.army.mil
USA CERL					(217)352-6511x7668

