[GRASS-dev] Re: [GRASS GIS] #945: wxGUI: g.setproj fails on wingrass

GRASS GIS trac at osgeo.org
Fri Feb 26 15:35:38 EST 2010


#945: wxGUI: g.setproj fails on wingrass
---------------------------+------------------------------------------------
  Reporter:  hamish        |       Owner:  martinl            
      Type:  defect        |      Status:  assigned           
  Priority:  major         |   Milestone:  6.4.0              
 Component:  wxGUI         |     Version:  svn-releasebranch64
Resolution:                |    Keywords:  g.setproj, wingrass
  Platform:  MSWindows XP  |         Cpu:  x86-32             
---------------------------+------------------------------------------------
Comment (by hamish):

 tested, works in 6.4.0nightly wingrass wxGUI.

 one annoyance is that $GRASS_PAGER is set to be `less` instead of `more`.
 `more` seems to be a DOS built-in function, so msys startup/prompt can't
 detect/use it.

 The nice thing about `more` is that you don't need to know how to use it,
 you just smash the keyboard until it goes away. For `less` you do need to
 know to use the `q` key to get out (easy once you know, not if you don't).


 another is that OnXTerm should unset the GRASS_MESSAGE_FORMAT enviro var
 to avoid printing GRASS_INFO_WARNING(), GRASS_INFO_END() etc. to the
 terminal.
 {{{
 # unset
 del os.environ['GRASS_MESSAGE_FORMAT']
 ...
 # reset
 os.environ['GRASS_MESSAGE_FORMAT'] = 'gui'
 }}}

 ? (python doesn't like it)

 Hamish

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


More information about the grass-dev mailing list