# 使用 Homebrew, apt, MacPorts, Nix 安装 xtermcontrol

查看 xtermcontrol 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:xtermcontrol
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install xtermcontrol
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install xtermcontrol
```

  证据: MacPorts ports tree: x11/xtermcontrol/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Debian apt (92%):

```sh
sudo apt install xtermcontrol
```

  证据: Debian stable package indexes: xtermcontrol from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- Nix (92%):

```sh
nix profile install nixpkgs#xtermcontrol
```

  证据: nixpkgs package indexes: pkgs/by-name/xt/xtermcontrol/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:xtermcontrol
- **软件包管理器:** Homebrew
- **版本:** 3.10
- **来源摘要:** Control xterm properties such as colors, title, font and geometry
- **主页:** <https://thrysoee.dk/xtermcontrol/>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- xtermcontrol (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 3.10
## 项目历史与用法

xtermcontrol is a small command-line controller for a running xterm. It wraps xterm control sequences so users can change or query colors, title, font, geometry, and window state without hand-writing escape sequences.

### 项目历史

Jess Thrysoee's changelog records the initial 1.0.0 release in 2002, followed by a 2.0.0 rewrite later that year when the project was renamed from xtermcolors to xtermcontrol. The rename marks the scope change from color tweaking to a general interface for xterm properties and control sequences.

The project evolved in lockstep with xterm behavior. Early changes mention xterm patch levels, Cygwin behavior, removal of Xlib dependencies, configuration parsing fixes, and documentation for xterm resources such as allowWindowOps, allowTitleOps, and allowFontOps.

### 采用历史

The upstream page lists packaging across Homebrew, Debian, Ubuntu, Gentoo, Arch/AUR, NetBSD, FreeBSD, and MacPorts. That spread fits the tool's niche: it is not a desktop terminal itself, but it is useful wherever users still automate xterm sessions.

### 使用方式

Typical usage is interactive or scripted: set foreground/background/cursor colors, change the title, move or resize the window, raise/lower or iconify it, query current settings, source `~/.xtermcontrol`, or send raw xterm control sequences through `--raw`.

### 为什么软件包爱好者会关心

xtermcontrol is package-nerd useful because it exposes xterm's deep control-sequence surface as a normal Unix command: configure, build, install, put a dotfile in home, and script terminal state.

### 时间线

- 2002-05-18: Initial 1.0.0 release recorded in the upstream changelog.
- 2002-09-19: 2.0.0 rewrite renames the project from xtermcolors to xtermcontrol.
- 2004-12-22: 2.7 removes Xlib dependencies.
- 2009-10-16: Documentation adds guidance for allowWindowOps, allowTitleOps, and allowFontOps.
- 2013-04-30: 3.0 changes when `~/.xtermcontrol` is read.

### Related projects

- xterm: the terminal emulator whose properties and control sequences xtermcontrol manipulates.
- xtitle: a simpler title/icon-name script in the same xterm-control niche.
- tmux and Cygwin: environments reflected in xtermcontrol compatibility work.

### 来源

- <https://api.github.com/repos/JessThrysoee/xtermcontrol>
- <https://github.com/JessThrysoee/xtermcontrol>
- <https://thrysoee.dk/xtermcontrol/>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: ~/.xtermcontrol
## 其他软件包管理器记录

- Debian apt - xtermcontrol - 3.8-6: normalized package name match | Debian stable package indexes: xtermcontrol from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | dynamic configuration of xterm properties | https://www.thrysoee.dk/xtermcontrol/
- Nix - xtermcontrol: normalized package name match | nixpkgs package indexes: pkgs/by-name/xt/xtermcontrol/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - xtermcontrol - 3.8-6: normalized package name match | Ubuntu 24.04 LTS package indexes: xtermcontrol from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | dynamic configuration of xterm properties | https://www.thrysoee.dk/xtermcontrol/
- MacPorts - xtermcontrol: normalized package name match | MacPorts ports tree: x11/xtermcontrol/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/xtermcontrol.yml](https://github.com/mxcl/pkgdb/blob/main/combined/xtermcontrol.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
