Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there any way to bold, strike, or underline text in mutt?

For instance, I currently have a couple of lines in my muttrc to make URLs and email addresses blue text on white background:

color body blue white regex

but I'd rather have that be blueunderline on white background. Likewise, I'd like to be able to bold unread mails in the index.

(dunno if it's relevant, but I'm using Ubuntu's mutt-patched, which is compiled with ncurses.)

share|improve this question
Just a warning: I just found out this week that strikethrough text from my Mac's Mail does not appear as strikethrough on Windows... – Arjan Oct 23 '09 at 11:19

You can get bold colors in xterm by prefixing them with "bright". So in your case:

color body brightblue white regex

would make the blue text appear bold.

Other terminals however (eterm, konsole, gnome-terminal) tend to actually make the text brighter instead of bold. I don't know any solution for those terminals.

share|improve this answer

You can do bold and underline but not strike through.

Replace "body" in

color body blue white regex

with "bold" and "underline" respectively.

share|improve this answer
"body" here is the color group that Steve wants to change. In that field, "bold" and "underline" are the color groups for when mutt highlights bold and underline text in HTML content. – joeytwiddle Nov 22 '11 at 21:13

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .