Where is the info viewer?
freebsd at edvax.de
Thu Sep 12 00:59:00 UTC 2019
On Wed, 11 Sep 2019 18:47:17 +0200, Per Hedeland wrote:
> But, but... - surely there are no info files in base? They live in
> /usr/local/share/info, which should be enough of an indication, but
> just to make sure:
> $ ls /usr/share/info
> ls: /usr/share/info: No such file or directory
> $ ls /usr/local/share/info | wc -l
> $ pkg which /usr/local/share/info/* | grep 'installed by package' | wc -l
> $ pkg which /usr/local/share/info/* | grep -v 'installed by package'
> /usr/local/share/info/dir was not found in the database
> $ cat /usr/local/share/info/dir
> Produced by: indexinfo 0.3.1.
> File: dir, Node: Top This is the top of the INFO tree
I think you have obtained this from a current FreeBSD version.
Older versions still had *.info.gz files in /usr/share/info,
and I may construct the following assumption: Lots of info-based
documentation was part of GCC, and as this has been obsoleted by
CLang/LLVM (is that the correct spelling?), the GCC info files
have been removed. Other GNU-based tools also were rewritten for
FreeBSD, and removed, so _if_ there are no more info files in the
base system, the removal of the corresponding reader program is
> Seems perfectly reasonable to me that tools to read the info files
> from ports/packages are also in ports/packages, especially since there
> are multiple choices. And just to add to the list: emacs (C-h i) -
> which is what I personally use (since I use emacs as editor) - though
> actually I often prefer 'less'.:-)
It's also possible to the Midnight Commander: PF3 on a .info.gz
file will make it readable (even though no highlighting as if it
was a manpage).
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
More information about the freebsd-questions