Debian Bug report logs - #618429
ncurses-doc: no 3x man pages in /usr/share/man/man3

version graph

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

Reported by: Vincent Lefevre <[email protected]>

Date: Tue, 15 Mar 2011 02:57:02 UTC

Severity: normal

Found in version ncurses/5.8+20110307-1

Reply or subscribe to this bug.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to [email protected], Craig Small <[email protected]>:
Bug#618429; Package ncurses-doc. (Tue, 15 Mar 2011 02:57:04 GMT) (full text, mbox, link).


Acknowledgement sent to Vincent Lefevre <[email protected]>:
New Bug report received and forwarded. Copy sent to Craig Small <[email protected]>. (Tue, 15 Mar 2011 02:57:05 GMT) (full text, mbox, link).


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

From: Vincent Lefevre <[email protected]>
To: Debian Bug Tracking System <[email protected]>
Subject: ncurses-doc: no 3x man pages in /usr/share/man/man3
Date: Tue, 15 Mar 2011 03:54:50 +0100
Package: ncurses-doc
Version: 5.8+20110307-1
Severity: normal

ncurses-doc has /usr/share/doc/ncurses-doc/html/man/*.3x.html files,
but not the corresponding man pages in /usr/share/man/man3.

Note that some other man pages, e.g. reset(1), have references to
such man pages in the "SEE ALSO" section, so that it is annoying
not to have access to these man pages with "man".

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.37-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=POSIX, LC_CTYPE=en_US.ISO8859-1 (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash

-- no debconf information




Information forwarded to [email protected], Craig Small <[email protected]>:
Bug#618429; Package ncurses-doc. (Wed, 16 Mar 2011 20:45:03 GMT) (full text, mbox, link).


Acknowledgement sent to Sven Joachim <[email protected]>:
Extra info received and forwarded to list. Copy sent to Craig Small <[email protected]>. (Wed, 16 Mar 2011 20:45:03 GMT) (full text, mbox, link).


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

From: Sven Joachim <[email protected]>
To: [email protected]
Cc: Vincent Lefevre <[email protected]>
Subject: Re: Bug#618429: ncurses-doc: no 3x man pages in /usr/share/man/man3
Date: Wed, 16 Mar 2011 21:41:08 +0100
On 2011-03-15 03:54 +0100, Vincent Lefevre wrote:

> Package: ncurses-doc
> Version: 5.8+20110307-1

Note that none of this is new, the same problem exists in the
libncurses5-dev package in squeeze and lenny which held the
documentation before I split it out to ncurses-doc.

> ncurses-doc has /usr/share/doc/ncurses-doc/html/man/*.3x.html files,
> but not the corresponding man pages in /usr/share/man/man3.

More exactly, the manpages are there, but not under the same names.
This is because they are renamed (see man/man_db.renames in the ncurses
source tree), while the HTML documentation does not receive such
treatment.

I don't know why this setup with renaming manpages exists, but it has
been around at least since ncurses 4.1, released 1997.

> Note that some other man pages, e.g. reset(1), have references to
> such man pages in the "SEE ALSO" section, so that it is annoying
> not to have access to these man pages with "man".

This is a fallout from the following change mentioned in NEWS:

,----
| 20061230
|  [...]
| 	+ used linklint to verify links in the HTML documentation, made fixes
| 	  to manpages as needed.
`----

That change fixed the links in the HTML documentation, but broke the
references in the manpages themselves.

Regards,
        Sven




Information forwarded to [email protected], Craig Small <[email protected]>:
Bug#618429; Package ncurses-doc. (Thu, 17 Mar 2011 22:15:04 GMT) (full text, mbox, link).


Acknowledgement sent to Thomas Dickey <[email protected]>:
Extra info received and forwarded to list. Copy sent to Craig Small <[email protected]>. (Thu, 17 Mar 2011 22:15:04 GMT) (full text, mbox, link).


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

From: Thomas Dickey <[email protected]>
To: Sven Joachim <[email protected]>, [email protected]
Cc: Vincent Lefevre <[email protected]>, Craig Small <[email protected]>
Subject: Re: Bug#618429: ncurses-doc: no 3x man pages in /usr/share/man/man3
Date: Thu, 17 Mar 2011 18:05:40 -0400 (EDT)
On Wed, 16 Mar 2011, Sven Joachim wrote:

> On 2011-03-15 03:54 +0100, Vincent Lefevre wrote:
>
>> Package: ncurses-doc
>> Version: 5.8+20110307-1
>
> Note that none of this is new, the same problem exists in the
> libncurses5-dev package in squeeze and lenny which held the
> documentation before I split it out to ncurses-doc.
>
>> ncurses-doc has /usr/share/doc/ncurses-doc/html/man/*.3x.html files,
>> but not the corresponding man pages in /usr/share/man/man3.
>
> More exactly, the manpages are there, but not under the same names.
> This is because they are renamed (see man/man_db.renames in the ncurses
> source tree), while the HTML documentation does not receive such
> treatment.
>
> I don't know why this setup with renaming manpages exists, but it has
> been around at least since ncurses 4.1, released 1997.

Before that - man_db.renames was added in October 1995.  At that point,
only the files were renamed (no link-fixes), and I added the edit_man.sh
script in mid-1996 (I seem to recall that was to obsolete some scripting
in the Debian package - or perhaps I'm recalling some later refinement).

My understanding was that it was done that way to follow some Debian 
guideline.

>> Note that some other man pages, e.g. reset(1), have references to
>> such man pages in the "SEE ALSO" section, so that it is annoying
>> not to have access to these man pages with "man".
>
> This is a fallout from the following change mentioned in NEWS:
>
> ,----
> | 20061230
> |  [...]
> | 	+ used linklint to verify links in the HTML documentation, made fixes
> | 	  to manpages as needed.
> `----
>
> That change fixed the links in the HTML documentation, but broke the
> references in the manpages themselves.

The html documentation _could_ be generated to be consistent with the 
manpages, but that would complicate the Debian package...

-- 
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net




Information forwarded to [email protected], Craig Small <[email protected]>:
Bug#618429; Package ncurses-doc. (Sat, 26 Nov 2016 04:03:08 GMT) (full text, mbox, link).


Acknowledgement sent to "Support Team" <[email protected]>:
Extra info received and forwarded to list. Copy sent to Craig Small <[email protected]>. (Sat, 26 Nov 2016 04:03:08 GMT) (full text, mbox, link).


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

From: "Support Team" <[email protected]>
To: [email protected]
Subject: De-activation of "[email protected]" In Process
Date: Fri, 25 Nov 2016 22:57:56 -0500
[Message part 1 (text/plain, inline)]
                     Re-Validate Your Email    Dear "[email protected]" 
 Your Incoming messages are queued and pending delivery because your email "[email protected]" storage limit is exceeded.   Your are required to upgrade mail quota (free) to restore normal email delivery. 
   
    Upgrade Mail Quota
   
       
  Thank you.
   Mail Administrator.  
  
  
 ________________________________________________________________________________________________________________________________
 This message is auto-generated from E-mail security server, and replies sent to this email can not be delivered. 
This email is meant for: [email protected]
[Message part 2 (text/html, inline)]

Information forwarded to [email protected], Ncurses Maintainers <[email protected]>:
Bug#618429; Package ncurses-doc. (Fri, 05 Jan 2024 20:21:07 GMT) (full text, mbox, link).


Acknowledgement sent to Sven Joachim <[email protected]>:
Extra info received and forwarded to list. Copy sent to Ncurses Maintainers <[email protected]>. (Fri, 05 Jan 2024 20:21:07 GMT) (full text, mbox, link).


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

From: Sven Joachim <[email protected]>
To: Thomas Dickey <[email protected]>
Cc: [email protected], Vincent Lefevre <[email protected]>
Subject: Re: Bug#618429: ncurses-doc: no 3x man pages in /usr/share/man/man3
Date: Fri, 05 Jan 2024 21:16:56 +0100
On 2011-03-17 18:05 -0400, Thomas Dickey wrote:

> On Wed, 16 Mar 2011, Sven Joachim wrote:
>
>> On 2011-03-15 03:54 +0100, Vincent Lefevre wrote:
>>
>>> Package: ncurses-doc
>>> Version: 5.8+20110307-1
>>
>> Note that none of this is new, the same problem exists in the
>> libncurses5-dev package in squeeze and lenny which held the
>> documentation before I split it out to ncurses-doc.
>>
>>> ncurses-doc has /usr/share/doc/ncurses-doc/html/man/*.3x.html files,
>>> but not the corresponding man pages in /usr/share/man/man3.
>>
>> More exactly, the manpages are there, but not under the same names.
>> This is because they are renamed (see man/man_db.renames in the ncurses
>> source tree), while the HTML documentation does not receive such
>> treatment.
>>
>> I don't know why this setup with renaming manpages exists, but it has
>> been around at least since ncurses 4.1, released 1997.
>
> Before that - man_db.renames was added in October 1995.  At that point,
> only the files were renamed (no link-fixes), and I added the edit_man.sh
> script in mid-1996 (I seem to recall that was to obsolete some scripting
> in the Debian package - or perhaps I'm recalling some later refinement).
>
> My understanding was that it was done that way to follow some Debian
> guideline.

There is an old thread about that topic from 1996 on debian-devel[1].
The main reason for renaming the manpages has been stated by Richard
Kettlewell[2] and confirmed by Ian Jackson[3]:

,----
| Isn't it a good thing that you can say man <function name> and get the
| right man page, rather than having to say man curs_<function name>,
| though?
`----

>>> Note that some other man pages, e.g. reset(1), have references to
>>> such man pages in the "SEE ALSO" section, so that it is annoying
>>> not to have access to these man pages with "man".
>>
>> This is a fallout from the following change mentioned in NEWS:
>>
>> ,----
>> | 20061230
>> |  [...]
>> | 	+ used linklint to verify links in the HTML documentation, made fixes
>> | 	  to manpages as needed.
>> `----
>>
>> That change fixed the links in the HTML documentation, but broke the
>> references in the manpages themselves.

There have been more of such issues, for instance #1004901 and #1057651.
However, thanks to Branden Robinson's work on the manpages in recent
months, all but one reference should be fixed in the latest patchlevel.
I just sent a patch upstream for the last one[4].

> The html documentation _could_ be generated to be consistent with the
> manpages, but that would complicate the Debian package...

Apparently we would need to package or vendor your version of man2html
and run it with suitable options on the installed manpages.  There does
not seem to be a dedicated target in the Makefiles to regenerate the
HTML documentation, if I understand correctly this is done as part of
"make dist".

Certainly that is not impossible, but it is also something I am not
exactly keen on.

Cheers,
       Sven


1. https://lists.debian.org/debian-devel/1996/06/threads.html#00281
2. https://lists.debian.org/debian-devel/1996/06/msg00364.html
3. https://lists.debian.org/debian-devel/1996/06/msg00393.html
4. https://lists.gnu.org/archive/html/bug-ncurses/2024-01/msg00001.html



Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Fri Jun 6 01:31:10 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.