VT100

VT

制御機能

[1] Digital VT100 User Guide: Programmer Information, https://vt100.net/docs/vt100-ug/chapter3.html

[29] VT100.net: Private Control Functions used by DEC, https://vt100.net/emu/ctrlfunc_dec.html

[30] Wayback Machine, https://web.archive.org/web/20110103061225/http://web.eecs.utk.edu/~shuford/terminal/vt100_reference_card.txt

[2] Wayback Machine, https://web.archive.org/web/20110103061220/http://web.eecs.utk.edu/~shuford/terminal/vt100_codes_news.txt

[3] VT52 - Wikipedia, , https://en.wikipedia.org/wiki/VT52

[26] BIOS, , https://web.archive.org/web/20130621030502/http://www.yardley.cc/atari/compendium/atari-compendium-chapter-3-BIOS.htm#vt52emulator

[46] Man page of CONSOLE_CODES, , https://linuxjm.osdn.jp/html/LDP_man-pages/man4/console_codes.4.html

[68] Wayback Machine, https://web.archive.org/web/20010221071255/http://www.cs.utk.edu/~shuford/terminal/villanova-vt100-esc-codes.txt

[94] Wayback Machine, https://web.archive.org/web/20010109234500/http://www.cs.utk.edu/~shuford/terminal/ansi_dec_controls_news.txt

[48] https://webcache.googleusercontent.com/search?q=cache:6oc699y1XfUJ:ftp://ftp.chiark.greenend.org.uk/users/bjharris/all-escapes/all-escapes.txt

[103] Xterm Control Sequences, , https://www.xfree86.org/current/ctlseqs.html

[4] VT100 control characters >>1

0 1 2 3 4 5 6 7
0NULL
1XON
2
3XOFF
4
5ENQ
6
7BEL
8BSCAN
9HT
10LFSUB
11VTESC
12FF
13CR
14SO
15SIDEL

[10] ESC F >>1

0 1 2 3 4 5 6 7
0{Reverse video}
1((DECHTS)) {{DECGON}}Cursor Up{Normal video}
2((DECCAHT)) {{DECGOFF}}Cursor Down{Foreground color}
3((DECVTS))Cursor Right{Background color}
4((DECCAVT))Cursor Left{Clear to start of screen}
5((DECXMIT)){Clear screen}{Enable cursor}
6((DECBI))Enter Graphics Mode{Disable cursor}{Wrap on}
7DECSCExit Graphics Mode{Wrap off}
8DECRCCursor to Home
9((DECFI))Reverse Line FeedDirect Cursor Address
10Erase to End of ScreenDECID = Identify{Save cursor}
11Erase to End of Line{Restore cursor}
12Enter ANSI Mode(Insert line){Clear line}
13DECKPAM = Enter Alternate Keypad Mode(Delete line)
14DECKPNM = Exit Alaternate Keypad Mode
15{Clear to start of line}

[64] その他のもの:

[110] Tektronix 4014 mode >>103:

[36] 告知シーケンス >>29:

[5] 私用制御機能:

[39] 独自の DOCS:

[11] 独自の制御シーケンス >>1:

[18] 独自のモード:

[130] SGR も参照。

[17] 私用図形文字集合 (94集合):

[90] >>46

ESC (		G0 文字集合を定義するシーケンスを開始する。
ESC ( B		    デフォルト(ISO 8859-1 マッピング)を選択する。
ESC ( 0		    VT100 グラフィクスマッピングを選択する。
ESC ( U		    ヌルマッピングを選択する - キャラクター ROM から直接マッピングする。
ESC ( K		    ユーザー定義のマッピングを選択する - そのマップ
    は mapscrn(8) ユーティリティーによってロードされる。
ESC )		G1 を定義するシーケンスを開始する。
(すでに述べたように B, 0, U, K のどれかが次に続く)

[104] >>103

C = 0 → DEC Special Character and Line Drawing Set
C = A → United Kingdom (UK)
C = B → United States (USASCII)
C = 4 → Dutch
C = C or 5 → Finnish
C = R → French
C = Q → French Canadian
C = K → German
C = Y → Italian
C = E or 6 → Norwegian/Danish
C = Z → Spanish
C = H or 7 → Swedish
C = = → Swiss

[132] Unicode support — The Linux Kernel documentation, , https://www.kernel.org/doc/html/v5.12/admin-guide/unicode.html

Map symbolMap nameEscape code (G0)
LAT1_MAPLatin-1 (ISO 8859-1)ESC ( B
GRAF_MAPDEC VT100 pseudographicsESC ( 0
IBMPC_MAPIBM code page 437ESC ( U
USER_MAPUser definedESC ( K

In particular, ESC ( U is no longer “straight to font”, since the font might be completely different than the IBM character set. This permits for example the use of block graphics even with a Latin-1 font loaded.

[127] 指示シーケンス私用終端バイトも参照。

[21] ESC Z に対する応答:

[43] DECRQTSR (Request Terminal State Report) に対する応答 >>29:

[131] DDD1, DDD2, DDD3, https://www.vt100.net/docs/vt510-rm/DD1

[126] 日本語トランスレータリファレンス・マニュアル, , http://odl.sysworks.biz/disk$axpdocdec022/japanese/jdcpsv21/trans/jtran003.htm

[129] Terminals - akinomyoga/contra, , https://akinomyoga.github.io/contra/term.html

[133] 関連: Linux Zone

メモ

[128] 端末が壊れて文字化けしまくっている時

$ echo -e "\026\033c"