hope2333.github.io / wiki

Push261104


Push261104 — Terminal fixes and full wrapper backfill

GitHub Release · 中文版 · English · Español · 日本語 · 繁體中文

Overview

Two silent-failure fixes plus a complete backfill of both wrapper families.

118 assets: 4 native packages, 110 wrapper packages (deb + pacman per version), 2 checksum manifests.

The two fixes

v2 PTY. POST /api/pty always returned 500 ERR_DLOPEN_FAILED while TUI, serve and the web UI worked fine. The embedded librust_pty was a glibc build and bionic has no libpthread.so.0. The musl + shim route was tried and rejected — it dlopens, but Bun then hits SIGSEGV@0x0 on POST /api/pty. The fix builds the bun-pty Rust crate natively for aarch64-linux-android (termios android cfg, static libunwind.a).

v1 TUI. The launcher ran the TUI in a background process group (to capture crash stderr), so it could never take the terminal foreground and never left canonical/echo mode — keys needed Enter and terminal probe replies were echoed back as junk. The launcher now runs in the foreground; a binary guard drops the second ESC so Termux's batched probe replies do not corrupt the stream.

Notes