Compare commits
No commits in common. "b74b1f0664fe1008dd256fea75a3e0640dd74e40" and "79e4bcdd683f7b257a288ccc853185ec9c97ba86" have entirely different histories.
b74b1f0664
...
79e4bcdd68
10 changed files with 245 additions and 1466 deletions
68
AGENTS.md
Normal file
68
AGENTS.md
Normal file
|
|
@ -0,0 +1,68 @@
|
||||||
|
# murx project instructions
|
||||||
|
|
||||||
|
murx is a deliberately small terminal multiplexer: one C99 source file
|
||||||
|
(`murx.c`), no dependencies, no config file.
|
||||||
|
|
||||||
|
## Build
|
||||||
|
|
||||||
|
```sh
|
||||||
|
make # cc -O2 -std=c99 -Wall -Wextra -o murx murx.c
|
||||||
|
make clean
|
||||||
|
```
|
||||||
|
|
||||||
|
There is no test suite. Build must stay warning-free except for the known
|
||||||
|
pre-existing `g_spawn_err` unused-variable warning. Use a throwaway harness
|
||||||
|
outside the repo for geometry/logic checks; do not leave test files behind.
|
||||||
|
|
||||||
|
## Conventions
|
||||||
|
|
||||||
|
- Keep changes inside `murx.c` where possible; the single-file design is
|
||||||
|
intentional.
|
||||||
|
- `README.md` is user-facing documentation. Update it when shortcuts, behavior,
|
||||||
|
or limitations change.
|
||||||
|
- Match the existing style: 4-space indentation, C99 declarations, `/* */`
|
||||||
|
comments.
|
||||||
|
- Do not remove existing user changes in the working tree; check `git diff`
|
||||||
|
before editing and keep unrelated edits intact.
|
||||||
|
|
||||||
|
## Layout model (important for navigation/resizing)
|
||||||
|
|
||||||
|
- Windows use a binary `Layout` tree: `L_COLS` (left/right split) or
|
||||||
|
`L_ROWS` (top/bottom split), with `Layout` x/y/w/h plus a `Pane` leaf.
|
||||||
|
- `layout_apply()` assigns pane content rectangles. With `--pane-titles`,
|
||||||
|
each leaf reserves its top row for a title and sets
|
||||||
|
`pane->y = layout->y + 1`. By default, content fills the leaf.
|
||||||
|
- Splits reserve one border column/row between children. With titles shown,
|
||||||
|
horizontal splits use the lower pane's title row as the separator; with titles
|
||||||
|
hidden, horizontal splits draw a border row like vertical splits.
|
||||||
|
- Pane movement must be based on rectangle edges, not centres. A pane is only
|
||||||
|
to the right if `p->x >= a->x + a->w` (and similar for the other directions).
|
||||||
|
Centre comparison wrongly classifies tall/wide panes that merely extend past
|
||||||
|
the active pane.
|
||||||
|
|
||||||
|
## Current work (2026-10-30)
|
||||||
|
|
||||||
|
Reworked `select_pane_dir()` in `murx.c` so `Ctrl-A h/j/k/l` and the arrow
|
||||||
|
keys choose the pane exactly left/down/up/right:
|
||||||
|
|
||||||
|
1. Only panes strictly beyond the active pane's edge in the requested direction
|
||||||
|
are candidates.
|
||||||
|
2. Prefer candidates that overlap on the perpendicular axis.
|
||||||
|
3. Then choose the smallest edge distance in the direction of travel.
|
||||||
|
4. Break ties by perpendicular gap, then centre alignment.
|
||||||
|
|
||||||
|
Verified with a temporary randomized split-layout simulation: the old
|
||||||
|
centre-based algorithm chose a pane outside the requested direction in many
|
||||||
|
cases; the new one never did and always preferred an overlapping candidate when
|
||||||
|
one existed. `make` succeeds with only the pre-existing warning above.
|
||||||
|
|
||||||
|
### Terminal resize robustness
|
||||||
|
|
||||||
|
The client now reconciles its size with `TIOCGWINSZ` every `SIZE_CHECK_MS`
|
||||||
|
(250 ms) instead of only reacting to `SIGWINCH`. Some terminals update the pty
|
||||||
|
size without delivering a signal, or deliver it before the new size is
|
||||||
|
visible; the periodic check corrects both. Keep the SIGWINCH self-pipe and flag
|
||||||
|
as the low-latency path. The session size is set by the most recently attached
|
||||||
|
or resized client, so reattaching from a larger terminal grows the session even
|
||||||
|
if an older client is still connected; smaller clients show the top-left part.
|
||||||
|
Use `Ctrl-A *` to list attached clients when diagnosing size reports.
|
||||||
71
README.md
71
README.md
|
|
@ -8,25 +8,22 @@ dependencies.
|
||||||
```sh
|
```sh
|
||||||
make
|
make
|
||||||
./murx # session "0"
|
./murx # session "0"
|
||||||
./murx work # separate/attache named session
|
./murx work # separate named session
|
||||||
./murx 1 # separate/attache numbered session
|
./murx 1 # separate numbered session
|
||||||
./murx -p x work # use Ctrl-X as this client's prefix
|
./murx -p x work # use Ctrl-X as this client's prefix
|
||||||
./murx --prefix x work # same as -p x
|
./murx --prefix x work # same as -p x
|
||||||
./murx -s bottom work # show the session status line at the bottom
|
./murx -s bottom work # show the session status line at the bottom
|
||||||
./murx --status bottom work # same as -s bottom
|
./murx --status bottom work # same as -s bottom
|
||||||
./murx -d work # --cwd, show the current directory in the status bar
|
./murx --cwd work # show the current directory in the status bar
|
||||||
./murx -m work # --murx, show [murx] on the left of the status bar
|
./murx --murx work # show [murx] on the left of the status bar
|
||||||
./murx -c 191a1c work # --color, use a grey status bar background
|
./murx -c 191a1c work # use a grey status bar background
|
||||||
./murx -H 10000 work # --history, keep up to 10,000 history lines per pane
|
./murx --history 10000 work # keep up to 10,000 history lines per pane
|
||||||
./murx -C work # --clock, show the status bar clock
|
./murx --clock work # show the status bar clock
|
||||||
./murx -n work # --hostname, show the hostname: prefix in window titles
|
./murx --hostname work # show the hostname: prefix in window titles
|
||||||
./murx -t work # --titles, show a title row above each pane
|
./murx --pane-titles work # show a title row above each pane
|
||||||
./murx -l # --list-sessions, list running sessions without attaching
|
./murx -l, --list-sessions # list running sessions without attaching
|
||||||
./murx -h # --help, usage and shortcuts
|
./murx --help # version, usage and all shortcuts
|
||||||
./murx -v # --version, print the version and exit
|
./murx -v, --version # print the version and exit
|
||||||
./murx --resize-on-input work # session size follows the last client with input
|
|
||||||
./murx --adopt # hand the default session to a new server binary
|
|
||||||
./murx --adopt work # same for a named session
|
|
||||||
```
|
```
|
||||||
|
|
||||||
Detach with `Ctrl-A d`. Run `murx` again to reattach.
|
Detach with `Ctrl-A d`. Run `murx` again to reattach.
|
||||||
|
|
@ -74,41 +71,19 @@ and `--clock` to show the clock on the right. Use `--murx` to show `[murx]`
|
||||||
on the left when `--cwd` is not enabled; the directory takes precedence if
|
on the left when `--cwd` is not enabled; the directory takes precedence if
|
||||||
both are supplied. Use `--hostname` to show the `hostname:` prefix in window
|
both are supplied. Use `--hostname` to show the `hostname:` prefix in window
|
||||||
names and the outer terminal title. These display options are disabled by
|
names and the outer terminal title. These display options are disabled by
|
||||||
default. Use `--titles` to show the title row above each pane. These
|
default. Use `--pane-titles` to show the title row above each pane. These
|
||||||
options set the initial values for a new session. The `Configuration...` menu
|
options set the initial values for a new session. The `Configuration...` menu
|
||||||
can change them in a running session (see [Menu](#menu)). To restore the
|
can change them in a running session (see [Menu](#menu)). To restore the
|
||||||
previous default display, use
|
previous default display, use
|
||||||
`murx --cwd --clock --hostname session`.
|
`murx --cwd --clock --hostname session`.
|
||||||
|
|
||||||
By default, the most recently attached or resized client sets the session size.
|
|
||||||
Use `--resize-on-input` (or the `Resize to last input` toggle in the
|
|
||||||
Configuration menu) to make any input from a client — a keystroke, menu
|
|
||||||
navigation, or a scrollback command — make that client the size source instead.
|
|
||||||
The menu toggle turns it off again. Both change the running session for all
|
|
||||||
attached clients; omitting the option preserves its current mode.
|
|
||||||
|
|
||||||
`--adopt` asks a running server to hand its session to a freshly started server
|
|
||||||
process, so an upgraded binary can take over without killing panes or
|
|
||||||
disconnecting clients. It accepts a session name, or no argument at all for the
|
|
||||||
default session: `murx --adopt` and `murx --adopt work` both work. Attached
|
|
||||||
clients keep their connections and see a short `Session adopted by new murx
|
|
||||||
server` notification. If no session is running, `--adopt` simply starts one.
|
|
||||||
|
|
||||||
Handoff requires cooperation from the server that is already running. Sessions
|
|
||||||
started by this version (or a later one) can be adopted after an upgrade.
|
|
||||||
Against an older server, `--adopt` prints a clear message and attaches normally;
|
|
||||||
those sessions still need one restart. The handoff carries the listening socket,
|
|
||||||
pty descriptors, client sockets, window layout, pane screens and scrollback, so
|
|
||||||
shells keep their process IDs and panes keep their contents.
|
|
||||||
|
|
||||||
## Upgrading from moerx
|
## Upgrading from moerx
|
||||||
|
|
||||||
The executable, source and manual are now `murx`, `murx.c` and `murx.1`.
|
The executable, source and manual are now `murx`, `murx.c` and `murx.1`.
|
||||||
Update aliases and scripts to use `murx`. The status label is now disabled
|
Update aliases and scripts to use `murx`. The status label is now disabled
|
||||||
by default; use `--murx` to enable it. Sessions use a separate `murx-<uid>` socket directory; finish
|
by default; use `--murx` to enable it. Sessions use a separate `murx-<uid>` socket directory; finish
|
||||||
existing sessions with the old executable before removing it. Sessions started
|
existing sessions with the old executable before removing it. Existing
|
||||||
by a handoff-capable build can be moved forward with `--adopt`; older ones are
|
sessions are not migrated automatically. Replace the optional remote SSH
|
||||||
not migrated automatically. Replace the optional remote SSH
|
|
||||||
hooks below and reload the remote shell: custom reports now use `murx-cwd`
|
hooks below and reload the remote shell: custom reports now use `murx-cwd`
|
||||||
and `murx-root`.
|
and `murx-root`.
|
||||||
|
|
||||||
|
|
@ -125,12 +100,10 @@ and `murx-root`.
|
||||||
works in programs such as Midnight Commander. Menus and prompts use normal
|
works in programs such as Midnight Commander. Menus and prompts use normal
|
||||||
cursor-key mode; detaching restores normal cursor keys in the outer terminal.
|
cursor-key mode; detaching restores normal cursor keys in the outer terminal.
|
||||||
- Home (Pos1) and End use the pane’s `screen-256color` key sequences.
|
- Home (Pos1) and End use the pane’s `screen-256color` key sequences.
|
||||||
- Multiple clients can attach to the same session. Normally the most recently
|
- Multiple clients can attach to the same session. The most recently attached
|
||||||
attached or resized client sets the session size. With `--resize-on-input`,
|
or resized client sets the session size; a larger client shows the session
|
||||||
the client that most recently sent any input does instead. A larger client
|
centred in its terminal, while a smaller client shows the top-left part.
|
||||||
shows the session centred in its terminal, while a smaller client shows the
|
`Ctrl-A R` forces the session back to the current client's terminal size.
|
||||||
top-left part. `Ctrl-A R` forces the session back to the current client's
|
|
||||||
terminal size.
|
|
||||||
- Panes run `$SHELL` as a login shell with `TERM=screen-256color` and
|
- Panes run `$SHELL` as a login shell with `TERM=screen-256color` and
|
||||||
`MURX=<session>`. They inherit the launching process's umask, so builds keep
|
`MURX=<session>`. They inherit the launching process's umask, so builds keep
|
||||||
their usual file permissions. After upgrading from a version that forced `077`,
|
their usual file permissions. After upgrading from a version that forced `077`,
|
||||||
|
|
@ -351,8 +324,8 @@ scrollback, forced resize and kill server. `Configuration...` contains:
|
||||||
- `Status line...` — position (top/bottom) and background (default, black
|
- `Status line...` — position (top/bottom) and background (default, black
|
||||||
`000000`, grey `191a1c`).
|
`000000`, grey `191a1c`).
|
||||||
- `Prefix...` — this client's Ctrl-key prefix, `a` through `z`.
|
- `Prefix...` — this client's Ctrl-key prefix, `a` through `z`.
|
||||||
- Toggles for the current directory, clock, `[murx]` label, hostname, pane
|
- Toggles for the current directory, clock, `[murx]` label, hostname and pane
|
||||||
titles and `Resize to last input`.
|
titles.
|
||||||
- `Reset display/status defaults`.
|
- `Reset display/status defaults`.
|
||||||
|
|
||||||
Press Enter on a toggle to turn it on or off. Settings changes apply
|
Press Enter on a toggle to turn it on or off. Settings changes apply
|
||||||
|
|
@ -415,7 +388,7 @@ Hard-coded:
|
||||||
A root shell that does not run the hooks cannot report its privilege change.
|
A root shell that does not run the hooks cannot report its privilege change.
|
||||||
- Pane borders are thin box-drawing lines (`─`, `│`, `┬`, `┼`, ...) in
|
- Pane borders are thin box-drawing lines (`─`, `│`, `┬`, `┼`, ...) in
|
||||||
`colour8`, drawn on the terminal's default background. Enable title rows
|
`colour8`, drawn on the terminal's default background. Enable title rows
|
||||||
with `--titles` or the Configuration menu. Each title row shows
|
with `--pane-titles` or the Configuration menu. Each title row shows
|
||||||
`[N: title]`. On the active pane, brackets and numbers use `colour7`, the
|
`[N: title]`. On the active pane, brackets and numbers use `colour7`, the
|
||||||
separator uses `colour11`, and the title uses `colour15`. Inactive panes
|
separator uses `colour11`, and the title uses `colour15`. Inactive panes
|
||||||
use `colour8`, `colour3`, and `colour12`.
|
use `colour8`, `colour3`, and `colour12`.
|
||||||
|
|
|
||||||
17
RELEASES.md
17
RELEASES.md
|
|
@ -1,20 +1,3 @@
|
||||||
# murx 1.0.4 released
|
|
||||||
|
|
||||||
**November 24, 2026**
|
|
||||||
|
|
||||||
- Added short options for `--history` (`-H`), `--cwd` (`-d`),
|
|
||||||
`--clock` (`-C`), `--murx` (`-m`), `--hostname` (`-n`), and
|
|
||||||
`--titles` (`-t`).
|
|
||||||
- Renamed `--pane-titles` to `--titles`.
|
|
||||||
- Use `murx --adopt work` after upgrading to move a running session to the new
|
|
||||||
server while keeping panes, scrollback, and client connections. The running
|
|
||||||
server must support handoff. Sessions started by older versions need a
|
|
||||||
one-time restart.
|
|
||||||
- Use `--resize-on-input` or the Configuration menu's **Resize to last input**
|
|
||||||
toggle to make the session size follow the client that last sent input.
|
|
||||||
- Fixed the build with Arch's compiler flags by reading handoff timestamps
|
|
||||||
into matching 64-bit types.
|
|
||||||
|
|
||||||
# murx 1.0.3 released
|
# murx 1.0.3 released
|
||||||
|
|
||||||
**November 23, 2026**
|
**November 23, 2026**
|
||||||
|
|
|
||||||
76
murx.1
76
murx.1
|
|
@ -6,14 +6,12 @@ murx \- small persistent terminal multiplexer
|
||||||
.RB [ \-p " letter"]
|
.RB [ \-p " letter"]
|
||||||
.RB [ \-s " top|bottom"]
|
.RB [ \-s " top|bottom"]
|
||||||
.RB [ \-c " RRGGBB"]
|
.RB [ \-c " RRGGBB"]
|
||||||
.RB [ \-H " lines"]
|
.RB [ \-\-history " lines"]
|
||||||
.RB [ \-d ]
|
.RB [ \-\-cwd ]
|
||||||
.RB [ \-C ]
|
.RB [ \-\-clock ]
|
||||||
.RB [ \-m ]
|
.RB [ \-\-murx ]
|
||||||
.RB [ \-n ]
|
.RB [ \-\-hostname ]
|
||||||
.RB [ \-t ]
|
.RB [ \-\-pane-titles ]
|
||||||
.RB [ \-\-resize\-on\-input ]
|
|
||||||
.RB [ \-\-adopt ]
|
|
||||||
.RB [ \-\- ]
|
.RB [ \-\- ]
|
||||||
.RI [ session ]
|
.RI [ session ]
|
||||||
.br
|
.br
|
||||||
|
|
@ -48,7 +46,7 @@ hyphens or underscores. Use
|
||||||
before a name beginning with a hyphen.
|
before a name beginning with a hyphen.
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.TP
|
.TP
|
||||||
.BR \-H ", " \-\-history " lines"
|
.BR \-\-history " lines"
|
||||||
Set the maximum number of normal-screen history lines retained per pane
|
Set the maximum number of normal-screen history lines retained per pane
|
||||||
in a new session. Accepts 0 to 100,000, with 0 disabling history retention.
|
in a new session. Accepts 0 to 100,000, with 0 disabling history retention.
|
||||||
Reattaching preserves the existing session's limit.
|
Reattaching preserves the existing session's limit.
|
||||||
|
|
@ -80,55 +78,32 @@ Supply six hexadecimal digits, such as 000000 for black.
|
||||||
Omitting this option preserves the session's color when reattaching. New
|
Omitting this option preserves the session's color when reattaching. New
|
||||||
sessions use the terminal's default background unless a color is supplied.
|
sessions use the terminal's default background unless a color is supplied.
|
||||||
.TP
|
.TP
|
||||||
.BR \-d ", " \-\-cwd
|
.B \-\-cwd
|
||||||
Show the current directory at the left of the status line.
|
Show the current directory at the left of the status line.
|
||||||
.TP
|
.TP
|
||||||
.BR \-C ", " \-\-clock
|
.B \-\-clock
|
||||||
Show the status clock.
|
Show the status clock.
|
||||||
.TP
|
.TP
|
||||||
.BR \-m ", " \-\-murx
|
.B \-\-murx
|
||||||
Show the [murx] label at the left of the status line when
|
Show the [murx] label at the left of the status line when
|
||||||
.B \-\-cwd
|
.B \-\-cwd
|
||||||
is not enabled. The directory takes precedence if both options are supplied.
|
is not enabled. The directory takes precedence if both options are supplied.
|
||||||
.TP
|
.TP
|
||||||
.BR \-n ", " \-\-hostname
|
.B \-\-hostname
|
||||||
Show the hostname: prefix in window names and the outer terminal title.
|
Show the hostname: prefix in window names and the outer terminal title.
|
||||||
.TP
|
.TP
|
||||||
.BR \-t ", " \-\-titles
|
.B \-\-pane-titles
|
||||||
Show the title row above each pane. Pane titles are off by default.
|
Show the title row above each pane. Pane titles are off by default.
|
||||||
.TP
|
.TP
|
||||||
.B \-\-resize\-on\-input
|
|
||||||
Make the session size follow the client that most recently sent input.
|
|
||||||
Any bytes from a client count, including keystrokes, menu navigation and
|
|
||||||
scrollback commands. Attaching and resizing are used only until the first
|
|
||||||
input arrives. This changes the running session for all attached clients.
|
|
||||||
.TP
|
|
||||||
.B \-\-adopt
|
|
||||||
Ask a running server to hand its session to a newly started server process.
|
|
||||||
The session name is optional, so both
|
|
||||||
.B murx \-\-adopt
|
|
||||||
and
|
|
||||||
.B murx \-\-adopt session
|
|
||||||
work; without a name the default session 0 is used. Panes, client connections,
|
|
||||||
window layout, screens and scrollback survive the swap. Attached clients see a
|
|
||||||
short
|
|
||||||
.I Session adopted by new murx server
|
|
||||||
notification. If no session is running, a new one is started normally.
|
|
||||||
Handoff requires a cooperating server: sessions started by this version or a
|
|
||||||
later one can be adopted after an upgrade. Against an older server, murx
|
|
||||||
prints a clear message and attaches normally.
|
|
||||||
.TP
|
|
||||||
.BR \-h ", " \-\-help
|
.BR \-h ", " \-\-help
|
||||||
Print the text logo, program version, usage and keyboard shortcuts, then exit.
|
Print the program version, usage and keyboard shortcuts, then exit.
|
||||||
.TP
|
.TP
|
||||||
.BR \-v ", " \-\-version
|
.BR \-v ", " \-\-version
|
||||||
Print the program version and exit.
|
Print the program version and exit.
|
||||||
.PP
|
.PP
|
||||||
Display options set a new session's values; the Configuration menu can
|
Display options set a new session's values; the Configuration menu can
|
||||||
change them in a running session. The cwd, clock, [murx] label, hostname
|
change them in a running session. The cwd, clock, [murx] label, hostname
|
||||||
and pane title options are off by default. The default size mode uses
|
and pane title options are off by default.
|
||||||
attach/resize recency; omitting \-\-resize\-on\-input preserves the running
|
|
||||||
session's mode.
|
|
||||||
To restore the previous default display, use
|
To restore the previous default display, use
|
||||||
.BR "murx \-\-cwd \-\-clock \-\-hostname session" .
|
.BR "murx \-\-cwd \-\-clock \-\-hostname session" .
|
||||||
.SH KEY BINDINGS
|
.SH KEY BINDINGS
|
||||||
|
|
@ -252,11 +227,10 @@ Use Up/Down or j/k to move and Enter to select. Left/Right or h/l enter and
|
||||||
leave submenus; q, Escape, or Ctrl-C closes the menu. Long menus scroll.
|
leave submenus; q, Escape, or Ctrl-C closes the menu. Long menus scroll.
|
||||||
The Configuration submenu sets the status line position and background
|
The Configuration submenu sets the status line position and background
|
||||||
(default, black or grey), the client prefix, display toggles for the directory,
|
(default, black or grey), the client prefix, display toggles for the directory,
|
||||||
clock, [murx] label, hostname and pane titles, a toggle for resizing to the
|
clock, [murx] label and hostname, and resets display/status defaults (display toggles, status position and
|
||||||
last client with input, and resets display/status defaults (display toggles,
|
background). Session
|
||||||
status position and background). Session settings affect all attached clients;
|
settings affect all attached clients; the prefix is per-client. Changes take
|
||||||
the prefix is per-client. Changes take effect immediately and are not saved to
|
effect immediately and are not saved to disk.
|
||||||
disk.
|
|
||||||
In prompts use Enter to accept, Escape or Ctrl-C to cancel, Backspace or Ctrl-H
|
In prompts use Enter to accept, Escape or Ctrl-C to cancel, Backspace or Ctrl-H
|
||||||
to delete, and Ctrl-U to clear.
|
to delete, and Ctrl-U to clear.
|
||||||
Confirm destructive actions with y, Y or Enter; n, N, Escape or Ctrl-C cancels.
|
Confirm destructive actions with y, Y or Enter; n, N, Escape or Ctrl-C cancels.
|
||||||
|
|
@ -304,7 +278,7 @@ The outer terminal title follows [murx] program, or [murx] hostname:program
|
||||||
with --hostname. Its [murx] prefix is always present; --murx controls only
|
with --hostname. Its [murx] prefix is always present; --murx controls only
|
||||||
the status label.
|
the status label.
|
||||||
Hostnames are shortened at the first dot.
|
Hostnames are shortened at the first dot.
|
||||||
With \-\-titles enabled, each pane has a title row above its content showing
|
With \-\-pane-titles enabled, each pane has a title row above its content showing
|
||||||
[R N: title R], where N is the pane number. Active pane titles use colour7
|
[R N: title R], where N is the pane number. Active pane titles use colour7
|
||||||
brackets/numbers, colour11 separator and colour15 title; inactive panes use
|
brackets/numbers, colour11 separator and colour15 title; inactive panes use
|
||||||
colour8, colour3 and colour12. Toggle title rows in the Configuration menu.
|
colour8, colour3 and colour12. Toggle title rows in the Configuration menu.
|
||||||
|
|
@ -327,11 +301,9 @@ are passed through as 24-bit SGR when COLORTERM is truecolor or 24bit and TERM
|
||||||
does not start with screen, tmux, linux, or dumb; otherwise RGB is mapped to
|
does not start with screen, tmux, linux, or dumb; otherwise RGB is mapped to
|
||||||
the nearest xterm-256 entry.
|
the nearest xterm-256 entry.
|
||||||
.SH SESSION SIZE
|
.SH SESSION SIZE
|
||||||
By default, the most recently attached or resized client determines the session
|
The most recently attached or resized client determines the session size,
|
||||||
size, clamped to a minimum of 20 columns by 5 rows and a maximum of 1,000 by
|
clamped to a minimum of 20 columns by 5 rows and a maximum of 1,000 by 1,000.
|
||||||
1,000. With the \-\-resize\-on\-input option or the Configuration menu toggle,
|
Larger clients center the session; smaller clients show its top-left portion.
|
||||||
the client that most recently sent input determines the size instead;
|
|
||||||
attaching and resizing are only used before any client has sent input.
|
|
||||||
Ctrl-A R forces the session to the current client's terminal size.
|
Ctrl-A R forces the session to the current client's terminal size.
|
||||||
Ctrl-A * lists attached clients for size diagnostics.
|
Ctrl-A * lists attached clients for size diagnostics.
|
||||||
.PP
|
.PP
|
||||||
|
|
@ -345,9 +317,7 @@ assume --hostname is enabled.
|
||||||
SSH does not expose remote foreground programs or working directories locally.
|
SSH does not expose remote foreground programs or working directories locally.
|
||||||
Configure the remote shell to send terminal reports using one of the examples
|
Configure the remote shell to send terminal reports using one of the examples
|
||||||
below. Reload the shell configuration or open a new SSH shell afterward.
|
below. Reload the shell configuration or open a new SSH shell afterward.
|
||||||
Sessions started by a handoff-capable build can move to a new binary with
|
Restart session servers after upgrading murx to gain newly added features.
|
||||||
.BR "murx \-\-adopt [" session "]";
|
|
||||||
older session servers still need a restart after upgrading.
|
|
||||||
.PP
|
.PP
|
||||||
OSC 0 or OSC 2 titles of the form hostname:program update the SSH window name.
|
OSC 0 or OSC 2 titles of the form hostname:program update the SSH window name.
|
||||||
Use a hostname containing only letters, digits, dots, underscores or hyphens,
|
Use a hostname containing only letters, digits, dots, underscores or hyphens,
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
# Local source snapshot; refresh version and checksums with `make pkgsums`.
|
# Local source snapshot; refresh version and checksums with `make pkgsums`.
|
||||||
pkgname=murx
|
pkgname=murx
|
||||||
pkgver=1.0.4
|
pkgver=1.0.3
|
||||||
pkgrel=0
|
pkgrel=0
|
||||||
pkgdesc="Small persistent terminal multiplexer"
|
pkgdesc="Small persistent terminal multiplexer"
|
||||||
url="https://codeberg.org/armin/murx"
|
url="https://codeberg.org/armin/murx"
|
||||||
|
|
@ -26,10 +26,10 @@ package() {
|
||||||
}
|
}
|
||||||
|
|
||||||
sha512sums="
|
sha512sums="
|
||||||
fb4a217160f7816b03adb76272a6c477d106d4b5d91a404f3041b579910c233df9fcb84dbef358219e1b9df783a59729458c9418b0277e257661a9d5a5bb7300 murx.c
|
68c0e952a57d03e5c2cc6a7451cca1687341c20620634617529b6dc84f0fcdc7cb49cbc662bfad5b1fe3229c082a61480813ed5c01a1994c1b2a8e34bd421e29 murx.c
|
||||||
ac75bfe596fae665ba882a10f5d16551bdd02cd601b786364763ac74dbc651c386d3a464eb63e0344354b953611629135190633e3b8ff3a8ef0f0849d60a3f7b Makefile
|
ac75bfe596fae665ba882a10f5d16551bdd02cd601b786364763ac74dbc651c386d3a464eb63e0344354b953611629135190633e3b8ff3a8ef0f0849d60a3f7b Makefile
|
||||||
16a542970423f761175da657bc54d37c089197cc3428397c2de51a312280c751b03af70ce38cf5b3fea9e0b2ed006d5b892e54ddbc625806e05e41a726b18225 murx.1
|
219082e6277ee8c226cdd61a5b17d4e3c6893adf04b2f59ea84a6b6421dbd5a6d0ff38b93d8dd8ae41ed037e77252058dacadd5ff1f0c36c7c1ff95503e1e7a8 murx.1
|
||||||
1ce08e99e30b85347bf8f228525440887e083f9cc2175f951693fa2dad9357870fa587ffc1ee98a60edad957468f2b8b8af96ac3bf6ddd38df13deceb429f381 MURX-README.md
|
1b98d82dc3c41c376827cfd3883ee8918f24e82eab138fbb0e62bc5c2b0ba9498eb3abe59dc96b3f3d67a20fbdb331ed113d1898297c4f3c904e6341364cfdc9 MURX-README.md
|
||||||
2fe33ba22c5f68e124904be594208f050be20f33d115f9a56f60cac93304102da32e6a7e78154e831d3704da7ca8bfefd7025e7b8901e65babcd83e7342f6382 LICENSE
|
2fe33ba22c5f68e124904be594208f050be20f33d115f9a56f60cac93304102da32e6a7e78154e831d3704da7ca8bfefd7025e7b8901e65babcd83e7342f6382 LICENSE
|
||||||
4d32dba475e5f9818fcd008068b011cbae9fc4b8e29897c933775d6660f44a7992d08a1550320d83233af729a42b241ef1d182bf5983ef2f64deab76cab2260d AUTHORS
|
4d32dba475e5f9818fcd008068b011cbae9fc4b8e29897c933775d6660f44a7992d08a1550320d83233af729a42b241ef1d182bf5983ef2f64deab76cab2260d AUTHORS
|
||||||
"
|
"
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
# Local source snapshot; refresh version and checksums with `make pkgsums`.
|
# Local source snapshot; refresh version and checksums with `make pkgsums`.
|
||||||
pkgname=murx
|
pkgname=murx
|
||||||
pkgver=1.0.4
|
pkgver=1.0.3
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc='Small persistent terminal multiplexer'
|
pkgdesc='Small persistent terminal multiplexer'
|
||||||
arch=('x86_64' 'aarch64')
|
arch=('x86_64' 'aarch64')
|
||||||
|
|
@ -8,10 +8,10 @@ url='https://codeberg.org/armin/murx'
|
||||||
license=('Apache-2.0')
|
license=('Apache-2.0')
|
||||||
depends=('glibc')
|
depends=('glibc')
|
||||||
source=('murx.c' 'Makefile' 'murx.1' 'MURX-README.md' 'LICENSE' 'AUTHORS')
|
source=('murx.c' 'Makefile' 'murx.1' 'MURX-README.md' 'LICENSE' 'AUTHORS')
|
||||||
sha256sums=('ab974ac7c5aab39c60d8b1c4e13974bd25d4cee3a228a821dc4f83cafc0d2e0d'
|
sha256sums=('358d39eed410a9657ef811892288ef407fe8f17709cb1b4b5e0405635594b70d'
|
||||||
'78a9c19c212e8038422e1bb4bb96d9b25eb19ad1359489cd32edf9e1a76638b2'
|
'78a9c19c212e8038422e1bb4bb96d9b25eb19ad1359489cd32edf9e1a76638b2'
|
||||||
'00496e2c82881dfc10e70d64ebcfde94f25bd3227c1481fa29ce564c81b55c2d'
|
'953966bfdd0b49cb26c11220e1e2bf6b5862aaa1b2d0bf002cde9d276f0ae96b'
|
||||||
'615dffa59389202bf7efb1e2a0b672e1e6b1801e1289f4f68728c9dfe98d4ea2'
|
'1a9c479723f74cdc3a2af6cf7a4ad52388681b11a5ba3f4cfb73d28af631e036'
|
||||||
'31c5556be4cdd9bf52bb55f18ead0c68a4f0e793c2c2dab0a2a2c6d92407d0d4'
|
'31c5556be4cdd9bf52bb55f18ead0c68a4f0e793c2c2dab0a2a2c6d92407d0d4'
|
||||||
'dbc8a4fc569d4cd7bcd45516ccc98c1396fce0682c262103069c8f5150538cdb')
|
'dbc8a4fc569d4cd7bcd45516ccc98c1396fce0682c262103069c8f5150538cdb')
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,3 @@
|
||||||
murx (1.0.4-1) unstable; urgency=medium
|
|
||||||
|
|
||||||
* Update to upstream version 1.0.4.
|
|
||||||
|
|
||||||
-- Johannes Findeisen <you@hanez.org> Tue, 24 Nov 2026 10:40:26 +0100
|
|
||||||
|
|
||||||
murx (1.0.3-1) unstable; urgency=medium
|
murx (1.0.3-1) unstable; urgency=medium
|
||||||
|
|
||||||
* Add Debian packaging for murx 1.0.3.
|
* Add Debian packaging for murx 1.0.3.
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
PORTNAME= murx
|
PORTNAME= murx
|
||||||
DISTVERSION= 1.0.4
|
DISTVERSION= 1.0.3
|
||||||
CATEGORIES= sysutils
|
CATEGORIES= sysutils
|
||||||
MASTER_SITES= https://xw3.org/murx/murx/archive/
|
MASTER_SITES= https://xw3.org/murx/murx/archive/
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
COMMENT = small persistent terminal multiplexer
|
COMMENT = small persistent terminal multiplexer
|
||||||
|
|
||||||
DISTNAME = murx-1.0.4
|
DISTNAME = murx-1.0.3
|
||||||
CATEGORIES = sysutils
|
CATEGORIES = sysutils
|
||||||
HOMEPAGE = https://codeberg.org/armin/murx
|
HOMEPAGE = https://codeberg.org/armin/murx
|
||||||
MAINTAINER = Johannes Findeisen <you@hanez.org>
|
MAINTAINER = Johannes Findeisen <you@hanez.org>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue