Logo  

Home - Old Man Programmer

Displaying webapps/vt100/doc//done

vt100|vt100-am|dec vt100 (w/advanced video):\
        :5i:bs:xn:xo:\
        :vt#3:\
        :RA=\E[?7l	// Auto-wrap off (reset default?)
        :SA=\E[?7h	// Auto-wrap on
#        :cs=\E[%i%d;%dr
        :ke=\E[?1l\E>
        :ks=\E[?1h\E=
        :ku=\EOA	// Keyboard up
        :kd=\EOB	// down
        :kr=\EOC	// right
        :kl=\EOD	// left
!        :l1=pf1	// Function key 1 label
!        :l2=pf2	// Fn2 label
!        :l3=pf3	// Fn3 label
!        :l4=pf4	// Fn4 label
!        :pf=\E[4i	// Print off
!        :po=\E[5i	// Print on
!        :ps=\E[0i	// Print screen
#        :rc=\E8	// Restore cursor/charset
#        :sc=\E7	// Save cursor/charset
        :rs=\E<\E>\E[?3;4;5l\E[?7;8h\E[r
        :so=2\E[7m
        :tc=vt100+4bsd
        :tc=vt100+fnkeys

vt100+4bsd|dec vt100 from 4.0BSD:\
        :am:ms
        :co#80
        :it#8
        :li#24
#        :UP=\E[%dA
#        :DO=\E[%dB
#        :RI=\E[%dC
#        :LE=\E[%dD
        :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~
        :ae=^O
        :as=^N
        :bl=^G
#        :cb=3\E[1K
#        :cd=50\E[J
#        :ce=3\E[K
#        :cl=50\E[H\E[J
#        :cm=5\E[%i%d;%dH
#        :cr=\r
        :ct=\E[3g
#        :do=\n
        :eA=\E(B\E)0
#        :ho=\E[H
#        :kb=^H
#        :ku=\E[A	//Up
#        :kd=\E[B	//Down
#        :kr=\E[C	//Right
#        :kl=\E[D	//Left
#        :le=^H
        :mb=2\E[5m
        :md=2\E[1m
        :me=2\E[0m
        :mr=2\E[7m
        :nd=2\E[C
        :rs=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h
        :se=2\E[m
        :sf=\n
        :so=2\E[1;7m
        :sr=5\EM
        :st=\EH
        :ta=^I
        :ue=2\E[m
        :up=2\E[A
        :us=2\E[4m

vt100+keypad|dec vt100 numeric keypad no fkeys:\
        :K1=\EOq:K2=\EOr:K3=\EOs:K4=\EOp:K5=\EOn:
vt100+pfkeys|dec vt100 numeric keypad:\
        :@8=\EOM:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:tc=vt100+keypad:
vt100+fnkeys|dec vt100 numeric keypad:\
        :k0=\EOy:k5=\EOt:k6=\EOu:k7=\EOv:k8=\EOl:k9=\EOw:k;=\EOx:\
        :tc=vt100+pfkeys:


			DEC VT-100 Control Codes

	The following  is a  list of  the supported  VT-100 control codes
that are received or transmitted when Terminal Type is set to VT100:

	<ESC> 7		Store cursor location and attributes
	<ESC> 8		Get cursor location and attributes
	<ESC> M		Reverse linefeed
	<ESC> Z		Identify (not recommended.. see ESC [c)
	<ESC> <		Sets terminal for ANSI escape sequences
	<ESC> >		Sets auxiliary keypad to numeric
	<ESC> =		Sets auxiliary keypad to escape sequences
	<ESC> [0c	Identify
	<ESC> [?1;0c	Response to Identify
	<ESC> [?1h	Cursor keys generate application control functions
	<ESC> [?2h	Use VT-52 escape sequences
	<ESC> [?5h	White screen background
	<ESC> [>4h	Home and Clear on FF
	<ESC> [>14h	Half duplex
	<ESC> [?1l	Cursor keys generate ANSI cursor control sequences
	<ESC> [?5l	Black screen background
	<ESC> [>4l	LF on FF
	<ESC> [>14l	Full duplex
	<ESC> [m	Default attributes (white on black, no attributes)
	<ESC> [0m	Default attributes (white on black, no attributes)
	<ESC> [4m	Turn underline attribute on
	<ESC> [7m	Inverse letters
	<ESC> [5n	Device Status Report
	<ESC> [0n	Term OK (echoed back for DSR)
	<ESC> [6n	Cursor Position Report
	<ESC> [r;cR	Cursor is at row r, column c (echoed back for CPR)
	<ESC> [t;br	Set top and bottom margins (for scroll)
	<ESC> [h;m;st	Set time to h:m:s
	<ESC> [0v	Visible cursor
	<ESC> [1v	Invisible cursor
	<ESC> [2v	Cursor is underline
	<ESC> [3v	Cursor is block

	DEC VT-100 FUNCTION   TRANSMITTED CODES (hex)
	---------------------------------------------
	Horizontal Tab ........................... 09
	Character Delete ......................... 7F
	Home Cursor .......................... 1B5B48
	Cursor Up ............................ 1B5B41
	Cursor Down .......................... 1B5B42
	Cursor Right ......................... 1B5B43
	Cursor Left .......................... 1B5B44
	Clear Screen ................. 1B5B481B5B324A
	Erase end of line .................... 1B5B4B

	Keypad Application mode 0 ............ 1B4F70 Op
	Keypad Application mode 1 ............ 1B4F71 Oq
	Keypad Application mode 2 ............ 1B4F72 Or
	Keypad Application mode 3 ............ 1B4F73 Os
	Keypad Application mode 4 ............ 1B4F74 Ot
	Keypad Application mode 5 ............ 1B4F75 Ou
	Keypad Application mode 6 ............ 1B4F76 Ov
	Keypad Application mode 7 ............ 1B4F77 Ow
	Keypad Application mode 8 ............ 1B4F78 Ox
	Keypad Application mode 9 ............ 1B4F79 Oy

	Keypad Application mode - (dash) ..... 1B4F6D Om
	Keypad Application mode , (comma) .... 1B4F6C Ol
	Keypad Application mode . (period) ... 1B4F6E On
	Keypad Application mode ENTER ........ 1B4F4D OM

	Program Function 1 (PF1) ............. 1B4F50 ^[OP
	Program Function 2 (PF2) ............. 1B4F51 OQ
	Program Function 3 (PF3) ............. 1B4F52 OR
	Program Function 4 (PF4) ............. 1B4F52 OS