]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
console_codes.4: ffix
authornick black <dankamongmen@gmail.com>
Mon, 21 Mar 2022 08:30:05 +0000 (04:30 -0400)
committerAlejandro Colomar <alx.manpages@gmail.com>
Tue, 22 Mar 2022 12:28:09 +0000 (13:28 +0100)
Fix up the busted OSC command list (reset palette and
set palette). Remove CSI prefix from the list of non-CSI
escapes. End all items of said list with periods,
matching other sections of the page.

Link: <https://lore.kernel.org/linux-man/Yjg4VHMhrabggl88@schwarzgerat.orthanc/T/>
Signed-off-by: nick black <nickblack@linux.com>
Acked-by: "G. Branden Robinson" <g.branden.robinson@gmail.com>
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
man4/console_codes.4

index 11ec88625f161fc5372f28e9bcb5b235e2dcc087..af4d97308971bd1f0859a549dca2a84737347c31 100644 (file)
@@ -134,29 +134,28 @@ T}
 ESC 8  DECRC   T{
 Restore state most recently saved by ESC 7.
 T}
-ESC [  CSI     Control sequence introducer
 ESC %          Start sequence selecting character set
 ESC % @                \0\0\0Select default (ISO 646 / ISO 8859-1)
 ESC % G                \0\0\0Select UTF-8
 ESC % 8                \0\0\0Select UTF-8 (obsolete)
 ESC # 8        DECALN  T{
-DEC screen alignment test \- fill screen with E's
+DEC screen alignment test \- fill screen with E's.
 T}
 ESC (          T{
 Start sequence defining G0 character set
 (followed by one of B, 0, U, K, as below)
 T}
 ESC ( B                T{
-Select default (ISO 8859-1 mapping)
+Select default (ISO 8859-1 mapping).
 T}
 ESC ( 0                T{
-Select VT100 graphics mapping
+Select VT100 graphics mapping.
 T}
 ESC ( U                T{
-Select null mapping \- straight to character ROM
+Select null mapping \- straight to character ROM.
 T}
 ESC ( K                T{
-Select user mapping \- the map that is loaded by the utility \fBmapscrn\fP(8)
+Select user mapping \- the map that is loaded by the utility \fBmapscrn\fP(8).
 T}
 ESC )          T{
 Start sequence defining G1 (followed by one of B, 0, U, K, as above).
@@ -164,12 +163,13 @@ T}
 ESC >  DECPNM  Set numeric keypad mode
 ESC =  DECPAM  Set application keypad mode
 ESC ]  OSC     T{
-(Should be: Operating system command)
-ESC ] P \fInrrggbb\fP: set palette, with parameter
-given in 7 hexadecimal digits after the final P :-(.
-Here \fIn\fP is the color (0\(en15), and \fIrrggbb\fP indicates
+Operating System Command prefix.
+T}
+ESC ] R                Reset palette.
+ESC ] P                T{
+Set palette, with parameter given in 7 hexadecimal digits \fInrrggbb\fP after
+the final P. Here \fIn\fP is the color (0\(en15), and \fIrrggbb\fP indicates
 the red/green/blue values (0\(en255).
-ESC ] R: reset palette
 T}
 .TE
 .ad