<HTML>
<HEAD>
<TITLE>resolving more menu issues</TITLE>
</HEAD>
<BODY>
<FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'>I&#8217;ve come across a couple more menu issues that I&#8217;d like to propose solving in a general way that will work with multiple GUI&#8217;s<BR>
<BR>
1. Currently, there are scripts that are only used (or only easily used) by the GUI. These reside in $GISBASE/etc/gm/script. The reason for these scripts is to overcome some inherent limitations of the interface to several important GRASS commands. For example, one script (r.colors.rules) allows you to chose the file for which you want to manage colors interactively &nbsp;through the GUI, then launches r.colors so that it opens an interactive xterm for setting color rules. Another provides a functional GUI interface to v.type without needing an interactive xmon. Yet another allows you to use the GUI to specify a reclassification file to send to r.reclass. You get the idea.<BR>
<BR>
Having them buried in $GISBASE/etc/gm/script makes them more difficult for anything but the TclTk GUI to access these scripts. Some are primarily for the GUI, but others might be more broadly useful. <BR>
<BR>
I propose either moving these to a new directory $GISBASE/scripts/gui and adding this as a path in init.sh OR simply moving them to $GISBASE/scripts. Several are now obsolete (e.g., d.text.sh and v.in.asciipoints) and could be removed. I&#8217;d change the reference to them in the GUI (i.e., no longer necessary to specify a full path).<BR>
<BR>
Is this OK with everyone?<BR>
<BR>
2. Related to this, I&#8217;d like to make a couple more of the scripts obsolete if someone can help. <BR>
<BR>
r.reclass and r.recode can use input files for reclass/recode rules. But the only way to get the file into either command is via a redirect. (e.g., [path to file] &gt; r.reclass). Can a file= argument be added to both of these like it was recently added to r.colors? This would dispense with these scripts.<BR>
<BR>
Thanks<BR>
Michael<BR>
__________________________________________<BR>
Michael Barton, Professor of Anthropology<BR>
School of Human Evolution &amp; Social Change &nbsp;&nbsp;&nbsp;<BR>
Center for Social Dynamics &amp; Complexity<BR>
Arizona State University<BR>
<BR>
phone: 480-965-6213<BR>
fax: 480-965-7671<BR>
www: <a href="http://www.public.asu.edu/~cmbarton">http://www.public.asu.edu/~cmbarton</a> <BR>
<BR>
</SPAN></FONT>
</BODY>
</HTML>