The following tables contain the control sequences used to set the mode of operation:

ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿³Set Graphics    ³Function                                    ³
³Rendition (SGR) ³                                            ³
ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´
³ESC [#;...;#m   ³Sets the character attribute specified by   ³
³                ³the parameters.  All of the following char- ³
³                ³acters have the attribute according to the  ³
³                ³parameters until the next occurrence of SGR.³
³                ³                                            ³
³                ³Parameter  Meaning                          ³
³                ³                                            ³
³                ³    0      All attributes off (normal white ³
³                ³           on black                         ³
³                ³    1      Bold on (high intensity)         ³
³                ³    4      Underscore on (monochrome-       ³
³                ³           compatible modes)                ³
³                ³    5      Blink on                         ³
³                ³    7      Reverse video on                 ³
³                ³    8      Canceled on (invisible)          ³
³                ³   30      Black foreground                 ³
³                ³   31      Red foreground                   ³
³                ³   32      Green foreground                 ³
³                ³   33      Yellow foreground                ³
³                ³   34      Blue foreground                  ³
³                ³   35      Magenta foreground               ³
³                ³   36      Cyan foreground                  ³
³                ³   37      White foreground                 ³
³                ³   38      Reserved                         ³
³                ³   39      Reserved                         ³
³                ³   40      Black background                 ³
³                ³   41      Red background                   ³
³                ³   42      Green background                 ³
³                ³   43      Yellow background                ³
³                ³   44      Blue background                  ³
³                ³   45      Magenta background               ³
³                ³   46      Cyan background                  ³
³                ³   47      White background                 ³
ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ
ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿
³Set Mode (SM)   ³      Function                              ³
ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´
³   ESC [=#h     ³Invokes the screen width or type specified  ³
³or ESC [=h      ³by the parameter.                           ³
³or ESC [=0h     ³                                            ³
³or ESC [?7h     ³                                            ³
³                ³Parameter  Meaning                          ³
³                ³                                            ³
³                ³    0       40 x 25 black and white         ³
³                ³    1       40 x 25 color                   ³
³                ³    2       80 x 25 black and white         ³
³                ³    3       80 x 25 color                   ³
³                ³    4      320 x 200 color                  ³
³                ³    5      320 x 200 black and white        ³
³                ³    6      640 x 200 black and white        ³
³                ³    7      Wrap at end of line. Typing past ³
³                ³           end-of-line results in new line. ³
ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ
ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿
³Reset Mode (RM) ³      Function                              ³
ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´
³   ESC [=#l     ³      Parameters are the same as Set Mode   ³
³or ESC [=l      ³      (SM) except that parameter 7 resets   ³
³or ESC [=0l     ³      wrap at end-of-line mode (characters  ³
³or ESC [?7l     ³      past end-of-line are discarded).      ³
ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ


[Back: Erasing]
[Next: Keyboard Key Reassignment]