Dear GRASS’ers
Let me introduce (a bit hacky) shell script (https://raw.github.com/amuriy/GRASS-scripts/master/d.zoom.keys) for navigating in classic X-monitors with the typical keys (arrows and “-” / “+”). It works in two modes: from terminal or directly from X-monitor (requires and utilities).
Note: tested only with GRASS 6.4.2svn and only in Linux (Ubuntu 10.04).
d.zoom.keys -help
Description:
Allows to change the current geographic region settings interactively, with a keyboard. Use arrow keys to navigate, “-” to make futher, “+” (without “Shift”) to make closer.Keywords:
display, zoomUsage:
d.zoom.keys [-txr] [mon=name] [magn=number] [–verbose] [–quiet]Flags:
-t Use navigation from terminal
-x Use navigation in X-monitor (requires and )
-r Decrease region resolution during navigation
–v Verbose module output
–q Quiet module outputParameters:
mon Name of graphics monitor to select (default is currently selected monitor).
magn Magnification: default is “1” (1/10 of current region). “magn” > 1 gives positive magnification, “magn” < 1 gives negative one.