|
|
1.1 ! root 1: ! 2: ! 3: mail Command mail ! 4: ! 5: ! 6: ! 7: ! 8: Computer mail ! 9: ! 10: mmaaiill [-mmppqqrrvv] [-ff _f_i_l_e] [_u_s_e_r ...] ! 11: ! 12: mmaaiill allows you to exchange electronic mail with other COHERENT ! 13: system users, either on your own system or on other systems via ! 14: UUCP. Depending upon its form, this command can be used either ! 15: to send mail to other users or to read the mail that other users ! 16: have sent to you. ! 17: ! 18: ***** Sending Mail ***** ! 19: ! 20: If you name one or more _u_s_e_rs, mmaaiill assumes that you wish to send ! 21: a mail message to each _u_s_e_r. mmaaiill first prints the prompt ! 22: ! 23: ! 24: Subject: ! 25: ! 26: ! 27: on the screen, requesting that you give the message a title. ! 28: ! 29: mmaaiill then reads what you type on the standard input. A message ! 30: is terminated by <ccttrrll-DD>, by a line that contains only the ! 31: character `.', or by a line that contains only the character `?'. ! 32: Ending with a question mark prompts mmaaiill to feed the message into ! 33: an editor for further editing. The editor used is the one named ! 34: in the environmental variable EEDDIITTOORR. If this variable is not ! 35: defined, mmaaiill uses eedd. ! 36: ! 37: If you have defined environmental variable AASSKKCCCC to YYEESS, mmaaiill ! 38: asks you, after a message is ended, for a list of users to whom ! 39: you wish to send a copy of the message. ! 40: ! 41: Finally, mmaaiill prepends the date and the sender's name, and sends ! 42: the result to each _u_s_e_r named either on the command line or on ! 43: the carbon-copy list with the rrmmaaiill command. ! 44: ! 45: Each _u_s_e_r who has received mail is greeted by the message ``You ! 46: have mail.'' when she logs in. mmaaiill normally changes the ! 47: contents of the mailbox as the user works with them; however, ! 48: mmaaiill has options that allow the contents of the mailbox to remain ! 49: unchanged if the user desires. ! 50: ! 51: ***** Reading Mail ***** ! 52: ! 53: If no _u_s_e_r is named on its command line, mmaaiill reads and displays ! 54: the user's mail, message by message. If environmental variable ! 55: PPAAGGEERR is defined, mmaaiill will ``pipe'' each message through the ! 56: command it names. For example, the .pprrooffiillee command line: ! 57: ! 58: ! 59: ! 60: ! 61: ! 62: ! 63: ! 64: COHERENT Lexicon Page 1 ! 65: ! 66: ! 67: ! 68: ! 69: mail Command mail ! 70: ! 71: ! 72: ! 73: export PAGER="exec /bin/scat -1" ! 74: ! 75: ! 76: invokes /bbiinn/ssccaatt for each mail message with the command-line ! 77: argument -11 (the digit one). ! 78: ! 79: While reading mail, the user can use any of the following ! 80: commands to save, delete, or send each message to another user ! 81: interactively. ! 82: ! 83: dd Delete the current message and print the next message. ! 84: ! 85: mm [_u_s_e_r ...] ! 86: Mail the current message to each _u_s_e_r given (default: ! 87: yourself). ! 88: ! 89: pp Print the current message again. ! 90: ! 91: qq Quit, and update mailbox file to reflect changes. ! 92: ! 93: rr Reverse the direction in which the mailbox is being scanned. ! 94: ! 95: ss [_f_i_l_e ...] ! 96: Save the current mail message with the usual header in each ! 97: _f_i_l_e (default: $HHOOMMEE/mmbbooxx). ! 98: ! 99: tt [_u_s_e_r ...] ! 100: Send a message read from the standard input, terminated by ! 101: an end-of-file character or by a line containing only `.' or ! 102: `?', to each _u_s_e_r (default: yourself). ! 103: ! 104: ww [_f_i_l_e ...] ! 105: Write the current message without the usual header in each ! 106: _f_i_l_e (default: $HHOOMMEE/mmbbooxx). ! 107: ! 108: xx Exit without updating the mailbox file. ! 109: ! 110: <nneewwlliinnee> ! 111: Print the next message. ! 112: ! 113: - Print the previous message. ! 114: ! 115: EEOOFF Quit, updating mailbox; same as qq. ! 116: ! 117: ? Print a summary of available commands. ! 118: ! 119: !_c_o_m_m_a_n_d ! 120: Pass _c_o_m_m_a_n_d to the shell for execution. ! 121: ! 122: The following command line options control the sending and ! 123: reading of mail. ! 124: ! 125: -ff _f_i_l_e ! 126: Read mail from _f_i_l_e instead of from the default, ! 127: /uussrr/ssppooooll/mmaaiill/_u_s_e_r. ! 128: ! 129: ! 130: COHERENT Lexicon Page 2 ! 131: ! 132: ! 133: ! 134: ! 135: mail Command mail ! 136: ! 137: ! 138: ! 139: ! 140: -mm Send a message to the terminal of _u_s_e_r if he is logged into ! 141: the system when mail is sent. ! 142: ! 143: -pp Print all mail without interaction. ! 144: ! 145: -qq Quit without changing the mailbox if an interrupt character ! 146: is typed. Normally, an interrupt character stops printing ! 147: of the current message. ! 148: ! 149: -rr Reverse the order of printing messages. Normally, mmaaiill ! 150: prints messages in the order in which they were received. ! 151: ! 152: -vv Verbose mode. Show the version number of the mmaaiill program, ! 153: and display expanded aliases. ! 154: ! 155: If you wish, you can create a signature file, .ssiigg.mmaaiill, in your ! 156: home directory. mmaaiill appends the contents of the signature file ! 157: to the end of every mail message you send, as a signature. A ! 158: signature can be your system's path name (for uuuuccpp messages), ! 159: your telephone number, an amusing _b_o_n _m_o_t, or what you will. ! 160: ! 161: ***** Files ***** ! 162: ! 163: $HHOOMMEE/ddeeaadd.lleetttteerr -- Message that mmaaiill could not send ! 164: $HHOOMMEE/mmbbooxx -- Default saved mail ! 165: $HHOOMMEE/.ssiigg.mmaaiill -- Signature file ! 166: /ttmmpp/mmaaiill* -- Temporary and lock files ! 167: /uussrr/ssppooooll/mmaaiill -- Mailbox directory, filed by user name ! 168: ! 169: ***** See Also ***** ! 170: ! 171: aalliiaasseess, AASSKKCCCC, ccoommmmaannddss, EEDDIITTOORR, mmkkffnnaammeess, mmssgg, nnppttxx, PPAAGGEERR, ! 172: ppaatthhss, uuuuxx ! 173: ! 174: ! 175: ! 176: ! 177: ! 178: ! 179: ! 180: ! 181: ! 182: ! 183: ! 184: ! 185: ! 186: ! 187: ! 188: ! 189: ! 190: ! 191: ! 192: ! 193: ! 194: ! 195: ! 196: COHERENT Lexicon Page 3 ! 197: ! 198:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.