From owner-freebsd-questions@FreeBSD.ORG Thu Oct 30 18:32:06 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9DD3116A4CE for ; Thu, 30 Oct 2003 18:32:06 -0800 (PST) Received: from mta2.adelphia.net (mta2.adelphia.net [68.168.78.178]) by mx1.FreeBSD.org (Postfix) with ESMTP id AC98D43FE1 for ; Thu, 30 Oct 2003 18:32:05 -0800 (PST) (envelope-from andi_payn@speedymail.org) Received: from [10.1.0.9] ([68.65.235.109]) by mta2.adelphia.net (InterMail vM.5.01.06.05 201-253-122-130-105-20030824) with ESMTP id <20031031023208.SBRN10330.mta2.adelphia.net@[10.1.0.9]>; Thu, 30 Oct 2003 21:32:08 -0500 From: andi payn To: Gregory Stearns In-Reply-To: <20031031003855.35758.qmail@mail.com> References: <20031031003855.35758.qmail@mail.com> Content-Type: text/plain Message-Id: <1067567522.36829.2482.camel@verdammt.falcotronic.net> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Thu, 30 Oct 2003 18:32:03 -0800 Content-Transfer-Encoding: 7bit cc: Free BSD Subject: Re: http from command line X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Oct 2003 02:32:06 -0000 On Thu, 2003-10-30 at 16:38, Gregory Stearns wrote: > I hate to be a pest but is there a utility to do http web > browsing from the command line, and how would I use it? As othes have mentioned, there are many choices--but you probably just want to know which one to use, and how to get started. You probably want elinks. Install it from /usr/ports/www/elinks. Run it like this: 'elinks http://www.google.com'. If you want a graphical browser that works without X, and you have SVGAlib set up, you might want links' graphic mode. Install it from /usr/ports/www/links, and run it like this: 'links -g http://www.google.com'. Or try wb0, or w3m-img. There are a few better options out there, too, but none have been ported to FreeBSD. Here's a brief survey of each of the choices: telnet (or nc, or w3c, wget, or curl): If you can speak http and read html, you can talk directly to the server, if you really want to. www: If you're stuck with a console without curses/ANSI support--or it's 1989--this is pretty spiffy; otherwise, stay away. lynx: The first decent text browser; you want the ssl-patched version. But you probably want elinks instead. links: Essentally lynx plus frames, tables, image maps, ssl, cache management, background downloading, etc. You want 2.1, not 0.98. Or, better, elinks. elinks: Links enhanced with even more cool features. links -g: Adds inline images to links. Works in SVGAlib as well as X. wb0: A graphical browser for SVGAlib, which sometimes works better than links -g, although it's not nearly as complete. netrik: The only real alternative to the links family for text browsing; not as good (especially since it doesn't quite get cons25 or xterm), but if elinks won't work with some site, try netrik. w3m: This is what web browsing would have been like on an Apple ][ or C=64. It does look nice, but it's low on features and has a weird interface. w3m-img: This is w3m with inline image support. emacs-w3m: If you believe that the editor is the operating system, and never leave emacs, you can run w3m from inside emacs. w3: If you really love emacs, wouldn't you rather use a web browser built in emacs-lisp? retawq: Quite cool in some ways, but not complete, not exactly designed for novices, and not up-to-date on features. Oh, and dark blue on black can be a bit hard to read. surfraw: Not a web browser itself, but very handy for text browsing. Instead of navigating to the Webster dictionary site and filling in the forms to look up "free," just type "webster free" and it'll launch your favorite text browser with the answer.