10-23-2012
That's a termcap/terminfo issue. Try different settings of $TERM to find one, that does not send background color codes.
On Solaris, TERM=ansi works quite well for me with putty and individual background colors. I guess, the same is true for AIX.
---------- Post updated at 10:30 ---------- Previous update was at 10:28 ----------
BTW: You can set this in the putty configuration dialog: Connection > Data > Terminal-type string.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi all,
I have written one script. If i run the script, particular text in that script needs to be displayed in color.how this could be done?any commands r there to change the colour of the text while running the script?
Ur help is appreciated !!!
Thanx in Advance,
Sona. (7 Replies)
Discussion started by: Sona
7 Replies
2. UNIX for Dummies Questions & Answers
Hi,
I am new to unix.
How can i change the background color in vi?
Thank you.
-tictactoe (1 Reply)
Discussion started by: tictactoe
1 Replies
3. Shell Programming and Scripting
Could you pls tell me how to change the font colour in unix ?
What is the syntax ? (3 Replies)
Discussion started by: sars
3 Replies
4. HP-UX
Dear All,
We have following code to send mails from unix to users. We want to see few sentences of mail in bold font or to hightlight few lines in different colours. Could you please let me know how can we do it in function construct_body.
... (3 Replies)
Discussion started by: yogichavan
3 Replies
5. Solaris
Can any one tell me how to change the screen colors of the screen when connected unix using putty. I tryed setting from colors but it's not happening (2 Replies)
Discussion started by: svenkatareddy
2 Replies
6. UNIX for Advanced & Expert Users
Hi
I want to change the color of the email content sent through unix. I tried a lot and left in vain. I heard that it could be done by sending the email as HTML. But I don't how to do it. Can you all share your ideas?
~sakthifire (1 Reply)
Discussion started by: sakthifire
1 Replies
7. Programming
i want to ask how to change the colour of prompt message from use?
and also how to change colour in printing........
i want to change it as blue colour and red colour, but i found many website still don't know how to do. how's the command is wrote?
thz really!! (1 Reply)
Discussion started by: wendy1089
1 Replies
8. UNIX for Advanced & Expert Users
Hi everyone ,
Happy new year !
I have a question , hope someone will respond to me .
I will be logging into so many servers in the same putty . So , whenever i loggedoff and loggedin into anonther server , putty window will change accordingly to the server name .
If the above is... (7 Replies)
Discussion started by: radha254
7 Replies
9. UNIX for Dummies Questions & Answers
Hello all,
I have a not so unix question for you guys(or maybe it is). I use PUTTY to login to serverA (my putty title shows as serverA.domainname.com)
Now from ServerA i do ssh user@ServerB (i have ssh public private key setup)...
now my question is when i do ssh and logon to... (20 Replies)
Discussion started by: abdul.irfan2
20 Replies
10. Shell Programming and Scripting
Hi,
I am trying to write a script which will email a backup report from the server,
The contents of the email will be:
---------------------- ---- -- ---- ----- ---- ------- ---- ------- -------
| | | | |Chnge|Wkng| | | | |
| ... (6 Replies)
Discussion started by: Bdoydie
6 Replies
LEARN ABOUT OSX
set_color
set_color(1) fish set_color(1)
NAME
set_color - set_color - set the terminal color
set_color - set the terminal color
Synopsis
set_color [-v --version] [-h --help] [-b --background COLOR] [COLOR]
Description
Change the foreground and/or background color of the terminal. COLOR is one of black, red, green, brown, yellow, blue, magenta, purple,
cyan, white and normal.
o -b, --background Set the background color
o -c, --print-colors Prints a list of all valid color names
o -h, --help Display help message and exit
o -o, --bold Set bold or extra bright mode
o -u, --underline Set underlined mode
o -v, --version Display version and exit
Calling set_color normal will set the terminal color to whatever is the default color of the terminal.
Some terminals use the --bold escape sequence to switch to a brighter color set. On such terminals, set_color white will result in a grey
font color, while set_color --bold white will result in a white font color.
Not all terminal emulators support all these features. This is not a bug in set_color but a missing feature in the terminal emulator.
set_color uses the terminfo database to look up how to change terminal colors on whatever terminal is in use. Some systems have old and
incomplete terminfo databases, and may lack color information for terminals that support it. Download and install the latest version of
ncurses and recompile fish against it in order to fix this issue.
Version 1.23.1 Sun Jan 8 2012 set_color(1)