Hi,

I saved this files as /usr/local/bin/mccolor and added an alias to mc.

It does not really work nice in the console but in X it is OK, so in the
console I type \mc.

I am not subscribed to this list and you don't have to answer. I just
hope that someone out there will like it.



Groetjes, Han.
-- 
       ::.     +------------------------------------------------------+
(\./)  .-""-.  | I take my children everywhere, but they always find  |
 `\'-'`      \ | their way back home. -- Robert Orben                 |
   '.___,_^__/ +------------------------------------------------------+
#!/bin/sh

# The colors are optional, and the keywords are: 
#       normal, selected, marked, markselect, errors, input, reverse,  gauge;  

# Menu colors  are: 
#       menu,  menusel,  menuhot,  menuhotsel;   

# Dialog colors are:
#       dnormal, dfocus, dhotnormal, dhotfocus;  

# Help colors are: 
#       helpnormal, helpitalic, helpbold, helplink, helpslink; 

# Viewer color is: viewunderline; 

# Special highlighting  colors  are:  
#       executable,  directory,  link, device, special, core; 

# Editor colors are: 
#       editnormal, editbold, editmarked

# The possible colors are: 

# black, gray, 
# red, brightred, 
# green, brightgreen,
# brown, yellow, 
# blue, brightblue, 
# magenta, brightmagenta, 
# cyan, brightcyan,
# lightgray and white. 

# And there is a special keyword for transparent background. It is 'default'.
# The 'default' can  only  be used for background color. 

env MC_COLOR_TABLE="\
\
normal=,default:\
selected=:\
marked=,default:\
markselect=:\
errors=:\
input=:\
reverse=:\
gauge=:\
\
menu=:\
menusel=:\
menuhot=:\
menuhotsel=:\
\
dnormal=:\
dfocus=:\
dhotnormal=:\
dhotfocus=:\
\
helpnormal=:\
helpitalic=:\
helpbold=:\
helplink=:\
helpslink=:\
\
viewunderline=:\
\
executable=green,default:\
directory=blue,default:\
link=cyan,default:\
device=brown,default:\
special=,default:\
core=,default:\
\
editnormal=lightgray,default:\
editbold=yellow,default:\
editmarked=black,cyan\
" \
mc


Reply via email to