Auto-sync: 2026-04-20 09:58

This commit is contained in:
2026-04-20 09:58:08 +08:00
parent d7bf4ae6de
commit 455f7a3c40
53 changed files with 1889 additions and 0 deletions

34
wiki/concepts/VT100.md Normal file
View File

@@ -0,0 +1,34 @@
---
title: "VT100"
type: concept
tags: [terminal, standard, ansi]
---
## 定义
VT100 是 DECDigital Equipment Corporation公司于 1978 年发布的终端标准,是现代终端仿真器实现的事实标准。
## 核心特性
- ANSI escape sequence 支持
- 屏幕光标控制
- 属性设置(加粗、下划线、闪烁等)
- 屏幕清除和行删除
- 键盘功能键映射
## 标准版本
- VT100基础版本
- VT220在 VT100 基础上增加功能键和更多控制序列
- xterm终端仿真器扩展增加 256 色、鼠标支持等
## ANSI 转义序列示例
- `\x1b[31m` — 红色文本
- `\x1b[0m` — 重置属性
- `\x1b[2J` — 清除屏幕
- `\x1b[H` — 光标归位
## 相关技术
- [[Terminal Emulation]]:终端仿真
- [[ANSI Escape Sequence]]ANSI 转义序列
- [[SwiftTerm]]Swift 实现库
## 参考文档
- https://vt100.net/docs/