diff options
author | ru <ru@FreeBSD.org> | 2001-09-04 13:54:45 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2001-09-04 13:54:45 +0000 |
commit | 1bd3f26c74275793c5d0e14fc452c664f7dce3ca (patch) | |
tree | 19767768704c2900da442656a386a7becf52450c /usr.sbin/vidcontrol | |
parent | 6d29950919d703554d8c9b0caebf5f4dacd1011d (diff) | |
download | FreeBSD-src-1bd3f26c74275793c5d0e14fc452c664f7dce3ca.zip FreeBSD-src-1bd3f26c74275793c5d0e14fc452c664f7dce3ca.tar.gz |
mdoc(7) police:
1) Removed the low-level (unneeded in this context) details on
escape sequences that are already documented in screen(4).
2) Removed whitespace at EOL.
3) Removed the garbage from previous revision.
Diffstat (limited to 'usr.sbin/vidcontrol')
-rw-r--r-- | usr.sbin/vidcontrol/vidcontrol.1 | 40 |
1 files changed, 16 insertions, 24 deletions
diff --git a/usr.sbin/vidcontrol/vidcontrol.1 b/usr.sbin/vidcontrol/vidcontrol.1 index 0ff7167..63fcf86 100644 --- a/usr.sbin/vidcontrol/vidcontrol.1 +++ b/usr.sbin/vidcontrol/vidcontrol.1 @@ -295,45 +295,38 @@ one per character position. In each tuple, the first byte will be the character code, and the second byte is the character's color attribute. .Pp -The syscons driver converts the ^[[Nm terminal escapes -into the corresponding attribute bytes. -.Pp The VGA color attribute byte looks like this: .Pp .Bl -column "X:X" "<00000000>" "width" "bright foreground color" -.Sy bits# Ta Ta Sy width Ta Sy meaning -.Li 7 Ta <X0000000> Ta 1 Ta character blinking -.Li 6:4 Ta <0XXX0000> Ta 3 Ta background color -.Li 3 Ta <0000X000> Ta 1 Ta bright foreground color -.Li 2:0 Ta <00000XXX> Ta 3 Ta foreground color +.Sy "bits# width meaning" +.Li "7 <X0000000> 1 character blinking" +.Li "6:4 <0XXX0000> 3 background color" +.Li "3 <0000X000> 1 bright foreground color" +.Li "2:0 <00000XXX> 3 foreground color" .El .Pp -Here is a list of the three bit wide base colors with -their corresponding ANSI terminal escape codes -parenthesized (add 10 to get the background code): +Here is a list of the three bit wide base colors: .Pp .Bl -hang -offset indent -compact .It 0 -Black (30) +Black .It 1 -Blue (34) +Blue .It 2 -Green (32) +Green .It 3 -Cyan (36) +Cyan .It 4 -Red (31) +Red .It 5 -Magenta (35) +Magenta .It 6 -Brown (33) +Brown .It 7 -Light Grey (37) +Light Grey .El .Pp -Base colors with bit 3 (the bright foreground flag) -set. The terminal escape for successive bright text -is ^[[1m. +Base colors with bit 3 (the bright foreground flag) set: .Pp .Bl -hang -offset indent -compact .It 0 @@ -346,14 +339,13 @@ Light Green Light Cyan .It 4 Light Red -.It 5 +.It 5 Light Magenta .It 6 Yellow .It 7 White .El -.lt 1 .Pp For example, the two bytes .Pp |