Date: Wed, 11 Sep 2019 18:47:17 +0200 From: Per Hedeland <per@hedeland.org> To: doug@fledge.watson.org Cc: Polytropon <freebsd@edvax.de>, Lowell Gilbert <freebsd-questions-local@be-well.ilk.org>, freebsd-questions@freebsd.org Subject: Re: Where is the info viewer? Message-ID: <73a70d38-ff87-54b0-89ef-2aae257b03df@hedeland.org> In-Reply-To: <alpine.BSF.2.20.1909111123160.59741@fledge.watson.org> References: <20190910070033.GA29721@admin.sibptus.ru> <alpine.BSF.2.20.1909102030500.59741@fledge.watson.org> <20190911041439.9ba45e18.freebsd@edvax.de> <10971217-3072-cfee-785d-3748e9879a2f@gmail.com> <20190911110708.95a9b3f8.freebsd@edvax.de> <44ftl3hrdf.fsf@be-well.ilk.org> <20190911160926.5b3549c3.freebsd@edvax.de> <alpine.BSF.2.20.1909111123160.59741@fledge.watson.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2019-09-11 18:00, doug@fledge.watson.org wrote: > On Wed, 11 Sep 2019, Polytropon wrote: >> >> It's like how tools like dig and bind disappeared from the base system. They are now in ports and can be installed optionally. However, if a documentation file is still part of the OS, and installed >> along with the tools comprising the OS, the corresponding reader (!) should also be part of the OS. Or at least a placeholder, which could be a script that simply echo "This tool is no longer part >> of FreeBSD, please install this or that.", exit 0. :-) > > My thought on texinfo was that this was a bit different than when nslookup, dig, and bind were removed from the base. To the level I use drill it has the same syntax as dig, nslookup functions can > [mostly??] be done with host. Bind is, well, bind. Here we remove the tool needed to read a set of files from the base but leave the files. 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 78 $ pkg which /usr/local/share/info/* | grep 'installed by package' | wc -l 77 $ 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 suspect there will be a lot of this when sendmail is > removed from the base. Not sure what "this" means, but sendmail doesn't have an info file, and it's a pretty safe prediction that it never will. 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'.:-) --Per
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?73a70d38-ff87-54b0-89ef-2aae257b03df>