News for hackers. Stuff that matters.
Re:Show HN: Shox: A customisable status bar for your terminal by mdszy on Tuesday February 25, 2020 @01:46PM (#22415932)
Why 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 by danmur on Wednesday February 26, 2020 @03:30AM (#22421391)
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!
Re:Show HN: Shox: A customisable status bar for your terminal by em-bee on Wednesday February 26, 2020 @04:55AM (#22421721)
there are plenty of tutorials to get you started, but most importantly you can run tmux without having learned any of it.

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.

Re:Show HN: Shox: A customisable status bar for your terminal by Kaze404 on Tuesday February 25, 2020 @02:36PM (#22416524)
Because I have no need for them
Re:Show HN: Shox: A customisable status bar for your terminal by colecut on Tuesday February 25, 2020 @02:50PM (#22416692)
Anyone who would not benefit from tmux must only very rarely use the terminal, or not at all. This isn't a dig at this tool, just a strong endorsement for tmux =)
Re:Show HN: Shox: A customisable status bar for your terminal by yur3i__ on Tuesday February 25, 2020 @03:14PM (#22416949)
I use the terminal for almost everything but rarely use tmux, I have a window manager for window management so tmux doesn't really seem too useful in that regard
Re:Show HN: Shox: A customisable status bar for your terminal by kettro on Tuesday February 25, 2020 @04:07PM (#22417471)
A huge benefit of tmux is session management, where you can resume a session on a different terminal. I use it on my desktop, so I can ssh in on my laptop when working from home, and immediately pick up where I left off.
Re:Show HN: Shox: A customisable status bar for your terminal by yur3i__ on Tuesday February 25, 2020 @04:33PM (#22417716)
Actually yeah you are right. I use tmux for running a doom server with my friends. Sorry I forgot about that because I don't generally need to log into it
Re:Show HN: Shox: A customisable status bar for your terminal by dvtrn on Tuesday February 25, 2020 @04:10PM (#22417497)
What if I use screen?
Re:Show HN: Shox: A customisable status bar for your terminal by inetknght on Tuesday February 25, 2020 @05:20PM (#22418118)
`tmux` is directly intended to replace `screen`.
Re:Show HN: Shox: A customisable status bar for your terminal by sgn on Wednesday February 26, 2020 @02:52AM (#22421206)
But not for those want to communicate via serial console.

Or is there anything was changed?

Re:Show HN: Shox: A customisable status bar for your terminal by inetknght on Wednesday February 26, 2020 @10:09AM (#22423569)
Ahh, I said such in tongue and cheek. Indeed, I recently had need to communicate via serial console and searching Stackoverflow suggested screen. I tried tmux and... nope.

I ended up using `minicom` instead.

Alas, serial ports are pretty nifty but I get the impression that they are distinctly becoming a lost art

Re:Show HN: Shox: A customisable status bar for your terminal by colecut on Tuesday February 25, 2020 @07:04PM (#22418919)
Do you ever ssh into remote servers? Tmux would give you that same pane management on a remote server without having to SSH into the server in each pane.
Re:Show HN: Shox: A customisable status bar for your terminal by ohyeshedid on Tuesday February 25, 2020 @04:18PM (#22417555)
tmux isn't a window manager.
Re:Show HN: Shox: A customisable status bar for your terminal by tomxor on Tuesday February 25, 2020 @05:33PM (#22418235)
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.

Re:Show HN: Shox: A customisable status bar for your terminal by Galanwe on Wednesday February 26, 2020 @02:09AM (#22421007)
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, 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 by em-bee on Wednesday February 26, 2020 @02:29AM (#22421093)
the main advantage for tmux is in remote use. i work on multiple machines (laptop, desktop, etc) and i often like to access one from the other. tmux allows me to switch devices in a seamless way. i don't use i3 but you are right about the splitting in particular. it would be nice if we could have more gui integration of tmux. like a graphical tmux client that maps split windows to resizeable gui panes
Re:Show HN: Shox: A customisable status bar for your terminal by slightwinder on Wednesday February 26, 2020 @07:43AM (#22422414)
What's the benefit of tmux when one doesn't work remote and already has a better tilling-wm?