Skip to content

Aetf/libtsm

Repository files navigation

TSM - Terminal Emulator State Machine

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. For more information, please refer to its original README.

Added feature

Build

mkdir build && cd build
cmake ..
make
make install

Build options

Options may be supplied when configuring cmake:

cmake -DOPTION1=VALUE1 -DOPTION2=VALUE2 ..

The following options are available:

Name Description Default
BUILD_SHARED_LIBS Whether to build as a shared library ON
BUILD_TESTING Whether to build test suits OFF
ENABLE_EXTRA_DEBUG Whether to enable several non-standard debug options. OFF
BUILD_GTKTSM Whether to build the gtktsm example. This is linux-only as it uses epoll and friends. Therefore is disabled by default. OFF

Dependencies

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

The test suits needs:

The gtktsm example needs:

  • gtk3
  • cairo
  • pango
  • xkbcommon