[GRASS-dev] Re: [GRASS GIS] #339: d.mon doesn't work (WinGrass commandline)

GRASS GIS trac at osgeo.org
Sun Oct 19 23:49:49 EDT 2008


#339: d.mon doesn't work (WinGrass commandline)
---------------------------+------------------------------------------------
  Reporter:  schulzea      |       Owner:  grass-dev at lists.osgeo.org
      Type:  defect        |      Status:  closed                   
  Priority:  major         |   Milestone:  6.4.0                    
 Component:  default       |     Version:  6.3.0 RCs                
Resolution:  fixed         |    Keywords:                           
  Platform:  MSWindows XP  |         Cpu:  Unspecified              
---------------------------+------------------------------------------------
Comment (by hamish):

 Replying to [comment:5 glynn]:
 > Replying to [comment:1 hamish]:
 > > X monitors do not exist in native MS windows. You must use the GUI or
 install the cygwin version.
 > >
 > > Perhaps an #ifdef could be added to d.mon so the module reports
 something to this effect rather than leave the user confused.
 >
 > It might be better to just omit d.mon on Windows. The program itself
 compiles fine, but as none of the drivers exist, there isn't much point in
 d.mon existing.


 d.mon is used in a number of scripts (+user; +addon; but most importantly
 in my eyes d.out.file), and it would be much kinder to users to have a
 G_fatal_error("This module does not work in WinGRASS") or such [+exit(1)],
 rather than some cryptic msys message that some command was not found half
 way through the script that calls it. Followed by the inevitable FAQ post
 to the mailing list asking where to find it.
 (I am thinking of WinGRASS 6.4.0 here)


 Hamish

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/339#comment:6>
GRASS GIS <http://grass.osgeo.org>


More information about the grass-dev mailing list