<HTML>
<HEAD>
<TITLE>FW: [GRASS5] form mode for d.what.vect</TITLE>
</HEAD>
<BODY>
<FONT FACE="Skia, Verdana, Helvetica, Arial"><SPAN DEFANGED_STYLE='font-size:12.0px'>Moritz Lennart seemed to have found a way to make the form mode work correctly for Mac’s (see below). Has anyone had a chance to test this? Is this something that works across all platforms or is it problematic? <BR>
<BR>
Michael<BR>
____________________<BR>
C. Michael Barton, Professor of Anthropology<BR>
School of Human Evolution and Social Change<BR>
PO Box 872402<BR>
Arizona State University<BR>
Tempe, AZ 85287-2402<BR>
USA<BR>
<BR>
Phone: 480-965-6262<BR>
Fax: 480-965-7671<BR>
www: <www.public.asu.edu/~cmbarton><BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Skia, Verdana, Helvetica, Arial"><SPAN DEFANGED_STYLE='font-size:12.0px'>------ Forwarded Message<BR>
<B>From: </B>Michael Barton <Michael.Barton@asu.edu><BR>
<B>Date: </B>Tue, 23 Nov 2004 10:40:53 -0700<BR>
<B>To: </B><mlennert@club.worldonline.be><BR>
<B>Cc: </B><blazek@itc.it><BR>
<B>Subject: </B>Re: [GRASS5] d.m - d.what.vect<BR>
<BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Skia, Verdana, Helvetica, Arial"><SPAN DEFANGED_STYLE='font-size:12.0px'><BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Skia, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'>Will this work for everyone? If so, can we make it the standard?<BR>
<BR>
Michael<BR>
<BR>
<BR>
On 11/23/04 10:05 AM, "Moritz Lennert" <mlennert@club.worldonline.be> wrote:<BR>
<BR>
> On Tue, November 23, 2004 17:41, Michael Barton said:<BR>
>> Thanks Moritz.<BR>
>><BR>
>> I really wish someone would find a way to fix this. I'd like to use the form<BR>
>> mode on my Mac. I promise to change the toolbar to form mode as soon as it<BR>
>> gets fixed.<BR>
><BR>
> As you can see in the thread, I fixed it for me by adding<BR>
><BR>
> sleep(1);<BR>
><BR>
> to the main() function of the main.c file of d.what.vect:<BR>
><BR>
> [...]<BR>
><BR>
> int main(int argc, char **argv)<BR>
> {<BR>
> struct Flag *once, *terse, *txt, *topo_flag, *flash, *edit_flag;<BR>
> struct Option *opt1;<BR>
> struct GModule *module;<BR>
> char *mapset, *openvect();<BR>
> char temp[128], *str;<BR>
> int i, j, level, width = 0, mwidth = 0;<BR>
><BR>
> sleep(1);<BR>
><BR>
> /* Initialize the GIS calls */<BR>
> G_gisinit (argv[0]) ;<BR>
><BR>
> [...]<BR>
><BR>
> This is just a hack, but it works for me !<BR>
><BR>
> Moritz<BR>
><BR>
>><BR>
>> Michael<BR>
>><BR>
>><BR>
>> On 11/23/04 9:21 AM, "Moritz Lennert" <mlennert@club.worldonline.be> wrote:<BR>
>><BR>
>>> On Tue, November 23, 2004 15:47, Radim Blazek said:<BR>
>>>> Why d.what.vect is run with -x flag in d.m?<BR>
>>>><BR>
>>>> <a href="http://freegis.org/cgi-bin/viewcvs.cgi/grass51/display/d.m/vector.tcl.diff?">http://freegis.org/cgi-bin/viewcvs.cgi/grass51/display/d.m/vector.tcl.diff?</a><BR>
>>>> r1<BR>
>>>> =1.27&r2=1.28<BR>
>>>><BR>
>>><BR>
>>> Because some of us have problems with d.what.vect and the form library<BR>
>>> making<BR>
>>> it unusable in GUI mode (unless you add a sleep(1) in main.c:<BR>
>>><BR>
>>> <a href="http://grass.itc.it/pipermail/grass5/2004-September/015393.html">http://grass.itc.it/pipermail/grass5/2004-September/015393.html</a><BR>
>>> and<BR>
>>> <a href="http://grass.itc.it/pipermail/grass5/2004-October/015746.html">http://grass.itc.it/pipermail/grass5/2004-October/015746.html</a><BR>
>>><BR>
>>> Moritz<BR>
>>><BR>
>><BR>
>> ______________________________<BR>
>> Michael Barton, Professor of Anthropology<BR>
>> School of Human, Evolution and Social Change<BR>
>> Arizona State University<BR>
>> Tempe, AZ 85287-2402<BR>
>> USA<BR>
>><BR>
>> voice: 480-965-6262; fax: 480-965-7671<BR>
>> www: <a href="http://www.public.asu.edu/~cmbarton">http://www.public.asu.edu/~cmbarton</a><BR>
>><BR>
>><BR>
><BR>
><BR>
<BR>
______________________________<BR>
Michael Barton, Professor of Anthropology<BR>
School of Human, Evolution and Social Change<BR>
Arizona State University<BR>
Tempe, AZ 85287-2402<BR>
USA<BR>
<BR>
voice: 480-965-6262; fax: 480-965-7671<BR>
www: <a href="http://www.public.asu.edu/~cmbarton">http://www.public.asu.edu/~cmbarton</a><BR>
<BR>
<BR>
<BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Skia, Verdana, Helvetica, Arial"><SPAN DEFANGED_STYLE='font-size:12.0px'><BR>
<BR>
------ End of Forwarded Message<BR>
</SPAN></FONT>
</BODY>
</HTML>