Gentoo Archives: gentoo-user

From: Rafael Bugajewski <rb@××××××××××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] A mater of style in gentoo booting proccess...
Date: Sat, 18 Mar 2006 16:23:11
Message-Id: 3A919552-6D8F-4B70-86BC-6BC028838D47@bugajewski.de
In Reply to: [gentoo-user] A mater of style in gentoo booting proccess... by apix kernel
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