View Single Post
  #4   (View Single Post)  
Old 13th October 2008
TerryP's Avatar
TerryP TerryP is offline
Arp Constable
 
Join Date: May 2008
Location: USofA
Posts: 1,547
Default

Quote:
Originally Posted by disappearedng View Post
How do I go about changing my freebsd box console color to these?
You require two things,

A.) A console capable of colour, terms available on FreeBSD range from 8 colours to at least 256 colours

B.) A program that can produce "colourised" output using a format your terminal or console can understand.


As deemon suggested, if you want colourised directory listings with ls, read the manual for ls(1). For controlling the colours produced, refer to the LSCOLORS environment variable documented in the manual page. It allows you to choose which of the (where available on your term) standard 16 ANSI colours you wish to display for what, rather then the programs defaults.


NB that colourised output from ls(1) is a non portable extension, and just happens to be implemented by both GNU and FreeBSD, with different interfaces.
__________________
My Journal

Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''.
Reply With Quote