Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: setting ttyS colors

From: Sven Joachim <svenjoac(at)gmx.de>
Date: Thu Dec 27 2007 - 12:38:13 EST


On 2007-12-27 18:19 +0100, joseph lockhart wrote:

> ok, looking for a way to set the TTYS colors so that
> the stay that way (not reset by ls or other things
> like rebooting, basicly need the location of the
> config file)
>
> echo -e "\033[31m"
>
> and
>
> echo "^[[1;31;40m"
>
> both work but do not persist after ls and other such
>
> anyway anyone got an idea (i am sure someone out there
> is probably doing this already)

On the Linux console, you can use "setterm -store". For X terminals, you'd have to resort to X Resources or something similar (depending on the terminal emulator you use).

Read the setterm(1) manpage, setterm has many cool features. :-)

Cheers,

       Sven

-- 
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Received on Thu Dec 27 12:36:02 2007

This archive was generated by hypermail 2.1.8 : Thu Feb 28 2008 - 03:25:04 EST


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library