It’s been especially good this past week when I was build engineer for Blogger. I could be assured that even if I closed my laptop, or lost connectivity, or was forced to restart by a system update, a build or push would continue and I could re-connect with the associated shell whenever I wanted to.
Get started: GNU Screen by Jonathan McPherson
More tips: MacOSXHints article
My advice:
- Automatically start
screen
in yourbashrc
. Otherwise, the term you want to connect to will always be the one you forgot to startscreen
in. - Give your
screen
sessions names. I have a key shortcut in my window manager that pops up a box for me to type a name in, and it will open a terminal with thatscreen
session in it (creating it if necessary). It’s much easier to connect to “CodeReview” than “16092.pts-4.lukey.” - Likewise, I have a script on my laptop that takes a session name on the command line and
ssh
s and brings up thatscreen
instance in one step.