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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
02-09-2007, 04:20 PM
|
#1
|
|
Member
Registered: Sep 2004
Location: USA
Distribution: red hat, fedora & centos
Posts: 202
Rep:
|
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
|
|
|
|
02-09-2007, 05:50 PM
|
#2
|
|
Moderator
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,916
|
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
|
|
|
|
02-09-2007, 10:07 PM
|
#3
|
|
Member
Registered: Sep 2004
Location: USA
Distribution: red hat, fedora & centos
Posts: 202
Original Poster
Rep:
|
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.
|
|
|
|
02-10-2007, 12:22 AM
|
#4
|
|
Moderator
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,916
|
You're most welcome!
Cheers,
Tink
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 02:07 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|