Re:Sharing your SSH commandline
by Xichekolas on Saturday May 02, 2009 @09:19PM
(#590397)
Good way to explore the screen manual:
screen man screen
Read enough to figure out how to list and switch between virtual terminals, and then you can play around and come back to the man page easily.
Re:Sharing your SSH commandline
by silentbicycle on Saturday May 02, 2009 @09:59PM
(#590428)
Oh - forgot M and _, which watch a buffer for output and 30 sec. (by default) of silence, respectively. They print a message and flag it with an @ in the status line (if any). M combines well with tail -f on log files.
Screen is the sort of program where it's really good to skim through its manual now and then. There's tons of stuff in there that most people don't know it can do.
The scroll/copy and paste functionality functionality (under M-[ and M-], where meta is C-a or ` or whatever) is really handy, you can change settings interactively via the : prompt, and you can also interact with the running screen session(s) via scripts.
Also, from my screenrc, a statusbar (looks like this http://shenani.gen.nz/~scott/screen-statusbar.png):