Unix Technical Forum

the color of mc in xterm ??

This is a discussion on the color of mc in xterm ?? within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> Hi, I have finally installed Slackware 10.0 and found a strange thing: the background color of mc panels in ...


Go Back   Unix Technical Forum > Unix Operating Systems > Slackware Linux Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-19-2008, 04:00 PM
Mikhail Zotov
 
Posts: n/a
Default the color of mc in xterm ??

Hi,

I have finally installed Slackware 10.0 and found a strange
thing: the background color of mc panels in xterm is _light_
blue (to the contrast to its traditional dark blue color in
rxvt, konsole, and gnome-terminal). What can be wrong?
I use exactly the same settings for xterm in ~/.Xdefaults
as I had in Slackware 9.1, and the xorg.conf file is
in fact just a renamed XF86Config.

TIA,
Mikhail
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-19-2008, 04:00 PM
DIG
 
Posts: n/a
Default Re: the color of mc in xterm ??

On 30 Sep 2004 03:50:53 -0700, muxaul@lenta.ru wrote:

> I have finally installed Slackware 10.0 and found a strange
> thing: the background color of mc panels in xterm is _light_
> blue (to the contrast to its traditional dark blue color in
> rxvt, konsole, and gnome-terminal). What can be wrong?


I am not sure if this is a Slackware's "issue" or app-defaults has
been changed.

> I use exactly the same settings for xterm in ~/.Xdefaults
> as I had in Slackware 9.1, and the xorg.conf file is
> in fact just a renamed XF86Config.


I've adjusted my private XTerm-color file like this:

,--[ cvs diff -U 0 -r1.1 -r1.2 XTerm-color ]--
| -*VT100*color4: DodgerBlue1
| +*VT100*color4: blue3
| -*VT100*color7: gray90
| +*VT100*color7: aliceblue
| -*VT100*color15: white
| +*VT100*color15: whitesmoke
`--[ ]--

Panel's color is color4, if I remember correctly.


Best regards,

--
DIG (Dmitri I GOULIAEV)
Aahz's law: The best way to get information on usenet is
not to ask a question, but to post the wrong information.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-19-2008, 04:00 PM
Ivan
 
Posts: n/a
Default Re: the color of mc in xterm ??

On Thu, 30 Sep 2004 03:50:53 -0700, Mikhail Zotov wrote:

> Hi,
>
> I have finally installed Slackware 10.0 and found a strange
> thing: the background color of mc panels in xterm is _light_
> blue (to the contrast to its traditional dark blue color in



i asked the same question few months ago, and the answer is that tn xterm
is not using the same color resources as before, or something like this...
try to find this thread on groups.google.com
i solved this by recompiling xterm, there are some options about colors in
../configure

i.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-19-2008, 04:00 PM
Jeffrey Froman
 
Posts: n/a
Default Re: the color of mc in xterm ??

Mikhail Zotov wrote:

> I have finally installed Slackware 10.0 and found a strange
> thing: the background color of mc panels in xterm is light
> blue (to the contrast to its traditional dark blue color in
> rxvt, konsole, and gnome-terminal).


The way I heard it, this is due to a bug in xorg 6.7.0. Upgrading to xorg
6.8.1 eliminated the color problem in xterm for me.

Jeffrey
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-19-2008, 04:00 PM
DIG
 
Posts: n/a
Default Re: the color of mc in xterm ??

On Thu, 30 Sep 2004 15:01:27 +0200, ivan@iep.physik.uni-essen.de wrote:

> i asked the same question few months ago, and the answer is that tn xterm
> is not using the same color resources as before, or something like this...
> try to find this thread on groups.google.com
> i solved this by recompiling xterm, there are some options about colors in
> ./configure


Xterm is resource-based application. Why would you recompile it only
to change some colors?


Best regards,

--
DIG (Dmitri I GOULIAEV)
Aahz's law: The best way to get information on usenet is
not to ask a question, but to post the wrong information.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 02-19-2008, 04:00 PM
zentara
 
Posts: n/a
Default Re: the color of mc in xterm ??

On 30 Sep 2004 03:50:53 -0700, muxaul@lenta.ru (Mikhail Zotov) wrote:

>Hi,
>
>I have finally installed Slackware 10.0 and found a strange
>thing: the background color of mc panels in xterm is _light_
>blue (to the contrast to its traditional dark blue color in
>rxvt, konsole, and gnome-terminal). What can be wrong?
>I use exactly the same settings for xterm in ~/.Xdefaults
>as I had in Slackware 9.1, and the xorg.conf file is
>in fact just a renamed XF86Config.


Just as an interesting aside, you can manipulate your
mc colors anyway you want. It usually takes awhile before
users figure it out.

In your ~/.mc/ini file, put a colors section.

The foreground-background colors for each type is separated
by a colon.

I like this one, it gives a black background:


[Colors]
color_terminals=linux,xterm,xterm-debian,rxvt,screen
base_color=

xterm=normal=lightgray,black:executable=green,blac k:directory=cyan,black:
device=brown,black:special=brightmagenta,black:cor e=brightred,black:
link=brightcyan,black:stalledlink=cyan,black:selec ted=black,brightmagenta:
viewunderline=red,white:marked=white,blue:marksele ct=black,brightgreen:
menusel=brightblue,white:menu=lightgray,blue:menuh ot=brightred,black:
dfocus=red,black:dhotnormal=red,white:dhotfocus=li ghtgray,red:
input=black,yellow:gauge=lightgrey,yellow:editnorm al=lightgray,black:
editbold=white,black:viewunderline=white,black

linux=normal=lightgray,black:executable=green,blac k:directory=cyan,black:
device=brown,black:special=brightmagenta,black:cor e=brightred,black:
link=brightcyan,black:stalledlink=cyan,black:selec ted=black,brightmagenta:
viewunderline=red,white:marked=white,blue:marksele ct=black,brightgreen:
menusel=brightblue,white:menu=lightgray,blue:menuh ot=brightred,black:
dfocus=red,black:dhotnormal=red,white:dhotfocus=li ghtgray,red:
input=black,yellow:gauge=lightgrey,yellow:editnorm al=lightgray,black:
editbold=white,black:viewunderline=white,black
#executable=brightgreen,black:




--
I'm not really a human, but I play one on earth.
http://zentara.net/japh.html
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 02-19-2008, 04:01 PM
Stephen Chadfield
 
Posts: n/a
Default Re: the color of mc in xterm ??

zentara <zentara@highstream.net> wrote:
> On 30 Sep 2004 03:50:53 -0700, muxaul@lenta.ru (Mikhail Zotov) wrote:
>
>>Hi,
>>
>>I have finally installed Slackware 10.0 and found a strange
>>thing: the background color of mc panels in xterm is _light_
>>blue (to the contrast to its traditional dark blue color in
>>rxvt, konsole, and gnome-terminal). What can be wrong?
>>I use exactly the same settings for xterm in ~/.Xdefaults
>>as I had in Slackware 9.1, and the xorg.conf file is
>>in fact just a renamed XF86Config.

>
> Just as an interesting aside, you can manipulate your
> mc colors anyway you want. It usually takes awhile before
> users figure it out.


Yes, you can configure mc to use "blue" to colour certain features but
you cannot define what that blue actually is using the mc configuration.
You must configure the terminal itself for that.

The bizarre settings in /etc/X11/app-defaults/XTerm-color are the cause
of the colour xterm behaving as it does.

*VT100*color4: "DodgerBlue1"

shudder...

--
Stephen Chadfield
http://www.chadfield.com/
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 02-19-2008, 04:02 PM
Ivan
 
Posts: n/a
Default Re: the color of mc in xterm ??

On Thu, 30 Sep 2004 14:28:52 +0000, DIG wrote:


> Xterm is resource-based application. Why would you recompile it only
> to change some colors?
>
>
> Best regards,


i'm not realy sure, but it worked for me.... i gave some options in a
../configure about color-resources, but it was too long ago and i don't
remember what they were...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 02-19-2008, 04:02 PM
Thomas Dickey
 
Posts: n/a
Default Re: the color of mc in xterm ??

Stephen Chadfield <stephen@chadfield.com> wrote:
> The bizarre settings in /etc/X11/app-defaults/XTerm-color are the cause
> of the colour xterm behaving as it does.


Actually it made blue text on a black background look nice.
(Not everyone limits themselves mc/vim for applications that use color).

--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 02-19-2008, 04:03 PM
Mikhail Zotov
 
Posts: n/a
Default Re: the color of mc in xterm ??

muxaul@lenta.ru (Mikhail Zotov) wrote in message news:<d53a20c7.0409300250.30d833f0@posting.google. com>...
> Hi,
>
> I have finally installed Slackware 10.0 and found a strange
> thing: the background color of mc panels in xterm is _light_
> blue (to the contrast to its traditional dark blue color in
> rxvt, konsole, and gnome-terminal). What can be wrong?


Thanks a lot to everybody for the answers!!

Regards,
Mikhail
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 11:00 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com