macOS
brew install luitlocal Homebrew formula metadata
安装
brew install luitlocal Homebrew formula metadata
sudo dnf install luitFedora Rawhide package metadata · luit · 来源: dl.fedoraproject.org
nix profile install nixpkgs#luitnixpkgs package indexes · pkgs/by-name/lu/luit/package.nix · 来源: api.github.com
sudo pacman -S luitArch Linux sync databases · luit · 来源: geo.mirror.pkgbuild.com
sudo zypper install luitopenSUSE Tumbleweed package metadata · luit · 来源: download.opensuse.org
概览
Filter run between arbitrary application and UTF-8 terminal emulator
历史
luit is a terminal encoding filter that sits between an application and a UTF-8 terminal emulator, translating application output into UTF-8 and terminal input back into the locale encoding.
Juliusz Chroboczek wrote luit for the XFree86 Project in 2001-2002. The official history credits later fixes and improvements from several people, especially Tomohiro Kubota's CJK encoding extensions, and notes that the program uses the MIT-X11 license like xterm.
Thomas E. Dickey adopted luit maintenance in 2006 after a period without a maintainer, motivated by keeping it useful with xterm. The Invisible Island history emphasizes two long-running maintenance themes: correcting distribution and path changes made in Xorg-era packaging, and reducing dependence on the lightly maintained font-encoding library by implementing efficient iconv-based conversion.
As of the 2.0 line, luit deprecated the font-encoding library path while preserving support for `.enc` files and broader encoding selection. The official page documents the practical consequences for packagers: encoding data is often packaged separately, dependencies are sometimes incomplete, and luit is not itself an X application even though it is most useful with xterm.
luit began inside the XFree86 and Xorg terminal ecosystem and became a small but widely packaged Unix utility. The maintainer's page lists portability across SVR4 Unix, AIX, Tru64, BSD systems, macOS, and Linux, and the package appears in common Unix package sets such as Homebrew, Debian, Fedora, MacPorts, Nix, Arch, and openSUSE.
Its adoption is mostly invisible: users encounter it through xterm or legacy-locale workflows rather than as a standalone application. That invisibility is part of its packaging importance, because terminal emulators and old applications still need reliable conversion behavior when UTF-8 terminals meet non-UTF-8 programs.
The manpage describes luit as a filter run between an arbitrary application and a UTF-8 terminal emulator. It is mainly used with xterm, but the official page stresses that luit itself is not an X application.
Power users and packagers use options such as `-list-fontenc` and `-encoding` to inspect and choose encoding tables, especially when diagnosing missing CJK or legacy encoding data.
luit matters to package nerds because it is a small compatibility utility with a long tail of platform-specific behavior. It exposes classic distribution issues: upstream fork history, XFree86/Xorg lineage, font-encoding data split into separate packages, iconv availability, and packagers accidentally adding unnecessary X library dependencies.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
luit | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://invisible-island.net/luit/
安装元数据
| 软件包键 | brew:luit |
|---|---|
| 版本 | 20250912 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/luit |
| 主页 | https://invisible-island.net/luit/ |
| 上游文档 | https://invisible-island.net/luit/luit.html |
| 许可证 | MIT |
| 源码归档 | https://invisible-mirror.net/archives/luit/luit-20250912.tgz |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | luit |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
luit 2.0.20240910-1
locale and ISO 2022 support for Unicode terminals
https://invisible-island.net/luit/
sudo apt install luitluit
nix profile install nixpkgs#luitluit 2.0.20250912-7.fc44
Locale and ISO 2022 support for Unicode terminals
https://invisible-island.net/luit/
sudo dnf install luitluit 20250912-1
Filter that can be run between an arbitrary application and a UTF-8 terminal emulator
https://invisible-island.net/luit/luit.html
sudo pacman -S luitluit 20230201-1.7
Locale and ISO 2022 support for Unicode terminals
http://invisible-island.net/luit/
sudo zypper install luitluit
sudo port install luit来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.