Re: colors in text-mode
On Tue, Oct 27, 1998 at 12:30:56PM -0800, jim r wrote:
> Once more the newbie asks a question:
>
> I was wondering....how might I get the login prompt to use some colors?
> nothing fancy...just the text in a color other than white.
Use something gross like this in /etc/issue (but leave issue.net without the
hackery):
[1mThis is [35m\n[37m running [31mDebian \s[37m. Linux kernel is [33m\r[37m.
It is [32m\t[37m on [32m\d[37m and you are logging in on [36m\l[37m.[0m
I think "man 5 termcap" lists those funky numbers.
NB: The whole prompt is in bold (aka bright colours).
Adrian
email: adrian.bridgett@zetnet.co.uk, http://www.poboxes.com/adrian.bridgett
Windows NT - Unix in beta-testing. PGP key available on public key servers
Avoid tiresome goat sacrifices -=- use Debian Linux http://www.debian.org
Reply to: