Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

set_color(1) [v7 man page]

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)

Check Out this Related Man Page

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)
Man Page

14 More Discussions You Might Find Interesting

1. Post Here to Contact Site Administrators and Moderators

Latest Design of New Unix Header (Flash)

As everyone might know by now, we have a new 'draft' banner with matrix theme, falling unix commands, blinking numbers, and more. This will be the new default theme for the forums. We are in the process of sending final comments to our designer, please feel free to post your suggestions here.... (20 Replies)
Discussion started by: Neo
20 Replies

2. UNIX for Dummies Questions & Answers

xterm or terminal profile

Hi all I want to customize my terminal or xterminal profile for background color font color and font face etc. As far as I know for login .profile must be placed on top your home directory and I did it and worked. But I am not sure for terminal; what is the name of profile that I've to... (6 Replies)
Discussion started by: xramm
6 Replies

3. UNIX for Advanced & Expert Users

how to modify font size and type from script

I need to print different lines in different font types and sizes to the terminal window from csh script. I can easily change font color and print characters in bold or underline, but cannot figure out a way to change font. Any help is greatly appreciated.:confused: (3 Replies)
Discussion started by: helido
3 Replies

4. Shell Programming and Scripting

ksh - how to echo something in color and bold

Hi all, I was to echo Hi in Red and Bold ; and echo There is in Green and bold I got bold to working using tput bold but i am having hard time getting the color. Any help is appreciated, jak (4 Replies)
Discussion started by: jakSun8
4 Replies

5. Shell Programming and Scripting

How to have color coded Terminal display,(like linux)

Hi all, I would like to know how to have a color display in the terminal... In the sense that, In many linux terminals,we have color coded for each file type, green for executable ,blue for dirs and so on... I wanted to know how i can have the same arrangement in solaris(b-79a) I am not... (5 Replies)
Discussion started by: wrapster
5 Replies

6. UNIX for Dummies Questions & Answers

What does a bold filename in ls mean?

I am ssh'd into my box using a terminal emulation of vt100. When I do a directory listing (ls) some of the file names are bold. I know that directories are also in bold, but these are not directories. What does a bolded filename mean? This seems like such a basic question, but I've spent 20... (3 Replies)
Discussion started by: nunemaj
3 Replies

7. AIX

Enabling color for putty session

Hi Everyone: Is there any way to enable colors through putty for a session into AIX? I've tried to set the TERM variable to xterm-256color but it doesn't work having a 8-color terminal would be okay for me thanks in advance (5 Replies)
Discussion started by: edgarvm
5 Replies

8. Solaris

How to change folder color in terminal ?

Hi all, I am really new to UNIX ..and can any1 help me on change the yellow color to blur color (folder) ? Please refer to the attached pictures .. Your help is really appreciated .. :) Have a nice day ! (5 Replies)
Discussion started by: sauronlord
5 Replies

9. UNIX and Linux Applications

Xfce terminal: colors

I have Xfce terminal emulator installed on most machines. The Xubuntu version has color coding that distinguishes directories (purple) from files (white or green) for instance. The terminals on non-Linux machines do not have this color coding. Where can this color option be set? Is there a... (6 Replies)
Discussion started by: figaro
6 Replies

10. OS X (Apple)

Manipulate terminal session background color

Greetings, I know I can manipulate from AppleScript to terminal.app or just run commands from apple script. But what about from a BASH Script. when A user logs in and runs a maintenance utility I have written for them, I want to modify their background color and text color. example; ... (4 Replies)
Discussion started by: doctorfoo1
4 Replies

11. UNIX for Dummies Questions & Answers

Sending command from one terminal to another.

Hello, I am running a program in a terminal. this program is just printing random words. I can change the color of each word by entering the first character of the color(for example G for Green). I want to write a bash code that runs in a different terminal and sends different characters to... (3 Replies)
Discussion started by: alireza6485
3 Replies

12. Shell Programming and Scripting

Merge lines

Hello I have a file with CAR 23 COLOR 12 CAR 44 COLOR 12 CAR 55 COLOR 20 SIZE BIG CAR 56 CAR 57 COLOR 11 How can merge the CAR and the COLOR + SIZE (if there are COLOR,SIZE) CAR 23 COLOR 12 CAR 44 COLOR 12 CAR 55 COLOR 20 SIZE BIG CAR 56 CAR 57 COLOR 11 Every line begin in... (4 Replies)
Discussion started by: sharong
4 Replies

13. Shell Programming and Scripting

Make bold chars in UNIX

Hi all, I want to make the string as bold in unix. is there any way to acheive this? thanks in advance. (16 Replies)
Discussion started by: SekhaReddy
16 Replies

14. UNIX for Beginners Questions & Answers

Colorful message is displayed in the terminal but not in the log file

Is there any way to print the colorful message in the terminal (which is the output of a simulation) to the log file with the same color. The colorful message at the terminal is obtained by the following codes: /////////////codes start here/////////////////////////////////////// ... (5 Replies)
Discussion started by: babunp114525
5 Replies