[GRASS5] form mode for d.what.vect

Florian Goessmann florian at wallweg39.de
Thu Dec 23 13:50:39 EST 2004


michael, moritz

i did some more tests and i seems to me that moritz change works 
depending on your local tcltk instalation.
moritz: which way did you install tcltk on your machine (tcltk aqua, 
tcltk non-aqua, lorenzos grasslibs)?

regards
florian

PS: merry christmas!

On 23 Dec 2004, at 17:30, Michael Barton wrote:

> 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