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 ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| 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 |
| |||
| 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. |
| |||
| 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. |
| |||
| 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 |
| |||
| 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. |
| |||
| 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 |
| |||
| 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/ |
| |||
| 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... |
| |||
| 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 |
| ||||
| 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 |