Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #223011

Re: Something is buggy - was [Re: Debian man pages have annoying feature(sic)]

From The Wanderer <wanderer@fastmail.fm>
Newsgroups linux.debian.user
Subject Re: Something is buggy - was [Re: Debian man pages have annoying feature(sic)]
Date 2020-06-02 15:50 +0200
Message-ID <AdfsJ-4Xq-5@gated-at.bofh.it> (permalink)
References <Ac6rw-47Y-5@gated-at.bofh.it> <Ad00F-4cF-5@gated-at.bofh.it> <Ad0N4-4HI-19@gated-at.bofh.it> <AdeQ1-4K9-1@gated-at.bofh.it>
Organization This space intentionally left blank.

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On 2020-06-02 at 09:05, Richard Owlett wrote:

> On 06/01/2020 05:02 PM, Richard Owlett wrote:
>
>> On 06/01/2020 04:02 PM, Ralph Katz wrote:

>>> apt show debian-goodies
>>> ...
>>> debman     - Easily view man pages from a binary .deb without extracting
>>>                 [man, apt* (via debget)]
>>>
>>> So...  ~$ dman packagename   # will fetch the manpages as though they
>>> were local.
>>>
>>> Regards,
>>> Ralph
>> 
>> 
>> Thank you. Looks interesting.
>> 1st didn't work even after installing debian-goodies.
>> Suspect operator. Leaving now. will pursue in morning.

> Copy and paste this morning from MATE terminal
>> richard@defaultinstall:~$ dman gforth
>> bash: dman: command not found
>> richard@defaultinstall:~$ debman gforth
>> Usage: debman [options] [-- man(1) options] <man page name> ...
>> 
>> Options should be exactly one of:
>>         -f package.deb          read pages from package.deb archive
>>         -p package              download .deb for package and read pages
>>                                 from there
>> richard@defaultinstall:~$ debman -p gforth
>> Usage: debman [options] [-- man(1) options] <man page name> ...
>> 
>> Options should be exactly one of:
>>         -f package.deb          read pages from package.deb archive
>>         -p package              download .deb for package and read pages
>>                                 from there
>> richard@defaultinstall:~$ debman -f gforth.deb
>> Usage: debman [options] [-- man(1) options] <man page name> ...
>> 
>> Options should be exactly one of:
>>         -f package.deb          read pages from package.deb archive
>>         -p package              download .deb for package and read pages
>>                                 from there
>> richard@defaultinstall:~$ 
> 
> I have verified that both
> https://manpages.debian.org/stretch/gforth/gforth.1.en.html
>    and
> https://manpages.debian.org/buster/gforth/gforth.1.en.html
> 
> Help please.

I've dug into this, and while I thought at first there was a bug here
myself, I've figured it out.

The command lines you're giving are specifying the package name, but not
the name of the man page. The "<man page name>" argument at the end of
the usage section is not optional.

For example,

$ debman -p gforth vmgen

works fine for me.

If you need to find out the name of the actual man page (since, e.g., it
isn't intuitively obvious that gforth will contain a man page for the
name 'vmgen'), something like

$ apt-file show gforth | grep /man/

ought to do it; just drop the leading path (up through the final '/')
and the trailing ".X.gz" (where X is a number) from each filename, and
it should be a valid man-page argument to debman.

(I'm not sure what it will do if there's a package which installs two
man pages with the same name but different sections, because I haven't
yet found any examples of packages which do that.)

-- 
   The Wanderer

The reasonable man adapts himself to the world; the unreasonable one
persists in trying to adapt the world to himself. Therefore all
progress depends on the unreasonable man.         -- George Bernard Shaw

Back to linux.debian.user | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Debian man pages have annoying feature(sic) Richard Owlett <rowlett@cloud85.net> - 2020-05-30 12:00 +0200
  Re: Debian man pages have annoying feature(sic) <tomas@tuxteam.de> - 2020-05-30 13:00 +0200
    Re: Debian man pages have annoying feature(sic) Richard Owlett <rowlett@cloud85.net> - 2020-05-30 15:40 +0200
  Re: Debian man pages have annoying feature(sic) Richard Owlett <rowlett@cloud85.net> - 2020-05-30 15:50 +0200
    Re: Debian man pages have annoying feature(sic) The Wanderer <wanderer@fastmail.fm> - 2020-05-30 16:20 +0200
  Re: Debian man pages have annoying feature(sic) l0f4r0@tuta.io - 2020-05-30 16:20 +0200
    Re: Debian man pages have annoying feature(sic) <tomas@tuxteam.de> - 2020-05-30 17:00 +0200
      Re: Debian man pages have annoying feature(sic) Richard Owlett <rowlett@cloud85.net> - 2020-05-30 17:10 +0200
        Re: Debian man pages have annoying feature(sic) David Wright <deblis@lionunicorn.co.uk> - 2020-05-30 23:10 +0200
          Re: Debian man pages have annoying feature(sic) Andrei POPESCU <andreimpopescu@gmail.com> - 2020-06-01 09:00 +0200
          Re: Debian man pages have annoying feature(sic) Richard Owlett <rowlett@cloud85.net> - 2020-06-02 13:20 +0200
            Re: Debian man pages have annoying feature(sic) Brian <ad44@cityscape.co.uk> - 2020-06-02 16:40 +0200
            Re: Debian man pages have annoying feature(sic) David Wright <deblis@lionunicorn.co.uk> - 2020-06-02 17:10 +0200
  Re: Debian man pages have annoying feature(sic) Andrei POPESCU <andreimpopescu@gmail.com> - 2020-05-30 16:50 +0200
  Re: Debian man pages have annoying feature(sic) Ralph Katz <ralph@ralphkatz.com> - 2020-06-01 23:20 +0200
    Re: Debian man pages have annoying feature(sic) Richard Owlett <rowlett@cloud85.net> - 2020-06-02 00:10 +0200
      Re: Debian man pages have annoying feature(sic) Bob Weber <bobrweber@gmail.com> - 2020-06-02 00:30 +0200
      Re: Debian man pages have annoying feature(sic) l0f4r0@tuta.io - 2020-06-02 01:00 +0200
      Something is buggy - was [Re: Debian man pages have annoying  feature(sic)] Richard Owlett <rowlett@cloud85.net> - 2020-06-02 15:10 +0200
        Re: Something is buggy - was [Re: Debian man pages have annoying  feature(sic)] The Wanderer <wanderer@fastmail.fm> - 2020-06-02 15:50 +0200
          Re: Something is buggy - was [Re: Debian man pages have annoying  feature(sic)] Richard Owlett <rowlett@cloud85.net> - 2020-06-02 17:50 +0200
            Re: Something is buggy - was [Re: Debian man pages have annoying  feature(sic)] Andrei POPESCU <andreimpopescu@gmail.com> - 2020-06-03 07:30 +0200
        Re: Something is buggy - was [Re: Debian man pages have annoying  feature(sic)] l0f4r0@tuta.io - 2020-06-02 16:30 +0200
  [CLARIFICATION] Re: Debian man pages have annoying feature(sic) Richard Owlett <rowlett@cloud85.net> - 2020-06-02 12:40 +0200
    Re: [CLARIFICATION] Re: Debian man pages have annoying feature(sic) Dan Ritter <dsr@randomstring.org> - 2020-06-02 14:40 +0200
  Re: Debian man pages have annoying feature(sic) Joe Pfeiffer <pfeiffer@cs.nmsu.edu> - 2020-06-02 16:40 +0200

csiph-web