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.
|
| |||||||||||
feedback
|
|
I love using it for connecting to serial consoles, i.e.
| |||||||||||||||
feedback
|
|
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 :) | ||||
feedback
|
|
From KTamas's amswer: More than one person can use the same screen, i.e. if a friend of yours | ||||
feedback
|
|
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:
| |||||||
feedback
|
|
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 | |||||
feedback
|
|
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 | |||||||
feedback
|
|
The ability to change the control key with -ethat when starting screen. I use it so I can nest screen sessions inside each other. Example: "screen -e ^w^x" makes the control key ctr-w. | ||||
|
feedback
|
|
One nice feature: you can use
The key is the %1` bit, which refers to the output of backtick job 1. (I use | ||||
|
feedback
|
|
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. | ||||
|
feedback
|
|
It's a core feature, but of course the best is Ctrl-A: to talk directly to screen. | ||||
|
feedback
|
|
Not a "hidden" feature, but the ability to share a screen session with another active user is very useful. There are complicated ways to set up screen sharing, including access control permissions and user name management. What I most often do with coworkers is much more quick & dirty:
This doesn't require any advance configuration or password sharing. | ||||
|
feedback
|