Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ inc(1) — UNIX 2.9BSD

Media Vault

Software Library

Restoration Projects

Artifacts Sought

INC(1)  —  Unix Programmer’s Manual

NAME

inc − incorporate new mail

SYNOPSIS

inc [ +folder ] [ −audit audit-file ] [ −help ]

DESCRIPTION

Inc incorporates mail from the user’s incoming mail drop (mail) into an MH folder.  If ‘+folder’ isn’t specified, the folder named “inbox” in the user’s MH directory will be used.  The new messages being incorporated are assigned numbers starting with the next highest number in the folder.  If the specified (or default) folder doesn’t exist, the user will be queried prior to its creation.  As the messages are processed, a scan  listing of the new mail is produced. 

If the user’s profile contains a “Msg−Protect: nnn” entry, it will be used as the protection on the newly created messages, otherwise the MH default of 664 will be used.  During all operations on messages, this initially assigned protection will be preserved for each message, so chmod(I) may be used to set a protection on an individual message, and its protection will be preserved thereafter. 

If the switch ‘−audit audit-file’ is specified (usually as a default switch in the profile), then inc will append a header line and a line per message to the end of the specified audit-file with the format:

 

inc date

<scan line for first message>

<scan line for second message>

<etc.>
 

This is useful for keeping track of volume and source of incoming mail.  Eventually, repl, forw, comp, and dist may also produce audits to this (or another) file, perhaps with “Message-Id:” information to keep an exact correspondence history.  “Audit-file” will be in the user’s MH directory unless a full path is specified. 

Inc will incorporate even illegally formatted messages into the user’s MH folder, inserting a blank line prior to the offending component and printing a comment identifying the bad message. 

In all cases, the mail file will be zeroed. 

FILES

$HOME/mh_profileThe user profile
$HOME/mailThe user’s mail drop
<mh-dir>/audit-fileAudit trace file (optional)

PROFILE COMPONENTS

Path:To determine the user’s MH directory
Folder−Protect:For protection on new folders
Msg−Protect:For protection on new messages

DEFAULTS

‘+folder’ defaults to “inbox”

CONTEXT

The folder into which the message is being incorporated will become the current folder, and the first message incorporated will be the current message.  This leaves the context ready for a show of the first new message. 

4th Berkeley Distribution  —  3 August 1983

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026