cko - colored kernel output patch for Linux kernel of 2.4 and 2.6 series
cko is a patch for Linux kernel of 2.4 and 2.6 series which will make colored kernel messages in BSD style.
If you don't like default brown color in cko patch you can change value of variable "color" and set it to color you like. Here is a an example of colors and it's codes.
The numbers are the attribute codes used by the video card in hexadecimal: the most significant bit is the background and the least significant bit is the foreground.
In case of 2.4.x kernels, one should say Y to CONFIG_FB_VGA16 option in order to select additional 8 colors (bright colors).
CONFIG_FB_VGA16 option depends on CONFIG_EXPERIMENTAL (Prompt for development and/or incomplete code/drivers) and CONFIG_FB (Support for frame buffer devices) options.
In case of 2.6.x kernels, one should say Y to CONFIG_FB_VGA16 and CONFIG_FRAMEBUFFER_CONSOLE in order to select additional 8 colors (bright colors).
CONFIG_FB_VGA16 and CONFIG_FRAMEBUFFER_CONSOLE depends on CONFIG_FB (Support for frame buffer devices).
The reason for such requirements comes from fact that current Linux console implementation cannot handle 512-byte fonts and bright colors (base 8 colors with added 0x80) unless framebuffer is used.
Current version of cko does not contain known bugs.
Josip Deanovic email@example.com
This patch is based on similar patch whose author currently wants to remain anonymous.