I hear a lot say GNU Screen is better than Terminal's tabs.
But I cannot find a real use case. I can understand that ability
to copy and paste is useful.
But in terms of session attaching/detaching, all the sessions
are gone if I restart my Mac.
I'm using Terminal with several tabs open (e.g., tail -f development.log,
I can use Command-Shift-] to move between tabs, but in
GNU Screen, I need to type Control-A n. To me, the latter
is more memorable and Mac-like.
I mostly develop locally and push the app to the server.
I never felt the need to sharing the session in GNU Screen.
I think I'm wrong in somewhere because a lot of people prefer
Can anybody explain the usefulness and what's wrong in my view?
I don't think you're doing anything wrong... screen loses a lot of it's usefulness when used locally. That said, I still use it on my mac for a couple of reasons:
- When I started Terminal didn't support tabs. I hate having a ton of windows open.
- I use iTerm and even then don't like having a bunch of tabs open
What I find useful about running it all locally via screen is that I can start up a project with "railsscreen foo" and work on it. Then detach it, and start up "railscreen bar" and work on that for awhile. Then detach and reattach to foo and work on that. I hardly ever shut off my mac so keeping this up and open is convenient. Also I sometimes get a little happy with the CMD-Q combo and find I've quit iTerm. But it doesn't matter as screen lives on.
If you do end up using screen, on a mac, with vim, and iTerm you might find this useful for getting 256 color support.