MH & nmh: Complete Table of Contents for MH Section

FINDING YOUR WAY THROUGH THIS BOOK

Home Page for This Book
Road Map (overview with suggested starting points)
What's in This Book (short summary of each chapter)
What's New in the Online Edition
Appendix E: Reference Guide
Using This Book (terms for copying, distributing, modifying)
Structure of This Book (organization, files/directories)
Help File for Frames Version

List of Figures
List of Tables
List of Examples
List of Example Files
List of Sidebars
Tables of Contents by Chapter (1, 2, etc.)

PART II: USING MH

Chapter 5: Tour Through MH

5.0 Chapter Introduction
5.1 Getting Started
5.2 Sending Some Mail: comp, send
5.3 Reading Mail: inc, show, next, prev
5.4 Replying to Messages: repl
5.5 MH Command-line Switches (Options)
5.6 Forwarding Messages: forw
5.7 Find and Specify with scan, pick, Ranges, Sequences
5.8 Cleanup: rmm
5.9 Using MIME
5.9.1 Can You Use MIME?
5.9.2 Listing MIME Message Contents
5.9.3 Reading MIME Mail
5.9.4 Sending MIME Mail
5.9.5 Other MIME Operations
5.10 The -help and -version Switches
5.11 Other MH Features
[Top]

Chapter 6: Reading Your Mail with MH

6.0 Chapter Introduction
6.1 Showing and Printing Messages
6.1.1 The Current Message
6.1.2 Messages You Haven't Read
6.1.3 Weeding Out Before You Read
6.1.4 Where's the Next Message?
6.1.5 Changing Showproc for Viewing, Printing, and Editing
6.1.6 Using mhl
6.1.7 Without a showproc
6.1.8 Multiple MH Sessions
6.1.9 Custom Printing: showpr
6.1.10 Showing Multiple Messages
6.2 Reading MIME Messages
6.2.1 Getting Test MIME Messages
6.2.2 The mhnproc or showmimeproc
6.2.3 Showing MIME Messages
6.2.4 Partial Messages
6.2.5 External Parts
6.2.6 Cached Contents
6.2.7 Showing Part of a MIME Message
6.2.8 Decoding Messages with mimecat
6.2.9 Checking a MIME Message
6.2.10 Reading PGP Messages
6.2.11 Other MIME Handlers
6.3 Listing MIME Message Parts
6.4 More About scan
6.4.1 scan Format Files
6.4.2 Scanning Backward
6.4.3 Scanning a Mailbox File
6.5 Checking for Mail Waiting: msgchk
6.6 Other Features of inc
6.6.1 Logging New Mail with -audit
6.6.2 Not Using +inbox
6.6.3 Less-used inc Features
6.6.4 If New Messages Arrive
6.7 Using MH with POP
6.8 Batch-process New Mail: autoinc
[Top]

Chapter 7: Sending Mail with MH

7.0 Chapter Introduction
7.1 Overview: Sending MH Messages
7.1.1 Making the Draft from the Template File
7.1.2 Editing the Draft with prompter
Sidebar: When is a Backslash Not a Backslash?
7.1.3 What now? -- and the whatnow Program
7.1.4 Message Transfer; Sighted and Blind Recipients
7.1.5 Add Text to Drafts: mysend
7.1.6 Sending PGP Messages
7.2 Changing Default Editors
7.2.1 Editor-next
7.2.2 Replacing the prompter Editor
7.3 MH Aliases
7.3.1 Making MH Aliases
7.3.2 Naming MH Alias Files
7.3.3 Showing MH Aliases
7.3.4 Aliases in Your Transfer Agent
7.4 Header Fields and Addresses
7.4.1 Fields You Add to a Header
7.4.2 Signature and From:
7.4.3 MIME Fields in a Header
7.4.4 Editing the Header
7.5 Working with Draft Messages
7.5.1 Single Draft Messages
7.5.2 Draft Folder
7.5.3 Deleted Draft Messages
7.5.4 Aborted Draft Messages
7.5.5 Finish Draft Messages: recomp
7.5.6 Work on Draft Folder: scandrafts
7.5.7 Building MIME Drafts
7.5.8 Recovering MIME Drafts
7.6 Composing and Sending MIME Messages
7.6.1 Example Drafts with Directives
7.6.2 MIME Draft Directives
7.6.3 Partial Messages
7.6.4 Adding an Integrity Check
7.6.5 Choosing MIME Encodings
7.7 The comp Command
7.8 Replying to Mail with repl
7.8.1 Selective Replies with -query
7.8.2 Selective Replies with -nocc and -cc
7.8.3 Changing the Message Header with replcomps
7.8.4 Reading Original Message with an Editor
7.8.5 Including the Original Message with -filter
7.8.6 Displaying the Original Message
7.8.7 Annotating the Original Message
7.8.8 Replying to Messages with MIME
7.9 Forwarding Messages with forw
7.9.1 Formatting Forwarded Messages
7.9.2 Adding Text to the Draft
7.9.3 Leave My Dashes Alone
7.9.4 Make Your Messages burst-able
7.9.5 Formatting the Header
7.9.6 Annotating the Original Message
7.9.7 Creating Digests
7.9.8 Forwarding in MIME Format
7.10 Distributing Messages with dist
7.10.1 A distcomps File
7.10.2 Annotating the Original Message
7.10.3 distprompter Edits dist Drafts
7.11 Sending Files
7.11.1 Send Non-MIME Files: mhmail
7.11.2 Send Files with MIME: viamail
7.11.3 Add Files to Your Drafts: append
[Top]

Chapter 8: Finding and Organizing Mail with MH

8.0 Chapter Introduction
8.1 Folders
8.1.1 Your Current Folder: folder
8.1.2 Using the folder Command to Create and Change Folders
8.1.3 Changing to Another Folder
Sidebar: The Pluses of MH
8.1.4 Moving and Linking Messages: refile
8.1.5 Subfolders
8.1.6 Relative Folder Names
8.1.7 folder -fast
8.1.8 List of All Folders: The folders Command
8.1.9 List Folders in Columns with fols
8.1.10 Folder Stacks
8.1.11 Renumbering Messages in a Folder
8.1.12 Working in an MH Directory
8.2 Finding Messages with pick
8.2.1 pick Switches
Sidebar: Getting Picky About Date Searches
8.2.2 Passing Message Numbers with Backquotes
8.2.3 Storing Message Numbers in MH Sequences
8.2.4 Saving Time with Your MH Profile
8.2.5 Combining pick Switches
8.2.6 picking Miscellaneous Fields
8.2.7 How Searches Find Messages
8.2.8 Searching a Message Range or Sequence
Sidebar: Prehistoric pick-ing
8.2.9 Searching More Than One Folder
8.2.10 Easier Searches with a `Link Folder'
8.2.11 Finding Messages to Yourself with pick2me
8.3 More About Sequences
8.3.1 Adding Messages to a Sequence
8.3.2 Deleting Messages from a Sequence
8.3.3 Listing Sequences
8.3.4 Previous-Sequence, Sequence-Negation
8.3.5 The unseen Sequence
8.3.6 The cur Sequence
8.3.7 Public and Private Sequences
8.3.8 Searching for Sequences with flist
8.4 Storing Messages
8.4.1 Copying a Message to a File
8.4.2 Saving Filesystem Space
8.4.3 Decoding and Storing MIME Messages
8.5 Sorting Messages: sortm
8.5.1 Sort by Any Field
8.5.2 Date Limit
8.6 Removing and Recovering Messages
8.6.1 How rmm Removes Messages
8.6.2 Recovering a Removed Message
8.6.3 Changing Your rmmproc
8.6.4 Improve rmm: use rmmer
8.6.5 Delayed Removal: drmm
8.7 Removing Folders: rmf
8.8 Annotating Headers with anno
8.9 Using Links
8.9.1 Making Links
8.9.2 Are These Two Messages Linked?
8.9.3 A Folder Full of Links
8.9.4 Links Between Users
8.9.5 Using Symbolic Links
8.10 Bursting Messages
8.11 Files with Multiple Messages
8.11.1 MMDF Format
8.11.2 UUCP Mailbox Format
8.11.3 Joining Messages with rfl
Special subsection of 8.11.3: rfl Manual Page
8.12 MH Shell on a Mailbox File: msh
8.12.1 Overview of msh
8.12.2 Handling New Mail with msh
8.12.3 msh and Your MH Profile
[Top]

PART III: CUSTOMIZING MH

Chapter 9: Making MH Work Your Way

9.0 Chapter Introduction
9.1 Running an MH Command
9.2 MH and the Shell
9.2.1 Using Shell Aliases and Functions with MH
9.2.2 Using Shell Variables with MH
9.2.3 Using Environment Variables with MH
9.3 An MH Profile, in General
9.4 MIME Configuration
9.4.1 MIME Profiles
9.4.2 Making a MIME Profile
9.4.3 What Profile Entries Are There?
9.4.4 Showing MIME Contents
9.4.5 Displaying Other Character Sets
9.4.6 Composing MIME Content
9.4.7 Storing Content
9.4.8 Caching External Body Parts
9.4.9 Getting External Body Parts by FTP
9.4.10 Building MIME Drafts Automatically
9.5 International Character Support
9.6 Changing MH Directory Name
9.7 Setting Access Permissions for Other Accounts
9.8 Defining Alternate Mailboxes
9.9 Sharing Other Users' Folders
9.10 Draft Message Template Files
9.10.1 How the Draft Message is Built
9.10.2 The components File
9.10.3 The replcomps File
Special subsection of 9.10.3: replcomps lines 1-2 before MH 6.8
9.10.4 The forwcomps File
9.10.5 The digestcomps File
9.10.6 The distcomps File
9.11 Periodic Cleanup, Checking, etc. with cron and at
9.11.1 Caution
9.11.2 Starting cron Jobs
9.11.3 Starting at Jobs
9.11.4 Note about Times
9.11.5 Output and Errors
9.11.6 List Old Drafts
9.11.7 Remove Messages from rmmer
9.11.8 Cleaning Up Old Messages
9.12 Automatic Signature on End of Messages
9.13 Quick Folder Access
[Top]

Chapter 10: New Versions of MH Commands

10.0 Chapter Introduction
10.1 What's a New Command Version?
10.2 Making a New Command Version
10.2.1 Setup Before You Make First New Version
10.2.2 What to Do for Each New Version
10.3 Writing Command Versions as Aliases or Functions
10.4 Versions of repl
10.4.1 Including Original Message in Reply: replx
10.4.2 Standard Replies: thanks
10.4.3 Followup Mail Messages: foll, follx
10.4.4 Reply from Another Address: replb
10.5 Make Message Bookmarks with mark
10.6 msg: `While You Were Out' Messages with comp
10.7 Versions of forw
10.7.1 Use forw to Resend a Returned Message
10.7.2 Filter Forwarded MIME Messages: mforw
10.7.3 forwr: Format forw Headers using repl
10.8 Edit Messages with show: mhedit
10.9 Show MIME Message Parts with showpart
10.10 Append Text with prompter.nopre
10.11 Version of send: push
10.12 Versions of scan
10.12.1 Scanning Message Ranges: cur, c10, l5, etc.
10.12.2 Scan and Show Size of Message: sscan
10.12.3 Scan Messages Waiting: msgscan
10.12.4 Get Message Number List: msgnums
10.13 Fast Folder Changes with fo
10.14 Versions of pick: Repeatable Custom Searches
[Top]

Chapter 11: MH Formatting

11.0 Chapter Introduction
11.1 mhl
11.1.1 Formatting the Message Header
11.1.2 Formatting the Message Body
11.1.3 Default mhl Format File for show
11.1.4 forw Filter Files
11.1.5 Screen Size and moreproc
11.1.6 Summary of mhl
11.2 MH Format Strings
11.2.1 scan Format Strings
11.2.2 scan Format Files
11.2.3 The scan.answer Format File
11.2.4 The Default scan Format File
11.2.5 More Header Information: scan.hdr
11.2.6 scan Widths
11.2.7 The scan.dateparse Format File
11.2.8 The scan.more Format File
11.2.9 The replcomps.addrfix Format File
11.2.10 The rcvtty.format File
11.2.11 The rcvdistcomps File
11.2.12 Summary of MH Format Strings
[Top]

Chapter 12: Processing New Mail Automatically

12.0 Chapter Introduction
12.1 The .maildelivery File: Overview
12.2 The .maildelivery File in Detail
12.2.1 First .maildelivery Argument: Field
12.2.2 Second .maildelivery Argument: Pattern
12.2.3 Third .maildelivery Argument: Action
12.2.4 Fourth .maildelivery Argument: Result
12.2.5 Fifth .maildelivery Argument: String
12.2.6 Undocumented Arguments 6-8: select
12.2.7 Regular Expression Matching with rcvsearch
12.3 Running Your .maildelivery File
12.4 Experimenting? Make Backups!
12.5 New Message Notification: rcvtty
12.5.1 Where rcvtty Notifies You
12.5.2 How rcvtty Notifies You
12.5.3 Using a Message Preprocessor
12.6 Storing in Folders: rcvstore
12.7 Redistributing Messages: rcvdist
12.7.1 Running rcvdist from .maildelivery
12.7.2 Automatic Folder Copies
12.7.3 Watch Out for Mail Loops
12.8 Storing in Mailbox Files: rcvpack
12.9 Alternatives to mhook Programs
12.9.1 Replacing All of Your .maildelivery File
12.9.2 The vacation Mail Handler
12.9.3 Running Your Own Mail Handler
12.9.4 Replacing rcvtty with Pop-Up Windows
12.9.5 Processing with at or cron or by Hand
12.10 Practical Tips
12.10.1 Finding Mail from Mailing Lists
12.10.2 Handing Periodic Mail
12.10.3 Think About cc:, Resent-To:, ...
12.10.4 System Aliases, the to and addr Fields
12.10.5 Flagging Important Mail
12.10.6 Making Your Mail Follow You
12.10.7 Splitting Mail to Several Places
12.11 slocal Debugging Tips
12.11.1 slocal Documentation vs. Real Life
12.11.2 Catching slocal Errors
12.11.3 Even -debug Doesn't Show Syntax Errors
12.11.4 slocal Eats .maildelivery Errors
12.11.5 Most Environment Variables Hidden
[Top]

Chapter 13: Introduction to UNIX Programming with MH

13.0 Chapter Introduction
13.1 Writing Shell Scripts for MH
13.2 Using MH from Other Languages
13.3 How Does Your System Execute Files?
13.4 Shell Command Substitution
13.5 Using Exit Status
13.6 Looping Through a List of Arguments
13.7 Finding Program Name; Multiple Program Names
Sidebar: What Good is a File With 1000 Links?
13.8 A Test Mail Setup
13.9 Mailing Non-interactively: mhmail
13.10 The mhpath Command
13.11 Getting Message Numbers
13.12 Settings from the MH Profile
13.13 Settings from the Environment
13.14 Changing the MH Environment
13.15 Writing Your Own Draft Message Editor(s)
13.16 Get Information with scan Format Strings
13.17 Watch Out for the MH Profile
13.18 Problems with folder, inc, and refile
[Top]

PART VII: APPENDICES

Appendix A: Where Can You Go from Here?

A.0 Appendix Introduction
A.1 MH BBoards
A.2 More Information About MH
A.2.1 Documents Distributed with MH
A.2.2 The MH Source Code
A.2.3 World Wide Web Pages
A.2.4 Usenet Newsgroup
A.2.5 Mailing Lists
A.2.6 The FAQ
[Top]

Appendix D: Example Files and Programs

D.0 Appendix Introduction
D.1 Obtaining Example Files From This Book
D.1.1 FTP
D.1.2 Ftpmail
D.1.3 UUCP
D.4 MH and nmh Source Code
D.5 MH Scripts and Examples
D.9 Programs in This Book's Archive
D.10 Explanation of aligrep
D.11 Explanation of append
D.12 Explanation of autoinc
D.13 Explanation of automhn
D.14 Explanation of distprompter
Sidebar: The Ins and Outs of Redirected I/O Loops
D.15 Explanation of drmm
D.17 The execit Programs
D.18 Explanation of fols
D.19 Explanation of forwedit
D.20 Explanation of fpick
D.21 Explanation of mhprofile
D.22 Explanation of mimecat
D.23 Explanation of mk_fol_names Package
D.24 Explanation of mysend
D.25 Explanation of original
D.26 Explanation of pick2me
D.27 Explanation of pof
D.28 Explanation of rcvsearch
D.29 Explanation of recomp
D.30 Explanation of resend
D.31 Explanation of rfl
D.32 Explanation of rmmer
D.33 Explanation of scandrafts
D.34 Explanation of showpr
D.35 Explanation of storeparts

Appendix E: Reference Guide

E.1 MH Reference Guide
E.1.1 ali Reference Guide
E.1.2 anno Reference Guide
E.1.3 burst Reference Guide
E.1.4 comp Reference Guide
E.1.5 dist Reference Guide
E.1.6 flist Reference Guide
E.1.7 folder Reference Guide
E.1.8 folders Reference Guide
E.1.9 forw Reference Guide
E.1.10 inc Reference Guide
E.1.11 mark Reference Guide
E.1.12 mhbuild Reference Guide
E.1.13 mhl Reference Guide
E.1.14 mhlist Reference Guide
E.1.15 mhmail Reference Guide
E.1.16 mhn Reference Guide
E.1.17 mhparam Reference Guide
E.1.18 mhpath Reference Guide
E.1.19 mhshow Reference Guide
E.1.20 mhstore Reference Guide
E.1.21 msgchk Reference Guide
E.1.22 msh Reference Guide
E.1.23 next Reference Guide
E.1.24 packf Reference Guide
E.1.25 packmbox Reference Guide
E.1.26 pick Reference Guide
E.1.27 prev Reference Guide
E.1.28 prompter Reference Guide
E.1.29 rcvdist Reference Guide
E.1.30 rcvpack Reference Guide
E.1.31 rcvstore Reference Guide
E.1.32 rcvtty Reference Guide
E.1.33 refile Reference Guide
E.1.34 repl Reference Guide
E.1.35 rmf Reference Guide
E.1.36 rmm Reference Guide
E.1.37 scan Reference Guide
E.1.38 send Reference Guide
E.1.39 show Reference Guide
E.1.40 slocal Reference Guide
E.1.41 sortm Reference Guide
E.1.42 viamail Reference Guide
E.1.43 whatnow Reference Guide
E.1.44 whom Reference Guide

[Indexes] [Complete Table of Contents for All Sections]


Last change $Date: 1999/10/10 05:14:05 $

This file is from the third edition of the book MH & xmh: Email for Users & Programmers, ISBN 1-56592-093-7, by Jerry Peek. Copyright © 1991, 1992, 1995 by O'Reilly & Associates, Inc. This file is freely available; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation. For more information, see the file copying.htm.

Jerry Peek <jpeek@jpeek.com>