News for hackers. Stuff that matters.
Re:Show HN: Multiplex – View parallel console processes, wit... by conradludgate on Thursday October 22, 2020 @04:27PM (#24862929)
I tried to make something like exactly this about a year ago. I wanted to have my docker compose logs in separate tmux panes. I had a system where it would run the commands in the background, but then create several pipe files that each tmux pane would then read from. It didn't work great though. At least in go, I struggled to get a system to open tmux panes in the order I wanted, in the windows I wanted.

I'm definitely gonna try this out and see if I can get it to play nicely with docker compose

Re:Show HN: Multiplex – View parallel console processes, wit... by dankilman on Sunday October 25, 2020 @04:23PM (#24889579)
Thanks. LMK know if you can't for some reason, I'd like to fix that if that is the case
Re:Show HN: Multiplex – View parallel console processes, wit... by dankilman on Thursday October 22, 2020 @01:14PM (#24860413)
multiplex is the result of me wanting a tool that allowed me to view output of several processes running in parallel similar to tmux but with the main goal of being view only, being able to view many streams of data in an ergonomic fashion, which tmux doesn't deliver as nicely. I wanted to navigate the content by with the same ease `less` gives when viewing a single data source.

I hope some of you find it useful as well :)

Re:Show HN: Multiplex – View parallel console processes, wit... by coddle-hark on Thursday October 22, 2020 @04:13PM (#24862804)
Hey, this is cool! Is there a tl;dr on how it works?
Re:Show HN: Multiplex – View parallel console processes, wit... by dankilman on Friday October 23, 2020 @09:47AM (#24869409)
It keeps a terminal emulator for each input stream using pyte (pure python terminal emulator). Then draws everything using ANSI escape codes to put the cursor in different places :)