INC(1m,C) AIX Commands Reference INC(1m,C) ------------------------------------------------------------------------------- inc PURPOSE Incorporates new mail. SYNTAX +-- +inbox --+ +------ -noaudit ------+ +--- -changecur ---+ inc ---| |---| one of |---| one of |---> +- + folder -+ | +------------------+ | | +--------------+ | +-| -audit file |-+ +-| -changecur |-+ | -noaudit | | -nochangecur | +------------------+ +--------------+ +----------------------+ +--------------+ +-----------------+ >---| one of |---| |---| one of |---> | +------------------+ | +- -file name -+ | +-------------+ | +-| -form file |-+ +-| -truncate |-+ | -format string | | -notruncate | +------------------+ +-------------+ +-- -nosilent --+ +--- -width 72 ----+ >---| one of |---| |---| | +-----------+ | +- -width columns -+ +-| -silent |-+ | -nosilent | +-----------+ inc -- -help --| DESCRIPTION The inc command is used to incorporate incoming mail. This command is part of the Message Handling (MH) package and can be used with other MH and AIX commands. The inc command takes all of the new messages from your mail drop and places them in the specified folder. If the specified folder does not exist, the inc command asks you if it should be created. The command assigns the new messages consecutive message numbers starting with the next highest number in the folder. It also assigns the new messages the protection code specified in the Msg-Protect: entry in your .mh_profile. If there is no Msg-Protect: entry, the inc command assigns the messages the protection code of 644. The inc command calls the scan command to display information about the new messages. If the Processed July 12, 1991 INC(1m,C) 1 INC(1m,C) AIX Commands Reference INC(1m,C) Unseen-Sequence: profile entry specifies any sequences, the inc command adds the new messages to each sequence. FLAGS -audit file Copies the current date to the specified file and appends the output from the scan command to the file. -changecur Sets the first new message as the current message for the specified folder. This flag is the default. -file file Incorporates messages from the specified file instead of the user's maildrop. +folder Incorporates the new messages into the specified folder. The default folder is "+inbox". -form file Displays the scan command output in the alternate format described in file. -format string Displays the scan command output in the alternate format described by string. -help Displays help information for the command. -noaudit Does not record information about incorporating the new messages (see the -audit flag). This flag is the default. -nochangecur Does not alter the setting for the current message in the specified folder. -nosilent Prompts the user for any necessary information. This flag is the default. -notruncate Does not clear the mailbox or file from which the inc command is taking new messages. If the -file flag is specified, the -notruncate flag is the default. -silent Does not prompt you for any information. This flag is useful for running the inc command in the background. -truncate Clears the mailbox or file from which the inc command is taking new messages. If the -file flag is not specified, the -truncate flag is the default. -width num Sets the number of columns in the scan command output. The default is the width of the display. PROFILE ENTRIES Alternate-Mailboxes: Specifies your mailboxes. Processed July 12, 1991 INC(1m,C) 2 INC(1m,C) AIX Commands Reference INC(1m,C) Folder-Protect: Sets the protection level for your new folder directories. Msg-Protect: Sets the protection level for your new message files. Path: Specifies your user_mh_directory. Unseen-Sequence: Specifies the sequences used to keep track of your unseen messages. FILES $HOME/.mh_profile The MH user profile. /usr/lib/mh/mtstailor The MH tailor file. $HOME/.newmail The location of the mail drop. RELATED INFORMATION See other MH commands: "mhmail," "post," and "scan." See the mh-format, mh-mail, and mh-profile files in AIX Operating System Technical Reference. (The mh-format section describes formats for the -form and -format options.) See "Overview of the Message Handling Package" in Managing the AIX Operating System. See Chapter 18 of the AIX Programming Tools and Interfaces for general information on using commands in an MBCS environment. Processed July 12, 1991 INC(1m,C) 3