1 |
Am 18.03.2006 um 16:47 schrieb apix kernel: |
2 |
|
3 |
> Does anyone know how does gentoo botting proccess displays the neat |
4 |
> output when the daemons start. For example: |
5 |
> |
6 |
> * Starting vsftpd ..................................... DONE |
7 |
> |
8 |
> how does "it" knows how big is the line in order to print the DONE |
9 |
> part just before the end of line. |
10 |
|
11 |
I think the algorithm determines the lenght of the current line (or |
12 |
better: the columns which could be displayed on the current screen) |
13 |
and then subtracts some columns so the right part gets displayed at |
14 |
the right side of the screen. I think this is because of the |
15 |
possibility to have a fb-console with different resolutions. |
16 |
|
17 |
Greets, |
18 |
|
19 |
Rafael |
20 |
-- |
21 |
gentoo-user@g.o mailing list |