Am 18.03.2006 um 16:47 schrieb apix kernel:
Does anyone know how does gentoo botting proccess displays the neat
output when the daemons start. For example:
* Starting vsftpd ..................................... DONE
how does "it" knows how big is the line in order to print the DONE
part just before the end of line.
I think the algorithm determines the lenght of the current line (or
better: the columns which could be displayed on the current screen)
and then subtracts some columns so the right part gets displayed at
the right side of the screen. I think this is because of the
possibility to have a fb-console with different resolutions.
Greets,
Rafael
--
[email protected] mailing list