# ttyrec を Homebrew, apt, MacPorts でインストール

ttyrec のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:ttyrec
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install ttyrec
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install ttyrec
```

  証拠: MacPorts ports tree: sysutils/ttyrec/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Debian apt (92%):

```sh
sudo apt install ttyrec
```

  証拠: Debian stable package indexes: ttyrec from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

## パッケージ情報

- **パッケージキー:** brew:ttyrec
- **パッケージマネージャ:** Homebrew
- **バージョン:** 1.0.8
- **ソース概要:** Terminal interaction recorder and player
- **ホームページ:** <http://0xcc.net/ttyrec/>
- **最終更新:** 2026-07-18T21:12:51-04:00
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- ttyplay (エイリアス)
- ttyrec (エイリアス)
- ttytime (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 1.0.8
## プロジェクトの歴史と使われ方

ttyrec is a tty recorder and playback tool for terminal sessions. The official page says recorded data can be replayed with `ttyplay`, and describes ttyrec as derived from the Unix `script` command with added timing information at microsecond accuracy.

### プロジェクトの歴史

The official 0xcc page records ttyrec 1.0 as released on 2000-12-27, calling it the first version. The same page was last modified in 2006 and lists ttyrec 1.0.8 as the 2006-06-11 release.

ttyrec's model was deliberately small: record terminal bytes plus timing, then play them back. The page says it can record programs running on a tty such as Emacs in terminal mode, vi, lynx, or arbitrary tty programs.

### 採用の歴史

The official page links a tarball, RPM packages, and CVS, and the supplied package facts show continued packaging in Homebrew, Debian, MacPorts, and Ubuntu.

The project also seeded a small ecosystem around terminal recording. The official links list IPBT, TTYPLAYER, Term::TtyRec, x11rec, and related experiments; ttygif later used ttyrec files as its input format.

### 使われ方

The basic documented workflow is `ttyrec` to record an interactive shell, `ttyrec -e command` to record a specific command, and `ttyplay ttyrecord` to replay the result. Playback can be sped up, slowed down, reset to normal speed, or watched in real time with `ttyplay -p`.

The official page also documents `ttytime` for measuring recorded data duration, gzip/gunzip handling for large recordings, a uuencode-based file-transfer option, and an inetd-based `ttyplay` server for serving recordings over telnet.

### パッケージ好きにとっての重要性

ttyrec is historically significant because it is one of the compact ancestors of terminal demo tooling: before browser terminals and asciinema-style casts, it gave Unix users a packageable format for recording and replaying terminal work.

For package maintainers, it remains a small C utility with multiple executables (`ttyrec`, `ttyplay`, and `ttytime`) and a long tail of dependent or adjacent tools, especially converters and web players.

### タイムライン

- 2000: ttyrec 1.0 released as the first version.
- 2003: TTYPLAYER added to the official links.
- 2005: IPBT added to the official links.
- 2006: ttyrec 1.0.8 released with a playback time-drift reduction hack.

### Related projects

- The official page lists IPBT, TTYPLAYER, Term::TtyRec, x11rec, and chatty as related links.
- ttygif is a later converter that uses ttyrec recordings as input.

### ソース

- <http://0xcc.net/ttyrec>
- source_facts.executables
- source_facts.package-manager


## セキュリティノート

broad file, network, media, or database tool signal.

- **Geiger リスク:** blue / 中
- broad file, network, media, or database tool signal

## 他のパッケージマネージャ記録

- Debian apt - ttyrec - 1.1.7.1-1: normalized package name match | Debian stable package indexes: ttyrec from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Terminal interaction recorder and player (for tty) | https://github.com/ovh/ovh-ttyrec
- Ubuntu apt - ttyrec - 1.0.8-5.1: normalized package name match | Ubuntu 24.04 LTS package indexes: ttyrec from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Terminal interaction recorder and player (for tty)
- MacPorts - ttyrec: normalized package name match | MacPorts ports tree: sysutils/ttyrec/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/ttyrec.yml](https://github.com/mxcl/pkgdb/blob/main/combined/ttyrec.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
