BSD Ports

converters/enriched2html 1.0 NetBSD

Converts from text/enriched to HTML

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Categories
converters
Package size
5.8 KiB, 10.8 KiB installed

Description

To quote from the author, Brandon Long:

This program is based on the program in Appendix A of rfc1896.
It does as much as I can think of to convert text/enriched to
text/html (since there are so many viewers for text/html).  It
is a hack.  It is not perfect, and the html it generates is
far from perfect.  I've tried to follow HTML v3.2, but its
still not great.

Usage:
 Pass it the text/enriched body of a message on stdin, and it
 will put the text/html version on stdout.

To make mutt display text/enriched, put this in your .mailcap file:

# enriched.sh converts text/enriched to text/html and then uses lynx to display text/enriched; ${PREFIX}/bin/enriched2html | lynx -dump -stdin ; copiousoutput

Install

Binary package:

pkgin install enriched2html

From pkgsrc:

cd /usr/pkgsrc/converters/enriched2html && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_641.0
NetBSD 10.1 aarch641.0
SmartOS / illumos x86_641.0
macOS 15 arm641.0

Dependencies

No port depends on this one.