Tabs
Remote terminal tabs and SFTP tabs use the host’s system badge as their icon: the host list’s when the tab opens, and for a terminal what its own connection then finds; a system another connection finds later updates only the host list. A serial host’s terminal tab menu has no “Open SFTP” and no “Copy IP”, and has “Send break” instead: it holds the line in the break condition for about 0.3 seconds, as Cisco password recovery and Linux’s SysRq need. A Telnet host’s tab menu has “Send break” too (sending Telnet’s break) and “Copy IP”, but no “Open SFTP”. A remote terminal tab’s context menu has “Rename tab…” (for this run only; leave the name empty to go back to the host’s name; handy for telling several connections to the same host apart), “Duplicate session”, “Open SFTP”, “Copy IP” / “Copy hostname”, “Reconnect”, “Edit host…”, “Show in host list”, and “Close”, “Close to the left”, “Close to the right”, “Close others” and “Close all”. “Duplicate session” opens a separate terminal tab with the original tab’s name (a renamed one included) and connection. When an SSH terminal knows its working folder, the new connection goes to that folder once it’s up (after the host’s “Commands after login”, if any); otherwise it starts in the usual login folder. The folder is restored only on the copy’s first successful connection. With the center area split, the new tab opens in the same pane as the original. An SFTP tab’s menu has “Rename tab…” (leave the name empty to go back to “host name · SFTP”), “Open SFTP”, “Copy IP” / “Copy hostname”, “Show in host list”, “Reconnect” and the close commands, and the right of its tab bar has the same “SFTP” and “Reconnect” buttons as a remote terminal’s; a local terminal tab’s menu has “Restart” and the close commands. The “…” button at the right of the tab bar has the same menu as the current tab’s context menu. Double-click any tab’s title to hide or show the left sidebar (like ⌘B); middle-click it to close the tab, as × does. When there are more tabs than fit, turn the mouse wheel over the tab bar to scroll them. While a remote terminal is running, or an SFTP tab is connected, the right of the tab bar shows the round-trip latency of that SSH connection, updated every 5 seconds: green below 100 ms, yellow at 100–200 ms, red above 200 ms or on a timeout. It’s measured during SFTP transfers too, and the reading rises when a transfer takes up the bandwidth. When closing tabs in bulk, an SFTP tab that’s uploading still asks first.
Compose pane
Section titled “Compose pane”For writing and editing commands, several lines if you like, before sending them to a terminal. ⌘⇧E (Ctrl+Shift+E on Windows and Linux) or “Compose pane” in the terminal’s context menu shows or hides it. It sits below the terminals, between the sidebars; there’s one for the whole window, and you can drag its top edge to change its height.
- Where it sends: to the terminal in front, local or remote, the same one the right sidebar and the status bar follow (in a split, the terminal you last switched to or clicked into). Its title says which, such as “Compose · web-01”. With no terminal on screen it hides, and comes back with the next one.
- Sending: press Enter or click “Send” to run what you wrote; Shift+Enter starts a new line. It’s sent as it is, after whatever is already typed in the terminal; the line isn’t cleared first. Several lines are pasted as one and then run when the terminal supports bracketed paste (zsh, fish, bash 5.1 and later by default), and run line by line otherwise. Once sent, the pane is empty again and keeps the keyboard; Enter in an empty pane presses Enter in the terminal. A terminal running a full-screen program (vim, top and so on) gets no command, and a notification says so.
- History: ↑ on the first line goes back to the commands sent before, as in a terminal; ↓ on the last line goes forward again, and past the newest back to what you were writing. Several lines are one command: going back to one puts the caret on its first line, so ↑ goes on at once; on the other lines ↑ and ↓ move the caret as usual. You can change a command you went back to before sending it, and the change stays until you next send. Commands that are empty, the same as the one before or start with a space aren’t kept (as with bash’s
HISTCONTROL=ignoreboth), and neither are those sent from “Snippets”. The last 500 are kept as plain text incompose-history.jsonin the data folder, so they’re there at the next launch; they aren’t synced. - “Snippets” sends a snippet, run or only put on the input line as its “Run on click” setting says. “Ctrl+C” sends Ctrl+C to the terminal.
- Whether it’s shown is kept for the next launch; its height and anything not yet sent are kept until you quit.
Broadcast input
Section titled “Broadcast input”For running the same commands on several hosts at once. Click “Broadcast input” at the left end of the tab bar: remote and local terminal tabs show a checkbox ahead of their icon, all unchecked; the icon still shows whether the terminal is connected. Only connected terminals can be checked.
- Once two or more are checked, they’re arranged side by side in the order checked: two next to each other, three or four in two rows of two, and so on. The compose pane appears below them (or stays, if it was already open) and sends to all checked terminals. Checking another arranges them again; unchecking one only takes it out of the broadcast and leaves the layout alone.
- Compose pane: while broadcasting it’s the command bar, and its title says “N checked terminals”. Press Enter or click “Send to all” to run what you wrote in every checked terminal; it’s sent as it is, and the line isn’t cleared first (as with Xshell’s and SecureCRT’s sending to all sessions). “Snippets” and “Ctrl+C” go to all of them too, and a “Sync keys” switch appears. A terminal running a full-screen program gets no command, and a notification says which. While broadcasting, the compose pane can’t be hidden; ⌘⇧E only moves the keyboard to it.
- Sync keys: off by default. Turned on, what you type or paste in one checked terminal goes to the others too, each handling arrow keys and bracketed paste in its own mode, which works in full-screen programs such as vim as well. A password you type goes along too.
- Search fields, authentication dialogs, mouse actions, terminal protocol replies, and commands from History, the Snippets sidebar or the external CLI aren’t broadcast. A broadcast Ctrl+C cancels a ZMODEM transfer running in another terminal; with Sync keys on, your keys stop another Telnet terminal’s automatic login.
- A terminal that’s closed, disconnected or reconnected leaves the broadcast; check it again after reconnecting. New terminals aren’t checked by themselves. Click × at the top right of the compose pane, or “Broadcast input” again, to stop: the checkboxes go away, the compose pane goes back to how it was before (hidden, if it wasn’t open), and the split layout stays for you to drag back. Broadcasting isn’t saved.