diff options
author | David Adam (zanchey) <zanchey@ucc.gu.uwa.edu.au> | 2013-05-12 15:56:01 +0800 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2013-05-13 01:48:20 -0700 |
commit | 1287b9d82382bf22e16edda67eae755f07397f2e (patch) | |
tree | 811814b029d65ac11a193e616ca4a71d216dbe0c /doc_src/set_color.txt | |
parent | 91aab03b90a6b583a3c0ecff5b015c6066d34f28 (diff) |
Help cleanup
Large list of changes, including formatting and typos for most commands.
More substantive changes have been made to alias, bind, block, break,
builtin, case, cd, commandline, count, else, emit, fish_config, funced,
function, functions, history, math, mimedb, nextd, not, popd, prevd,
pushd, pwd, random, read, set, set_color, switch, test, trap, type,
ulimit, umask, and while.
Diffstat (limited to 'doc_src/set_color.txt')
-rw-r--r-- | doc_src/set_color.txt | 27 |
1 files changed, 13 insertions, 14 deletions
diff --git a/doc_src/set_color.txt b/doc_src/set_color.txt index 79eca8e0..546889cd 100644 --- a/doc_src/set_color.txt +++ b/doc_src/set_color.txt @@ -5,37 +5,36 @@ \subsection set_color-description Description -Change the foreground and/or background color of the terminal. -COLOR is one of black, red, green, brown, yellow, blue, magenta, +\c set_color changes the foreground and/or background color of the terminal. +\c COLOR is one of black, red, green, brown, yellow, blue, magenta, purple, cyan, white and normal. If your terminal supports term256 (modern xterms and OS X Lion), you can specify an RGB value with three or six hex digits, such -as A0FF33 or f2f. fish will choose the closest supported color. +as A0FF33 or f2f. \c fish will choose the closest supported color. -- \c -b, \c --background Set the background color -- \c -c, \c --print-colors Prints a list of all valid color names -- \c -h, \c --help Display help message and exit -- \c -o, \c --bold Set bold or extra bright mode -- \c -u, \c --underline Set underlined mode +The following options are available: +- \c -b, \c --background \c COLOR sets the background color. +- \c -c, \c --print-colors prints a list of all valid color names. +- \c -h, \c --help displays a help message and exit. +- \c -o, \c --bold sets bold or extra bright mode. +- \c -u, \c --underline sets underlined mode. Calling <tt>set_color normal</tt> will set the terminal color to -whatever is the default color of the terminal. +the default color of the terminal. Some terminals use the --bold escape sequence to switch to a brighter color set. On such terminals, <code>set_color white</code> will result in a grey font color, while <code>set_color --bold white</code> 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. +Not all terminal emulators support all these features. -set_color uses the terminfo database to look up how to change terminal +\c 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. +terminals that support it. \subsection set_color-example Examples <pre>set_color red; echo "Roses are red" |