Live data from Hacker News

Show HN: Shpool, a Lightweight Tmux Alternative

github.com

101–110 of 201 posts

Re: Show HN: Shpool, a Lightweight Tmux Alternative

#102
post #76
post #73

Earlier quoted context omitted.

Aren't tmux and screen rather equivalent these days? How is an alternative to one, not an alternative to the other? Shpool doesn't appear to allow for session sharing/remote pairing though?

shpool doesn't allow splitting screens either! But I guess in my head, screen is largely for resuming a shell connection on a remote host while tmux is a window splitter.

Screen and tmux are almost the same these days. Screen used to not allow side-by-side splits, but it can do that too now.

Re: Show HN: Shpool, a Lightweight Tmux Alternative

#103
post #72

Earlier quoted context omitted.

No, it doesn't let you attach back, it just keeps a command going after you've disconnected your session. But if you have good logging that might be good enough.

Or use GDB to change stdin/stdout of the nohup'd process to the current shell!

like reptyr[1] or retty[2] does?

[1] https://github.com/nelhage/reptyr [2] https://github.com/lkundrak/retty

Re: Show HN: Shpool, a Lightweight Tmux Alternative

#104

Looks nice. One feature I'd like is a read-only mode. Sometimes I want to execute a long running process and be able to just watch it run without risking that I hit Ctrl C by accident. I was surprised to find that Screen doesn't support this, I guess probably tmux does. tail is fine but I don't always want to record a huge log file.

| /dev/null ?

Re: Show HN: Shpool, a Lightweight Tmux Alternative

#105

Earlier quoted context omitted.

tmux does support scrolling and copy-paste, but they often work subtly differently than the way they do in a native terminal. For example, when I try putting `set -g mouse on` in `~/.tmux.conf`, scrolling mostly works fine but if I scroll up and then start typing or press up, I won't jump right to the bottom of the session the way I'm used to in native Alacritty (which I will often do as a way to return after scrolli…

nothing in life is free, what do you honestly expect?

This is kind of a strange comment to leave to the author of the tool that's being compared...

Obviously "nothing in life is free" - the person you're replying to literally spent a bunch of time writing a solution to their problem.

"what do you expect?" - the person literally wrote what they expected after having written the code to do exactly that. OP has been all over this thread being incredibly diplomatic in both explaining why they wrote a replacement for (part of) tmux, and constantly following it up with "but by all means if that doesn't sound right to you, use tmux it's a great tool".

It feels a lot like "well, if you don't like it go do it yourself", which is deeply ironic.

Re: Show HN: Shpool, a Lightweight Tmux Alternative

#106

Earlier quoted context omitted.

nothing in life is free, what do you honestly expect?

This is kind of a strange comment to leave to the author of the tool that's being compared... Obviously "nothing in life is free" - the person you're replying to literally spent a bunch of time writing a solution to their problem. "what do you expect?" - the person literally wrote what they expected after having written the code to do exactly that . OP has been all over this thread being incredibly diplomatic in both…

[deleted]

Re: Show HN: Shpool, a Lightweight Tmux Alternative

#108
post #107

This is absolutely awesome. For ages I have needed an alternative to mosh that did not require UDP -- I run every outbound connection over Tor, so I only have TCP transport available. This is an incredible improvement to my quality of life.

You might prefer Eternal Terminal as a TCP mosh alternative:

https://eternalterminal.dev/

Re: Show HN: Shpool, a Lightweight Tmux Alternative

#109

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's definitely not a complete alternative, but a surprising number of tmux users are only in it for the session persistence. We did a little internal (criminally underpowered and confounded) survey of some tmux users at google and found that half of them were only really using it for session persistence. I was really surprised by this and thought more people would be using all the slick tiling features that tmux has…

I think there is a whole group of vim + tmux people out there and their primary use case may not be session persistence, but to construct an IDE like environment, which is also my use case.

Re: Show HN: Shpool, a Lightweight Tmux Alternative

#110
post #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 alwa…

I think you would love zellij[1]. Go check it out, it is awesome. 1: https://zellij.dev/

I just started using this and it is indeed awesome. Only thing I need to figure out how to do is make a tab truly full screen. It's much nicer, more intuitive, has more built in support for things and is super lightweight. It's great.
Post reply on HN