bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: infocmp posible bug


From: G. Branden Robinson
Subject: Re: infocmp posible bug
Date: Mon, 13 Jan 2025 09:08:41 -0600

At 2025-01-11T17:25:59-0500, Thomas Dickey wrote:
> On Sat, Jan 11, 2025 at 12:21:38PM -0600, G. Branden Robinson wrote:
> > At 2025-01-11T13:17:26+0100, Peter Radisson wrote:
> > > i was a bit fustrated by the lack of documentation regarding the
> > > possibilites of tput (or the terminals). When you google that
> > > topic only a few caps regarding colors are discussed, most times
> > > people are unaware of the other features.
[...]
> >      terminfo(5) discusses terminal capabilities at length and
> >      presents a complete list of cap‐codes.
> > 
> > That last quoted sentence in its own paragraph would appear to
> > address your complaint.
> 
> If not, perhaps another paragraph explaining how infocmp can show what
> capabilities tput will respond to could be helpful.
> 
> But documenting the OTxxx stuff in the manpage - probably not.

I actually have a patch pending to mention one specimen of that cap-code
("short name") style in curs_termcap.3x.  This arose because its C
symbol name (long name) was already under discussion.

@@ -275,27 +275,39 @@ .SS "Global Variables"
 to the
 .I \%term\%info
 entry's data for
-.BR \%pad_char ","
-.BR \%cursor_up ","
+.B \%pad_char
+.RB ( pad ),
+.B \%cursor_up
+.RB ( cuu1 ),
 and
-.BR \%backspace_if_not_bs ","
+.B \%backspace_if_not_bs
+.RB ( OTbs ),
 respectively.
-\fBUP\fP is not used by
-.IR \%ncurses "."
-.B PC
-is used by \fB\%delay_output\fP(3X).
-.B BC
-is used by
+.I \%ncurses
+does not employ
+.B cuu1
+internally.
+\fB\%delay_output\fP(3X)
+uses
+.BR pad ","
+while
 .B \%tgoto
-emulation.
+emulation uses the obsolete
+.I termcap
+capability
+.BR bs ","
+represented in
+.I \%ncurses
+.I \%term\%info
+as \*(``OTbs\*(''.
 .I \%ncurses
 assigns the variable
 .B \%ospeed

I'll be sending along a fairly substantial chunk of proposed man page
patches, plus a couple of bonus bug fixes, later today or tomorrow.

Regards,
Branden

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]