Kalgoorlie Retro Docs

Documentation for the Kalgoorlie Retro BBS, its games and servers

User Tools

Site Tools


termbench:installing

This is an old revision of the document!


Installing TermBench

Get version 1.11.4 from the download page. Both platforms are 64-bit.

Windows

Download termbench-1.11.4-windows-x64-setup.exe and run it. It asks who TermBench is for:

  • Just for me installs under %LOCALAPPDATA%\Programs\TermBench with no administrator rights needed.
  • Everyone on this computer installs under C:\Program Files\TermBench with a Start menu entry for every user. Windows asks for administrator rights.

Either way TermBench is added to the Start menu and each user keeps their own settings. An update keeps the choice you made last time. For a scripted install, /S /ALLUSERS or /S /CURRENTUSER chooses without asking. Remove it from Settings → Apps or with the Uninstall shortcut (an install for everyone asks for administrator rights); your settings are kept.

For a portable copy, extract termbench-1.11.4-windows-x64.zip anywhere and run TermBench\termbench.exe. Keep the DLL files next to it.

  • Settings are kept in %APPDATA%\termbench.
  • Credential passwords go into Windows Credential Manager.
  • Python scripts need Python 3 from python.org with python on the PATH. Lua is built in.
  • The OpenSSH engine and SFTP sessions use Windows' own ssh.exe and sftp.exe.
  • Serial ports are the COM ports Windows lists.
  • For Tools → SSH Agent, start the “OpenSSH Authentication Agent” service (Services, set it to Manual or Automatic and start it).

The Windows version has been tested under Wine. Tell us if something does not work on your PC.

Linux (Debian, Ubuntu, Mint)

Download termbench_1.11.4_amd64.deb, open a terminal in that folder and run:

sudo apt install ./termbench_1.11.4_amd64.deb
termbench

It needs Ubuntu 24.04, Debian 13 or newer. apt installs libssh and the other libraries, and suggests libsecret-tools (credential passwords) and python3. After installing, TermBench also shows up in Discover and other software centres. Remove it with sudo apt remove termbench.

Linux (any distribution)

tar xf termbench-1.11.4-linux-x86_64.tar.gz
cd termbench-1.11.4-linux-x86_64
./install.sh

This installs into ~/.local without root. ./install.sh –uninstall removes it again. It needs glibc 2.34 or later and libssh (libssh-4 or your distribution's equivalent).

Settings are kept in ~/.config/termbench (TERMBENCH_CONFIG chooses another folder). The file is written safely and readable only by you; if it ever cannot be read it is kept as settings.json.bad-<date> rather than overwritten.

Updates

From version 1.5.0, TermBench tells you when a new version is out. Once a day, a few seconds after it starts, it reads a small file on the website (https://kalretro.au/termbench/latest.json) that names the newest version. Nothing about you is sent, only the TermBench version and operating system.

When there is a newer version, a window shows what is new, with three buttons:

  • Update Now downloads the new version over https, checks it against its published checksum and installs it (from 1.9.2, a download that is not https or has no checksum is refused):
    • Debian package: it installs the new .deb and asks for your password (the normal system password prompt). Then choose Restart Now, or keep working and restart later.
    • Windows installer: the new setup program starts and TermBench closes so the files can be replaced. Follow the installer and start TermBench again.
    • Portable ZIP, tar archive or your own build: the download page opens so you can fetch the new files yourself.
  • Not Now closes the window. You are asked again at the next daily check.
  • Skip This Version stops notices about that version. You will still hear about the next one.

Help → Check for Updates… checks straight away, even for a skipped version, and tells you if you already have the latest. To stop the daily check, untick Tell me when a new version is available in the update window or in Options → Global Options.

Version 1.4.0 and older have no update check: install 1.5.0 by hand once, the same way as a new install (on Linux, sudo apt install ./termbench_1.5.0_amd64.deb upgrades in place and keeps your settings). Updating needs curl, which Windows 10 and later and most Linux systems include.

Troubleshooting

  • SSH asks about the host key every time: the session's Known hosts file (Session Options → SSH2) must be writable.
  • A session says it uses the OpenSSH client: it needs a feature the built-in engine does not have (a jump host, an Ed25519 certificate, extra -o options, or agent forwarding on Windows). Install the OpenSSH client.
  • TermBench does not start on a Windows virtual machine (1.10.0): a virtual machine without a graphics card offers only OpenGL 1.1. Update to 1.11.4, which then draws with DirectX 12 (Windows' software renderer) instead. It remembers this in a file use-directx-renderer in the settings folder; delete it to try OpenGL again.
  • Serial port will not open on Linux: add yourself to the dialout group and log in again.
  • Paste does nothing on Linux (1.4.0 and older): on Wayland desktops such as KDE Plasma only Ctrl+Shift+V pasted. Update to 1.5.0, where every way of pasting works.
  • Ctrl+Shift+C and Ctrl+Shift+V do not copy and paste (1.10.0 to 1.11.1): update to 1.11.3. In those versions Ctrl+Shift+C interrupts the running program; Shift+Insert and the Edit menu paste. Close and reopen TermBench after updating: an open window keeps running the old version.
  • Right-click pastes something old in Claude Code: before 1.11.3 the right-click went to Claude Code, which pastes by itself. From 1.11.3 it opens TermBench's menu.
  • Plain Ctrl+V does not paste: by default Ctrl+C and Ctrl+V go to the program in the terminal. Use Ctrl+Shift+C and Ctrl+Shift+V, or turn on the copy and paste keys in Session Options → Input.
  • “Could not check for a new version”: the computer could not reach the website, or curl is missing. Open Download Page in that window still works.
  • Update Now on Linux says it was cancelled: the password prompt was closed. Try again, or install the downloaded package from ~/.cache/termbench/updates with sudo apt install.
  • Python script does not start: install Python 3; on Windows tick “Add python.exe to PATH” in its installer.
termbench/installing.1796053634.txt.gz · Last modified: by slaterm