2 ms·
http://www.delorie.com/gnu/docs/screen/screen_toc.html http://www.delorie.com/gnu/docs/screen/screen_toc.html Screen is the sort of program where it's really g
by silentbicycle 18y ago
http://www.delorie.com/gnu/docs/screen/screen_toc.html http://www.delorie.com/gnu/docs/screen/screen_toc.html
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 http://shenani.gen.nz/~scott/screen-statusbar.png):
# Set up my status line at the bottom of every frame
caption always "%{gb} %{ck}%m-%d %C %{gb} %{gb}%?%-Lw%?%{ck}%n*%f %t%?(%u)%?%{gb}%?%+Lw%?"
- Xichekolas 18y agoGood 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.
- silentbicycle 18y agoOh - 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.