TermBench is written in Rust. Download termbench-1.11.6-source.tar.gz from the download page.
Install Rust (rustup), a C compiler and the libssh development files (libssh-dev on Debian/Ubuntu), then:
tar xf termbench-1.11.6-source.tar.gz cd termbench-1.11.6-source cargo test cargo build --release ./target/release/termbench
scripts/build-packages.sh makes the Debian package and the tar archive.
scripts/build-windows.sh builds the Windows installer and ZIP with the x86_64-pc-windows-gnu Rust target, mingw-w64 and NSIS. It needs libssh, OpenSSL and zlib built for Windows; scripts/windows-env.sh says where they are expected.
The source supports macOS 11 or later, but it has not been built on a Mac yet. On a Mac: install the Xcode command line tools (xcode-select –install), Rust (rustup) and Homebrew, then brew install libssh openssl@3 pkg-config and run scripts/build-macos.sh. It makes dist/TermBench.app with libssh and OpenSSL inside, a ZIP and a DMG, signed ad hoc (on another Mac, Control-click the app and choose Open the first time). TARGET=x86_64-apple-darwin scripts/build-macos.sh builds for Intel Macs. Settings are kept in ~/Library/Application Support/termbench and passwords in the Keychain. Please report how it goes.
src/ — the program (terminal, connections, SSH engine, Zmodem, scripting API, Lua runner, user interface).scripting/ — the Python and Lua modules given to scripts.vendored/vt100 — the terminal parser with TermBench's changes listed in TERMBENCH-PATCHES.md.examples/ — sample scripts.TermBench is free software under the MIT licence.