anno [ +Folder ] [ Messages ] [ -component Field ] [ -inplace | -noinplace ] [ -text "String" ]
The anno command annotates messages with text and dates. If you enter the anno command without any flags, the system responds with the following prompt:
Enter component name:
Typing a component name and pressing the Enter key annotates the component name and system date to the top of the message being processed. You cannot annotate an existing field. You can only add lines to the top of a message file. The annotation fields can contain only alphanumeric characters and dashes.
Note: To simply add distribution information to a message, use the dist, forw, or repl commands.
The following entries can be made to the UserMhDirectory/.mh_profile file:
Current-Folder: | Sets the default current folder. |
Path: | Specifies the location of a user's MH (Message Handler) directory. |
annoThe following prompt is displayed on your screen:
Enter component name: _After responding to this prompt, type:
DatePress Enter. The component name you entered becomes the prefix to the date and time on the message. The caption appended to the message is similar to the following:
Date: Tues, 28 Mar 89 13:36:32 -0600
anno -component NOTE -text "Meeting canceled."A two-line caption similar to the following is appended to the message:
NOTE: Mon, 15 Mar 89 10:19:45 -0600 NOTE: Meeting canceled.
anno +meetings 25 -component NOTE -text "Meeting delayed until Friday."The top of message 25 is annotated with a caption similar to the following:
NOTE: Wed, 19 Jun 87 15:20:12 -0600 NOTE: Meeting delayed until Friday.
Note: Do not press the Enter key until the entire message has been entered, even though the message may be wider than the screen.
$HOME/.mh_profile | Contains the MH user profile. |
/usr/bin/anno | Contains anno command. |
The dist command, forw command, repl command.
The mh_alias file format, mh_profile file format.
Mail Overview in AIX Version 4.3 System User's Guide: Communications and Networks.
Peek, Jerry. MH and xmh: E-mail for Users and Programmers. Sebastopol, CA: O'Reilly & Associates, 1992.