Skip to main content

Fork your input to multiple Terminal windows

Project description

ClusterTerminal (cterm) forwards all keystrokes from a master window to multiple slave windows. Use cterm as a method for performing ad hoc tasks, not as a substitute for automation frameworks.

alt text


pip3 install cterm

ClusterTerminal uses the built-in Terminal application of macOS.


The most common use case is controlling multiple SSH sessions simultaneously:

cterm ssh host1 host2


You might want to set up an alias for cluster ssh in your ~/.bash_profile. For instance, alias cssh="cterm ssh", and then call it using cssh host1 host2.

In an alias, you can save your normal settings, like alias cssh="cterm --screen 2 ssh" to change the default screen.

If you specify the same argument twice, the last instance is the one used. This is useful since you may want to overwrite part of your alias, but not all of it. For example, the following will use screen 1:

cterm ssh host1 host2 --screen 2 --screen 1


The scripting methods of Terminal do not return the transparency of the window. Instead, they always 0 for the alpha component (completely opaque). Not only that, but you can't set the alpha value either (it remains 0 even when changed). Due to that, ClusterTerminal removes any transparency on the windows it spawns.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for cterm, version 0.0.5
Filename, size File type Python version Upload date Hashes
Filename, size cterm-0.0.5-py3-none-any.whl (11.4 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size cterm-0.0.5.tar.gz (11.1 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page