Skip to content

Terminal

Remote terminal and SFTP tabs show their own connection state: the icon is in color when connected; while connecting and when disconnected, the icon turns gray and so does the tab’s name. Hover over the icon to see the state in words (such as “Ubuntu · Not connected”). After a remote connection fails, exits, is disconnected or has authentication cancelled, the terminal says “Press Enter to reconnect or Space to close the tab”: with the terminal focused, an unmodified Enter reconnects that tab with the settings it opened with, and Space closes the tab (like its ×). Held keys, pasted input, search fields and authentication fields do not trigger either. To reconnect the remote terminal in front at any time, connected or not (say, for a change to your profile on the server to take effect), press ⌘⇧R (Ctrl+Shift+R on Windows and Linux), as “Reconnect” in the tab’s menu does. After reconnecting, everything the terminal showed before, scrollback included, stays, and the new connection’s output carries on below it; if a full-screen program such as vim or top was open, its screen isn’t kept, but what was under it is. Local terminals retain their restart action. When the connection drops while the shell runs, the terminal says “Connection lost” and why (such as “The server stopped responding”), with no exit code. Through a short network outage (a VPN or Wi-Fi hiccup), a connection waits about two minutes for the server before giving up, on Windows too, where the system on its own gives up after about 20 seconds. Closing a tab tells the server before disconnecting; the server’s log records it as ShellRS closed the terminal.

The terminal’s context menu has “Copy”, “Paste”, “Select all”, “Find…”, “Clear screen” and “Compose pane”; a remote terminal’s also has “Copy IP” (“Copy hostname” when the address is a domain name) and “Copy ID” below “Copy”, and “Open SFTP”, “Reconnect” and “Disconnect” at the bottom. “Disconnect” disconnects only this tab: the tab stays and can reconnect at any time, and other tabs and SFTP for the same host aren’t affected. Settings › Terminal › Interaction can make right-click paste or do nothing instead, and can turn on “Copy on select”. A program that uses the mouse (as tmux or vim can) gets the right-click instead and shows its own menu, if it has one; hold Shift as you right-click to get this menu.

  • Host keys: the first time you connect to a host, you confirm its host key (“Trust and connect”); it’s recorded in ShellRS’s own known_hosts and not asked about again. When the server’s key doesn’t match the one recorded (the system was reinstalled or the key replaced, or someone may be posing as the server), a dialog shows the recorded and the current fingerprints: “Update and connect” deletes the old keys recorded for this host, puts the current one in their place and carries on connecting; “Cancel” doesn’t connect. “Test connection”, the external CLI and port forwards reconnecting by themselves only report an error in this case, without asking; connect to the host once in ShellRS to update the key.
  • Scrollback: each terminal keeps the last 10,000 lines. Scroll up with the wheel or trackpad, or a screen at a time with Shift+PageUp and Shift+PageDown (fn+Shift+↑ and fn+Shift+↓ on a Mac laptop’s keyboard), and a scrollbar appears on the right (as in the app’s other lists, following the system’s “Show scroll bars” setting); drag it, or click the track to jump there. Full-screen programs such as vim, less and top have no scrollback and show no scrollbar; Shift+PageUp and Shift+PageDown go to them.
  • Select all (⌘A, or Ctrl+Shift+A on Windows and Linux): selects all the text in the scrollback and on the screen, leaving out blank lines before and after it; press ⌘C (Ctrl+Shift+C) to copy it. With “Copy on select” on, it goes straight to the clipboard. While a full-screen program such as vim or less is running, only the screen is selected.
  • Find (⌘F, or Ctrl+Shift+F on Windows and Linux): opens the find bar at the top right of the terminal and searches the screen and the scrollback for the literal text. An all-lowercase query ignores case; one with capital letters matches case. All matches are highlighted, the current one darker, and the find bar shows “current/total”. Enter or ⌘G (F3) goes to the next match (newer output), Shift+Enter or ⌘⇧G (Shift+F3) to the previous one (older output), wrapping around at the ends. F3 and Shift+F3 find only while the find bar is open; otherwise they go to the program in the terminal, such as mc’s View. Esc closes it. If text is selected when it opens, that text becomes the query.
  • Clear screen (⌘K, or Ctrl+Shift+K on Windows and Linux): clears the screen and the scrollback, leaving only the prompt line the cursor is on, including anything typed but not yet entered. Clearing happens only locally; nothing is sent to the server. It isn’t available while a full-screen program such as vim or top is running.
  • Recording: right-click the terminal and choose “Start recording…”, then choose where to save it in the save panel (the name is like ShellRS-20261123-174322.log, in Downloads the first time and then in the folder you chose last). From then on, what the terminal shows goes into that file line by line, and the terminal’s top right shows “Recording” with a blinking red dot (steady when the system is set to reduce motion); hover over it to see where the file is. The file is plain text: each line as the screen shows it, without colors or control characters, so any text editor opens it. What you type is there as the shell echoes it: commands go in with their prompt, and passwords that aren’t echoed don’t. Full-screen programs such as vim and top aren’t recorded. The file is written as it goes, and recording carries on after a reconnect. Choose “Stop recording” in the same menu to end it: the line the cursor is on goes in last, and a notification says where the file is. Closing the tab while recording saves it too. Local and remote terminals each record on their own.
  • Links: http:// and https:// addresses in the output, and links that programs mark explicitly (such as ls --hyperlink and gcc’s error messages), are shown in blue and underlined. Hold ⌘ (Ctrl on Windows and Linux) and click to open one in the system browser; a plain click still selects text. Rest the pointer on a link for a moment to see its real address: for a link a program marks, the text shown can differ from the address. A trailing period, comma or unmatched closing parenthesis isn’t part of the address, and a long address wrapped over two lines is still one link. Other schemes (such as file://) aren’t treated as links.
  • Rectangular selection: drag with Option held (Alt on Windows and Linux) to select a rectangle, the same columns of each line: for copying one column of a table (such as the container IDs from docker ps), one side of a tmux or vim split, or lines without their line numbers or timestamps. It copies as one piece per line, joined with line breaks, without trailing spaces. When a program is using the mouse, drag with Shift+Option (Shift+Alt) held. Some Linux desktops move windows with Alt+drag, and it doesn’t work there.
  • Mouse: when programs such as vim (:set mouse=a), htop, tmux (set -g mouse on) and mc ask for the mouse, clicks, drags and the scroll wheel all go to the program. Right and middle clicks go to the program too, as in xterm and Ghostty: a program with a context menu of its own (such as tmux or herdr) shows its menu; on a Mac, Control-click counts as a right-click. Dragging with Shift held still selects text (with Option or Alt held too, a rectangle), scrolling with Shift held still scrolls through the scrollback, and right- or middle-clicking with Shift held does what “Right-click” or “Middle-click” in the settings says. When a program turns the mouse off, all three kinds of mouse reporting (1000, 1002 and 1003) go off together, as in xterm: older tmux (2.4 to 3.1, such as the 3.0a that comes with Ubuntu 20.04) turns off only two of them when you detach from a program that wants every mouse motion, such as Claude Code, and back at the shell the mouse still selects text instead of typing junk. On Windows, local terminals run on the ConPTY that comes with ShellRS (conpty.dll and OpenConsole.exe beside shellrs.exe, from Microsoft’s Windows Terminal) rather than on the system’s console host: the one in Windows lags behind Windows Terminal’s and, with full-screen programs such as Pi, turns the scroll wheel into the up and down arrows, so they can’t scroll.
  • Function keys: F1–F12, Insert, Delete, PageUp and PageDown pressed with Shift, Ctrl or Alt go to the program with their modifiers, as xterm sends them: mc’s Shift+F5 copies and Shift+F6 renames, and vim’s Ctrl+PageUp switches tabs. Shift+PageUp and Shift+PageDown go to full-screen programs only; otherwise they page through the scrollback. On Windows and Linux, Shift+Insert pastes (as Ctrl+Shift+V does) and doesn’t go to the program; Ctrl+Insert copies the selected text (as Ctrl+Shift+C does, and the selection stays), and with nothing selected goes to the program. Selection tools, such as the ones in Feishu and Yuanbao, press Ctrl+Insert to take the selected text.
  • Notifications: programs can ask for a notification (OSC 9, or OSC 777’s notify;title;body), and a terminal bell alerts you too. When ShellRS isn’t in front, you get a system notification (macOS asks for permission the first time), and clicking it takes you back to that terminal; when ShellRS is in front but the terminal is in another tab, a notice appears at the top right of the window, and clicking it switches there. Notifications that programs ask for appear even when the terminal is right in front of you; the bell alerts you only when you can’t see that terminal (Tab completion and the like ring it too; a terminal shown in a split counts as seen). The notification title is the tab name, so you can tell which host it came from. Each terminal alerts at most once every 2 seconds for program notifications and once every 10 seconds for the bell. Settings › Terminal › Notifications can turn each one off. To be told when a command finishes, append ; printf '\e]9;Done\a' or ; tput bel to it; command-line tools such as Claude Code alert you the same way when they need you.
  • Dropping files: drop files or folders from the Finder (File Explorer) on a local terminal, and their full paths are pasted at the cursor, as in the system’s own terminal: spaces and special characters get a backslash before them (on Windows, a path with either is put in double quotes), several paths are separated by spaces, and a space follows the last; nothing runs. The terminal takes the focus. Tools such as Claude Code recognize a pasted image path, so dropping an image attaches it (shown as [Image #1]), and other files come in as paths. Dropped on a remote terminal, files are uploaded with ZMODEM instead (see ZMODEM transfers below).
  • Opening a folder from Finder (macOS): drop a folder on the ShellRS icon in the Dock, or open it with ShellRS from a tool that adds to Finder’s menu, or run open -a ShellRS folder, and a new local terminal opens in that folder (as with ⌘T, not in Projects), with the window brought to the front. If ShellRS isn’t running, it starts; while the app lock is on, the terminal opens once you unlock. Only folders open, not files, and ShellRS never becomes the app folders open in by default: double-clicking a folder still opens it in Finder.
  • Highlighting: the rules in Settings › Highlighting show matching text in the rule’s color in every terminal, scrollback included. Only the display changes: the server’s output and copied text stay the same; matching keeps working after the window is resized and long lines wrap, and a word wrapped over two lines is colored in both parts. The feature is off by default and works only once you turn on “Highlight keywords” at the top of the page; turning it off disables all the rules at once. “Preview” shows sample output in the current terminal’s font and colors, and rule changes show up at once in the preview and in open terminals. The rules table has one rule per row, edited right in the table: “On”, “Regular expression” (case-sensitive; start it with (?i) to ignore case), “Note”, a color (click the swatch for a color picker, or type #rrggbb next to it) and “Notify”; the trash can at the end of the row deletes the rule. A mistake in a regular expression is pointed out below the field, and the rule doesn’t apply until it’s fixed. Rules apply from top to bottom, and where they overlap, the earlier rule wins; drag the handle at the start of a row to reorder. Eleven preset rules come to start with (from a set a user shared, for logs and network devices’ output): errors, failures and links down (ERROR, FAILED, DOWN and others) in red; success, normal and links up (OK, UP, ESTABLISHED and others) in green; warnings, changes and standby (WARN, TIMEOUT, STANDBY and others) in olive; IPv4, IPv6 and MAC addresses, unspec and sizes with units in parentheses (such as (39.4 KB)) in cyan; dates and times in amber; and numbers on their own in blue (not the digits inside a word such as T113). The keywords are case-sensitive, and the colors read on light and dark themes alike. All are on and not notifying, so turning on the main switch shows the effect right away; you can change or delete them. Earlier versions came with three sample rules (ERROR, WARN and IPv4 addresses); if none of them was changed, they become these presets on upgrading, and rules you changed, added or deleted stay as they are. A rule with “Notify” checked alerts you when you can’t see the terminal, the same way as the bell: a system notification when ShellRS isn’t in front, and a notice at the top right of the window when the terminal is in another tab. The title is “tab name: note” (the regular expression when the note is empty), and the body is the matching line. Only new output is checked, each line once it ends; each terminal alerts at most once every 10 seconds, and the same line redrawn over and over at most once every 5 minutes. Nothing is highlighted or alerted in full-screen programs such as vim, less, top and tmux. Not implemented yet: per-host rules, text styles such as bold, and reordering with the keyboard.
  • Remote copy: what remote programs copy with OSC 52 (such as tmux with set -g set-clipboard on, or vim’s OSC 52 plugins) goes straight to this computer’s clipboard. Remote programs can’t read this computer’s clipboard.
  • Pasting an image: with an image and no text on the clipboard (a screenshot, or “Copy image” in a browser or chat app), pasting (⌘V, Ctrl+Shift+V on Windows and Linux, or Paste in the context menu) presses Ctrl+V for you: tools such as Claude Code and Codex read the image from the clipboard themselves on Ctrl+V. In a shell, Ctrl+V means “take the next key as it is”. With text on the clipboard, pasting pastes the text as usual.
  • Shift+Enter for a new line: command-line tools such as Claude Code ask whether the terminal can tell keys apart (the kitty keyboard protocol). ShellRS says it can and, while they run, sends keys the way the protocol asks, so Shift+Enter starts a new line in them (Option+Enter, or Alt+Enter on Windows and Linux, still works too); in remote terminals as well. In a plain shell, Shift+Enter is still Enter.
  • Local terminal tab names: a local terminal’s tab shows the title its shell sets. Until it sets one, a terminal kept in Projects shows its last title or its name there, and others a name such as “Local terminal 1”. A terminal you named yourself in Projects always shows that name. zsh and bash often set it to “user@host:folder”; when that’s this computer and the title is longer than 30 characters, the tab shows just the folder’s name (such as go-dock). A shorter title, or one from another machine you ssh to from it, shows as it is. While a program runs, the tab shows the title the program sets, such as “✳ Claude Code”. A tab name that’s too long ends in “…”.
  • ZMODEM transfers: run rz or sz file… in a terminal (the server needs lrzsz, such as apt install lrzsz or yum install lrzsz) and ShellRS takes it up. It works in SSH, Telnet and serial terminals, on a bastion host that gives you only a shell, and in a local terminal where you ssh on to another machine.
    • rz opens a picker for the files to upload (you can choose several). sz opens a picker for the folder to save into, every time. Cancelling the picker stops rz or sz on the other end.
    • Drag and drop: drag files from the Finder (File Explorer) onto a remote terminal, and ShellRS types rz and Enter for you and uploads them without asking. Folders you drag along are left out; upload folders with SFTP.
    • During a transfer, a line in the terminal shows the progress (file name, percentage, size, speed), and each file leaves a line when it’s done. Press Ctrl+C to cancel; other keys do nothing meanwhile.
    • A download never overwrites a file: one with the same name is saved as “name (1)”, and a file not received in full is deleted. lrzsz’s rz doesn’t overwrite a file of the same name on the server either and shows “Skipped”; use rz -y to overwrite.
    • After you cancel a download, lrzsz’s sz sends on for a moment before it stops; ShellRS doesn’t show that data, and shows the prompt once it has stopped. Press Ctrl+C again to stop waiting.
    • Uploads also work with another ssh in between (you ssh on to another machine from the server and run rz there): ShellRS escapes line feeds too, so that ssh doesn’t take parts of the file for its escapes such as ~. and ~?, and you don’t need ssh -e none. With something on the way that eats control characters, such as telnet, run rz -e, and ShellRS escapes every control character. When the other end keeps getting the same data wrong, ShellRS cancels the transfer and says why.
    • A file can be at most 4 GB, the limit of the ZMODEM protocol. It doesn’t work inside tmux or screen, which change the data on its way. Over Telnet, the server has to handle carriage returns the way Telnet says (most do).
  • Without a graphics card: in a virtual machine without 3D acceleration, the processor draws the interface (the version number’s tooltip on the About page says “software rendering”), and every frame costs processor time. ShellRS then draws fewer frames: terminal output at most every 50 milliseconds (the first after a pause still at once, so typing isn’t affected), a cursor that doesn’t blink, and no animations. If the virtual machine can turn on 3D acceleration, turn it on.