发信人: icemin (西门吹牛~~~~最近BT中......), 信区: ANSI
标 题: [转寄] A N S I 控 制 码 说 明 (1) seeYou (转载)
发信站: 日月光华站 (Sat Jun 30 12:03:25 2001) , 站内信件
【 以下文字转载自 icemin 的信箱 】
【 原文由 <icemin.bbs@bbs.nju.edu.cn> 所发表 】
发信人: seeYou (网络不通,不想上网浪费时间), 信区: ASCIIArt
标 题: A N S I 控 制 码 说 明 (1)
发信站: 南京大学小百合站 (Thu May 17 12:06:20 2001), 站内信件
A N S I 控 制 码 说 明
【游标控制】
┏━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ 控 制 码 ┃ 说 明 ┃
┣━━━━━━━╋━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┫
┃[X;Yf or [X;YH┃ 将游标移至第 X 列 , 第 Y 行 的位置。 ┃
┣━━━━━━━╋━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┫
┃ [nA ┃ 游标上移 n 列。<<若至萤幕顶端则无效>> ┃
┣━━━━━━━╋━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┫
┃ [nB ┃ 游标下移 n 列。<<若至萤幕底端则无效>> ┃
┣━━━━━━━╋━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┫
┃ [nC ┃ 游标向右 n 行。<<若已至萤幕最右端则无效>> ┃
┣━━━━━━━╋━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┫
┃ [nD ┃ 游标向左 n 行。<<若已至萤幕最左端则无效>> ┃
┣━━━━━━━╋━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┫
┃ [6n ┃ 报告游标位置。 ┃
┣━━━━━━━╋━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┫
┃ [s ┃ 保存目前的游标位置。 ┃
┣━━━━━━━╋━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┫
┃ [u ┃ 取出保存的游标位置来使用。 ┃
┗━━━━━━━┻━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
※ 来源:.南京大学小百合站 bbs.nju.edu.cn.[FROM: 202.120.224.18]
--
※ 转寄:.南京大学小百合站 bbs.nju.edu.cn.[FROM: 202.120.224.18]
Sender: icemin Ximen Bragging Recently in BT..., message area: ANSI
Title: [Forward] Control Code Description 1 seeYou Reprint
Sending station: Riyue Guanghua Station Sat Jun 30 12:03:25 2001, site mail
The following text is reproduced from icemin's mailbox
Original article published by <icemin.bbs@bbs.nju.edu.cn>
Sender: seeYou The network is not connected and I don’t want to waste time online. Message area: ASCIIArt
Title: Control Code Description 1
Sending station: Nanjing University Sayuri Station Thu May 17 12:06:20 2001, site mail
Control code description
Cursor control
Control code description
[X;Yf or [X;YH] Move the cursor to the position of column X, row Y
[nA Move the cursor up n columns <<Invalid if it reaches the top of the screen>>
[nB Move the cursor down n columns <<Invalid if it reaches the bottom of the screen>>
[nC Cursor n lines to the right <<Invalid if it has reached the far right end of the screen>>
[nD Cursor moves n lines to the left <<Invalid if it has reached the far left of the screen>>
[6n Report cursor position
[s saves the current cursor position
[u Take out the saved cursor position and use it
Source: Nanjing University Sayuri Station bbs.nju.edu.cn [FROM: 202.120.224.18]
Forward: Nanjing University Sayuri Station bbs.nju.edu.cn [FROM: 202.120.224.18]