News for hackers. Stuff that matters.
Re:Sharing your SSH commandline by teilo on Saturday May 02, 2009 @05:38PM (#590237)
I love screen. Still don't know half of what it can do.
Re:Sharing your SSH commandline by silentbicycle on Saturday May 02, 2009 @06:19PM (#590269)
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):

  # 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%?"
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.
Re:Sharing your SSH commandline by mahmud on Saturday May 02, 2009 @07:01PM (#590300)
Add top(1) to that list (with the rest of the procps, psmisc and lavaps packages.)

I have been indoctrinated in the "unix" way, and knew only the bare, portable posix minimum. The GNU extensions of those packages are utterly delightful. Think: color coded process listing, thread grouping and various other debugging goodies :-)