# 使用 Homebrew, apt, dnf, MacPorts, Nix 安装 vttest

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

## 安装

```sh
sudo av install brew:vttest
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install vttest
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install vttest
```

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

### Linux

- Debian apt (92%):

```sh
sudo apt install vttest
```

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

- dnf (92%):

```sh
sudo dnf install vttest
```

  证据: Fedora Rawhide package metadata: vttest from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#vttest
```

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

## 软件包事实

- **软件包键:** brew:vttest
- **软件包管理器:** Homebrew
- **版本:** 20251205
- **来源摘要:** Test compatibility of VT100-compatible terminals
- **主页:** <https://invisible-island.net/vttest/>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- vttest (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

vttest is an interactive terminal-emulation test program for VT100-compatible terminals and emulators, later extended to cover VT220 through VT520 behavior and xterm variants. It is used to demonstrate where a terminal emulator matches, diverges from, or only partially implements DEC and xterm control-sequence behavior.

### 项目历史

Per Lindberg wrote the original vttest at the Stockholm University Computing Center between 1983 and 1985 to exercise DEC VT100 and VT102 terminals and software emulators. Version 1.7b, dated 1985-04-19, was later distributed through the Usenet `mod.sources` group in 1986 and became part of Unix source archives.

Thomas E. Dickey began his maintained version in May 1996, starting from 1.7b, to support changes he was making to xterm. He changed the version number to 2.0 for the initial 1996 release, then moved from traditional version numbers to patch dates as the effective release identifier.

### 采用历史

vttest became durable because terminal compatibility is difficult to specify from prose alone. Dickey's version expanded from the original VT100/VT102 focus into color erase behavior, character sets, VT220 and later DEC model features, xterm extensions, Tektronix-related tests, and other edge cases useful to emulator authors and maintainers.

The vttest page documents its appearance across Unix-like packaging systems and related terminal projects. It has been used or referenced around PCVT, FreeBSD console work, rxvt, KDE Konsole, Linux console behavior, xterm, and terminal-description testing alongside tools such as tack.

### 使用方式

The program is menu-driven: users choose tests for cursor movement, screen features, character sets, keyboard reports, VT220-and-newer controls, color, xterm extensions, and related behavior, then inspect the screen or recorded replies. The man page describes it as testing display escape-sequence handling and keyboard behavior for VT100-type terminals.

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

For terminal and package nerds, vttest is a benchmark with historical teeth. A terminal emulator can advertise VT100 compatibility, but vttest makes obscure behavior visible: alternate screens, wraparound, erases with background color, DEC private modes, device attributes, national replacement character sets, and xterm-specific sequences.

### 时间线

- 1983-1985: Per Lindberg writes the original VTTEST at Stockholm University.
- 1985-04-19: Original line reaches version 1.7b.
- 1986-09-02: Version 1.7b is distributed through Usenet `mod.sources`.
- 1996-05: Thomas E. Dickey begins the maintained version from 1.7b for xterm work.
- 1996: Maintained branch is released as version 2.0.
- 2007-01-02: Dickey contacts Lindberg and receives permission to change the original copyright notice to a BSD-style license.
- 2025-12-05: Current changelog shows continued maintenance and new terminal tests.

### Related projects

- xterm is the closest related project in Dickey's maintained history of vttest.
- tack, esctest, ncurses examples, terminal descriptions, rxvt, Konsole, FreeBSD console work, and Linux console behavior are all discussed in relation to vttest's testing role.

### 来源

- <https://invisible-island.net/vttest/CHANGES.html - maintained changelog through 2025-12-05.>
- <https://invisible-island.net/vttest/manpage/vttest.html - official man page describing behavior and usage.>
- <https://invisible-island.net/vttest/vttest.html - maintainer's project page, synopsis, history, licensing, packages, related sources, and testing notes.>
- <https://www.kermitproject.org/vttest.html - historical secondary page on the original 1983-1985 VTTEST.>


## 安全说明

narrow executable package without higher-risk signals.

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

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

- Debian apt - vttest - 2.7+20241208-1: normalized package name match | Debian stable package indexes: vttest from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | tool for testing VT100 compatibility of terminals | https://invisible-island.net/vttest/
- Nix - vttest: normalized package name match | nixpkgs package indexes: pkgs/by-name/vt/vttest/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - vttest - 2.7+20230201-1: normalized package name match | Ubuntu 24.04 LTS package indexes: vttest from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | tool for testing VT100 compatibility of terminals | https://invisible-island.net/vttest/
- dnf - vttest - 2.7.20251205-10.fc45: normalized package name match | Fedora Rawhide package metadata: vttest from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | test VT100-type terminal | https://invisible-island.net/vttest/
- MacPorts - vttest: normalized package name match | MacPorts ports tree: devel/vttest/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/vttest.yml](https://github.com/mxcl/pkgdb/blob/main/combined/vttest.yml)


## 来源

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