Gentoo Archives: gentoo-user

From: Willie Wong <wwong@××××××××××××××.edu>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] xconsole characters
Date: Fri, 25 Dec 2009 12:18:23
Message-Id: 20091225105325.GA14880@princeton.edu
In Reply to: [gentoo-user] xconsole characters by pk
1 On Thu, Dec 24, 2009 at 04:00:37PM +0100, Penguin Lover pk squawked:
2 > Does anyone know if there's a way to configure xconsole to not display
3 > control characters (at least that's what I think it is)? Currently
4 > xconsole displays this when XDM starts:
5 >
6 > [32;01m*[0m Setting clock via the NTP client 'ntpdate' ...
7 > [A[152C [34;01m[ [32;01mok[34;01m ][0m
8 > [32;01m*[0m Starting postfix (/etc/postfix) ...
9 > [A[152C [34;01m[ [32;01mok[34;01m ][0m
10
11 Those are ANSI escape codes. My google-fu is not up to telling me how
12 to set xconsole to ignore them, but it seems possible that xconsole
13 just cannot handle ANSI codes?
14
15 A workaround may be to set RC_NOCOLOR="yes" in /etc/conf.d/rc
16
17 Some of the init scripts seems to check for them, but I am not sure
18 whether it will work or not.
19
20 Cheers,
21
22 W
23 --
24 3.1415926535897932384626433832795028841971693993751058209749445923078164062862
25 089986280348253421170679821480865132823066470938446095505822317253594081284811
26 174502841027019385211055596446229489549303819644288109756659334461284756482337
27 867831652712019091456485669234603486104543266482133936072602491412737245870066
28 Sortir en Pantoufles: up 1113 days, 9:30

Replies

Subject Author
Re: [gentoo-user] xconsole characters pk <peterk2@××××××××.se>