Skip to content

ThothTerm Security 0.1.2

Choose a tag to compare

@Lord1Egypt Lord1Egypt released this 01 Nov 10:46
· 13 commits to master since this release

ThothTerm Security 0.1.2

Patch release for com.thothterm.security (versionCode 102), built from commit defe279, the same commit as Rolling 0.1.3. It brings over the terminal fixes from ThothTerm•ThothDock 0.5.1 and 0.5.2.

  • Codex works without --no-daemon. Android denies apps /proc/stat and /proc/uptime, so ps -o lstart failed with "Unable to get system boot time" and the Codex app-server daemon could not start. Each window now binds read-only stand-ins over both files with the real boot time (stable to the second). When Android does allow the real files, no stand-in is used.
  • Swiping scrolls full-screen programs such as OpenCode, which asks for mouse reporting. Swipes are sent as wheel events whenever a program requests them, in the SGR format (mode 1006) when it asks for that. Before, they were sent only with the "Send mouse events" setting turned on, so long conversations could not be scrolled back. Tap reporting still follows that setting.
  • 24-bit colours: the terminal reads both forms of truecolour escape (38;2;r;g;b and the colon form). Escape arguments stay in bounds. OpenCode and similar TUIs no longer show wrong colours or missing letters.
  • Welcome banner waits for the window size instead of drawing for a zero-width screen.
  • PRoot patches 0009 to 0018, shipped in ThothTerm•ThothDock since 0.4.1, are now in this edition's PRoot too (the patch set is shared). Active in every window: Ctrl-\ (SIGQUIT) reaches the program instead of ending the whole session; a fake-root program can call chroot (OpenSSH's sshd) without PRoot aborting; setpriv-style capability calls (Redis 7.4+, Valkey) are emulated under fake root; Unix sockets with long paths stay at their real path. The container-only options (--net-ip, --sysvipc, --hostname) stay off, because this edition does not pass them.
  • Applies to existing installs from the next window opened after the update.

Checked: garden-common 390, garden-arch 28, garden-security 39, term-ubuntu 323 and emulatorview 34 unit tests, 0 failures. The same /proc and mouse code was tested on a Samsung SM-A165F (Android 16) in ThothTerm•ThothDock 0.5.1 and 0.5.2: ps -o lstart works, codex app-server daemon start and stop succeed, and swipes reach the program as SGR wheel reports (ESC[<64;…M / ESC[<65;…M). Tested in this edition on the same phone with this signed APK: ps -o lstart works, Codex 0.166.0 (npm) codex app-server daemon start and stop succeed without --no-daemon, swipes arrive as SGR wheel reports with mouse mode on and send nothing with it off, and 24-bit colours render.

Signing / reproducible: signed with the Security key (certificate SHA-256 24dd0902a3f370f55c184445d36c3dda7dcfc556b89a7da0a261e4fc88cbe3c6). The unsigned APK is the fdroid build --on-server output from F-Droid's buildserver-trixie image. Two independent builds were byte-identical, and apksigcopier compare confirms that the signed APK is that file plus a signature. Hashes: SHA256SUMS.txt.