1
0
Fork 0
forked from murx/murx

Release murx 1.0.4 and fix the Arch build

This commit is contained in:
Johannes Findeisen 2026-11-24 10:42:09 +01:00
commit ee0ef44478
5 changed files with 30 additions and 15 deletions

View file

@ -1,9 +1,19 @@
# Unreleased # murx 1.0.4 released
**November 24, 2026**
- Added short options for `--history` (`-H`), `--cwd` (`-d`), - Added short options for `--history` (`-H`), `--cwd` (`-d`),
`--clock` (`-C`), `--murx` (`-m`), `--hostname` (`-n`), and `--clock` (`-C`), `--murx` (`-m`), `--hostname` (`-n`), and
`--titles` (`-t`). `--titles` (`-t`).
- Renamed `--pane-titles` to `--titles`. - 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

11
murx.c
View file

@ -88,7 +88,7 @@
#define MURX_NOIPA #define MURX_NOIPA
#endif #endif
#define MURX_VERSION "1.0.3" #define MURX_VERSION "1.0.4"
#define DEFAULT_PREFIX 0x01 #define DEFAULT_PREFIX 0x01
/* client -> server */ /* client -> server */
@ -1522,7 +1522,7 @@ struct Client {
int truecolor; int truecolor;
unsigned char in[16384]; unsigned char in[16384];
size_t inlen; size_t inlen;
long long escape_since; int64_t escape_since;
unsigned char net[65536]; unsigned char net[65536];
size_t netlen; size_t netlen;
@ -1553,7 +1553,7 @@ struct Client {
int confirm_action; /* 1 kill pane, 2 kill server, 3 kill window */ int confirm_action; /* 1 kill pane, 2 kill server, 3 kill window */
char msg[256]; char msg[256];
long long msg_until; int64_t msg_until;
char title[160]; char title[160];
@ -1849,7 +1849,7 @@ static Pane *pane_new(const char *cwd, int w, int h, const char *title,
signal(SIGTERM, SIG_DFL); signal(SIGTERM, SIG_DFL);
setenv("TERM", "screen-256color", 1); setenv("TERM", "screen-256color", 1);
if (session_name && *session_name) setenv("MURX", session_name, 1); if (session_name && *session_name) setenv("MURX", session_name, 1);
if (cwd && *cwd) chdir(cwd); if (cwd && *cwd && chdir(cwd) < 0) perror("murx: chdir");
const char *base = strrchr(shell, '/'); const char *base = strrchr(shell, '/');
base = base ? base + 1 : shell; base = base ? base + 1 : shell;
char arg0[PATH_MAX]; char arg0[PATH_MAX];
@ -4895,8 +4895,7 @@ static int session_serialize(Session *s, HBuf *b, int *fds, int *nfds,
buf_i32(b, last_idx); buf_i32(b, last_idx);
buf_u32(b, (uint32_t)nclient); buf_u32(b, (uint32_t)nclient);
int ci = 0; for (Client *c = s->clients; c; c = c->next) {
for (Client *c = s->clients; c; c = c->next, ci++) {
fds[fd_i++] = c->fd; fds[fd_i++] = c->fd;
ser_client(b, c, fd_i - 1, panes, npane, ser_client(b, c, fd_i - 1, panes, npane,
c == adopt_client ? adopt_skip : 0); c == adopt_client ? adopt_skip : 0);

View file

@ -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.3 pkgver=1.0.4
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="
299f4fcc053bcf46313ad34655aaf9180b59dc3a86758fd24e848c0cb1933d99ceeb56e4f85c592dd612d625f55b118284ee6a94c991216af61daa343091d518 murx.c 9ea57a94318d3b8df8e8e2e4c45ad00a0df9b54cb6d93b9d1cb5f2f0a0c26ab3402a70d141404fb8124b92e58f2581944e4d924094f927e9b035e4fe1836913d murx.c
ac75bfe596fae665ba882a10f5d16551bdd02cd601b786364763ac74dbc651c386d3a464eb63e0344354b953611629135190633e3b8ff3a8ef0f0849d60a3f7b Makefile ac75bfe596fae665ba882a10f5d16551bdd02cd601b786364763ac74dbc651c386d3a464eb63e0344354b953611629135190633e3b8ff3a8ef0f0849d60a3f7b Makefile
7546e0d84cb9094b4b2ac14e05d38a37270c2a4451f3d41aaa7b0b38290acb0ff6de821331634c802d08568817cf1ed0fbb5afd6734ef4a8155720b826ab6ce9 murx.1 16a542970423f761175da657bc54d37c089197cc3428397c2de51a312280c751b03af70ce38cf5b3fea9e0b2ed006d5b892e54ddbc625806e05e41a726b18225 murx.1
6dce945220e19d90e295c1bdac3c9015f93759c22ba7dcbf467d8c7b9d3c0d6369770bba149da68925e9a02cb0df96e3d1ed2889529288de5cf29202604de090 MURX-README.md 1ce08e99e30b85347bf8f228525440887e083f9cc2175f951693fa2dad9357870fa587ffc1ee98a60edad957468f2b8b8af96ac3bf6ddd38df13deceb429f381 MURX-README.md
2fe33ba22c5f68e124904be594208f050be20f33d115f9a56f60cac93304102da32e6a7e78154e831d3704da7ca8bfefd7025e7b8901e65babcd83e7342f6382 LICENSE 2fe33ba22c5f68e124904be594208f050be20f33d115f9a56f60cac93304102da32e6a7e78154e831d3704da7ca8bfefd7025e7b8901e65babcd83e7342f6382 LICENSE
4d32dba475e5f9818fcd008068b011cbae9fc4b8e29897c933775d6660f44a7992d08a1550320d83233af729a42b241ef1d182bf5983ef2f64deab76cab2260d AUTHORS 4d32dba475e5f9818fcd008068b011cbae9fc4b8e29897c933775d6660f44a7992d08a1550320d83233af729a42b241ef1d182bf5983ef2f64deab76cab2260d AUTHORS
" "

View file

@ -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.3 pkgver=1.0.4
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=('4ab7d155c3d9b23c22fc5792837ce2dd4e020cf0998edb743e7726edee73b438' sha256sums=('824e06e7e77c57437509fcd9b8eea7eef83d84aba0e6e376abd58f95b89d9b2a'
'78a9c19c212e8038422e1bb4bb96d9b25eb19ad1359489cd32edf9e1a76638b2' '78a9c19c212e8038422e1bb4bb96d9b25eb19ad1359489cd32edf9e1a76638b2'
'a4b48ce1c847869956ea52eac50c51446a9e6f720d8e4b211cb97a78a7f53663' '00496e2c82881dfc10e70d64ebcfde94f25bd3227c1481fa29ce564c81b55c2d'
'c49f2baa2a00da7a73881d6d05cbc07c28530b7f831ebdb2639fa1bb974a9290' '615dffa59389202bf7efb1e2a0b672e1e6b1801e1289f4f68728c9dfe98d4ea2'
'31c5556be4cdd9bf52bb55f18ead0c68a4f0e793c2c2dab0a2a2c6d92407d0d4' '31c5556be4cdd9bf52bb55f18ead0c68a4f0e793c2c2dab0a2a2c6d92407d0d4'
'dbc8a4fc569d4cd7bcd45516ccc98c1396fce0682c262103069c8f5150538cdb') 'dbc8a4fc569d4cd7bcd45516ccc98c1396fce0682c262103069c8f5150538cdb')

View file

@ -1,3 +1,9 @@
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.