共1条
1/1 1 跳转至页
VT100终端编码
ASCII Character Set (Nonprinting)
7 BEL (Bell)
8 BS (Backspace)
9 HT (Horizontal tab)
10 LF (Linefeed)
11 VT (Vertical tab)
12 NP (New Page or Formfeed (FF))
13 CR (Carriage Return)
27 ESC (Escape)
127 DEL (Delete)
VT220 user defined graphics is at: http://kipper.york.ac.uk/vt220udg.html
VT404 Control Characters
Note: The "^" character signifies holding down the control key. For ^G
this is the same as sending 0x8 (a G with bit 7,8 set to zero)
Bell - ^G
Back Space - ^H
Line Feed - ^J
Reverse Line Feed - ^Z
Cursor Return - ^M
Cursor Up - ^Z
Cursor Down - ^J
Cursor Right - ^U
Cursor Left - ^H
Cursor Home - ^Y
Home and Clear - ^X
Clear to End of Line - ^V
Clear to End of Screen - ^W
Read Cursor Address - ^-
Read Character at Cursor - ^N J
Address Lead In - ^P
Address Order Row Column
Type of Addressing Bin.Bin.
*************************************
Cursor On - ^N N
Cursor Off - ^N O
VT100 Terminal Codes
--------------------
All sequences must follow the escape character immediately and all cases must be as shown.
Moving the Cursor
n,r,c are numbers.
[nA - Up, no scroll.
[nB - Down, no scroll.
[nC - Right n columns.
[nD - Left n columns.
[nE - CR and down, no scroll.
[nF - CR and up, no scroll.
[nG - CR
[r;cH - Move to row r, column c.
[nI - Tab
[nL - Inserts a blank line at cursor.
[n` - Moves cursor to column n.
D - Down, scroll in region.
E - CR and cursor down (with scroll)
M - Up, scroll in region (see later).
7 - Save position and attributes.
8 - Restore position and attributes.
Display Characteristics
[0m - Normal (default).
[1m - Bold.
[2m - Dim mode
[4m - Underline.
[5m - Blinking.
[7m - Reverse video.
[8m - Invisible mode.
#3 - Double height, double width (top).
#4 - Double height, double width (bottom).
#: - Double height, single width (top).
#; - Double height, single width (bottom).
#5 - Single width (default).
#6 - Double width.
Erasing
[0K - From cursor to end of line.
[1K - From beginning of line to cursor.
[2K - Entire line.
[0J - From cursor to bottom of screen.
[1J - From top of screen to cursor.
[2J - Entire screen.
[M - Removes the line that the cursor is on.
Character Sets
(B - US (default).
(A - UK (shift 3 = pound).
(0 - Line graphics.
(1 - Other graphics.
(S - User defined graphics.
n - First half of char. set to same as second.
N - Same as n but for next char only.
P1;n;1;5{S - Starts definition of UDGs at character code n+32.
\ - Ends definition of UDGs.
Scrolling regions
t,b are numbers.
[t;br - define scrolling region.
[?6h - cursor position 0;0 is upper left of region.
[?6l - cursor position 0;0 is upper left of screen. (Default)
Terminal Operations
c - Resets terminal.
[3h - Display controls mode.
[30h - Invisible screen.
[30l - Visible screen.
[?1h - Application keypad.
[?1l - Normal keypad.
[?2l - VT52 mode.
[?3h - 132 Columns.
[?3l - 80 Columns.
[?4h - Smooth-4 scroll.
[?4l - Jump scroll.
[?5h - Light screen.
[?5l - Dark screen.
[?25l - Cursor off.
[?25h - Cursor on.
关键词: VT100 终端 编码
共1条
1/1 1 跳转至页
回复
| 有奖活动 | |
|---|---|
| 硬核工程师专属补给计划——填盲盒 | |
| “我踩过的那些坑”主题活动——第002期 | |
| 【EEPW电子工程师创研计划】技术变现通道已开启~ | |
| 发原创文章 【每月瓜分千元赏金 凭实力攒钱买好礼~】 | |
| 【EEPW在线】E起听工程师的声音! | |
| 高校联络员开始招募啦!有惊喜!! | |
| 【工程师专属福利】每天30秒,积分轻松拿!EEPW宠粉打卡计划启动! | |
| 送您一块开发板,2025年“我要开发板活动”又开始了! | |
我要赚赏金打赏帖 |
|
|---|---|
| Chaos-nano:专为低资源单片机设计的轻量级协作式异步操作系统(ATMEGA328P轻量级操作系统)—— 详细介绍被打赏¥16元 | |
| FPGA配置被打赏¥10元 | |
| Chaos-nano协作式异步操作系统:赋能MicrochipAVR8位单片机的革新之路被打赏¥15元 | |
| 基于esp32开发时串口工具的注意点被打赏¥24元 | |
| 基于FireBeetle2ESP32-C5开发板的舵机控制被打赏¥20元 | |
| 【分享开发笔记,赚取电动螺丝刀】MAX78000开发板制作的电子相册被打赏¥32元 | |
| 基于FireBeetle2ESP32-C5开发板的超声波测距及显示被打赏¥21元 | |
| FireBeetle2ESP32-C5上RTC电子时钟的实现被打赏¥25元 | |
| 【分享开发笔记,赚取电动螺丝刀】MAX78000开发板读取SD卡被打赏¥23元 | |
| 【S32K3XX】Standby RAM 重启后数据异常问题调查被打赏¥38元 | |
我要赚赏金
