LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Changing the colour of man pages (https://www.linuxquestions.org/questions/linux-software-2/changing-the-colour-of-man-pages-96331/)

Stumo 09-24-2003 11:31 AM

Changing the colour of man pages
 
Does anyone know where man gets it's colors from? The default on my box is to have NAME, SYNOPSIS etc. in dark blue, which looks fine on the default white background, but is difficult to read using a black background.

I've tried googling, and that told me enough to get ls to swap colours, but trying to search for pages relating to man itself (as opposed to man pages for other stuff) seems impossible.

joki 09-24-2003 11:37 AM

i saw that knoppix has preconfigured and colored terminals just try and look at its /etc/profile

Stumo 09-24-2003 12:03 PM

Could someone email me this to save me downloading the entire thing?

Cheers

joki 09-24-2003 02:17 PM

first i would add this in your /etc/profile (with root permissions)
Code:

alias l='ls --color=auto -alF'
alias la="ls -la --color=auto"
alias li='ls --color=auto -lisa |more'
alias ll="ls -l --color=auto"
alias ls="ls --color=auto"

i can't tell u no more now

Stumo 09-24-2003 03:16 PM

Sorry - I've got ls sorted, those aren't the problem. It's just man pages where I can't get the colour right. I fear my post may have misled you


All times are GMT -5. The time now is 11:56 AM.