[GRASS-dev] [GRASS GIS] #3966: Batch job examples: add GRASS_PAGER=cat to avoid getting stuck expecting a terminal

GRASS GIS trac at osgeo.org
Sun Nov 17 10:10:05 PST 2019


#3966: Batch job examples: add GRASS_PAGER=cat to avoid getting stuck expecting a
terminal
-------------------------+-------------------------
 Reporter:  jidanni      |      Owner:  grass-dev@…
     Type:  enhancement  |     Status:  new
 Priority:  trivial      |  Milestone:
Component:  Docs         |    Version:  unspecified
 Keywords:               |        CPU:  Unspecified
 Platform:  Unspecified  |
-------------------------+-------------------------
 On https://grass.osgeo.org/grass79/manuals/grass7.html be sure to add an
  GRASS_PAGER=cat grass --exec g.list type=all
 example, else some batch job will be ruined due to /usr/bin/pager's
 {{{
 WARNING: terminal is not fully functional
 -  (press RETURN)
 }}}

 As some commands, e.g., g.list, are thus booby-trapped, while others,
 e.g., v.info map=abc, will not trigger the "bug".

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/3966>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list