]> Sergey Matveev's repositories - st.git/commit
Add documentation to control codes
authorRoberto E. Vargas Caballero <k0ga@shike2.com>
Sat, 6 Oct 2012 17:12:46 +0000 (19:12 +0200)
committerRoberto E. Vargas Caballero <k0ga@shike2.com>
Sat, 6 Oct 2012 17:12:46 +0000 (19:12 +0200)
commit70aeaf7f2fb26073431b4884098cf561ac0d585b
treeb56eba170a4b06aded540ab6f0338d1593524b28
parentec9fe428b81f478569f80ffab8a933334549ede4
Add documentation to control codes
Add the documentation from the vt100 manual programmer:

Control  Octal      Action Taken
Character Code
-------------------------------------------
NUL 000 Ignored on input (not stored in input buffer;
see full duplex protocol).
ENQ 005 Transmit answerback message.
BEL 007 Sound bell tone from keyboard.
BS 010 Move the cursor to the left one character position,
unless it is at the left margin,
in which case no action occurs.
HT 011 Move the cursor to the next tab stop,
or to the right margin if no further tab stops
are present on the line.
LF 012 This code causes a line feed or
a new line operation. (See new line mode).
VT 013 Interpreted as LF.
FF 014 Interpreted as LF.
CR 015 Move cursor to the left margin on the current line.
SO 016 Invoke G1 character set, as designated by SCS
control sequence.
SI 017 Select G0 character set, as selected by ESC ( sequence.
XON 021 Causes terminal to resume transmission.
XOFF 023 Causes terminal to stop transmitted all codes
except XOFF and XON.
CAN 030 If sent during a control sequence, the sequence is
immediately terminated and not executed. It also causes
the error character to be displayed.
SUB 032 Interpreted as CAN.
ESC 033 Invokes a control sequence.
DEL 177 Ignored on input (not stored in input buffer).
--------------------------------------------
---
 st.c |   28 +++++++++++++++++++---------
 1 file changed, 19 insertions(+), 9 deletions(-)
st.c