DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD General

FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 13th October 2008
disappearedng disappearedng is offline
Shell Scout
 
Join Date: May 2008
Posts: 128
Default Default terminal color

Hi everyone.

I hate the color scheme for the terminal in gnome by default. I use ubuntu and gentoo other than freebsd and i love the way gentoo highlights files and directories in the terminal (there's coloring even before gentoo is started). How do I go about changing my freebsd box console color to these?

Also, where can i find these colorschemes?
Reply With Quote
  #2   (View Single Post)  
Old 13th October 2008
deemon's Avatar
deemon deemon is offline
Fdisk Soldier
 
Join Date: May 2008
Location: Estonia
Posts: 50
Default

To make kernel and rc scripts vomit rainbows while starting up you'll have to modify kernel and rc scripts to achieve that.
If you want to display ls output colorfully then you can either use -G flag on ls (read ls man page for more information on tuning colors) or use gnuls from ports (misc/gnuls) and change colors with dircolors (comes with gnuls).
__________________
Fhtagn nagh Yog-Sothoth
Reply With Quote
  #3   (View Single Post)  
Old 13th October 2008
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Banned
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Default

Certain escape codes produce colours.. in xterm you can set TERM to xterm-color.

As said, you would have to alter the base initialization scripts to do such hackery..

http://en.wikipedia.org/wiki/ANSI_escape_code

Cosmetic fluff, avoid it... I know, It's hard for a Linux user, but you'll get used to it.
Reply With Quote
  #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
  #5   (View Single Post)  
Old 21st February 2012
daemonfowl daemonfowl is offline
bsdstudent
 
Join Date: Jan 2012
Location: DaemonLand
Posts: 834
Default

Quote:
Cosmetic fluff, avoid it...
Thanks BSDfan666 !
I believe not all color-dealing should be categorized as one or described as such .. colors heal and impact on the psyche .. I don't know if some believe in Michio Kushi .. but many like me believe that some colors are benefitial to some ..
here is link about chromotherapy (color therapy) :
http://reikimassage.la/chromotherapy.htm
http://health.learninginfo.org/chromotherapy.htm
Reply With Quote
  #6   (View Single Post)  
Old 21st February 2012
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 3,318
Default

daemonfowl, you are responding to a thread which is nearly four years old.

Most discussion here is very timely. Threads more than a few weeks old are most likely finished. Some on the members you are responding to have not logged into this site for nearly as long either.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
HOWTO: Encoding // Pure Terminal // Virtual Terminal vermaden Guides 1 25th June 2010 08:02 AM
xterm color does not behave properly. pieterverberne OpenBSD General 2 19th August 2009 05:17 PM
Opera Font and Dialog Color Problem roddierod FreeBSD General 4 26th September 2008 02:39 PM
Color shell? giga FreeBSD General 3 14th August 2008 12:07 AM
Want to get rid of ugly color of rox rex FreeBSD General 6 12th May 2008 12:02 AM


All times are GMT. The time now is 11:42 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick