about summary refs log tree commit diff
path: root/Doc/Zsh/zle.yo
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2008-05-06 21:33:10 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2008-05-06 21:33:10 +0000
commit0ef4ecefc73f2813ae60bb787dee5c2cbffc0234 (patch)
treee23589b885bf4ce764133d440b0ac0c3d4fdcbaf /Doc/Zsh/zle.yo
parent85810b7b8eafa0412953c9f890135ffcd40d12c5 (diff)
downloadzsh-0ef4ecefc73f2813ae60bb787dee5c2cbffc0234.tar.gz
zsh-0ef4ecefc73f2813ae60bb787dee5c2cbffc0234.tar.xz
zsh-0ef4ecefc73f2813ae60bb787dee5c2cbffc0234.zip
24957: better sanity checking of colour ranges
always use termcap for numeric ranges where available
Diffstat (limited to 'Doc/Zsh/zle.yo')
-rw-r--r--Doc/Zsh/zle.yo14
1 files changed, 6 insertions, 8 deletions
diff --git a/Doc/Zsh/zle.yo b/Doc/Zsh/zle.yo
index 95d1d7ae9..b7b4676a7 100644
--- a/Doc/Zsh/zle.yo
+++ b/Doc/Zsh/zle.yo
@@ -2180,18 +2180,16 @@ or the name of one of the eight most widely-supported colours.
 
 Not all terminals support this and, of those that do, not all provide
 facilities to test the support, hence the user should decide based on the
-terminal type.  Most terminals with colour support accept the numbers 0 to
-7, and may generate additional colours if the tt(bold) attributes is also
-present.  Most terminals also have a standard range of colours for those
-numbers (though the interpretation of the colour can vary); these colours
-can be set by one of the names tt(black), tt(red), tt(green), tt(yellow),
-tt(blue), tt(magenta), tt(cyan) and tt(white).  Abbreviations are
-allowed; tt(b) or tt(bl) selects black.
+terminal type.  Most terminals support the colours tt(black), tt(red),
+tt(green), tt(yellow), tt(blue), tt(magenta), tt(cyan) and tt(white),
+which can be set by name.  Abbreviations are allowed; tt(b) or tt(bl)
+selects black.  Some terminals may generate additional colours if the
+tt(bold) attribute is also present.
 
 On recent terminals and on systems with an up-to-date terminal database the
 number of colours supported may be tested by with the command `tt(echotc
 Co)'; if this succeeds, it indicates a limit on the number of colours which
-will be enforced by the line editor.  The number of colours is in case
+will be enforced by the line editor.  The number of colours is in any case
 limited to 256 (i.e. the range 0 to 255).
 
 Colour is also known as color.