diff options
author | Clemens Ladisch <clemens@ladisch.de> | 2013-08-04 07:09:50 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-08-05 03:06:46 -0400 |
commit | 3855ae1c486a2d1b65a96fac8d504ef7197e62cd (patch) | |
tree | 47e959acc495e5a24e04f5f69c2553915737ed93 /Documentation | |
parent | b2755b761a47ae42094bbab64d40490694ec08c3 (diff) |
vt: make the default color configurable
The virtual console has (undocumented) module parameters to set the
colors for italic and underlined text, but the default text color was
hardcoded for some reason. This made it impossible to change the color
for startup messages, or to set the default for new virtual consoles.
Add a module parameter for that, and document the entire bunch.
Any hacker who thinks that a command prompt on a "black screen with
white font" is not supicious enough can now use the kernel parameter
vt.color=10 to get a nice, evil green.
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/kernel-parameters.txt | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt index 15356aca938c..f6c8b417c652 100644 --- a/Documentation/kernel-parameters.txt +++ b/Documentation/kernel-parameters.txt | |||
@@ -3322,6 +3322,10 @@ bytes respectively. Such letter suffixes can also be entirely omitted. | |||
3322 | them quite hard to use for exploits but | 3322 | them quite hard to use for exploits but |
3323 | might break your system. | 3323 | might break your system. |
3324 | 3324 | ||
3325 | vt.color= [VT] Default text color. | ||
3326 | Format: 0xYX, X = foreground, Y = background. | ||
3327 | Default: 0x07 = light gray on black. | ||
3328 | |||
3325 | vt.cur_default= [VT] Default cursor shape. | 3329 | vt.cur_default= [VT] Default cursor shape. |
3326 | Format: 0xCCBBAA, where AA, BB, and CC are the same as | 3330 | Format: 0xCCBBAA, where AA, BB, and CC are the same as |
3327 | the parameters of the <Esc>[?A;B;Cc escape sequence; | 3331 | the parameters of the <Esc>[?A;B;Cc escape sequence; |
@@ -3361,6 +3365,12 @@ bytes respectively. Such letter suffixes can also be entirely omitted. | |||
3361 | overridden by individual drivers. 0 will hide | 3365 | overridden by individual drivers. 0 will hide |
3362 | cursors, 1 will display them. | 3366 | cursors, 1 will display them. |
3363 | 3367 | ||
3368 | vt.italic= [VT] Default color for italic text; 0-15. | ||
3369 | Default: 2 = green. | ||
3370 | |||
3371 | vt.underline= [VT] Default color for underlined text; 0-15. | ||
3372 | Default: 3 = cyan. | ||
3373 | |||
3364 | watchdog timers [HW,WDT] For information on watchdog timers, | 3374 | watchdog timers [HW,WDT] For information on watchdog timers, |
3365 | see Documentation/watchdog/watchdog-parameters.txt | 3375 | see Documentation/watchdog/watchdog-parameters.txt |
3366 | or other driver-specific files in the | 3376 | or other driver-specific files in the |