is there a way to change the default background colour?

John Maclean info at jayeola.org
Tue Jan 3 10:01:30 UTC 2006


I have noticed that the 'mc' that ships with the distribution "Damn Small Linux" has two settings, the default for the regular users and a red background when it's started by root.

On Tue, 3 Jan 2006 00:34:22 -0800
me <mutschae at gmail.com> wrote:

> peace
> 
> i also got bored about the look that reminds so much about the old nc in dos.
> 
> i created a script /bin/m that does
> 
> #!/bin/sh
> mc --colors normal=green,default:selected=blue,default:marked=brightblue,default:markselect=brightgreen,default:directory=green,default:executable=red,default:link=cyan,default:device=brightred,default:special=lightgray,default:errors=red,default:reverse=green,default:gauge=green,default:input=blue,default:dnormal=green,gray:dfocus=brightgreen,gray:dhotnormal=cyan,gray:dhotfocus=brightcyan,gray:menu=green,default:menuhot=cyan,default:menusel=blue,default:menuhotsel=cyan,default:helpnormal=cyan,default:editnormal=green,default:editbold=blue,default:editmarked=black,blue
> -U
> 
> of course to be consistent you also need a mcedit wrapper:
> /bin/med
> #!/bin/sh
> mcedit --colors
> normal=green,default:selected=red,default:marked=brightred,default:markselect=brightgreen,default:directory=green,default:executable=blue,default:link=cyan,default:device=brightred,default:special=lightgray,default:errors=red,default:reverse=green,default:gauge=green,default:input=blue,default:dnormal=green,gray:dfocus=brightgreen,gray:dhotnormal=cyan,gray:menu=green,default:menuhot=cyan,default:menusel=blue,default:menuhotsel=cyan,default:helpnormal=cyan,default:editnormal=green,default:editbold=blue,default:editmarked=black,blue
> $*
> 
> i found no other way to archieve that - and warn you: some things are
> not readable with this settings.
> 
> the background color ist the 2nd parameter (often default) so i got
> black/transparent looks.
> 
> a-men
> 
> m
> 
> --
> attack terror bomb fire blow airplane 2006-05-04 03:02:01
> explosion friend money credit card secret confidential
> skyscraper death kill al quaeda cai police gun shoot osama
> cia fbi dea mi5 nsc bka usss nsa kgb fsb g10 pope
> 
> h: md5 hack sleep war destruction white house pentagon
> blood trojan virus beheading unforgiven god islam iraq
> busch kennedy massacre soccer counter countdown alien
> ufo file
> 
> please report other patterns that may lead to storage
> in high security government databases.
> 
> ich werde morgen als Held vor Allah stehen
> ________ ____________


-- 
John Maclean
MSc (DIC)
07739 171 531




More information about the mc mailing list