News for hackers. Stuff that matters.
Re:You might not need tmux by hdgvhicv on Saturday August 02, 2025 @03:32AM (#44765520)
I’ve used screen for 25 years. What am I missing without tmux?
Re:You might not need tmux by em-bee on Saturday August 02, 2025 @09:06AM (#44767284)
mainly sessions, i think, and maybe scripability. sessions are groups of windows. i have one session per project or work mode. (one for email and connecting to remote machines, one for writing stuff, one for managing my hobbies, one for dev work...)
Re:You might not need tmux by nothrabannosir on Saturday August 02, 2025 @12:03PM (#44768716)
Screen has sessions. You can name them, and choose which session to resume when you reconnect.

I use tmux now because it’s supposed to be cool but secretly like gp I also wonder what the actual difference is , besides a different default leader key. Oh and killer iterm2 integration.

Re:You might not need tmux by em-bee on Saturday August 02, 2025 @04:17PM (#44771031)
it's been a long time since i used screen. afaik screen had one session per process. you could switch processes by detaching from one and attaching to another. in tmux it's all one process, which allows you to create new sessions and switch them interactively and move windows from one session to another, or even have a window in more than one session. i can also see all windows from all sessions:

    (0)   - main: 6 windows
    (1)   ├─> 0: elvish-
    (2)   ├─> 1: elvish*: "[mosh] embee@foo:~"
    (3)   ├─> 2: elvish
    (4)   ├─> 3: elvish: "embee@bar:~"
    (5)   ├─> 4: elvish: "[mosh] embee@fedora:/etc"
    (6)   └─> 5: elvish
    (7)   - local: 6 windows (attached)
    (8)   ├─> 0: elvish
    (9)   ├─> 1: elvish-
    (M-a) ├─> 2: [tmux]*
    (M-b) ├─> 3: elvish
    (M-c) ├─> 4: elvish
    (M-d) └─> 5: elvish
    (M-e) - dev: 7 windows (attached)
    (M-f) ├─> 0: elvish*
    (M-g) ├─> 1: elvish-
    (M-h) ├─> 2: elvish
    (M-i) ├─> 3: elvish
    (M-j) ├─> 4: elvish