News for hackers. Stuff that matters.
Re:The Power of Tmux Hooks by solipsism on Wednesday November 29, 2017 @12:59AM (#15804930)
Great, a complex way to do what should just happen automatically (adjusting to changed resolution or resized terminals).

As a long time vim/tmux user, I'm just done with these powerful tools that I have to spend all my time configuring to make useful (nevermind seamless or delightful). It's masochistic. I have way better, meatier, more meaningful things to work on than my dot files.

Re:The Power of Tmux Hooks by saulrh on Wednesday November 29, 2017 @02:13AM (#15805199)
My tmux does resize automatically...? Is there some other kind of resizing that's necessary? I split side-by-side, I make another terminal emulator tiled side-by-side, original term narrows to take half the display, tmux's panes resize so they're still using half the vertical space. I'm really not sure at all what the point of this post was supposed to be.
Re:The Power of Tmux Hooks by git-pull on Wednesday November 29, 2017 @02:22AM (#15805237)
Thank you for spotting that.

As of tmux 2.6:

main-horizontal and main-vertical layouts have a main-pane-height/width that has to be adjusted.

tiled, even-vertical, even-horizontal should automatically resize.

I updated both tmux articles to mention that.

Re:The Power of Tmux Hooks by gcb0 on Wednesday November 29, 2017 @01:01AM (#15804936)
still more lackluster hype for tmux that falls sort of making me bother to even install it.

I work on ton of remote machines, and it usually goes like

    tmux
    command not found 
    screen
Re:The Power of Tmux Hooks by chatmasta on Wednesday November 29, 2017 @04:26AM (#15805651)
If you’re manually SSHing into machines to manage them, surely you could include an “apt install tmux” in there.
Re:The Power of Tmux Hooks by stormking on Wednesday November 29, 2017 @05:10AM (#15805794)
Outside of a pure development environment, you can't just install software on a machine. You have to create a change request and have it approved. And the latter just won't happen for stuff like tmux, there's simply no business justification for it.
Re:The Power of Tmux Hooks by sls on Wednesday November 29, 2017 @10:36AM (#15807559)
Even at the Fortune x00 companies I've consulted for, I believe I would have been able to get that approved. Any time you are asking people to manually administer boxes, those people are going to want tooling for that job. Manual deploy takes 8+ hours and sometimes ssh sessions time out or are interrupted? We'd like to install a persistent session management tool.

I'm not sure if you're saying that myopic management won't see a business justification or that there truly is not one.

Re:The Power of Tmux Hooks by gcb0 on Wednesday November 29, 2017 @11:05AM (#15807838)
that's paradoxal. if you can automate something you lose the argument to have tmux or anything similar.

if you have to login, you wont be installing it everywhere.

and yes, we automate it. if I am logging in, it is for post mortems.

Re:The Power of Tmux Hooks by chatmasta on Wednesday November 29, 2017 @07:59AM (#15806406)
My point was, it seems odd for a company to have a rule like that but also encourage manually SSHing into servers. That manual administration is already a code smell, in that it’s an I mplicit rejection of immutable infrastructure. So it’s funny that the same company would forego immutable infrastructure while disallowing any installation of packages on the server. Either go all the way or not.
Re:The Power of Tmux Hooks by dumbmatter on Wednesday November 29, 2017 @09:19AM (#15806929)
It doesn't seem odd if you've worked in enterprise, just sad :)
Re:The Power of Tmux Hooks by lolive on Wednesday November 29, 2017 @05:15AM (#15805817)
Same problem here with htop or atop. That sux!