TSM - Terminal Emulator State Machine

January 26, 2026 ยท View on GitHub

Build Status

TSM is a state machine for DEC VT100-VT520 compatible terminal emulators. It tries to support all common standards while keeping compatibility to existing emulators like xterm, gnome-terminal, konsole, ...

This is a personal modified version. Upstream development has restarted from this fork at official repository Please submit new issues and PR there.

Added feature

Build

meson setup build
cd build
meson compile
meson install

Build options

Options may be supplied when configuring meson:

meson -Dtests=true -Dextra_debug=true -Dgtktsm=true

The following options are available:

NameDescriptionDefault
testsWhether build the test suiteON
extra_debugWhether to enable several non-standard debug optionsOFF
gtktsmWhether to build the gtktsm example. This is linux-only as it uses epoll and friends. Therefore is disabled by default.OFF

Dependencies

Required

Optional

  • xkbcommon-keysyms.h from xkbcommon (Optional. Will use private copy if not found.)

Test suite

  • check >= 0.9.10 (For the test suite)

Gtktsm

  • gtk3
  • cairo
  • pango
  • xkbcommon