X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=man%2Fuser_caps.5;h=04830cb8ceac841fe2a1a27860789023887040fc;hp=f4d0828b2421905782fc9b4e2d77232fb0584cf9;hb=9da7d09296c1b625afd18567a6828d8e7ec2ee01;hpb=a20e6eb464be80b9cd8cae7ce925d27fe9c209ed diff --git a/man/user_caps.5 b/man/user_caps.5 index f4d0828b..04830cb8 100644 --- a/man/user_caps.5 +++ b/man/user_caps.5 @@ -1,5 +1,5 @@ .\"*************************************************************************** -.\" Copyright (c) 2017 Free Software Foundation, Inc. * +.\" Copyright (c) 2017,2018 Free Software Foundation, Inc. * .\" * .\" Permission is hereby granted, free of charge, to any person obtaining a * .\" copy of this software and associated documentation files (the * @@ -26,16 +26,16 @@ .\" authorization. * .\"*************************************************************************** .\" -.\" $Id: user_caps.5,v 1.1 2017/08/12 21:26:12 tom Exp $ +.\" $Id: user_caps.5,v 1.6 2018/02/03 22:38:17 tom Exp $ .TH user_caps 5 .ie \n(.g .ds `` \(lq .el .ds `` `` .ie \n(.g .ds '' \(rq .el .ds '' '' .de NS -.ie \n(.sp +.ie n .sp .el .sp .5 -.ie \n(.in +4 +.ie n .in +4 .el .in +2 .nf .ft C \" Courier @@ -46,9 +46,9 @@ .in -4 .. .de bP -.IP \(bu 4 +.ie n .IP \(bu 4 +.el .IP \(bu 2 .. -.ds n 5 .SH NAME user_caps \- user-defined terminfo capabilities .SH SYNOPSIS @@ -203,6 +203,12 @@ blue (and green) lose just as in the \fIboolean\fP case. explicitly list the number of bits used for red, green and blue components as a slash-separated list of decimal integers. .RE +.IP +Because there are several RGB encodings in use, +applications which make assumptions about the number of bits per color +are unlikely to work reliably. +As a trivial case, for example, one could define \fBRGB#1\fP +to represent the standard eight ANSI colors, i.e., one bit per color. .TP 3 U8 \fIboolean\fP, @@ -210,7 +216,7 @@ asserts that ncurses must use Unicode values for line-drawing characters, and that it should ignore the alternate character set capabilities when the locale uses UTF-8 encoding. For more information, see the discussion of -\fBNCURSES_NO_UTF8_ACS\fP in \fBterminfo\fP(5). +\fBNCURSES_NO_UTF8_ACS\fP in \fBncurses\fP(3X). .IP Set this capability to a nonzero value to enable it. .TP 3