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

I use mutt for my Gmail (IMAP). I respond to a lot of messages that are TXT messages from cell phones. When I reply to them I would like to know how many characters I have typed so I can avoid sending multi-page SMS.

An on-screen display of total characters (must include spaces) or a keyboard combination would be fine.

share|improve this question

Mutt uses an external editor, so how you do this depends on the editor you've chosen. If you're using Vim, typing the two-character sequence g Ctrl-G will show you a line of buffer statistics at the bottom of the screen, including the total number of bytes.

share|improve this answer

What editor are you using in mutt? For example, I'm using nano (my /usr/bin/editor is symlinked to /etc/alternatives/editor which is symlinked to /bin/nano - a similar effect is obtained if $VISUAL or $EDITOR is set to /bin/nano).

If you start nano with -c (or --const) or have set const in your ~/.nanorc it will display the character count at the bottom of the screen as you type.

share|improve this answer

You must log in to answer this question.