[GRASS-dev] Re: [GRASS GIS] #127: WinGRASS Tcl/Tk GUI - Text formatting error in Output window

GRASS GIS trac at osgeo.org
Thu Apr 17 00:26:05 EDT 2008


#127: WinGRASS Tcl/Tk GUI - Text formatting error in Output window
-------------------------+--------------------------------------------------
  Reporter:  4everskiff  |       Owner:  grass-dev at lists.osgeo.org
      Type:  defect      |      Status:  new                      
  Priority:  minor       |   Milestone:  6.3.0                    
 Component:  Tcl         |     Version:  6.3.0 RCs                
Resolution:              |    Keywords:  Text output, winGRASS    
-------------------------+--------------------------------------------------
Comment (by hamish):

 before ripping lots of code apart and applying a sledge hammer solution in
 the vague hope it might solve the problem, I think it better to look at
 the Tcl code and try to track down exactly what the problem is. (first
 step is to identify where in the code this is; 2nd is why)

 Of course fgets() + G_getl() -> G_get2() needs to be done in many places.
 Also we need to determine if all grass text files (including WIND and
 raster cellhd files, etc) are specified as using UNIX newlines or native
 newlines for strict writing. (keep reading loose)

 Is there any reason to keep the current G_getl() beyond backwards
 compatibility? (ie any reason not to make it a wrapper for G_getl2())


 Hamish

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/127#comment:3>
GRASS GIS <http://grass.osgeo.org>
GRASS Geographic Information System (GRASS GIS) - http://grass.osgeo.org/


More information about the grass-dev mailing list