------------------------------------------------------------------------------
                             Lilo-Colors 1.21.1
------------------------------------------------------------------------------


Important : This patch disables serial support in lilo. This has to be done  
 	    because there isn't enough room for the both of them.
	    So if you use a terminal to boot linux, don't use this patch.

	    This patch doesn't change anything but the display functions
	    so if lilo afterwards eats you HD let me know but I can't 
	    be held resposible. It's just as 'dangerous' as lilo was before.   

This patch to Lilo-21 allows you to make fancy bootmessages, colors et all.
A nice feature is the ExcludeScroll (see bootcreator) number, this is the
row from where the screen is scrolled. Not clear ? then try my `bootmsg`.

The VESA option has been removed in version 1.21.0 and will not be back. 
This is because it couldn't be compiled in anymore.


NEW: Egmont Koblinger contributed bpreview, now you can preview
     the bootmessages files without rebooting the computer.
     Many thanx for that.


This patch is copyrighted GNU GENERAL PUBLIC LICENSE. see COPYING

------------------------------------------------------------------------------
Installation: (source)
------------------------------------------------------------------------------


* Get the Lilo 21 source distribution.
* extract it in a directory lets say /usr/local/src/
  tar -xzvf lilo-21.tar.gz
* this makes the directory /usr/local/src/lilo
* than extract the lilo-colors-1.21.0.tar.gz in the /usr/local/src/lilo 
  directory:
  tar -xzvf lilo-colors-1.21.0.tar.gz
* this creates the lilo-colors-1.21.0 sub dir in the lilo dir 
  eg /usr/local/src/lilo/lilo-colors-1.21.0
* Now the big patch is comming type the following in the lilo-colors dir:
  make patch
* go back to the lilo dir.
* and type make;make install
* If no error occured you're home free. 
* Install the sample.bootmsg etc in /etc/boot/msg by typing 
  make install 
* Configure lilo (/etc/lilo.conf PLEASE READ THE LILO DOCS)
* add the following line to the /etc/lilo.conf
     message=/boot/msg/bootmsg
* type lilo to install the bootmanager.
* that's it.
 

------------------------------------------------------------------------------
Installation (rpm)
------------------------------------------------------------------------------

rpm -i lilo-21-100.i386.rpm
or if you've got lilo installed allready :
rpm -e lilo
rpm -i lilo-21-100.i386.rpm
That's it. All the work has been done already.

( Anybody know a good naming convention for this rpm ? I think this is 
  confusing but naming it lilo-colors isn't all that fair. )

------------------------------------------------------------------------------
The message format. (!! CHANGED SINCE 1.0.2 !!)
------------------------------------------------------------------------------

The message file is almost a normal asci file, it can also decode some extra
information. 
These are the 3 commands lilo-colors can decode:

ScrollExclude: <253><row>
	These must be the first 2 bytes of a bootmessage ! This will stop
	the upper part of the screen from scrolling off. If 253 is not
	the first byte of the file, scrollexclude will be turned off. 
Clearscreen: <250><color>
	this clears the screen in the color which is supplied in 
	the <color>.
Changecolor: <251><color>
	This changes the color in which the char's are printed.


As you can see it's not easy typing this by hand. So that's where 
the bootcreator script comes in. Changes to the bootmessage
file should be done in the bootcreator script. When done type 
make, and than rerun lilo.
The bootcreator script contains all the technical info on how to choose 
the color, and the scrollexclude setting. At the end of that file you 
can customize the message.

You can preview the bootmessage while running linux with the bpreview
command in the /boot/msg directory. Make sure you type 

 setfont default8x16 -u empty 

This removes the unicode mapping that interferes with the extended 
characters. To reset the console to the standard font and unicode
mapping type 

 setfont

------------------------------------------------------------------------------
Author
------------------------------------------------------------------------------

Ron Bessems
E-Mail  : <R.E.M.W.Bessems@stud.tue.nl>
Homepage: http://www.stack.nl/~stilgar


