Live data from Hacker News

Show HN: Shpool, a Lightweight Tmux Alternative

github.com

41–50 of 201 posts

Re: Show HN: Shpool, a Lightweight Tmux Alternative

#42

How could this be a tmux alternative if it only provides session persistence? I use tmux mostly for layout (tiles, multiple windows, etc.) and not for session persistence necessarily. I don't know if this is why other people also use tmux, but I am not sure if "alternative" is the right word here.

I use tmux strictly for persistence only, and WezTerm for layout etc. so this is definitely an alternative for me.

This is very interesting to me as it seems to provide persistence with much less cognitive overhead than tmux or even screen sessions, which are enough that I often don't bother and just use SSH. I also find tmux has a noticable latency overhead (on every terminal I've tried) so I wouldn't use it locally anyway.

Suffice to say this is very interesting and I'll check it out.

Re: Show HN: Shpool, a Lightweight Tmux Alternative

#43
post #37

Earlier quoted context omitted.

$ tmux # run your command in it # Ctrl+b D to detatch later, to attach back to it $ tmux a -t 0 That probably covers 50% of usage. The rest would be naming the sessions, splitting the window panes. Anything else?

Scrolling. That's a key feature when you don't reflexively use less and ] isn't a natural keybind for "let me scroll please".

Also search, copy-paste

Re: Show HN: Shpool, a Lightweight Tmux Alternative

#44

No mention of screen? I'm too old.

I betrayed screen over a decade ago and switch to tmux, and have been immensely happy. I have a tremendous amount of love and appreciation for the venerable Screen, but realistically very few people use it anymore. I don't think it makes much sense to compare. For the few that do still use Screen, they pretty much know how it compares to tmux so the tmux compare is pretty applicable.

Re: Show HN: Shpool, a Lightweight Tmux Alternative

#45
I super duper highly recommend iterm2 (macos) + its integrated tmux support. It was relatively popular in my circles at google when I was there.

It comes with this tool’s benefit of native scrolling/cp paste PLUS the huge benefit of “right click to split vertical/horizontal”.

Re: Show HN: Shpool, a Lightweight Tmux Alternative

#46
This is awesome! I hate the way tmux hijacks so much of my terminal's behavior (scrollback, seaching with escape-/, etc.) and I've been looking for something like this that will manage persistent sessions without any extra nonsense.

BTW I think your readme shouldn't just characterize it as a resumeable ssh tool. I often need to start a long running process that I want to reconnect to later, or I want to put some always-on system service inside a tmux container so I can easily jump in and see logs or mess with things in one way or another. There's a lot of utility besides just handling network dropouts.

Re: Show HN: Shpool, a Lightweight Tmux Alternative

#47
post #12

Why is this better then the old school "screen"?

I'd say the best part is not needing screen on the server. If you have several servers and several people that like several multiplexers, you would need to install all of them in each server, and manage configuration etc.

However, you can have your own multiplexer and use shpool on a window to connect to a server. Done, you have your favorite multiplexer, with your configuration, and the only tool in the server is shpool

Re: Show HN: Shpool, a Lightweight Tmux Alternative

#48

How could this be a tmux alternative if it only provides session persistence? I use tmux mostly for layout (tiles, multiple windows, etc.) and not for session persistence necessarily. I don't know if this is why other people also use tmux, but I am not sure if "alternative" is the right word here.

It could be a tmux alternative if the session persistence is the only feature of tmux you care about, and you don't like the rest of it.

Re: Show HN: Shpool, a Lightweight Tmux Alternative

#49
I'd love to try this, but most of the places that I would want to use it are servers, and the rust requirements are way beyond where debian-stable lives.

Too much hassle to muck with backports and package pinning for a QoL tool - my feedback would be to try to make this install without tomfoolery on the stable branch of major distros.

Re: Show HN: Shpool, a Lightweight Tmux Alternative

#50
Besides persistence, terminal multiplexing is one of the greats things of tmux. If I'm programming on a remote machine I don't want to open a new ssh connection from each of the five terminals that I need. Seems tedious when I can just create a new window inside tmux. Even locally, I don't want to have 10 terminals opened (or tabs), tmux lets you have multiple terminal windows/panes from a single physical terminal and lets you easily group and switch between them into what they call sessions.
Post reply on HN