Live data from Hacker News

GNU Screen: an introduction and beginner's tutorial

kuro5hin.org

31–40 of 44 posts

Re: GNU Screen: an introduction and beginner's tutorial

#31

Earlier quoted context omitted.

my tmux is cvs. You can just comment out the options that fail, but I recommend getting a newer release. It builds really painlessly.

Yea, noticed the newest is 1.1... I'd prefer to find a debian package for it rather than building it though, I often need to rebuild machines and I always regret adding steps like this (I can just stick with screen since it's everywhere for free). I'll see what I can find... Thanks. Edit: 1.1 package: http://ftp.us.debian.org/debian/pool/main/t/tmux/tmux_1.1-1_... Some commands are still not working (pane-active-bord…

http://packages.debian.org/sid/tmux lists the deps and different arch's too.

Re: GNU Screen: an introduction and beginner's tutorial

#32
Does anyone use screen and vim to pair program? Me and my co-founder tried to by ssh'ing into a common box, doing 1) screen -S pairprog 2) ctrl+a :multiuser on 3) ctrl-a :acladd username. However the second person always gets an error with something regarding multiuser

Re: GNU Screen: an introduction and beginner's tutorial

#34
post #32

Does anyone use screen and vim to pair program? Me and my co-founder tried to by ssh'ing into a common box, doing 1) screen -S pairprog 2) ctrl+a :multiuser on 3) ctrl-a :acladd username. However the second person always gets an error with something regarding multiuser

I've done it a few times with just step 1. I'm not a screen expert, but for whatever reason we didn't need 2 and 3

Re: GNU Screen: an introduction and beginner's tutorial

#35
Screen has a hell of a learning curve.

If you're a beginner to screen, consider byobu. It's a user-friendly wrapper around screen with intelligent defaults and a discoverable menu-based configuration system. It's also very pretty :)

Screenshots: http://unixlab.blogspot.com/2009/11/enhancing-terminals-with...

Project: https://launchpad.net/byobu

Re: GNU Screen: an introduction and beginner's tutorial

#36
post #34
post #32

Does anyone use screen and vim to pair program? Me and my co-founder tried to by ssh'ing into a common box, doing 1) screen -S pairprog 2) ctrl+a :multiuser on 3) ctrl-a :acladd username. However the second person always gets an error with something regarding multiuser

I've done it a few times with just step 1. I'm not a screen expert, but for whatever reason we didn't need 2 and 3

I'll give it a shot thanks! edit; thanks it works!

Re: GNU Screen: an introduction and beginner's tutorial

#37
post #12

Stop using Screen. Switch to Tmux ( http://tmux.sourceforge.net/ ). Screen is voodoo. Tmux isn't. EDIT: Compare my tmux.conf ( http://pastebin.com/m2394d7a2 ) and my screenrc ( http://pastebin.com/d7bb649a5 ). It was much easier for me to set up tmux the way I wanted from reading the manpage, than it was to configure screen. My screenrc is a hotchpotch of cut-and-paste from lots of different sources, but I never real…

I wish someone would write an actual article on tmux and post it here, every time screen comes up I just here statements about the vague superiority of tmux.

It's easy... rather than the Ctrl+A key sequence that you use in screen, use Ctrl+B in tmux. And to reattach, rather than screen -r, tmux attach does the trick. That's 90% of the usability difference.

Re: GNU Screen: an introduction and beginner's tutorial

#38
post #37
post #12

Earlier quoted context omitted.

I wish someone would write an actual article on tmux and post it here, every time screen comes up I just here statements about the vague superiority of tmux.

It's easy... rather than the Ctrl+A key sequence that you use in screen, use Ctrl+B in tmux. And to reattach, rather than screen -r, tmux attach does the trick. That's 90% of the usability difference.

People usually point to the BSD license and better code-base as the main selling points. Then they point to vertical split (which you can patch screen to do).

Bottom line is, if you have a screen config you like - there's not much point in switching. If you're just getting into terminal multiplexers, it's worth a look.

Post reply on HN