Debian Bug report logs - #1004901
ncurses-bin: issues with the infocmp(1) man page and databases

version graph

Package: ncurses-bin; Maintainer for ncurses-bin is Ncurses Maintainers <[email protected]>; Source for ncurses-bin is src:ncurses (PTS, buildd, popcon).

Reported by: Vincent Lefevre <[email protected]>

Date: Thu, 3 Feb 2022 10:15:02 UTC

Severity: minor

Found in version ncurses/6.3-2

Full log


Message #18 received at [email protected] (full text, mbox, reply):

Received: (at 1004901) by bugs.debian.org; 18 Jan 2024 18:57:12 +0000
From [email protected] Thu Jan 18 18:57:12 2024
X-Spam-Checker-Version: SpamAssassin 3.4.6-bugs.debian.org_2005_01_02
	(2021-04-09) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-6.4 required=4.0 tests=BAYES_00,DKIM_SIGNED,
	DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FOURLA,FREEMAIL_FROM,GENDER,
	HAS_BUG_NUMBER,RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,
	SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham
	autolearn_force=no version=3.4.6-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 45; hammy, 150; neutral, 95; spammy,
	0. spammytokens: hammytokens:0.000-+--autopkgtest, 0.000-+--manpage,
	0.000-+--H*i:0100, 0.000-+--H*u:Gnus, 0.000-+--H*i:Thu
Return-path: <[email protected]>
Received: from mout.gmx.net ([212.227.17.22]:44467)
	by buxtehude.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
	(Exim 4.94.2)
	(envelope-from <[email protected]>)
	id 1rQXZf-007uIH-Rs
	for [email protected]; Thu, 18 Jan 2024 18:57:12 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.de; s=s31663417;
	t=1705604218; x=1706209018; [email protected];
	bh=5PkTH6pJrB8w3sGP4NUXkN5X6sq3Y6qVoxNACRhXNzs=;
	h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:
	 Date;
	b=fCKkHCmgmgeyYuvQYA3LiwwtEdlM6XeWFDwqNZ5zkXUHExhSNzLWcyffUaBi+RCi
	 Muaa6m2dhF+U6QUs/KN/MlmLF/S/Bwpqxyg8Tu8uV4onYyl6gkKty0xjJ/d5cGt5k
	 ZXFVmFZ/22o4AW2vST9FcH+e3Ut+Bu/ZeCXOqgh433mFCwWsDNTdVJahz4A6x1IJj
	 4awAPumSS5PvsqLY1iecFXwwSDscsmB6WYhY3aJZbV6wtKhV2G9ssC77DnBmGqXES
	 sSF/las6Igo+mveQJUIwTDgVJa+n85gmc07ilmF568Su/UwnvJQIt0GYMkN0Ns67n
	 T+9HjaLTnNYFTjn6oA==
X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a
Received: from localhost.localdomain ([79.203.86.131]) by mail.gmx.net
 (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id
 1M8QS8-1rUvHe1oHo-004X3i; Thu, 18 Jan 2024 19:56:58 +0100
Received: by localhost.localdomain (Postfix, from userid 1000)
	id 91E4C8009A; Thu, 18 Jan 2024 19:56:57 +0100 (CET)
From: Sven Joachim <[email protected]>
To: Vincent Lefevre <[email protected]>
Cc: [email protected]
Subject: Re: Bug#1004901: ncurses-bin: issues with the infocmp(1) man page
 and databases
In-Reply-To: <[email protected]> (Vincent Lefevre's
	message of "Thu, 3 Feb 2022 11:10:50 +0100")
References: <[email protected]>
Date: Thu, 18 Jan 2024 19:56:57 +0100
Message-ID: <[email protected]>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Provags-ID: V03:K1:CPIl9XEyKaTAfjEB1LwkrRnRLaRFDd8v2Y0YyugW/crekua/1cg
 SYosXGQhuOLmf4DdLDTREFOGSsRD6BC6fPh1lRZn2R0BluJ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weOakt0n
 oH0aBQmkXjLonmy6v+/XB2FJX2L8JEQvs/25lTnAzWz5HwepOJGseULMay2ZSOqsaoa169S2U
 gnfagg==
On 2022-02-03 11:10 +0100, Vincent Lefevre wrote:

> Package: ncurses-bin
> Version: 6.3-2
> Severity: minor
>
> In the infocmp(1) man page:
>
>    Changing Databases [-A directory] [-B directory]
>        Like  other  ncurses  utilities, infocmp looks for the terminal
>        descriptions in several places.  You can use the  TERMINFO  and
>        TERMINFO_DIRS environment variables to override the compiled-in
>        default list of places to search (see curses(3X) for details).
>
> The curses(3X) man page does not exist. It is curses(3ncurses).

This particular problem has been fixed in version 6.3+20220423-1,
probably as a consequence of the following change in the 20211225
patchlevel:

,----
| + improve markup, e.g., for external manpage links in the manpages
|   (prompted by report by Helge Kreutzmann).
`----

As of version 6.4+20240113-1 there are no longer any '3X' references in
any of the manpages, and I have also added an autopkgtest to ensure that
they do not come back.

> Moreover,
>
>   FILES
>        /etc/terminfo       Compiled terminal description database.
>
> It is empty in my case. It appears that infocmp looks at other places,
> such as /lib/terminfo (most cases) and "$HOME/.terminfo".

Yes.  There are several places in the manpages where /etc/terminfo is
referred to as the system terminfo database, but it is really just the
place where tic(1) writes to by default, whereas the terminfo entries
provided by the distribution usually live under /usr/share/terminfo.
Someone™ should improve that, because it basically affects every Linux
distro out there.

> Instead of giving a directory that is not used in practice, give a
> reference to the curses(3ncurses) man page?

That would probably not be too helpful, because that manpage is likely
not present.  The "Fetching Compiled Descriptions" section in
terminfo(5) is probably the most accurate reference.

Cheers,
       Sven



Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Fri May 16 05:13:36 2025; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.