Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'why i love screen' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
why i love screen
Authored by: mkoz on Mar 16, '02 01:41:01PM

i love screen, when ever i install or start working on a new box i install screen first. i usually run with 3 to 5 screens at a time.

for example one of the machines i do web development on i usually have one screen running just pine (% screen -t pine 2 pine -i), then there is one for mysql (% screen -t mysql 3 mysql) there is one watching log files (% screen -t log 0 tail -f /var/log/messages), the 3 or more to edit files and move around the file system.

on my os x machine i usually have one terminal window running 5 screens for whatever, so i can be in the middle of something and switch screens and do something else, then go back to what ever i was doing all without cluttering my desktop with terminal windows.

if you want to watch more than one screen at a time just split the window (ctl-a S) and switch to the screens you want to look at, read the man page for the details.

another example, you can have a couple of c files open in vi each in their own screen, then you can compile in another screen, if an error occurs you can switch to a screen where your file is still open at the same place you left it, switch back to the screen where you were compiling because you forgot which line number the error was on, then switch back fix the error, switch back and try compiling again.

so, read the man page for screen, learn all you can. another great command for working on remote machines is '% screen -D -R' read about it. enjoy.

[ Reply to This | # ]