LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 06-08-2004, 11:42 AM   #1
BiO|Happy
LQ Newbie
 
Registered: May 2004
Distribution: Mandrake, Knoppix
Posts: 9

Rep: Reputation: 0
Question What is the command to change text color?


Hi all,
I have installed Linux Mandrake 6.0 on a old compaq computer,
with a 1 gig drive, and 48 megs of memory.
I'm not using any Window Managers \ GUI ,
just the command line, to telnet into another Linux box,
on my network, behind my router.

The monitor that I am using is very old and "dark",
I quess that I can't use the happy "xgamma" command...
so I need to know what command that I can "punch in" in "real time"
to either make the background of the screen a differn't color...
... or to make the text a differn't color... or maybe even both.

Thank you for any help,
BiO|Happy
 
Old 06-08-2004, 08:36 PM   #2
BiO|Happy
LQ Newbie
 
Registered: May 2004
Distribution: Mandrake, Knoppix
Posts: 9

Original Poster
Rep: Reputation: 0
I guess it's not possible?
 
Old 06-09-2004, 02:54 PM   #3
BiO|Happy
LQ Newbie
 
Registered: May 2004
Distribution: Mandrake, Knoppix
Posts: 9

Original Poster
Rep: Reputation: 0
Thumbs up

I figured how to do it in bash shell...

PS1="\[\033[1;37m\][\$(date +%H%M)][\u@\h:\w]$\[\033[0m\] "

changes the text to white, not grey... just what I wanted!

Thanks All
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
How change text color using linux in text mode only runlevel 3? Xavius Linux - General 7 05-07-2009 02:19 AM
change text color eterm comprookie2000 Linux - Newbie 3 06-01-2004 05:33 PM
How to change the selected text color in nedit? ICO Linux - Software 3 03-18-2004 09:56 AM
How to change the color of text @ Eterm k0ljat Linux - Software 1 08-26-2003 01:53 PM
need to know system command to change text color Mr_ss Linux - General 2 06-22-2001 10:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 10:50 PM.

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