1
0
Fork 0
forked from murx/murx

Added -l and --list-sessions to the client.

This commit is contained in:
Johannes Findeisen 2026-11-16 04:30:33 +01:00
commit 9eff55f573
5 changed files with 129 additions and 20 deletions

16
moerx.1
View file

@ -14,6 +14,9 @@ moerx \- small persistent terminal multiplexer
.br
.B moerx
.BR \-h " | " \-\-help
.br
.B moerx
.BR \-l " | " \-\-list\-sessions
.SH DESCRIPTION
.B moerx
runs shells and terminal programs in windows and split panes.
@ -34,6 +37,13 @@ hyphens or underscores. Use
before a name beginning with a hyphen.
.SH OPTIONS
.TP
.BR \-l ", " \-\-list\-sessions
List running sessions for the current user, sorted by name, one per line.
Checks the runtime socket directory and /tmp fallback, skips stale sockets
and suppresses duplicate names. No terminal is required and no session is
created or attached. Prints nothing if no sessions are running.
Do not supply a session name with this option.
.TP
.BR \-p " letter, " \-\-prefix " letter"
Choose this client's control prefix. Letters a through z are accepted,
case-insensitively; a means Ctrl-A and x means Ctrl-X.
@ -407,10 +417,12 @@ or use the confirmed kill-pane, kill-window or kill-server bindings.
.SH EXIT STATUS
.TP
.B 0
Normal client exit, including detaching, or successful help output.
Normal client exit, including detaching, successful help output or session
listing (including an empty list).
.TP
.B 1
Unable to start or attach to a session, or client terminal setup failed.
Unable to start or attach to a session, client terminal setup failed, or
a session directory could not be read while listing.
.TP
.B 2
Invalid command-line options or session name.