Administration
  Home arrow Administration arrow Page 6 - A Man And His Mutt
Dev Shed Forums  
Administration  
AJAX  
Apache  
BrainDump  
DHTML  
Flash  
Java  
JavaScript  
Multimedia  
MySQL  
Oracle  
Perl  
PHP  
Practices  
Python  
Reviews  
Security  
Smartphone Development  
Style-Sheets  
Web Services  
XML  
Zend  
Zope  
Mobile Linux  
App Generation ROI  
IBM® developerWorks  
Forums Sitemap  
E-Commerce Hosting  
Linux Web Hosting  
Managed Hosting  
Small Business Hosting  
VPS Hosting  
Weekly Newsletter

 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid  
Request Media Kit
Contact Us  
Site Map  
Privacy Policy  
Support  
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
Google.com  
ADMINISTRATION

A Man And His Mutt
By: Vikram Vaswani, (c) Melonfire
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: starstarstarstarstar / 9
    2001-12-04


    Table of Contents:
  • A Man And His Mutt
  • Feature Overload
  • Road Test
  • Room With A View
  • Don't Ask
  • Looking Good, Feeling Better
  • Three's A Crowd
  • Reach Out And Touch Someone
  • Hooking Up
  • Beep Beep
  • Webcrawling

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      error-file:tidyout.log Del.ici.ous error-file:tidyout.log Digg
      error-file:tidyout.log Blink error-file:tidyout.log Simpy
      error-file:tidyout.log Google error-file:tidyout.log Spurl
      error-file:tidyout.log Y! MyWeb error-file:tidyout.log Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article

     
     
    ADVERTISEMENT


    A Man And His Mutt - Looking Good, Feeling Better
    ( Page 6 of 11 )

    Mutt also allows you to control the display of email messages - you can weed out unwanted headers, colorize different sections of a message and decide which fields appear in the message index.

    Let's take the headers first. Since I'm not usually interested in seeing all the message headers, I've used the following commands to weed out all but the most important ones:
    ignore *                                          # weed out all headers
    unignore date from: to cc subject organization    # now show me these...
    Note, however, that I can still view the complete headers of any message by hitting
    h
    in the pager.

    Next up, colors. Mutt allows you to highlight both your message list and different sections of individual messages with its "color" command. Take a look at the following commands, which tell Mutt to always highlight new messages in the index in bold:
    color index brightwhite default ~N         # color for new messages
    The first color is the foreground, the second is the background.

    If you'd like to, you can also alter the color of Mutt's status bar
    color status brightblue magenta          # ugh!
    or even highlight signatures
    color signature brightyellow black       # bumblebee
    Within the message body, you can colorize different sections of the message - headers, quoted text, signatures, email addresses, URLs and the like. While this is a nice feature, it's now always as useful as you might think; when I tried it out, the various hues and shades distracted more than they assisted, and I ended up turning them off. Right now, all I use are the following commands, which highlight attachments and quoted text in yellow, search matches in red, and email addresses and URLs in light blue.
    color attachment brightyellow default     # file attachments
    color search brightred default           # search matches
    color quoted brightyellow default        # quoted text in replies
    color quoted1 magenta default            # quoted text in replies

    color body cyan default "((ftp|http|https)://|news:)[^ >)\"\t]+" # URLs color body cyan default "[-a-z_0-9.+]+@[-a-z_0-9.]+" # email
    You can customize the message display in the index with the "index_format" variable, which allows you to specify which elements to display in each message index line. The default setting is
    set index_format="%4C %Z %{%b %d} %-15.15L (%4l) %s"      # format index
    which translates to
    set index_format="number status date sender lines subject"
    Want a no-frills version? This one only displays the date, sender and subject:
    set index_format="%{%b %d} %F (%s)"                       # format index
    A complete list of formatting codes, together with what each means, is available in the Mutt manual - feel free to experiment with them until Mutt's displays contain exactly what you need.

    Mutt also allows you to alter the attribution that appears when you forward or reply to a message. Setting the variable
    set attribution="%n, who happens to be smarter than you, thinks:"
                                               # format replies
    adds the line
    "John Doe, who happens to be smarter than you, thinks:"
    to the top of every reply, while
    set forward_format="Fw: %s"                # format forwarded messages
    prefixes the letters "Fw: " to the subject line of forwarded messages.

     
     
    >>> More Administration Articles          >>> More By Vikram Vaswani, (c) Melonfire
     

       

    ADMINISTRATION ARTICLES

    - Network Booting via PXE: the Basics
    - Scalix: Linux Administrator`s Guide
    - Network Administration with FreeBSD 7
    - Components of an Information Architecture
    - The Anatomy of an Information Architecture
    - Configuring Load-Balanced Clusters
    - Load-Balanced Clusters
    - UNIX Time Format Demystified
    - Making Changes in the CVS
    - Building Your First CVS Repository
    - CVS Quickstart Guide
    - Authorizing Users in Samba
    - Handling User Accounts in Samba
    - Authentication in Samba
    - Accounts, Authentication, and Authorization





    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 6 Hosted by Hostway
    For more Enterprise Application Development news, visit eWeek