Open sc0ttj opened 3 years ago
Back in the day, Puppy went to great lengths to have the release iso file < 100MiB. One way of helping to do this was to not install any man pages, and get the 'man' command to display them from the Internet, hence the 'man' script that is still part of Puppy. All 'man' pages are equally available, (not just those of installed packages), and virtually no space used.
I know all this... I'm not proposing we add actual man pages into the puppy SFS ... I'm proposing we make the man
command better at finding the right man pages, and better at showing them in a terminal.
..so pman
could be updated? ...but I wanna check the "issues" I have with it are indeed correct (and I'm not using it wrong or something)
Puppy doesn't make it very easy to read man pages.. The problem is
pman
:ffmpeg.1
, not justffmpeg
)pman
even work without X? I'm not sure it would..I have written
w3m-man
(https://github.com/sc0ttj/w3m-man), which has the following features:-H
optionman ffmpeg
will returnman ffmpeg.1
(and other "guessed" sections are [mostly] correct, too)I mention all this cos I have finally got a nice man page reader in the terminal, that can show me man pages of things, even if not installed, and always shows the right man page for the version of any program I do have installed.
Sooo.. I went and added a
pkg man <pkgname>
command:man
commandman
does once calledAdmittedly, the
pkg man <pkgname>
command is a bit useless withoutw3m-man
, it would open the man pages in a browser (usingpman
) and take you away form the terminal, where you're usingpkg
...However, if you do have a nice terminal reader of man pages (w3m-man or anything else), then the
pkg man <pkgname>
command is really nice... It helps you find the man pages for the command and their rc files too (often in Section 5, or elsewhere, with weird names).....So all that being said:
I'm not proposing we put w3m-man in Puppy, but I do think we should have a man page reader which returns the right man pages for the packages you actually have installed, and lets you easily read man pages in the terminal (if wanted).