Sunday, March 22, 2009

Mutt patched in Ubuntu (a.k.a. mutt-ng)

I had spent months in Ubuntu 7.04 trying to figure out how to patch mutt to produce the then famed mutt-ng.  Now it seems that it is included in the mutt-patched package.  It can be installed with a simple:

sudo apt-get install mutt-patched

The output looks like this:

I grabbed the following snip of the .muttrc file that supports the new "folders" view.  Notice also that even that portion of the view may be activated/deactivated with the "b" key when in index or pager view.  This means that the "b" for bouncing an email now works only when you are actually viewing the message.  I grabbed this information from the original maintainer's website.  I have put it here out of fear that it might go away.

# set up the sidebar, default not visible<br />set sidebar_width=12<br />set sidebar_visible=no<br /><br /># which mailboxes to list in the sidebar<br />mailboxes =inbox =ml<br /><br /># color of folders with new mail<br />color sidebar_new yellow default<br /><br /># ctrl-n, ctrl-p to select next, prev folder<br /># ctrl-o to open selected folder<br />bind index \CP sidebar-prev<br />bind index \CN sidebar-next<br />bind index \CO sidebar-open<br />bind pager \CP sidebar-prev<br />bind pager \CN sidebar-next<br />bind pager \CO sidebar-open<br /><br /># I don't need these.  just for documentation purposes.  See below.<br /># sidebar-scroll-up<br /># sidebar-scroll-down<br /><br /># b toggles sidebar visibility<br />macro index b '<enter-command>toggle sidebar_visible<enter>'<br />macro pager b '<enter-command>toggle sidebar_visible<enter>'<br />#<br /># Mario Holbe suggests:<br /># macro index b '<enter-command>toggle sidebar_visible<enter><refresh>'<br /># macro pager b '<enter-command>toggle sidebar_visible<enter><redraw-screen>'<br />#<br />

sidebar_width (number)
Width of the sidebar.

sidebar_visible (boolean)
Whether or not the sidebar is visible.

color sidebar_new [fg] [bg]
The foreground (fg) and background (bg) color of folders that contain new mail.

Mutt's name for the operation that selects the previous folder.

Mutt's name for the operation that selects the next folder.

Mutt's name for the operation that opens the currently selected folder.

Only useful if you have more folders than lines in your terminal: scrolls one page up through the list of folders.

Only useful if you have more folders than lines in your terminal: scrolls one page down through the list of folders.

More power to the users of mutt.  Even to wintellect, who's simple glee in his windows day is to use mutt in putty.


No comments: