This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch tymux-10-quiet-head
in repository terminology.

View the commit online.

commit fa7483da857c94137e325a3423ccee6e0bbb65bb
Author: Boris Faure <[email protected]>
AuthorDate: Sat Nov 7 19:49:54 2026 +0100

    DEV.md: add section on headless runs
---
 DEV.md | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/DEV.md b/DEV.md
index 47055591..3b18770c 100644
--- a/DEV.md
+++ b/DEV.md
@@ -17,3 +17,29 @@ terminfo entry, so that the two cannot drift apart.
 After editing `data/terminfo/terminology.terminfo`, run
 `tools/terminfo_tcap.py data/terminfo/terminology.terminfo src/bin/termptytcap.h`
 and commit both files.
+
+# Headless runs
+
+Terminology can run without a display server when Elementary renders
+off-screen. It never picks a rendering engine itself: Elementary takes it
+from the environment (the engines are listed in `elm_win.h`). In a
+container or in CI, the shot engine renders in memory and writes a PNG:
+
+```sh
+ELM_ENGINE="shot:delay=2.0:file=/tmp/ty.png" \
+    ./build/src/bin/terminology --no-wizard=true -g 80x10 -e ./demo.sh
+```
+
+The image is written once the delay expires. `-e` runs the command and the
+window closes when it exits, so the command must keep running past the
+shot delay (end `demo.sh` with a `sleep`). `--no-wizard=true` (the option
+takes a value) skips the first-run configuration wizard.
+
+In a bare container fontconfig may lack its default configuration; point
+`FONTCONFIG_FILE` at a minimal one (`<dir>` for the system fonts, a
+writable `<cachedir>`).
+
+The shot engine can only be chosen through `ELM_ENGINE`. `ELM_DISPLAY`
+names a display system (`x11`, `wl`, `fb`, `buffer`) rather than a
+renderer; `ELM_DISPLAY=buffer` renders off-screen but writes no image.
+Elementary ignores `ECORE_EVAS_ENGINE`.

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

Reply via email to