LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
LinkBack Search this Thread
Old 02-09-2007, 04:20 PM   #1
m2azer
Member
 
Registered: Sep 2004
Location: USA
Distribution: red hat, fedora & centos
Posts: 202

Rep: Reputation: 30
Terminal color


when using the FC6 terminal all of my folders, files have different colors and even when writing a css file I could tell if i have the right syntax because the color of the font is changing.
my questions is i recently installed CentOS but it doesn't have or I don't know how to turn on the color in the teminal - belive me i am not trying to look pretty its just very useful if you writing or debugging html, php or css since everything in different color

Thanks
 
Old 02-09-2007, 05:50 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,950
Blog Entries: 11

Rep: Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860
Umm ... you're confusing a couple of different things here.
Seeing files and directories in different colours:
ls --color (some [in my opinion stupid] distributions do
this as an alias by default)

Editing stuff in color: has nothing to do with the above,
depends on the editor you're using.
vim - :syntax on
emacs - M-x global-font-lock-mode
others - use the man-page, Luke!


Cheers,
Tink
 
Old 02-09-2007, 10:07 PM   #3
m2azer
Member
 
Registered: Sep 2004
Location: USA
Distribution: red hat, fedora & centos
Posts: 202

Original Poster
Rep: Reputation: 30
Thank you for your response. I took your advice about "synatx on" and did a google search and it came back with that link http://www.linuxforums.org/forum/red...es-solved.html
which showed me that I only had vim-minimal so once i installed vim-enhanced-6.3.046-0.40E.7
vim-common-6.3.046-0.40E.7
i was able to edit stuff in color again

Thanks for the help

Last edited by m2azer; 02-10-2007 at 11:15 AM.
 
Old 02-10-2007, 12:22 AM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,950
Blog Entries: 11

Rep: Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860
You're most welcome!


Cheers,
Tink
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Fedora Core 4 Terminal Color placster Linux - Newbie 7 12-14-2005 02:12 PM
Terminal background color not working mijohnst Linux - Newbie 2 10-03-2005 04:11 PM
Turning off terminal color highlight penguinco Fedora 1 12-08-2004 11:25 AM
Terminal font and color berkay Linux - Newbie 10 09-23-2004 02:19 AM
get terminal color? cratos Programming 0 07-16-2003 03:04 PM


All times are GMT -5. The time now is 07:26 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration