Live data from Hacker News

Show HN: Shpool, a Lightweight Tmux Alternative

github.com

91–100 of 201 posts

Re: Show HN: Shpool, a Lightweight Tmux Alternative

#91
post #77

Earlier quoted context omitted.

The thing is that without hijacking it and passing it through, you can't have nice things like handling resizes, supporting attaching with multiple terminal emulators, or reconnecting to applications that make heavy use of terminal escape codes, because all of those set up persistent state in the terminal emulator. As a result, any tmux-like layer needs to emulate a console in order to get a view into the state, and…

You definitely don't need the in-memory terminal emulator to handle resizes or allow attaching with multiple local terminal emulators, since dtach does both and does not have an in-memory terminal emulator. > I'm actually confused about why they'd go to the effort of implementing a VT100 emulator, write the code to redraw the screen from it Well, we kinda cheated here. shpool_vt100 is just the already existing vt100…

I’m not sure what the popular use case is for multiple connections to one multiplexer. But, two (niche seeming) ones could be: if you have a desktop, you want to be able to SSH to it and use it locally at the same time. Or, if you have two people ssh-ing to one system, and letting them share a terminal might be nice (although in that case it would really be nice to give them independent cursors, which starts to become an involved project).

Re: Show HN: Shpool, a Lightweight Tmux Alternative

#92
I used to use tmux, but then switched completely jupyter terminals.

my browser is my terminal now, and I can easily upload/download files via browser (dont type SCP anymore) with a mouse click, open terminal windows, open Python notebook and do stuff.

life has never been easier after I completely switched to jupyter notebooks+terminals

plus, because it is browser based, I can roam from multiple devices.

Re: Show HN: Shpool, a Lightweight Tmux Alternative

#93
post #75

Earlier quoted context omitted.

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.

I'm a happy screen user. But tbh, the main benefit (to me) is default ctrl-a key binding, while tmux would require a config (which I actually think is great, that tmux politely doesn't conflict by default). Not sure why I'd want to switch.

It doesn't actually require a config. You can set the binding on the command-line when you launch it. Anything you can represent in a config file with Tmux (set -g prefix C-o) can be expressed on the command-line.

Furthermore, in my opinion, both the defaults (C-a, C-b) are bad, as they conflict with default readline key bindings for cursor movement.

Re: Show HN: Shpool, a Lightweight Tmux Alternative

#94

Recently learned about Zellij and it replaced my tmux usage.

tmux works out of the box for me. I tried Zellij and couldn’t get the Alt key to work on mac. And then when ssh’ing into a server I couldn’t see some of the icons because it required a special patched font.

There's an entry in the FAQ for alt key on mac: https://zellij.dev/documentation/faq#i-am-a-macos-user-how-c... Fixed it for me in Alacritty

Re: Show HN: Shpool, a Lightweight Tmux Alternative

#95
what is going on with this submodule URI? https://github.com/shell-pool/shpool/blob/v0.6.1/.gitmodules...

I'm guessing based on the Change-Id in its commit message https://github.com/shell-pool/shpool/commit/6cef5782e358716a...> this was exported from some internal Google repo but for the rest of the world it makes $(git clone --recursive) real mad

Re: Show HN: Shpool, a Lightweight Tmux Alternative

#96
post #92

I used to use tmux, but then switched completely jupyter terminals. my browser is my terminal now, and I can easily upload/download files via browser (dont type SCP anymore) with a mouse click, open terminal windows, open Python notebook and do stuff. life has never been easier after I completely switched to jupyter notebooks+terminals plus, because it is browser based, I can roam from multiple devices.

Doesn't the notebook store outputs locally? Wouldn't it get out of sync when changing device?

Also cells can be out of order and overwritten and such. Seems like a questionable fit.

Re: Show HN: Shpool, a Lightweight Tmux Alternative

#97
post #3

Unbundling tmux is a great concept! Other tools that can overlap in use case are EternalTerminal and mosh which provide sessions that survive disconnects.

I am currently using mosh and tmux together, it does seem like there's a lot duplication. It works great though, and mosh has actual roaming which is good for subways, VPN changes, etc.

Re: Show HN: Shpool, a Lightweight Tmux Alternative

#98
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.

Both of them are both of those things.

Re: Show HN: Shpool, a Lightweight Tmux Alternative

#99
post #95

what is going on with this submodule URI? https://github.com/shell-pool/shpool/blob/v0.6.1/.gitmodules... I'm guessing based on the Change-Id in its commit message https://github.com/shell-pool/shpool/commit/6cef5782e358716a... > this was exported from some internal Google repo but for the rest of the world it makes $(git clone --recursive) real mad

Oh, thanks for catching this. I'll clean it up https://github.com/shell-pool/shpool/pull/43

Re: Show HN: Shpool, a Lightweight Tmux Alternative

#100
post #75

Earlier quoted context omitted.

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.

I'm a happy screen user. But tbh, the main benefit (to me) is default ctrl-a key binding, while tmux would require a config (which I actually think is great, that tmux politely doesn't conflict by default). Not sure why I'd want to switch.

Ability to run `tmux ` in the terminal and have it affect the current tmux session was a huge feature for me. The other was actually being able to understand and write my config file. You can get somewhat far in Screen without writing any config, but I wanted some small tweaks to optimize my workflow. For example, a more vim-style way to navigate windows, easier splitting of panes, the new prompt on a pane split to be the current working directory of the pane I was on when I triggered the split, easy ability to swap the location of panes, etc. It's not prettified at all since I'm the only (intended) user, but my tmux.conf if it's helpful to anyone: https://gist.github.com/FreedomBen/9c52a6fa1543689798a8a42b6...
Post reply on HN