Terminal Technology

目录

tty, console, virtual console, terminal emulator. Linus 1991 implemented. Two main implementations: framebuffer and text mode.

terminal = tty = text input/output environment console = physical terminal shell = command line interpreter

本文从终端配置、原理、畅想三个方面介绍终端

Linux内核给虚拟终端分配的字形(glyph)数组只有512个,因此无法显示完整的UTF字符。限制512的原因是这些信息保存在内核内存中。

vt/consolemap.c

glyph

1 terminfo

2 LINUX boot init

early_serial_base: 3f8; TXR:0, LSR:5 boot/commpressed/misc.c: __putstr() BIOS call initialized video mem and erarly_serial_base vidport 3b4

3 fb