Gentoo Archives: gentoo-user

From: Remy Blank <remy.blank_asps@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: A mater of style in gentoo booting proccess...
Date: Sat, 18 Mar 2006 16:20:25
Message-Id: dvhbjo$kst$1@sea.gmane.org
In Reply to: [gentoo-user] A mater of style in gentoo booting proccess... by apix kernel
1 apix kernel wrote:
2 > how does "it" knows how big is the line in order to print the DONE
3 > part just before the end of line.
4
5 There are two ways I know of:
6
7 - If you use bash (I don't know about other shells), look at the
8 COLUMNS environment variable:
9
10 echo $COLUMNS
11
12 - Use the TIOCGWINSZ ioctl on stdin (file descriptor 0).
13
14 HTH.
15 -- Remy
16
17
18 Remove underscore and suffix in reply address for a timely response.
19
20 --
21 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Re: A mater of style in gentoo booting proccess... apix kernel <apixkernel@×××××.com>