Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] Manual pages for some Tcl commands not accessible
@ 2020-10-02 17:19 msiism
  2020-10-02 17:21 ` ericonr
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: msiism @ 2020-10-02 17:19 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 680 bytes --]

New issue by msiism on void-packages repository

https://github.com/void-linux/void-packages/issues/25285

Description:

### System

* xuname: 
 ``Void 5.8.13_1 x86_64 GenuineIntel uptodate rF``
* package:  
``tcl-8.6.10_2``

### Problem description

Running ``man 3tcl expr``, ``man 3tcl file``, or ``man 3tcl join`` should turn up the manual page for the respective Tcl command, just as, e.g., running ``man 3tcl clock`` would.

But it doesn't. Instead, I get the manual pages for expr(1), file(1), and join(1), respectively.

Further testing suggests that this problem occurs with all Tcl commands that have a command of the same name in section 1 of the manual.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Manual pages for some Tcl commands not accessible
  2020-10-02 17:19 [ISSUE] Manual pages for some Tcl commands not accessible msiism
@ 2020-10-02 17:21 ` ericonr
  2020-10-02 17:21 ` ericonr
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: ericonr @ 2020-10-02 17:21 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 228 bytes --]

New comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/issues/25285#issuecomment-702857130

Comment:
You can access them with `man n expr`. Now as for why that's happening, I'm not sure.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Manual pages for some Tcl commands not accessible
  2020-10-02 17:19 [ISSUE] Manual pages for some Tcl commands not accessible msiism
  2020-10-02 17:21 ` ericonr
@ 2020-10-02 17:21 ` ericonr
  2020-10-08  3:19 ` roarde
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: ericonr @ 2020-10-02 17:21 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 280 bytes --]

New comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/issues/25285#issuecomment-702857130

Comment:
You can access them with `man n expr`. Now as for why that's happening, I'm not sure.

Note: this isn't fixed by the patches in #23108 

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Manual pages for some Tcl commands not accessible
  2020-10-02 17:19 [ISSUE] Manual pages for some Tcl commands not accessible msiism
  2020-10-02 17:21 ` ericonr
  2020-10-02 17:21 ` ericonr
@ 2020-10-08  3:19 ` roarde
  2020-10-08  7:23 ` roarde
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: roarde @ 2020-10-08  3:19 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1236 bytes --]

New comment by roarde on void-packages repository

https://github.com/void-linux/void-packages/issues/25285#issuecomment-705305418

Comment:
The man command processed "3tcl" as a page-entry to search for, which matches with man's documentation.      
       `man -s n expr` displays the page for tcl's expr command. Section "n" is the default and usual place for tcl-command documentation. The man command will try using arguments as sections until the *first* one fails, then it and the remainder are taken to be pages to be searched for, and the first one found, rather than the first one listed in arguments, is displayed.  It found the *page* expr(1) first, so it didn't continue to look for the *page* for 3tcl. All proper. `man -s tcl3 expr` says "No entry for expr in section 3tcl of the manual"; also proper.         
            
We have tcl commands in section n, and the page for the installed binary tclsh in section 1; most usual, and by default. Tcl *libraries* are pulled off into the tcl-devel package along with their manpages in section 3.

Debian does histrionics with shell, sed, make, and patch to shove all the pages, *installed tclsh binary included*, into a created "3tcl". Confusion is normal, given that.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Manual pages for some Tcl commands not accessible
  2020-10-02 17:19 [ISSUE] Manual pages for some Tcl commands not accessible msiism
                   ` (2 preceding siblings ...)
  2020-10-08  3:19 ` roarde
@ 2020-10-08  7:23 ` roarde
  2020-10-08  7:28 ` roarde
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: roarde @ 2020-10-08  7:23 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 354 bytes --]

New comment by roarde on void-packages repository

https://github.com/void-linux/void-packages/issues/25285#issuecomment-705384153

Comment:
`man 3tcl clock` turns up clock(n) for the same, correct reason. The existing clock(n) page is turned up (provided makewhatis has run) before the non-existent 3tcl page. `man 3tcl clock` correctly comes up empty.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Manual pages for some Tcl commands not accessible
  2020-10-02 17:19 [ISSUE] Manual pages for some Tcl commands not accessible msiism
                   ` (3 preceding siblings ...)
  2020-10-08  7:23 ` roarde
@ 2020-10-08  7:28 ` roarde
  2020-10-08 14:19 ` msiism
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: roarde @ 2020-10-08  7:28 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 357 bytes --]

New comment by roarde on void-packages repository

https://github.com/void-linux/void-packages/issues/25285#issuecomment-705384153

Comment:
`man 3tcl clock` turns up clock(n) for the same, correct reason. The existing clock(n) page is turned up (provided makewhatis has run) before the non-existent 3tcl page. `man -s 3tcl clock` correctly comes up empty.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Manual pages for some Tcl commands not accessible
  2020-10-02 17:19 [ISSUE] Manual pages for some Tcl commands not accessible msiism
                   ` (4 preceding siblings ...)
  2020-10-08  7:28 ` roarde
@ 2020-10-08 14:19 ` msiism
  2020-10-08 14:19 ` [ISSUE] [CLOSED] " msiism
  2020-10-08 15:09 ` msiism
  7 siblings, 0 replies; 9+ messages in thread
From: msiism @ 2020-10-08 14:19 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 387 bytes --]

New comment by msiism on void-packages repository

https://github.com/void-linux/void-packages/issues/25285#issuecomment-705602612

Comment:
> Debian does histrionics with shell, sed, make, and patch to shove all the pages, _installed tclsh binary included_, into a created "3tcl". Confusion is normal, given that.

That's where I learned the habit then. Thanks for the clarification.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [ISSUE] [CLOSED] Manual pages for some Tcl commands not accessible
  2020-10-02 17:19 [ISSUE] Manual pages for some Tcl commands not accessible msiism
                   ` (5 preceding siblings ...)
  2020-10-08 14:19 ` msiism
@ 2020-10-08 14:19 ` msiism
  2020-10-08 15:09 ` msiism
  7 siblings, 0 replies; 9+ messages in thread
From: msiism @ 2020-10-08 14:19 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 683 bytes --]

Closed issue by msiism on void-packages repository

https://github.com/void-linux/void-packages/issues/25285

Description:

### System

* xuname: 
 ``Void 5.8.13_1 x86_64 GenuineIntel uptodate rF``
* package:  
``tcl-8.6.10_2``

### Problem description

Running ``man 3tcl expr``, ``man 3tcl file``, or ``man 3tcl join`` should turn up the manual page for the respective Tcl command, just as, e.g., running ``man 3tcl clock`` would.

But it doesn't. Instead, I get the manual pages for expr(1), file(1), and join(1), respectively.

Further testing suggests that this problem occurs with all Tcl commands that have a command of the same name in section 1 of the manual.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Manual pages for some Tcl commands not accessible
  2020-10-02 17:19 [ISSUE] Manual pages for some Tcl commands not accessible msiism
                   ` (6 preceding siblings ...)
  2020-10-08 14:19 ` [ISSUE] [CLOSED] " msiism
@ 2020-10-08 15:09 ` msiism
  7 siblings, 0 replies; 9+ messages in thread
From: msiism @ 2020-10-08 15:09 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 481 bytes --]

New comment by msiism on void-packages repository

https://github.com/void-linux/void-packages/issues/25285#issuecomment-705602612

Comment:
> Debian does histrionics with shell, sed, make, and patch to shove all the pages, _installed tclsh binary included_, into a created "3tcl". Confusion is normal, given that.

That's where I learned the habit then. Thanks for the clarification.

The manual page for ``tclsh`` actually is in section 1 on the Devuan system I run, though.

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2020-10-08 15:09 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-02 17:19 [ISSUE] Manual pages for some Tcl commands not accessible msiism
2020-10-02 17:21 ` ericonr
2020-10-02 17:21 ` ericonr
2020-10-08  3:19 ` roarde
2020-10-08  7:23 ` roarde
2020-10-08  7:28 ` roarde
2020-10-08 14:19 ` msiism
2020-10-08 14:19 ` [ISSUE] [CLOSED] " msiism
2020-10-08 15:09 ` msiism

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).