From 94f47393b8fdff09f70f69347e894a7a2a9f8c18 Mon Sep 17 00:00:00 2001 From: Armin Date: Sun, 22 Nov 2026 04:04:58 +0100 Subject: [PATCH] Clarify socket paths, session limits and packaging docs List all socket directories used by -l, note the 1,000x1,000 session size cap and the 60-pane limit, and correct the recipe description to mention distro CFLAGS and AUTHORS. --- README.md | 20 ++++++++++++-------- murx.1 | 2 +- 2 files changed, 13 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index a8e6a61..aecddbc 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ make ./murx -c 191a1c work # use a grey status bar background ./murx --clock work # show the status bar clock ./murx --hostname work # show the hostname: prefix in window titles -./murx -l, --list-sessions # list running sessions without attaching +./murx -l # list running sessions (or --list-sessions) ./murx --help # all shortcuts ``` @@ -25,10 +25,11 @@ Detach with `Ctrl-A d`. Run `murx` again to reattach. Use `murx -l` or `murx --list-sessions` to list running sessions, sorted by name, one per line. Listing works without a terminal and does not create or -attach to a session. It checks the current user's runtime socket directory -and `/tmp` fallback, skips stale sockets, and prints nothing when no sessions -are running. Do not pass a session name with this option. Use `murx name` -to attach to a listed session. +attach to a session. It checks the current user's preferred socket directory +(`$XDG_RUNTIME_DIR/murx-/`, `$TMPDIR/murx-/`, or `/tmp/murx-/`) +and the `/tmp` fallback, skips stale sockets, and prints nothing when no +sessions are running. Do not pass a session name with this option. Use +`murx name` to attach to a listed session. The [murx(1) manual](murx.1) covers all options, shortcuts, session behavior, and remote shell setup. Read it locally with `man ./murx.1`. Run @@ -83,7 +84,8 @@ and `murx-root`. ## What it does - One persistent server per session (a Unix socket in - `$XDG_RUNTIME_DIR/murx-/` or `$TMPDIR/murx-/`). + `$XDG_RUNTIME_DIR/murx-/`, `$TMPDIR/murx-/`, or `/tmp/murx-/`, + with a `/tmp` fallback for long paths). - Windows, panes, splits, resizing, renaming and a status line. - Real ptys per pane, a built-in VT100/xterm-ish screen emulator (colors, 256-color and truecolor SGR, alternate screen, scrolling, UTF-8, wide @@ -405,6 +407,7 @@ This is "very basic" by design: - Mouse reporting is not negotiated with the outer terminal. - Killing the server affects only the current session, since each named session has its own small server process. +- At most 60 panes may be created in a window. - Key repeat is not implemented: one resize step per key press. - New windows start in the directory murx was started from, not in the current pane's directory. @@ -429,8 +432,9 @@ The root directory includes [APKBUILD](APKBUILD) for Alpine Linux and [PKGBUILD](PKGBUILD) for Arch Linux. Both build the local source files rather than downloading a release. Version `0.20261116` identifies an unreleased snapshot; update the version and release fields when packaging a newer snapshot. -Both recipes build with the default C compiler, so plain `make` works there too. -The packages install under `/usr`, including the manual, README and license. +Both recipes build with the default C compiler and pass distro `CFLAGS` to +`make`. The packages install under `/usr`, including the manual, README, +AUTHORS and license. On Alpine, install `alpine-sdk`, configure your abuild signing key with `abuild-keygen -a -i`, and run as a regular user with abuild configured: diff --git a/murx.1 b/murx.1 index b4893b9..a55737a 100644 --- a/murx.1 +++ b/murx.1 @@ -275,7 +275,7 @@ does not start with screen, tmux, linux, or dumb; otherwise RGB is mapped to the nearest xterm-256 entry. .SH SESSION SIZE The most recently attached or resized client determines the session size, -with a minimum of 20 columns and 5 rows. +clamped to a minimum of 20 columns by 5 rows and a maximum of 1,000 by 1,000. Larger clients center the session; smaller clients show its top-left portion. Ctrl-A R forces the session to the current client's terminal size. Ctrl-A * lists attached clients for size diagnostics.