folk.zone Wiki

a public knowledge base

Site Tools


terminal:tools:tmux_byobu

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

terminal:tools:tmux_byobu [2026/09/23 14:52] – created - external edit 127.0.0.1terminal:tools:tmux_byobu [2026/10/23 15:59] (current) – external edit 127.0.0.1
Line 3: Line 3:
 Terminal multiplexers: run multiple shell sessions inside a single SSH connection, detach and reattach without losing work. Terminal multiplexers: run multiple shell sessions inside a single SSH connection, detach and reattach without losing work.
  
-  * **tmux** — the underlying multiplexer; powerful, scriptable, widely available +  * **tmux**: the underlying multiplexer; scriptable and widely available 
-  * **byobu** — a configuration layer on top of tmux (or screen); adds a status bar, function-key bindings, and sane defaults; ideal for tilde servers+  * **byobu**: a configuration layer on top of tmux (or screen); adds a status bar, function-key bindings, and usable defaults; suited to tilde servers
  
 ===== Why This Matters for SSH ===== ===== Why This Matters for SSH =====
  
-When your SSH connection drops — network hiccup, laptop sleep, ISP timeout — any running process dies with it. With tmux/byobu, your session keeps running on the server. Reconnect and reattach to find everything exactly as you left it.+When your SSH connection drops (network hiccup, laptop sleep, ISP timeout) any running process dies with it. With tmux/byobu, your session keeps running on the server. Reconnect and reattach to find everything exactly as you left it.
  
-===== byobu — Quick Start =====+===== byobu: Quick Start =====
  
 On tilde servers (tilde.pink, tilde.town) byobu is usually pre-installed. On tilde servers (tilde.pink, tilde.town) byobu is usually pre-installed.
Line 51: Line 51:
 </code> </code>
  
-===== tmux — Direct Usage =====+===== tmux: Direct Usage =====
  
 If byobu isn't available or you prefer direct control: If byobu isn't available or you prefer direct control:
Line 77: Line 77:
 | ''prefix n'' | Next window | | ''prefix n'' | Next window |
 | ''prefix p'' | Previous window | | ''prefix p'' | Previous window |
-| ''prefix 0–9'' | Jump to window by number |+| ''prefix 0-9'' | Jump to window by number |
 | ''prefix w'' | Interactive window list | | ''prefix w'' | Interactive window list |
 | ''prefix &'' | Kill current window | | ''prefix &'' | Kill current window |
Line 159: Line 159:
  
 # when done for the day: # when done for the day:
-# prefix d  (detach — everything keeps running)+# prefix d  (detach: everything keeps running)
 </code> </code>
  
Line 169: Line 169:
 </code> </code>
  
-**Persistent processes** (keep running after detach): irssi, weechat, mutt/neomutt, a long compile, a server process — anything you'd otherwise need ''nohup'' or ''screen'' for.+**Persistent processes** (keep running after detach): irssi, weechat, mutt/neomutt, a long compile, a server process: anything you'd otherwise need ''nohup'' or ''screen'' for.
  
-===== mosh — Mobile Shell =====+===== mosh: Mobile Shell =====
  
-[[https://mosh.org/|mosh]] is an alternative to SSH that handles intermittent connections gracefully — roaming between networks, laptop sleep, spotty mobile data. Uses UDP.+[[https://mosh.org/|mosh]] is an alternative to SSH that handles intermittent connections gracefully: roaming between networks, laptop sleep, spotty mobile data. Uses UDP.
  
 <code bash> <code bash>
Line 194: Line 194:
   * [[tilde:pink|tilde.pink]]   * [[tilde:pink|tilde.pink]]
   * [[tilde:start|tilde.town]]   * [[tilde:start|tilde.town]]
-  * [[terminal:tools:ssh_tilde|SSH — tilde.town]] +  * [[terminal:tools:ssh_tilde|SSH: tilde.town]] 
-  * [[terminal:tools:ssh_homelab|SSH — Homelab]]+  * [[terminal:tools:ssh_homelab|SSH: Homelab]]
   * [[terminal:start|Return to terminal]]   * [[terminal:start|Return to terminal]]
  
terminal/tools/tmux_byobu.1790196766.txt.gz · Last modified: by 127.0.0.1