[GRASS5] Re: [Pkg-grass-general] testing debiangis

Michael Barton michael.barton at asu.edu
Thu Jan 20 11:26:29 EST 2005


This is because some important functions of,..

r.colors
r.reclass
r.recode
r.mapcalc
r3.mapcalc

only run in an xterm. It would be nice to do this another way.

Michael


On 1/19/05 7:59 AM, "Markus Neteler" <neteler at itc.it> wrote:

> (cc grass5)
> 
> On Wed, Jan 19, 2005 at 03:22:48PM +0100, Markus Neteler wrote:
>> On Wed, Jan 19, 2005 at 08:27:40AM -0500, Steve Halasz wrote:
>>> On Wed, 2005-01-19 at 12:06 +0100, Paolo Cavallini wrote:
>>>> - grass depends on xterm, but the package does not require this dependency
>>> 
>>> I don't think this is true. I can run grass on the command line without
>>> even running X. Maybe I should switch all the X-related depends to
>>> suggests?
>> 
>> I think it does:
>> 
>> cd grass60/lib/init
>> grep xterm *
>> epsg_option.tcl:                                        exec -- xterm -e
>> $env(GISBASE)/etc/make_location_epsg.sh \
>> 
>> cd grass60/display/d.m
>> grep xterm *
>> d.m.tcl:    eval exec -- xterm -e $env(GISBASE)/etc/grass-run.sh $cmd $args &
>> 
>> [etc ?]
> 
> Just for the record (I filtered away some irrelevant hits):
> 
> grass60/
> find . -type f -name "*" -exec grep -l xterm {} \;
> ./display/d.m/script/r.colors.rules
> ./display/d.m/script/r.reclass.rules
> ./display/d.m/script/r.recode.rules
> ./display/d.m/d.m.tcl
> ./lib/external/bwidget/entry.tcl
> ./lib/init/epsg_option.tcl
> ./lib/init/grass-run.src
> ./lib/vask/V_init.c
> ./scripts/r.mapcalculator/r.mapcalculator
> ./scripts/r3.mapcalculator/r3.mapcalculator
> 
> Currently 'xterm' is hardcoded in these files.
> 
> Markus
> 

______________________________
Michael Barton, Professor of Anthropology
School of Human Evolution and Social Change
Arizona State University
Tempe, AZ  85287-2402
USA

voice: 480-965-6262; fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton




More information about the grass-dev mailing list