From owner-freebsd-hackers@FreeBSD.ORG Thu Apr 3 14:22:00 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 05510578 for ; Thu, 3 Apr 2014 14:22:00 +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)) (Client CN "wonkity.com", Issuer "wonkity.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id A7E2D243 for ; Thu, 3 Apr 2014 14:21:59 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.8/8.14.8) with ESMTP id s33ELuok081115 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 3 Apr 2014 08:21:56 -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 s33ELujS081112; Thu, 3 Apr 2014 08:21:56 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Thu, 3 Apr 2014 08:21:56 -0600 (MDT) From: Warren Block To: Eitan Adler Subject: Re: Web browsing usage from base In-Reply-To: Message-ID: References: <13492F6B-C667-4569-87D2-3F808AE7356D@gmail.com> 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]); Thu, 03 Apr 2014 08:21:56 -0600 (MDT) Cc: freebsd-hackers@freebsd.org, Brian Kim 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: Thu, 03 Apr 2014 14:22:00 -0000 On Wed, 2 Apr 2014, Eitan Adler wrote: > On 2 April 2014 09:02, Brian Kim wrote: >> Would anyone like to share their best approach to browsing the web only using utilities from a base install? > > $pkg install firefox > $firefox > > seems to work (provided X is running). fetch(1) was already mentioned. telnet(1) or nc(1) would allow interactive use, admittedly not conveniently (level: neckbeard). I can imagine a (terrible) text browser hacked together with fetch, sh, dialog, and grep/sed/awk to parse out links. But even full text browsers like lynx, links, and w3m are often useless due to the modern web's dependence on images, Javascript, and such. Incidentally, the issue of the base OS not having a text web browser has come up several times lately. I don't know if there's one suitable for import, but it's something to consider. Writing one using only the tools from base would be an interesting/horrifying experiment.