FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > ArchLinux > ArchLinux General Discussion

 
 
LinkBack Thread Tools
 
Old 09-04-2012, 10:33 AM
Rodrigo Rivas
 
Default is it possible to disable bold(bright) color under console?

On Tue, Sep 4, 2012 at 7:10 PM, Xeslaro <bfsc.yb@gmail.com> wrote:

> when some application write, for example, e[1;31m msg e[0m to console,
> is it possible to just ignore the "1;" which asks to use a bold(bright)
> color and just write e[31m msg e[0m instead? i don't like bold colors,
> they make eyes suffering.
>
> i tried setterm -bold off, which doesn't work; and infocmp to dump the
> terminfo file, remove the bold entry, use tic to save the setting, which
> only take effect on applications that use the ncurses library.
>
> is there any way to solve this problem?
>

You are not telling wich console are you using... Are you in some kind of
virtual terminal? Or in the linux console? If the latter, are you using the
old VGA console or the new FB console?

--
Rodrigo
 
Old 09-04-2012, 02:51 PM
Rodrigo Rivas
 
Default is it possible to disable bold(bright) color under console?

On Tue, Sep 4, 2012 at 9:14 PM, Xeslaro <bfsc.yb@gmail.com> wrote:

> On Tue, Sep 04, 2012 at 12:33:53PM +0200, Rodrigo Rivas wrote:
> > You are not telling wich console are you using... Are you in some kind of
> > virtual terminal? Or in the linux console? If the latter, are you using
> the
> > old VGA console or the new FB console?
>
> sorry, i thought there's a general way to do it. i want to do it under
> xterm and fb console with agetty running.
>

I was thinking on patching & recompiling the kernel module associated to
the console...

But on second thought, you may better try with "screen" (if you are not
using it already). Just adding the following line to the .screenrc file did
the trick for me:

attrcolor b "-b"

You can even replace the bold with underline, for extra fun, using instead:

attrcolor b "=u"

Screen has so many posibilities!

HTH
--
Rodrigo
 

Thread Tools




All times are GMT. The time now is 10:41 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org