On Wed, Aug 11, at 12:08:25PM +1200, Andy George wrote: > Further to the Ansi colours/size discussion, the solution you present below, > will change the console, in a similar vein to Slackware, yes?
slackware has the "setconsolefont" programme (a part of 'pkgtool') to change the screen font. edit /etc/DIR_COLORS file for setting of the 'ls' command color output. an alias for ls in your ~/.bashrc file as follows will ensure that colour is for terminals only. see 'man ls' line 380 for info. --snip-- alias ls='ls --color=auto' alias ll='ls -la --color=auto' -------- to colourize the strings output by your init scripts (/etc/rc.d) see 'man console_codes' line 200. example for cyan string output. --snip-- echo -en "\\033[0;36m" " stringtexthere "\\033[m" -------- the pager "most" is ideal for colorizing man pages. you can set the "most" pager as your environment variable in /etc/profile, (other distros /etc/bashrc) export PAGER="/usr/bin/most" 'grep' can also be colorized with an alias. see man grep line 60. alias grep='grep -i --color=auto' > I'm looking at the console output of my IPTables Firewall, and honestly, > if I can pretty that up some, it'd be almost readable. if you use 'elvis' a ~/elvisrc config file as follows might help. --snip-- color bold yellow color italic brown color error red color fixed green color link green color cursor cyan color comment green color string cyan color char red color keyword yellow set ruler set showmode -------- Most newbie linuxers would prefer coloured mc (midnight commander) to vi. I have a page for mc colours here. http://homepages.e3.net.nz/~keithmg note that cat can be used to append (>>) your preferred mc colours file to ~/.mc/mc.ini. 'lynx' colours are set by the /usr/lib/lynx.cfg (line 2750) and lynx.lss file. lynx.lss tends to have priority over lynx.cfg. in general (imho) cyan and green on black bg are the easiest colours to use as they are clear colours that do not strain the eye. hth, keith.
