Re: mutt on a Commodore terminal program (Re: CBM720 heads up)

From: Marko Mäkelä <>
Date: Sat, 3 Jan 2015 22:40:53 +0200
Message-ID: <20150103204053.GB1361@x60s>
On Fri, Jan 02, 2015 at 10:19:27AM -0500, william degnan wrote:
>No web browser, just command line things.

I would not classify mutt as a command-line program. I would associate 
the command-line with something that would work with a line-oriented 
terminal, such as a teletype.

If you want a command-line setup, then BSD mailx and ed should do the 
job. I am not aware of any command-line web browser.

If you want textual user interface (TUI) that works with a display 
terminal such as the Digital VT100, then I do not see why elinks would 
be any different from mutt, vi, or emacs. It is just like lynx that I 
used to use some 20 years ago, but supports some HTML features better.

For interfacing elinks with mutt, I have the following in my .muttrc:

auto_view text/html

In .mailcap, I have two lines that control mutt:

text/html;	elinks -eval "set document.codepage.assume = %{charset}" 
%s; nametemplate=%s.html
text/html;	elinks -dump -eval "set document.codepage.assume = 
%{charset}" %s; nametemplate=%s.html; copiousoutput

The first one is for interactive display (for example, if I want to 
follow the hyperlinks), and the second one is for viewing the HTML as 
text in the built-in viewer of mutt.


       Message was sent through the cbm-hackers mailing list
Received on 2015-01-03 21:01:51

Archive generated by hypermail 2.2.0.