Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - General
User Name
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.


  Search this Thread
Old 12-31-2002, 08:48 AM   #1
LQ Newbie
Registered: Dec 2002
Distribution: SuSE 9.1
Posts: 4

Rep: Reputation: 0
Question Text mode terminal displays only 8 colors and not all 16

I find it convenient to start Linux in text mode (init 3) by editing
/etc/inittab appropriately, and starting the GUI only when needed.

The problem is, the screen in text mode does not display all the 16 colors it should, but displays only 8. The brighter colors are not displayed. For instance, ls is configured to display directories in light blue, but displays them instead in a dark shade of blue. Similarly, yellow appears as a shade of brown, and so on (in vi etc)

I'm running Redhat 8. I'd had Mandrake 8.2 previously, and this wasn't a problem at all then, so I know this can be rectified. I think it has something perhaps to do with /etc/termcap, but I have no idea how to correct this problem.

I know Redhat users who have had this problem before, and can't find a solution to this anywhere. Anyone know how to correct this?
Old 12-31-2002, 04:43 PM   #2
Registered: Feb 2002
Location: Pittsburgh, PA, USA
Posts: 73

Rep: Reputation: 15
Is your video card defined properly? What happens when you go into X, how many colors are displaying then?
Old 12-31-2002, 11:51 PM   #3
LQ Newbie
Registered: Dec 2002
Distribution: SuSE 9.1
Posts: 4

Original Poster
Rep: Reputation: 0
X displays even 32-bit color perfectly. X works fine

I think this is a problem with all Redhat distros perhaps. If you have redhat (any version), you can check it out yourself:

Go to a console (with Ctrl+Alt+F2 for instance) and run ls
The directories should appear light blue, but they appear dark blue.

Or better yet, if you have emacs version 21 or above, run emacs and enter the command
M-x list-colors-display

It should open a new buffer that should show 16 colors, not 8, if colors are working properly in text mode.


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to reach to my mail box using text mode terminal grupoapunte Linux - Newbie 4 05-08-2005 10:03 AM
text mode terminal info AbhishekSamuel Linux - General 1 05-03-2005 12:23 PM
X displays in weird colors e0r Linux - Newbie 2 01-26-2005 11:54 PM
What do you use terminal in X or text mode? HadesThunder Linux - General 9 05-05-2004 05:13 AM
Text Mode Colors tony Programming 1 11-27-2000 01:07 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:02 AM.

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