[GRASS-dev] Re: [bug #5218] (grass) wingrass: creating new location from startup screen with projection values fails

Hamish hamish_nospam at yahoo.com
Wed Oct 25 02:15:20 EDT 2006


Glynn Clements wrote:
> Unfortunately, GRASS has a lot of this sort of stuff - using system()
> to run commands rather than using functions; probably because the
> author knew about the command but didn't know about the function. I've
> even seen system("rm ...") used to delete files.
> 
> Finding (and fixing) all of the Unix-specific system() calls will be a
> large part of getting a native Windows version of GRASS to work.


Does MinGW provide "clear" for "cls"? I seem to remember someone
recently complaining about that,

grass63$ grep -rI clear * | grep system | cut -f1 -d: | uniq
lib/gis/clear_scrn.c
lib/vask/V_clear.c
lib/vask/V_init.c
raster/r.le/r.le.setup/mv_wind.c
raster/r.le/r.le.setup/ask_group.c
raster/r.le/r.le.setup/sample.c
raster/r.le/r.le.setup/setup.c
raster/r.le/r.le.trace/main.c
raster/r.coin/inter.c
vector/v.transform/creat_trans.c


Hamish




More information about the grass-dev mailing list