American National Standards Institute (ANSI) 参与进来。坚持其通过可互操作性来支持商业的要求,ANSI 介入并发布了标准 X3.64:Additional Controls for Use with American National Standard Code for Information Interchange。这个文件定义了现在所知的 ANSI 终端类型。它对将光标移动到屏幕上的特定位置、在光标位置插入和删除字符都规定了标准的命令序列。
Cursor Control SequencesErase SequencesA Move cursor up n lines
@ Insert n blank spaces
B Move cursor down n lines
J Erase display: after cursor (n=0), before cursor (n=1), or entirely (n=2).
C Move cursor forward n spaces
D Move cursor backward n spaces
K Erase line: after cursor (n=0), before cursor (n=1), or entirely (n=2).
G Move cursor to column xH Move cursor to column x, row yL Insert n new blank lines
d Move cursor to row yM Delete n lines from cursor
s Save current cursor position
P Delete n characters from cursor
u Return to saved cursor position