X-Git-Url: http://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=include%2FCaps.aix4;h=9b1ab8c90b17a270de0e666381192663a7f5c9b4;hp=71b295a18b12a55c70e8e2667674ef24ca894098;hb=725169bda4d3b4c3fde0d4a94f76d017812c7ea6;hpb=d8d029ed8d2793e679c2b247620ea5e2e9d6144b diff --git a/include/Caps.aix4 b/include/Caps.aix4 index 71b295a1..9b1ab8c9 100644 --- a/include/Caps.aix4 +++ b/include/Caps.aix4 @@ -29,7 +29,7 @@ # # Author: Thomas Dickey # -# $Id: Caps.aix4,v 1.26 2024/03/02 14:35:19 tom Exp $ +# $Id: Caps.aix4,v 1.27 2024/03/16 15:26:09 Branden.Robinson Exp $ # # This is an adaptation of ncurses' termcap/terminfo capability table, which # is designed to align with AIX 4.x's terminfo. @@ -174,53 +174,72 @@ # # STANDARD CAPABILITIES # -#%The following is a complete table of the capabilities included in a -#%terminfo description block and available to terminfo-using code. -#%In each line of the table, +#%Tables of capabilities +#%.I \%ncurses +#%recognizes in a +#%.I \%term\%info +#%terminal type description and available to +#%.IR \%term\%info -using +#%code follow. #%.bP -#%The \fBvariable\fR is the name by which the programmer (at the terminfo level) -#%accesses the capability. +#%The capability name identifies the symbol by which the programmer +#%using the +#%.I \%term\%info +#%API accesses the capability. #%.bP -#%The \fBcapname\fR (\fICap-name\fP) -#%is the short name used in the text of the database, -#%and is used by a person updating the database. +#%The TI +#%.RI ( \%term\%info ) +#%code is the short name used by a person composing or updating a +#%terminal type entry. #%.IP -#%Whenever possible, capnames are chosen to be the same as or similar to -#%the ANSI X3.64-1979 standard (now superseded by ECMA-48, which uses -#%identical or very similar names). +#%Whenever possible, +#%these codes are the same as or similar to those of the ANSI X3.64-1979 +#%standard +#%(now superseded by ECMA-48, +#%which uses identical or very similar names). #%Semantics are also intended to match those of the specification. #%.IP -#%Capability names have no hard length limit, but an informal limit of 5 -#%characters has been adopted to keep them short and to allow the tabs in -#%the source file -#%.B Caps +#%.I \%term\%info +#%codes have no hard length limit, +#%but +#%.I \%ncurses +#%maintains an informal one of 5 characters to keep them short and to +#%allow the tabs in the source file +#%.I Caps #%to line up nicely. +#%(Some standard codes exceed this limit regardless.) #%.bP -#%The \fBtermcap\fP (\fITcap\fP) code is the old capability name -#%(some capabilities are new, and have names which termcap did not originate). +#%The TC +#%.RI ( \%term\%cap ) +#%code is that used by the corresponding API of +#%.I \%ncurses. +#%(Some capabilities are new, +#%and have names that BSD +#%.I \%term\%cap +#%did not originate.) #%.bP -#%Finally, the \fBdescription\fP field attempts to convey the semantics of the -#%capability. +#%The description field attempts to convey the capability's semantics. #%.PP -#%You may find some codes in the description field: +#%The description field employs a handful of notations. #%.TP -#%(P) -#%indicates that padding may be specified +#%.B (P) +#%indicates that padding may be specified. #%.TP -#%#[1-9] -#%in the description field indicates that the string is passed -#%through \fBtparm\fP(3X) with parameters as given (#\fIi\fP). -#%.IP -#%If no parameters are listed in the description, -#%passing the string through \fBtparm\fP(3X) may give unexpected results, -#%e.g., if it contains percent (%%) signs. -#%.TP -#%(P*) -#%indicates that padding may vary in proportion to the number of -#%lines affected +#%.B (P*) +#%indicates that padding may vary in proportion to the number of output +#%lines affected. #%.TP -#%(#\d\fIi\fP\u) -#%indicates the \fIi\fP\uth\d parameter. +#%.BI # i +#%indicates the +#%.IR i th +#%parameter of a string capability; +#%the programmer should pass the string to \fB\%tparm\fP(3X) with the +#%parameters listed. +#%.IP +#%If the description lists no parameters, +#%passing the string to \fB\%tparm\fP(3X) may produce unexpected +#%behavior, +#%for instance if the string contains percent signs. #%. #%.PP #%.TS