[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.61.0705012239050.18504@yvahk01.tjqt.qr>
Date: Tue, 1 May 2007 22:41:15 +0200 (MEST)
From: Jan Engelhardt <jengelh@...ux01.gwdg.de>
To: Russell King <rmk+lkml@....linux.org.uk>
cc: "Robert P. J. Day" <rpjday@...dspring.com>,
Christoph Hellwig <hch@...radead.org>,
Andrew Morton <akpm@...ux-foundation.org>,
linux-kernel@...r.kernel.org, linux-mm@...ck.org,
linux-pcmcia@...ts.infradead.org
Subject: Re: pcmcia ioctl removal
On May 1 2007 20:10, Russell King wrote:
>On Tue, May 01, 2007 at 12:12:36PM +0200, Jan Engelhardt wrote:
>> init/obsolete.c:
>> static __init int obsolete_init(void)
>> {
>> printk("\e[1;31m""
>>
>> The following stuff is gonna get removed \e[5;37m SOON: \e[0m
>> - cardmgr
>> - foobar
>> - bweebol
>>
>> ");
>> schedule_timeout(3 * HZ);
>> return;
>> }
>
>The kernel console isn't VT102 compatible. It doesn't understand any
>escape codes, at all. Neither does sysklogd. So the above will just
>end up as rubbish on your console.
It will (should) at least show up as nicely as in the C source code.
With escape codes, but largely readable.
If someone knows how to directly spew it to tty0 (the current active console -
most likely tty1), the better.
Anyway, I just wanted to point out how to really highlight it for the user to
see. Although then there would be the distros who obscure it with funky
bootsplash screens. But hopefully, their users would not need to care too much
for old stuff (gets updated through the distro's update mechanism)
Jan
--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists