Comment by feelin_googley

9 years ago

The truth is that there have been other text-only browsers both before and after lynx. I have tried every one I could ever find, since the 1990s. Some of them seem to have been forgotten. IMO, whatever is in todays package collections is not a true representation of all text-only browsers ever written. Most times when someone cites "lynx", as is common on HN, I interpret this as a signal they are not too familiar with text-only browsers. IMO, lynx is relatively big, slow and clunky with too many options; definitely not the best text-only browser I have used.

I happen to like text-only browsers for viewing HTML (e.g HTML tables), tcpclients like netcat for making TCP connections, and my own software for generating HTTP requests. Almost all websites work[FN1], with zero "loading time" as one may experience when using "modern" browsers to do these tasks. I can easily get the content I want (text, with option to download images, PDF, video, etc.) and skip the stuff I dont want. No autoloading of resources. I choose what I want.

Surprisingly, the web is actually getting more, not less text-friendly. Today I can often get text encapsulated in JSON, Markdown, etc. instead of wrapped in HTML, making parsing even easier.

There is heaps of Javascript written by others available on the web today but as a user I have little interest in running it. I would rather write my own.

FN1. "work" means I get the body the page that contains the content.

I agree, I just used lynx there as a stand in for all text based browsers, since it's the most well known, and easiest to get running.

I'm not sure I agree the web is getting more text-friendly.. it is getting more JSON friendly, mostly, but actually visiting web-pages where JS isn't required is becoming increasingly rare. I've yet to find a text/console browser that can actually run JS. (I know there have been some experiments, but none that actually work last I checked)..

  • I use the text-only browser, in text-mode, to dump HTML tables to ASCII. I do not necessarily need the networking code. Reading HTML tables as ASCII is its primary purpose for me. TCP connections and generating HTTP headers are handled by other programs. Text processing is done by other programs. Legend has it that accounting logs on an early Research UNIX saw Ken Thompson using something like 240 separate programs in one week. While I will unlikely ever reach that plateau, I am not going to use a single, large, complex program where I can use separate, small, editable programs that give me greater flexibility.

    Do I need javascript to accomplish any of these tasks? No. I am not interested in graphical web pages. I am interested in retrieving information, images, documents, sound files, video files, etc. I never need javascript to get these files, nor to read, edit or view them.

    Simple example: I do not need a webpage full of javascript to view a YouTube video. I only need a video player (compiled without networking code).

    Years ago, links added a javascript engine. Later it was removed. There is no point. A script can still consume inordinate amounts of RAM, even when there is no GUI. And for what? What is that javascript doing?

    In the distant past, I recall browsers used to hand off media files to other programs, based on Content-Type (see article on MIME posted earlier today). Today, these external programs have been subsumed by the "modern" browser.

    Perhaps modern browsers can be useful as offline image viewers, document viewers and media players. As I am in text-mode, the graphical browser is on another computer, connected via crossover cable or LAN. After inspecting their contents in text-mode, I transfer the documents and media files to a fileserver.

    The decision to forgo using the so-called modern browser comes down to how important web design is to the user. If the user is interested in how fonts look, how a page of text is arranged, icons, styles, etc. and wants each and every website to look different, then the "modern" browser may be unavoidable. Probably javascript is needed to share in the web designers "vision".

    The text-only browser OTOH makes all websites look more or less the same, regular, and if in text mode there is only one font, easy to read, IMO less eye strain on black background. It is perhaps better suited for the user that wants fast information retrieval, reliable, efficient file retrieval and cares little about graphical web design.