Skip to content

v0.9.0

Choose a tag to compare

@github-actions github-actions released this 31 Oct 08:46
· 548 commits to main since this release

Borg 0.9.0 adds a built-in editor, a clipboard, instant search with a query language, Time Machine exclusions on macOS, and new ways to look inside a process's memory.

Editor

  • F4 opens the selected file in Borg's own editor; Shift-F4 opens it in $VISUAL or $EDITOR.
  • The editor keeps the file's line endings and indentation, highlights code as the viewer does, and numbers the lines.
  • Shift with the arrows selects. Ctrl-C, Ctrl-X and Ctrl-V copy, cut and paste; Ctrl-Z and Ctrl-Y undo and redo; Tab and Shift-Tab indent and outdent.
  • Find (Ctrl-F, F7), replace (Ctrl-R, F4) one match at a time or all in one undo step, and go to a line (Ctrl-G).
  • F2 or Ctrl-S saves through a temporary file, so a file is never half written. Borg asks before closing with unsaved changes, and before saving over a file that changed on disk.
  • A click places the cursor, a drag or Shift-click selects, a double click selects a word, and the wheel scrolls.
  • Files that are not UTF-8 text, or are larger than 32 MiB, open in the viewer instead.

Search

  • Query language. In Ctrl-F every word must match: main rs finds main.rs, and a | b finds either. Quoted phrases, globs, paths such as src/lib and -word work, as do the filters ext:rs,toml, type:file, size:>10M, mod:<7d and in:src.
  • Generated and ignored files are left out: node_modules, .git, target or dist beside a build file, folders tagged with CACHEDIR.TAG, and what .gitignore, .ignore, .rgignore and .borgignore list. F4 in the search dialog edits what is left out and saves it; excluded:yes and hidden:yes search everything once.
  • Instant search. Search → Index this folder for instant search keeps an index of every name below a folder, so a search there answers at once. Indexes are rebuilt in the background.
  • Recent searches are listed under the form; Ctrl-P and Ctrl-N, or a click, take one. history = false under [search] turns this off.
  • Names match in any alphabet and any case, however the file system stores accented letters, and matches near the search folder show first.
  • On macOS, searches started above ~/Library/Containers and ~/Library/Group Containers leave them out, so macOS does not stop the search to ask about access to other apps' data.

Clipboard

  • Ctrl-Insert copies the marked names and Alt-Shift-Insert their full paths; the File menu offers both. Copies reach your computer's clipboard through the terminal, also over SSH and in a mirror you control.
  • Borg keeps its last 20 copies: Ctrl-V or Shift-Insert pastes the latest into Borg's own fields, such as dialogs, even where the terminal cannot reach your clipboard.

Time Machine exclusions (macOS)

  • Alt-T, or Command → Time Machine, shows what backups leave out in three tabs: the selection, cache and build folders under the panel's folder with their sizes, and every exclusion Borg can find.
  • E excludes with a mark on the item, which needs no password and moves with it; P excludes the path; I includes items again; A excludes a path you type.
  • Panels mark excluded entries with ⊘ and count them in the footer, and Ctrl-L Info shows how Time Machine treats the item under the cursor.

Activity monitor and memory

  • Page map. M in a region shows its pages by what they hold: pointers, text, code, compressed or encrypted data, zeros, and pages not in memory.
  • Strings and Indicators. The memory search lists the strings a process built in its own memory, marks those only memory holds, and picks out URLs, IP addresses, paths, command lines, secrets and base64.
  • Integrity check. I compares the code in memory with the files it came from, and looks for executable images no file backs, memory both writable and executable, and injected libraries. Findings are leads, not verdicts.
  • Captures fold runs of zero rows, skip a region's leading zeros, and step through it 64 KiB at a time with ], [, > and <.
  • Open files previews a regular file under its details; Tab scrolls the preview and F3 opens the file in the viewer.
  • On macOS, a process whose memory System Integrity Protection or the Hardened Runtime guards is marked Memory protected, and Administrator is no longer offered where it cannot help.
  • Agents can search a process's memory. The first search of each process waits for your approval.

Remote

  • Forget a paired host on this client with F8 when it is unavailable, or Shift-F8 when it is online. Its sessions and files are kept.
  • exit in a remote console asks before it closes the shell on the host.
  • Borg cloud recovers a stalled relay registration, and Remote hosts says why a host is unavailable.

Other changes

  • Alt-R reloads the active panel. Remote hosts moved to Alt-H.
  • Dialogs take the mouse: the theme and language pickers, jobs and their questions, About, Remote hosts, Remote access and 2048.
  • In Bash and Fish, the cd Borg types when a panel changes folder no longer shows in the console.
  • Paging through a large highlighted file no longer stalls.
  • A file named like a picture that holds text opens as text.
  • Translated buttons and keybar hints keep their key at the start.
  • Rare glitches flash over empty folders, and each October 28 an empty folder remembers Sir Patrick Stewart, with a portrait drawn from a photo by Gage Skidmore (CC BY-SA 3.0).

Updating

From 0.8.3:

borg update

Borg 0.8.2 and earlier cannot download an update larger than 10 MiB, and 0.9.0's archives are larger. Install again instead:

curl -fsSL https://raw.githubusercontent.com/0xcd21h/borg-commander/main/scripts/install.sh | sh

Homebrew and Cargo installations should use their package manager. Restart Borg on both client and host after updating.

Downloads

Borg binaries are provided for Linux and macOS on x86_64 and ARM64. Linux Borg and relay binaries are static MUSL builds. Each archive has a SHA-256 checksum file.

The relay container image is ghcr.io/0xcd21h/borg-relay:0.9.0 for linux/amd64 and linux/arm64.