[GRASS5] cygwin/windows port

Andreas Lange Andreas.Lange at Rhein-Main.de
Tue Dec 5 01:11:32 EST 2000


Hi John, Hi Mike,

I fear we are talking at cross purposes here. I hope i can clarify this
a little bit. 

I started merging the IPC message queue code into the XDRIVER and
CELL/HTMLMAP code, so that it is possible to change between the FIFO and
IPC setup by compiler switch (not ready yet). The IPC message queues
basically work (at least on Linux/IRIX), so that i think this is an
option on MS windows.
It was my understanding that Markus Neteler asked Huidae Cho mainly for
the windows port to integrate the code for the IPC message queues into
the XDRIVER. 

If there will be a FIFO setup on Windows (if you have details, please
tell me the URL), this will not work with Win95/Win98 (I don't know
about ME). 

Is there already a tcl/tk wish on cygwin, that runs from within the
cygwin tools and uses X11 for windowing? This would be required to use
tcltkgrass on Windows in the X11 setup. But the tcltkgrass code needs to
be changed, because there are still some things missing in the cygwin
tools (e. g. i encountered an error with missing /dev/null, i fear that
the ps/kill is not fully compatible etc.). 

The other option would be to write a windows specific DRIVER and modify
tcltkgrass to work with the cygwish shell (windowing with MS win).
Writing this driver would need:
- color table management,
- adapting the mouse support,
- some sort of event processing with MS win,
- start up / shutting down specific code, reading/writing from IPC
message queues,
- adapting the drawing primitives from src/display/devices/GENERIC resp.
src/display/devices/XDRIVER/XDRIVER24 .

I can't say how much work this would be. It should be possible use the
bits and pieces already there to hack something. I already wrote a new
driver with the g2 library (from sourceforge), but this has no mouse
support (no support in the library).

Mike, if you have the time, please look at src/display/devices/GENERIC
and HTMLMAP for a start. There are some instructions in the GENERIC code
for building a new driver, the windowing specific (mouse support, color
table management etc.) could be stripped out of the XDRIVER
code/library. 

Please contact me if you have questions or if i should send you the g2
driver code.

cu,

Andreas


John Huddleston wrote:
> 
> Mike and Andreas, (Grass list)
> 
> I've done the tcl/tk builds for Cygwin before so let me know what
> I can upload to Markus' server.
> 
> No fifo yet; however, others in Cygwin are working on it.  I was in
> touch with Corinna over this topic.  She left it in my lap and I am
> finishing up my research for school so I have not had the time to
> complete that code.  Do you want me to dig up the references
> she sent me?
> 

-- 
Andreas Lange, 65187 Wiesbaden, Germany, Tel. +49 611 807850
Andreas.Lange at Rhein-Main.de - A.C.Lange at GMX.net


---------------------------------------- 
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo at geog.uni-hannover.de with
subject 'unsubscribe grass5'



More information about the grass-dev mailing list