Live data from Hacker News

Tmux 2.0 released

sourceforge.net

131–140 of 221 posts

Re: Tmux 2.0 released

#131
post #39

Earlier quoted context omitted.

Well, no need to really look forward... You already have every one of those capabilities with Emacs. >you could put together anything from a simple test/editing environment to a full-blown IDE. People already do this with Emacs.

You're not doing a good sell for Emacs. People choose vi because of modal editing, not because they are ignorant of the Emacs feature set. You should at least say, "If you like vim for its modal editing features, but would also like support for session detachment along with a host of other stuff, you might find Spacemacs, or emacs with evil mode setup, a good alternative. There's a little bit of a learning curve, but…

> People choose vi because of modal editing, not because they are ignorant of the Emacs feature set.

Exactly this. I had used Emacs for many, many years and finally decided to give Vim a go... and never looked back. Emacs is very powerful, and while the Elisp infrastructure has distinct advantages over Vimscript, the compositional richness of Vim's editing model is amazing. I don't have to drop to scripting because Vim gives me the power I need more quickly and easily.

Re: Tmux 2.0 released

#132
post #112

Does tmux still have no flow control? Just compare how tmux locks up when you `tar xfv linux-4.0.tar.xz` and screen doesn't. None of the knobs to control output throttling helped. How do you get around this problem?

I run `stty -ixon -ixoff` once and that fixes the issue for me.

Re: Tmux 2.0 released

#133
post #79

Earlier quoted context omitted.

>Because it's how 99% of websites get their funding, allowing them to survive. So then, I'll unblock ads to help companies survive just as soon as those companies start giving me money to help me survive.

If you don't value what the website is giving you, why are you visiting it?

If sourceforge went under, do you think I'd be unable to get the source to tmux?

Since obviously I'd still be able to get tmux, what value is sourceforge actually providing me? They might be providing tmux developers some value, but they aren't providing any value to me.

Re: Tmux 2.0 released

#134
post #105

Earlier quoted context omitted.

It's maintainable, modern code, which screen is not. Screen is not dead yet, but it eventually will be.

He didn't ask which one is nicer to hack on.

No, they asked "Why should I use tmux over screen?", which the answer was relevant to.

Re: Tmux 2.0 released

#135
post #6

It makes me sad to see a respectable piece of open source software hosted on this site with its intrusive advertising practices such as ads with fake "install" buttons on the download page. What is the advantage of using Sourceforge these days when github and bitbucket are free for open source?

Even before github was around, sourceforge was a PITA. I remember clicking through the web UI for more than half an hour before finding the place where you could configure the project website/homepage.

Also, trying to delete an abandoned project, which had a mailing list, but it wouldn't let me delete the mailing list, because there was still an admin in there (me!), and I couldn't leave the mailing list, because then it would have been without admin. D'uh. And you couldn't delete a project with an active mailing list...

Then a few years later, after I didn't use SF much anymore, I tried to comment on the bug in the bug tracker, and didn't find any option to do that, even as a logged-in user.

I used google code as soon as it became available, because it worked, and had a much cleaner admin interface. Not to mention user interface.

Re: Tmux 2.0 released

#136

Earlier quoted context omitted.

Here's mine: https://github.com/olalonde/dotfiles/blob/master/tmux.conf One tweak I can't live without is having the same key bindings to seamlessly switch between tmux panes and Vim split windows. ( https://gist.github.com/mislav/5189704 ) TPM is also really useful for managing tmux plugins https://github.com/tmux-plugins/tpm . My prefix key is Ctrl-Space. It's very convenient to press on the keyboard, I'm surprised…

> One tweak I can't live without is having the same key bindings to seamlessly switch between tmux panes and Vim split windows. YES, THIS! Setting up directional pane navigation to work with both tmux and vim panes as first-class entities was a huge workflow boon for me as well. It was a significant change that helped kick my setup over into vim+tmux+zsh as IDE vs. merely a collection of separate parts. It's worth no…

> It was a significant change that helped kick my setup over into vim+tmux+zsh as IDE vs. merely a collection of separate parts.

Same thing here :) I also set `tmux attach -t base || tmux new -s base` as my start command in iTerm which kind of forces me to use tmux windows/panes/sessions instead of iTerm tabs. It took a while to lose the habit of hitting `cmd-t` but was definitely worth it.

The thing that sucks now is that I'm really not sure which parts of my environment can be optimised further other than learning new Vim commands :)

Re: Tmux 2.0 released

#137
post #19

For those who are just getting started with tmux: I advise looking around others' .tmux.conf files for some sensible settings. Like Vim, Tmux ships with a lot of powerful features disabled by default. My absolute favorite has to be binding a hotkey to opening URLs in the current window [0]. See [1] for a small demo I just recorded. To get started, here's my current config: [1] [0]: https://github.com/jbnicolai/tmux/b…

You use ctl+s as your bind?

Using ` as my bind (no modifier) has been the best thing that's ever happened to my productivity in tmux.

Re: Tmux 2.0 released

#138

Why should I use tmux over screen? Why do I use screen over tmux?: - its old. A stable version is on every distro. Trying to start a screen session is more likely to succeed on any given box than a tmux session. I see my friends wrestle with their tmux setup being more recent on one box than another and their nested sessions get screwed up. I never have any issue. - I know it, and for my simple use it does everything…

I use both, and enjoy that they have different control keys by default, so I can nest them painlessly without need for any configuration.

Also, tmux works out-of-the-box for accounts that you su'ed into, something I never managed with screen.

Re: Tmux 2.0 released

#139

The main thing that I wish I could have in tmux is the ability to disable other sessions attached to the current terminal without outright detaching them. I intend to go back to that other machine at some point, I just don't want its tiny screen making my current session tiny for no reason. Maybe this is actually possible already and I just haven't found it?

Would doing D (note the casing) help? It will list all the currently attached sessions and allow you to remotely disconnect them. I use it when I forget to detach at home and I'm at work or vice versa.

That's exactly what I do. First of all, it's annoying that I have to go and choose each one to detach it. Second, I usually invoke tmux directly with mosh or ssh -t, so detaching also disconnects them, which I don't really want.

I basically want an untouched session to go into a screensaver mode where it no longer controls the terminal size.

It's certainly not the end of the world to detach them, but I'd rather not. And detaching before I leave a session is just busywork.

Re: Tmux 2.0 released

#140
post #87

Earlier quoted context omitted.

> What is the advantage of using Sourceforge these days when github and bitbucket are free for open source? I imagine the author figures that moving is a pain. Don't forget, Sourceforge was the Github of yesteryear. I imagine in 10 years we may very well be asking the same of some old project hosted on Github.

Sourceforge's downfall was not finding a better business model than advertising – which has devolved into the worst kind of spammy ads. GitHub, on the other hand, has a solid business model that doesn't involve advertising. In fact, putting ads on the site would be suicide.

Sourceforge tried to find a better business model -- sourceforge enterprise edition -- but then spun it off and then sold it to a different company (CollabNet) in 2007...then over the next 3-5 years, laid off almost everyone behind sourceforge.net/OSDN. The only thing left of the company now is thinkgeek.
Post reply on HN