-
v2.0.0 Stable
released this
2026-11-16 20:50:18 -06:00 | 0 commits to master since this releasetmuxc changes since v1.9.1
Breaking changes
exitlastis now on by default.--noexitlastturns it off.- Pause is gone: the
-p/--pauseoption, the PauseSelf command and menu entry, andextras/xscreensaver-watcher.shhave been removed. - tmuxc now uses the first config file it finds. The search order is
~/.config/tmuxc.conf,~/.tmuxc.conf,~/.config/tmuxc/tmuxc.conf, then the Haiku settings file.$XDG_CONFIG_HOME/tmuxc.settingsis no longer searched. @and:in session names are replaced with-, as.already was. The remote session menu hides sessions whose names contain.,:or@.- The command FIFO is read directly, so tmuxc no longer waits for USR1. USR1 is accepted and ignored.
- An invalid command-line option now prints usage and exits with status 2.
New
- Terminal hook: the
hook_suboption names a Perl file that returns a code ref, and thehookoption is a hash set globally, per host or per session. The sub runs before each terminal opens and can add arguments to the terminal command. - KWin hook:
kwin.plplaces each terminal window. It can put the window on a desktop, maximize it, tile it to a half or quarter of the screen, or center it. ssh_controlsets the name of the ControlMaster socket. The default is%C.blacklistandssh_prereqscan be set globally, per host or per session, and inherit from the level above with@inherit%parent%.- Each attached session gets an
@tmuxc_wmtag set to its window mode, so key bindings and the status bar can depend on the mode. on_connectnow also runs in multi-window mode, once for each clone session.--printoutput is grouped, aligned and colored.NO_COLORturns the color off.
Reconnect and reliability
- Failed attaches now back off the same way failed connections do, up to 64 seconds. tmuxc logs why the control session ended.
ssh_prereqsrun before every ControlMaster attempt and retry everyprereq_intervalseconds (default 1) instead of using the backoff. A failing prereq no longer exits tmuxc whilereconnectis on.reconnectis now respected whenexitlastis set.exitlastnow works for local sessions.- A config reload that fails now keeps the running config. Before, it killed the daemon.
- The command FIFO is set up before the first connection, so
tmuxc -eworks while tmuxc is still trying to connect. - The pidfile is now held with
flock. This stops two copies of the same session starting at once and stops a reused PID making a dead instance look alive.
Fixes
- Session names, host names and window names containing spaces, quotes, commas, colons or shell metacharacters now work. tmuxc quotes them, runs its commands without a local shell, and matches tmux session targets exactly.
- Clone sessions are created from the control session, so they always join the right group. Each clone gets
destroy-unattachedset on it correctly. - tmuxc only picks up its own clones. Before, a host named
boxalso claimed clones made bybox2. - Remote session names no longer end in a stray
\r. - Option arrays set at host level are no longer listed as sessions.
- Syslog messages are logged at their own level, and nothing goes to syslog unless
log_facilityis set. Errors are logged at LOG_ERR. closeasnow ignores windows whose terminal was closed.- Forked terminal children exit with
POSIX::_exit. A failed exec no longer runs the daemon's cleanup. - The broken tmux version check and RefreshClient have been removed.
- The script finds perl through
/usr/bin/env.
Docs
- The README, POD and man page now describe
wmandpoeas tmuxc actually reads them, and correctskipnw, thessh_prereqsexit behavior and the config search order. - They also cover the terminal hook and the
@tmuxc_wmbindings. - The example config is a working config that uses the KWin hook.
Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
16 downloads