Nick Rout wrote:
> I would do mc, but i'm sure there are people who know more about it
> than me. :-)
Not really. But I really enjoy using it.
One thing I have noticed is that just about every distro I have used
alway sets mc as default colour blue and white.
I just wonder how many users do configure mc with their own colour style.
The ~/.mc/ini file for each user can be edited with the addition of a
[Colours] section to the bottom of the file.
Info on mc colour is in #man mc (line 2400)
An example is the following with the format being-
<keyword>=<foregroundcolour>,<backgroundcolour>:
--cut--
[Colors]
color_terminals=linux,xterm,gnome-terminal
base_color=normal=cyan,black:directory=yellow,black:selected=blue,cyan:
marked=brightcyan,brown:menu=blue,cyan:link=green,black:
executable=brightmagenta,black:core=red,black:
editnormal=cyan,black:editbold=yellow,black;editmarked=magenta,black;
--cut--
It has to be put in as three lines only.
[Colors]
color_terminals.......this defines the terminals
base_color=normal....the colour options line is continuous without gaps.
I had to use vi to edit ~/.mc/ini. For some reason using mc or kedit do
not save permanently and the text is overwritten by a default ini file
Also for Redhatters you can change the screen output colour of
the boot up init scripts to cyan by editing the "normal" line in
the "/etc/sysconfig/init" file.
SETCOLOR_NORMAL="echo -en \\033[0;39m"
--- change the number 39 (white) to 36 (cyan) ---
SETCOLOR_NORMAL="echo -en \\033[0;36m"
#"manconsole_codes" has info on the ESC colour codes.(line 200)
cheers,
Keith.