LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-16-2006, 06:35 PM   #1
gtjmn308
LQ Newbie
 
Registered: Mar 2006
Posts: 16

Rep: Reputation: 0
How do I stop redhat bash colors? they are breaking my balls!


Hi,

just installed RHAT ES 4.4, when I log into and use commands - especially vi - my screen becomes inundated with various color.


ITS FRUSTRATING THE HELL OUT OF ME! From deep in the memory banks I think there is a bash setting that can turn colour off - something like "nocolor" something?

Can someone please help?


GReg.
 
Old 09-16-2006, 07:42 PM   #2
vls
Member
 
Registered: Jan 2005
Location: The grassy knoll
Distribution: Slackware,Debian
Posts: 192

Rep: Reputation: 31
If the vi is really vim, the try this in command mode (hit the esc key a couple of times to make sure):

Code:
:syntax off
If your prompt is colorized, that's probably coming from /etc/profile but possibly some junk in your ~/.bash_profile or ~/.bashrc (depends on what RedHat dumps in your $HOME).

Try resetting PS1
PS1="\u@\h \$ " produces user@host $

There is no standard bash setting for colors.

Last edited by vls; 09-16-2006 at 07:43 PM.
 
Old 09-16-2006, 09:41 PM   #3
jcliburn
Member
 
Registered: Dec 2003
Location: Mississippi, USA
Distribution: Fedora
Posts: 435

Rep: Reputation: 33
man dir_colors
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
stop desktop icon names from abbreviating and breaking Cinematography Linux - Software 4 07-29-2005 06:28 PM
Perl breaking my balls.... bulliver Programming 10 01-17-2005 02:14 PM
Bash colors ryedunn Mandriva 0 12-09-2004 08:50 AM
AcidRip is breaking my balls! Need help!! Hammett Linux - Software 1 10-31-2003 12:01 PM
Questions about bash colors.... jcornel7 Linux - Newbie 7 02-05-2003 02:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:16 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration