I only had a quick glance at the source code and my Go is terrible so forgive me if I've misunderstood something. But am I right in the assumption that this includes a proxy that acts as a sort of "middleware" layer for the terminal without explicit support from either the shell or the terminal? If so, this might have a lot more potential than it seems. Imagine how much you could do with "terminal middleware"!
Show HN: Shox: A customisable status bar for your terminal
31–40 of 47 posts
Re: Show HN: Shox: A customisable status bar for your terminal
#32Do not pipe random scripts from the internet into | sudo bash
This can be generalized into "do not install random programs from the internet onto your machine". Familiarize yourself with the program, the author and the supply chain, then you can also `curl | bash` safely.
https://www.idontplaydarts.com/2016/04/detecting-curl-pipe-b...
`curl | sh` is a terrible anti-pattern. It should never be encouraged.
Re: Show HN: Shox: A customisable status bar for your terminal
#33Earlier quoted context omitted.
tmux isn't a window manager.
He probaly means tiling window manager specifically, which makes tmux's binary partitioning redundant for all but remote work. I used to use tmux much more heavily locally before I switched to a tiling window manager, now I only use it when I need to do a lot of work over SSH or am using an unstable connection or long running process etc.
Since I moved exclusively to i3 some 10 years ago, I find myself seldomly using screen/tmux anymore.
The splitting, moving and switching of windows is just more convenient. Tmux has been relegated to start long running processes on remote servers, and remote pair programming sessions.
I could see myself using tmux more if I could find a way to get a more seemless experience when having to scroll panes, copy/paste, handle $TERM properly with vim (I always end up with partially refreshing vim colors under tmux), etc
Re: Show HN: Shox: A customisable status bar for your terminal
#34Earlier quoted context omitted.
Pretty sure you can attach to an already attached tmux session as well, which I believe has the same behavior that you’re describing. I’ve never used screen, is what you’re describing different than what I’m talking about?
The default behavior of tmux when multiple users are attached to the same session is that each user shares the same active window. With screen users can choose the active window independently of others. You can get similar behavior in tmux by creating a new session with the "group-name" argument set to that of the name of the session you want to attach to.
having all windows in a single session synchronized is helpful when you share sessions with other users.
Re: Show HN: Shox: A customisable status bar for your terminal
#35Earlier quoted context omitted.
He probaly means tiling window manager specifically, which makes tmux's binary partitioning redundant for all but remote work. I used to use tmux much more heavily locally before I switched to a tiling window manager, now I only use it when I need to do a lot of work over SSH or am using an unstable connection or long running process etc.
I get you. Since I moved exclusively to i3 some 10 years ago, I find myself seldomly using screen/tmux anymore. The splitting, moving and switching of windows is just more convenient. Tmux has been relegated to start long running processes on remote servers, and remote pair programming sessions. I could see myself using tmux more if I could find a way to get a more seemless experience when having to scroll panes, cop…
Re: Show HN: Shox: A customisable status bar for your terminal
#36Earlier quoted context omitted.
This can be generalized into "do not install random programs from the internet onto your machine". Familiarize yourself with the program, the author and the supply chain, then you can also `curl | bash` safely.
No, it has been demonstrated that servers can detect whether a request is being downloaded or piped to a shell, so they can vary the response accordingly, sending safe-looking content to a user who's inspecting it, and sending malicious content to a shell. https://www.idontplaydarts.com/2016/04/detecting-curl-pipe-b... `curl | sh` is a terrible anti-pattern. It should never be encouraged.
Re: Show HN: Shox: A customisable status bar for your terminal
#37Re: Show HN: Shox: A customisable status bar for your terminal
#38Why not just use tmux? Then you get all the features that comes with too.
Re: Show HN: Shox: A customisable status bar for your terminal
#39Re: Show HN: Shox: A customisable status bar for your terminal
#40Why not just use tmux? Then you get all the features that comes with too.
I need a cheat sheet to use tmux. I've no doubt I'd find it valuable if I spent some time learning it, but I can also appreciate this thing for adding a nice function without changing the way I work. Not a dig at tmux!
start it and continue working as if it wasn't there. then read or learn one thing or two about it, and use only that.
the first thing to learn is how to attach to an existing session. that alone can be useful.
if you scroll a lot on your terminals, you'll want to learn scrolling in tmux.
if you use tabs or multiple windows, you' want to learn how create and switch windows in tmux.
beyond that every feature in tmux is additional to your regular terminal use so you can pick and choose the features you want to learn as you go along and otherwise continue without changing the way you work.
i have used tmux for a decade and i am still learning new stuff, like how to effectively use split windows.