每日 Harness 开源 · Source
返回本期 · Back to 2026-07-07

博客文章 · Blog Posts2026-07-07 · Tuesday, July 7, 2026

The full stack of terminals explained

ahmadawais.com原文 ↗

The full stack of terminals explained
Ahmad Awais 把 terminal、shell、TTY、console、PTY、ANSI escape、raw/canonical mode 放到同一张系统图里解释。文章指出 terminal emulator 只负责输入输出和渲染,不理解 `git status`;shell 才负责解析命令、找程序、管理进程;TTY/PTY 是内核与用户态之间的字节通道。它适合调试 TUI、SSH、Vim、job control 和奇怪按键问题时补齐概念层。
浏览

评论 · Comments