prog: (doggie)
prog ([personal profile] prog) wrote2007-01-26 12:30 pm
Entry tags:

screen

My new best friend is screen -D -R. Why did it take me six years of laptop use to discover it?

[identity profile] taskboy3000.livejournal.com 2007-01-26 06:02 pm (UTC)(link)
I like tabbed consoles, like iTerm. Screen has always bugged me, but I'm in the minority here, I think. With emacs, I get the split screen of shell buffer/code buffer and that's often what I need.

However, I know several folks that swear by screen.

[identity profile] prog.livejournal.com 2007-01-26 06:51 pm (UTC)(link)
I don't use it for console switching; I use it for console permanence. This is why I mentioned laptops. The first thing I always do when I ssh into my ITA desktop machine from any location, now, is run that command... poof, there is my emacs session as I last left it, letting me pick up exactly where I left off. That session is several weeks old now!

[identity profile] taskboy3000.livejournal.com 2007-01-26 07:08 pm (UTC)(link)
Oh. I solved that state problem with vnc. However, I may try that crazy screen one more time.

I love screen and can't live without it...

[identity profile] daerr.livejournal.com 2007-01-26 07:32 pm (UTC)(link)
I actually went so far as to write a pair of shell scripts to let me use named screen sessions to make having multiple instances of screen on one system less painful. I use it for both permanence and console switching... with an appropriate screenrc you can even have the little list of sessions at the bottom or top of the window just like with tabs. I'd just add that '-e^@@' is necessary for me to use screen— ctrl-a as the command key is the worst thing ever. (^@ is ctrl-space.)

[identity profile] dougo.livejournal.com 2007-01-27 01:16 am (UTC)(link)
I used to use screen all the time, but I haven't used it since I started using VNC. But come to think of it, screen might be better for low-bandwidth situations when VNC is kind of a pain (like at times during the hunt, although I did manage to do some Scheme programming in my home XEmacs via VNC to help out with the Da Vinci code puzzle).

Screen is *required*

[identity profile] poetgeek.livejournal.com 2007-01-28 03:34 am (UTC)(link)
I use screen daily. daerr got me hooked...

Re: I love screen and can't live without it...

[identity profile] keimel.livejournal.com 2007-01-29 04:02 am (UTC)(link)
Daerr got me hooked on the wonderful brilliance of screen for permanance as well, answering some basic (i.e. stupid, RTFM!) questions, including -rd. I don't quite automate as much as Daerr - okay, I don't automate, but I am _always_ using screen.

I am surprised you (prog) hadn't been infected with screen -rd previously.

[identity profile] mwerble.livejournal.com 2007-01-29 10:19 pm (UTC)(link)
screen -e^Rr
has been my friend since college. I have no idea how anyone deals with working remotely otherwise.

[identity profile] jtroutman.livejournal.com 2007-02-02 05:19 pm (UTC)(link)
Thanks for the tip. I am starting to use it now. I knew [livejournal.com profile] daerr used it and loved it.

I had tried screen years ago (early 90s), back when I used actual dumb terminals connected to unix systems on a regular basis. I found it dififcult and incomprensible for some reason, so I stopped using it.

[identity profile] prog.livejournal.com 2007-02-02 05:24 pm (UTC)(link)
It is pretty incomprehensible. I just use the one command ever, and make the config change to .screenrc that Andy suggests.