[GRASS-dev] Re: File based GRASS batch processing?

Maris Nartiss maris.gis at gmail.com
Tue Jan 30 05:01:16 EST 2007


Hi,
as Gentoo user, I'm also big screen fan ;)
More - inline.

2007/1/22, Dylan Beaudette <debeaudette at ucdavis.edu>:
> Hi Markus,
>
> It has been mentioned once already by Stephan, but I too would highly
> recommend screen. I use this routinely for large GRASS jobs on remote
> machines via ssh. The most important commands can be summarized in a couple
> sentences:
>
> ssh remote_machine
> screen
> grass63 location/mapset
> v.surf.rst in=bigfile
> <ctrl> + <a> (pause and let up on the previous keys) <d>
>
> (now you are back to the shell on the remote machine)
> exit
>
> to reconnect:
> ssh remote_machine
> screen -r
>
> if you have more than one screen session going, use the session number to
> reconnect.

I use one screen process with multiple windows. Inside screen process press:
<ctrl>+c - create new screen window
<ctrl>+n - switch to next screen window (if You have more than one
screen window - just keep pressing this key sequence till You get
right screen window)

This will allow during single ssh session to use GRASS, manage server
and use some console based IRC client to hang around in #grass :)

If You have been diconnected from remote machine while screen was
open, use "screen -d -r" to resume - it will detach previous screen
session and then resume it - You can continue work as nothing
happened.


Hope somebody will find this helpfull,
Maris.




More information about the grass-dev mailing list