Opened 11 months ago

Last modified 10 months ago

#3966 new enhancement

Batch job examples: add GRASS_PAGER=cat to avoid getting stuck expecting a terminal

Reported by: jidanni Owned by: grass-dev@…
Priority: trivial Milestone: 7.8.3
Component: Docs Version: unspecified
Keywords: exec batch grass.py Cc:
CPU: Unspecified Platform: Unspecified

Description

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".

Change History (5)

comment:1 Changed 11 months ago by jidanni

< else some batch job will be ruined 
> else some batch jobs will be ruined

comment:2 Changed 11 months ago by wenzeslaus

Any idea how to reproduce this with interactive job for testing purposes?

comment:3 Changed 11 months ago by wenzeslaus

Keywords: exec batch grass.py added

comment:4 Changed 11 months ago by jidanni

Gee I only use GRASS from makefiles... not the GUI, so do not know.

comment:5 Changed 10 months ago by neteler

Milestone: 7.8.3
Note: See TracTickets for help on using tickets.