Name
richtext
Synopsis
richtext [options] [file]Display MIME (“richtext”) files on an ASCII terminal on standard output, by means such as highlighting bold or italic text and displaying underlined text correctly. Intended primarily for use with metamail. If no file is specified, input is taken from standard input.
Options
- -c
Don’t do any formatting; simply correct the raw richtext and write the results to standard output.
- -f
Use termcap-derived escape codes for bold and italic text, even if richtext was called in a pipe.
- -m
In multibyte Japanese and Korean sequences, treat < as a real <, not as the start of a richtext command.
- -n
Do not correct the raw richtext input.
- -o
Use overstrikes for underlines.
- -p
Use a pager to view the output. This option has no effect if standard input or standard output is redirected.
- -s charset
Use the specified character set as the default. Valid values for charset are us-ascii (default), iso-2022-jp, and iso-2022-kr.
- -t
Use * and _ instead of termcap-derived escape codes to highlight text.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access