VT100摘要
来源:互联网 发布:linux卸载搜狗输入法 编辑:程序博客网 时间:2024/05/22 15:06
http://vt100.net/docs/vt220-rm/chapter2.html
Table 2-1: 7-Bit ASCII Code Table
http://vt100.net/docs/vt220-rm/table2-1.html
7-Bit Code ExtensionEquivalent
C1 Character (EscapeSequence)
9/11 1/11 5/11
CSI ESC [
8/15 1/11 4/15
SS3 ESC O
8/4 1/11 4/4
IND ESC D
In general, youcan use the above code extension technique in two ways.
1. You can express any C1 control characteras a 2-character escape sequence whose second character has a code that is 40(hexadecimal) and 64 (decimal) less than that of the C1 character.
2. You can make any escape sequence whosesecond character is in the range of 4/0 through 5/15 one byte shorter byremoving the ESC andadding40 (hexadecimal) to the code of the second character. This generates an8-bit control character.
2.5.2 ControlSequences
A control sequencestarts with CSI (9/11), followed by one or more ASCII graphic characters. ButCSI (9/11) can also be expressed as the 7-bit code extension ESC [ (1/11,5/11). So you can express all control sequences as escape sequences whosesecond character code is [ (5/11). For example, the following two sequences areequivalent sequences that perform the same function. (They cause the display touse 132 columns per line rather than 80).
9/11 3/15 3/3 6/8
CSI ? 3 h
1/11 5/11 3/15 3/3 6/8
ESC [ ? 3 h
Whenever possible,you should use CSI instead of ESC [ to introduce a control sequence. CSIuses one less byte than ESC [, so you gain processing speed. However, youcan only use a sequence starting with CSI in an 8-bit environment (because CSIis a C1 control character).
- VT100摘要
- VT100
- VT100控制符文档
- VT100 控制符文档
- VT100控制码说明
- 摘要
- 摘要
- 摘要
- 摘要
- 摘要
- 摘要
- 摘要
- 摘要
- 摘要
- 摘要
- 摘要
- 摘要
- 摘要
- server第一次入门
- C++整型和字符串转换
- 解决WCF服务使用net.tcp协议时出现“无法识别该URI前辍”的问题
- linux 网桥代码分析 四 网桥转发数据库的代码分析
- 关于select中DISTINCT的技巧和使用
- VT100摘要
- web.xml中的url-pattern写法规则及匹配过程
- 关于java中枚举类的简单例子
- shell脚本中读取文本
- 凯撒密码破译
- 闰年计算
- HDU-1133 Buy the Ticket (Catalan数)
- ApplicationMaster实现原理
- C++智能指针