From owner-freebsd-hackers@FreeBSD.ORG Sun Mar 9 14:30:14 2014 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BE8C4432; Sun, 9 Mar 2014 14:30:14 +0000 (UTC) Received: from wonkity.com (wonkity.com [67.158.26.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 69B8AE1B; Sun, 9 Mar 2014 14:30:14 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.8/8.14.8) with ESMTP id s29EUB9s071366 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Sun, 9 Mar 2014 08:30:12 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.8/8.14.8/Submit) with ESMTP id s29EUBX1071363; Sun, 9 Mar 2014 08:30:11 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Sun, 9 Mar 2014 08:30:11 -0600 (MDT) From: Warren Block To: Julian Elischer Subject: Re: How to read HTML file in FreeBSD(base system) In-Reply-To: <531B6B77.1040907@freebsd.org> Message-ID: References: <20140308142656.cfcbdea1daaeed5ada8c1111@yahoo.es> <531B6B77.1040907@freebsd.org> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Sun, 09 Mar 2014 08:30:12 -0600 (MDT) Cc: freebsd-hackers@freebsd.org, docs@freebsd.org, Eduardo Morras X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Mar 2014 14:30:14 -0000 On Sat, 8 Mar 2014, Julian Elischer wrote: > On 3/8/14, 5:26 AM, Eduardo Morras wrote: >> On Sat, 8 Mar 2014 14:36:16 +0800 >> by wrote: >> >>> Hello, >>> I use FreeBSD 10.0 RELEASE now, and I just install the base system, >>> but I add doc when I install FreeBSD, so there are some docs in my >>> system, and they are HTML files, so I want to ask that does FreeBSD >>> provide some utilities to read HTML file in terminal? >>> >>> You may say w3m is a good choice : ) >>> I have use it before, it is a great web browser in CLI, and its use >>> experience is like vi : ) But I must install it from ports or src by >>> myself, so does FreeBSD provide some utilities in base system to >>> implement that? >> I think no one has answered your original question. No, there's no browser >> in Base to read FreeBSD Base documentation in HTML. You must install >> something from ports always. If you want install w3m as pkg, pkg must be >> installed from ports first. >> > Base documentation is derived from sources which can also deliver other > media types. > Try formatting them as text. A Doc team member can probably tell you how to > do that. The XML documents like the Handbook can be built as text with make FORMATS=txt Building the documents from source requires installation of the textproc/docproj metaport. Text versions are generated from the HTML version with www/links using -dump. But if www/links is installed, the HTML versions can be read directly: links book.html