[GRASS5] form mode for d.what.vect

Michael Barton michael.barton at asu.edu
Thu Dec 23 11:30:23 EST 2004


Florian,

Thanks for checking. Perhaps it's on the right track, but isn't quite the
solution.

Michael


On 12/23/04 1:09 AM, "Florian Goessmann" <florian at wallweg39.de> wrote:

> it didn't work for me. same error as before.
> 
> florian
> 
> On 23 Dec 2004, at 04:12, Michael Barton wrote:
> 
>> 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?
>> 
>>  Michael
>>  ____________________
>>  C. Michael Barton, Professor of Anthropology
>>  School of Human Evolution and Social Change
>>  PO Box 872402
>>  Arizona State University
>>  Tempe, AZ  85287-2402
>>  USA
>> 
>>  Phone: 480-965-6262
>>  Fax: 480-965-7671
>>  www: <www.public.asu.edu/~cmbarton>
>> 
>> 
>> ------ Forwarded Message
>> From: Michael Barton <Michael.Barton at asu.edu>
>> Date: Tue, 23 Nov 2004 10:40:53 -0700
>> To: <mlennert at club.worldonline.be>
>> Cc: <blazek at itc.it>
>> Subject: Re: [GRASS5] d.m - d.what.vect
>> 
>> 
>> 
>> 
>> Will this work for everyone? If so, can we make it the standard?
>> 
>>  Michael
>> 
>> 
>>  On 11/23/04 10:05 AM, "Moritz Lennert" <mlennert at club.worldonline.be>
>> wrote:
>> 
>>> On Tue, November 23, 2004 17:41, Michael Barton said:
>>>> Thanks Moritz.
>>>> 
>>>> I really wish someone would find a way to fix this. I'd like to
>> use the form
>>>> mode on my Mac. I promise to change the toolbar to form mode as
>> soon as it
>>>> gets fixed.
>>> 
>>> As you can see in the thread, I fixed it for me by adding
>>> 
>>> sleep(1);
>>> 
>>> to the main() function of the main.c file of d.what.vect:
>>> 
>>> [...]
>>> 
>>> int main(int argc, char **argv)
>>> {
>>>   struct Flag *once, *terse, *txt, *topo_flag, *flash, *edit_flag;
>>>   struct Option *opt1;
>>>   struct GModule *module;
>>>   char *mapset, *openvect();
>>>   char temp[128], *str;
>>>   int i, j, level, width = 0, mwidth = 0;
>>> 
>>>   sleep(1);
>>> 
>>>   /* Initialize the GIS calls */
>>>   G_gisinit (argv[0]) ;
>>> 
>>> [...]
>>> 
>>> This is just a hack, but it works for me !
>>> 
>>> Moritz
>>> 
>>>> 
>>>> Michael
>>>> 
>>>> 
>>>> On 11/23/04 9:21 AM, "Moritz Lennert"
>> <mlennert at club.worldonline.be> wrote:
>>>> 
>>>>> On Tue, November 23, 2004 15:47, Radim Blazek said:
>>>>>> Why d.what.vect is run with -x flag in d.m?
>>>>>> 
>>>>>>  
>> http://freegis.org/cgi-bin/viewcvs.cgi/grass51/display/d.m/
>> vector.tcl.diff?
>>>>>> r1
>>>>>> =1.27&r2=1.28
>>>>>> 
>>>>> 
>>>>> Because some of us have problems with d.what.vect and the form
>> library
>>>>> making
>>>>> it unusable in GUI mode (unless you add a sleep(1) in main.c:
>>>>> 
>>>>> http://grass.itc.it/pipermail/grass5/2004-September/015393.html
>>>>> and
>>>>> http://grass.itc.it/pipermail/grass5/2004-October/015746.html
>>>>> 
>>>>> Moritz
>>>>> 
>>>> 
>>>> ______________________________
>>>> 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
>>>> 
>>>> 
>>> 
>>> 
>> 
>>  ______________________________
>>  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
>> 
>> 
>> 
>> 
>> 
>> 
>>  ------ End of Forwarded Message
>>  
>>  

____________________
C. Michael Barton, Professor of Anthropology
School of Human Evolution and Social Change
PO Box 872402
Arizona State University
Tempe, AZ  85287-2402
USA

Phone: 480-965-6262
Fax: 480-965-7671
www: <www.public.asu.edu/~cmbarton>




More information about the grass-dev mailing list