Since I use the *nix command screen all day, and I couldn't find anyone starting this question, I figured it should be started. You know the drill: community wiki, one answer per features so we all can vote.
|
12
|
|
||||||||||
|
|
|
I love using it for connecting to serial consoles, i.e.
|
||||||||
|
|
|
The best feature of It's a configuration manager with very nice defaults, tons of status notifications and useful keyboard shortcuts (i.e. f2 for new screen, f3-f4 for prev/next etc.) I really don't go anywhere without it anymore :) |
|||
|
|
|
Not exactly a "hidden feature"; but a properly setup .screenrc file can make a world of difference. One of the better examples out there can be found by googling screenrc and 'brad sims' - he has an excellent file to tinker with. that said, my favourite setting would be bindkey:
|
|||
|
|
|
I can't remember who I stole this from (someone on dotfile.org). I've modified it slightly for ssh:
Then I set the following bash aliases:
It opens a new screen for the above aliases and iff using ssh, it renames the screen title with the ssh hostname. Cheers z0mbix |
|||
|
|
|
|
From KTamas's amswer: More than one people can use the same screen, i.e. if a friend of yours |
|||
|
|
|
|
One nice feature: you can use
The key is the %1` bit, which refers to the output of backtick job 1. (I use |
|||
|
|
|
|
A little cheat sheet I have printed out for myself; (Note: Everything is preceeded by Ctrl-A) A: rename a window ": show a list of windows d: detatch session And None of these are really hidden features, but these are the features I find to be the most useful. |
|||
|
|
|
|
It's a core feature, but of course the best is Ctrl-A: to talk directly to screen. |
|||
|
|
|
|
One thing I find useful is that screen can emulate a larger width than your terminal. I find this useful if I'm using Ctrl-A: I can set |
|||