4 ms·
tmux can handle the tabs.
by hellcow 3y ago
tmux can handle the tabs.
- klodolph 3y agoNo, it really can’t. Some people are happy with TMux but it introduces some compatibility problems (TMux itself contains a terminal emulator, and not everything works correctly in TMux), and half the point of tabs is being able to organize them how you please—if you want move a tab to a new window, you can do that.
- csdvrx 3y agoTry tabbed.
- readme 3y agoif you really want a GUI tab, I suppose you're right i'll take the TUI tab with the added bonus of not losing my work when the window is closed any day.
- klodolph 3y agoI have my terminal set up so the window won’t close without prompting. I also like being able to copy-paste things out of terminals, and Tmux makes it a bit difficult. I know how to use the scrollback in Tmux but it’s just so much easier to use the scrollback in a GUI terminal editor.
- deleted 3y ago[deleted]
- hnlmorg 3y agoI think what you’re describing is more habitual than the strengths and weaknesses of different solutions. Which is fine but the discussion needs to be framed that way.
- hnlmorg 3y agoPeople disagreeing with me but that fact that we’ve had a dozen people propose a dozen different ways to do the same thing, that alone should be evidence enough that what we are arguing over is personal preference rather than “x can’t do y”. Having been a Linux (and unix before that) user for decades now, I’ve seen people argue over vi vs emacs, KDE vs GNOME, GTK vs Qt, GPL vs BSD and so on and so forth. They make all sorts of well reasoned arguments but it almost always just boils down to personal preference at the end of the day. Yet it’s amazing how many people think that their preferences are unequivocal facts.
- fiddlerwoaroof 3y agoTmux has the ability to move a tab to a new tmux session. Also, on X, there’s things like https://tools.suckless.org/tabbed/ https://tools.suckless.org/tabbed/ which can produce tabbed layouts of arbitrary applications.
- klodolph 3y agoI am not happy with the user experience I get when running multiple tmux sessions. My personal limit is one tmux session per host. Tabbed looks cool, but I don’t see any online documentation.
- bee_rider 3y agoInteresting! I usually have tmux in every terminal. I like that it keeps the session around even if I do something dumb like accidentally close my terminal. It is cool that the ecosystem is flexible enough to fit our basically opposite preferences.
- klodolph 3y agoMy terminal will stop me from closing the terminal if there’s a program running. I’ve also encountered a few problems with tmux from time to time—certain shortcuts stop working in weird, hard-to-diagnose ways, if a program is being run through tmux, or through some combination of ssh + tmux.
- mtlmtlmtlmtl 3y agoDepending on what terminal you use, this is likely to be related to the remote host missing the right termcap files and therefore there's no way for tmux to know how to do certain things. One of the nice things about xterm is this basically never happens.
- bee_rider 3y agoOne of my systems has that confirmation dialogue enabled, it is pretty annoying IMO, I don’t want to have to reach for my mouse just to close a terminal. (I’ll disable it at some point, it is a system that I mostly just remote in to anyway, so it isn’t a daily annoyance). There’s a shortcut in Vim that my tmux config gets in the way of. Ctrl-a, increment a number. This is a weird shortcut to me, though, actually I’m happy tmux over-writes it!
- msla 3y ago> TMux itself contains a terminal emulator, and not everything works correctly in TMux Which is why we invented terminfo and ncurses.
- soraminazuki 3y agoI think you'll be pleasantly surprised if you look into what tmux is actually capable of. It's extremely customizable, featureful, and well-documented. All of the complaints you've raised in this thread can actually be solved with a bit of configuration. > TMux itself contains a terminal emulator, and not everything works correctly in TMux tmux doesn't merely contain a terminal emulator. Rather, it is a terminal emulator. All terminal emulators have slight differences in behavior and tmux is no exception. But since tmux is actively developed, I haven't personally encountered any deal breaking issues.
- iforgotpassword 3y agoColleague uses tmux. Every couple months one of his tmux sessions crashes, and he loses everything that ran in it. Meanwhile I can't remember screen ever crashing on me. Don't see why I should ever take that risk.
- soraminazuki 3y agotmux never crashed on me this past decade either. So unless you're telling me that some computer science breakthrough has made screen crash-proof, I don't see why I should avoid tmux and lose many of the features I rely on.
- iforgotpassword 3y agoIt's just anecdotal evidence. Maybe it's because he's running arch and gets all the buggy beta versions, I don't know, but other than that, maybe that breakthrough is called "being mostly a finished product that has been around for way longer"?
- colordrops 3y agoI'm a constant user of Tmux but the programmatic interface is horrid. My only real complaint.
- tetris11 3y agoBut it has some of the worst bindings known to man. Scroll the mousewheel or Shift-PageUp? Forget about it.