# 使用 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
- **软件包管理器页面:** <https://formulae.brew.sh/formula/xtermcontrol>
- **版本:** 3.10
- **来源摘要:** Control xterm properties such as colors, title, font and geometry
- **主页:** <https://thrysoee.dk/xtermcontrol/>
- **上游文档:** <https://thrysoee.dk/xtermcontrol/>
- **许可证:** GPL-2.0-or-later
- **源码归档:** <https://thrysoee.dk/xtermcontrol/xtermcontrol-3.10.tar.gz>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- xtermcontrol (cli)
- xtermcontrol (别名)

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 3.10
- 本地数据: OK
- 上游仓库: https://thrysoee.dk/xtermcontrol/
- 信息: No package-manager update timestamp was available.
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

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
## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** xtermcontrol
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## 其他软件包管理器记录

- 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


## 相关链接

- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/zh-hans/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/zh-hans/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [xtitle](https://pkg.so/zh-hans/brew/xtitle/) - Shares pkgdb curated category or tags: cli, developer-tools, x11, xterm.
- [fzf](https://pkg.so/zh-hans/brew/fzf/) - Shares pkgdb curated category or tags: cli, developer-tools, terminal.
- [neovim](https://pkg.so/zh-hans/brew/neovim/) - Shares pkgdb curated category or tags: cli, developer-tools, terminal.
- [starship](https://pkg.so/zh-hans/brew/starship/) - Shares pkgdb curated category or tags: cli, developer-tools, terminal.
- [television](https://pkg.so/zh-hans/brew/television/) - Shares pkgdb curated category or tags: cli, developer-tools, terminal.
- [oh-my-posh](https://pkg.so/zh-hans/brew/oh-my-posh/) - Shares pkgdb curated category or tags: cli, developer-tools, terminal.
- [glow](https://pkg.so/zh-hans/brew/glow/) - Shares pkgdb curated category or tags: cli, developer-tools, terminal.
- [nano](https://pkg.so/zh-hans/brew/nano/) - Shares pkgdb curated category or tags: cli, developer-tools, terminal.
- [xterm](https://pkg.so/zh-hans/brew/xterm/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, terminal, x11.
- [chalk-cli](https://pkg.so/zh-hans/brew/chalk-cli/) - Local package facts share a topical domain. Shared terms: cli, colors, developer, developer-tools, terminal.

## 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
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
