#-h- banner 81 asc 21-oct-80 07:16:11 Software Tools MSG System type ? for help type # for news #-h- first 46 asc 21-oct-80 07:15:39 The following commands are recognized by msg: #-h- a 565 asc 23-oct-80 08:15:23 a[nswer] message Answer message number: This command causes sndmsg to be spawned as a sub-process, with the To field being the sender of the indicated message, and the subject field consisting of the string "Re: ", where is replaced by the subject of the indicated message. In addition, the message header of the answering message will contain the line "In-reply-to: Your message of " where is replaced by the date of the indicated message. The user will be prompted for Cc addresses and the message to be sent. #-h- b 329 asc 21-oct-80 07:15:39 b[ackup] to previous message and type it Backing up - previous message is: This command displays the previous message (i.e. current message - 1). It is the inverse of the Next command. The current message number is decremented. If the current message number is 1 when Backup is invoked, an error message is displayed. #-h- c 271 asc 21-oct-80 07:15:40 c[urrent] message number and file Current message is nn of mm messages in file This command displays: 1. the number of the current message 2. the total number of messages in the message file 3. the file name of the currently active message file #-h- d 371 asc 21-oct-80 07:15:41 d[elete] message(s) Delete (message sequence) This command marks the messages specified in MSG-SEQUENCE as deleted, as indicated by an asterisk following the message number in the headers of the affected messages. The actual messages in the message file are not affected unless an Overwrite, Exit or Write command is executed before leaving MSG. #-h- e 242 asc 21-oct-80 07:15:41 e[xit] and update old file Exit and update old file [type SPACE to confirm] This command overwrites the current message file, but permits the user to leave MSG rather than re-reading the message file as Overwrite does. #-h- f 284 asc 21-oct-80 07:24:01 f[orward] message Forward message number: This command causes sndmsg to be spawned as a sub-process, with the message consisting of the header and message body of the indicated message. The user will be prompted for To, Cc and Subject fields upon entry into sndmsg. #-h- g 578 asc 21-oct-80 07:15:42 g[o to] message specified and print it Go to message number: This command permits explicit changing of the current message number. If is not in the range of acceptable values (i.e. it is less than 1 or greater than the number of messages in the file), an error message is displayed and the current message number will remain unchanged. Legal inputs for are: 1. a number in the range 1 <= n <= NMSGS 2. f for the first message (message number 1) 3. l for the last message 4. for the current message number (a noop) #-h- h 724 asc 21-oct-80 07:15:43 h[eaders] print headers of message(s) Headers (message sequence) This command displays the headers for the messages defined by the specified message sequence. Headers corresponding to deleted messages have an asterisk printed after the message number for that particular message. The format for the headers is: The headers are displayed a screenful at a time. After a screenful has been output, if there are more headers remaining to be displayed, the user is prompted with the string "[type SPACE to continue]". A response of SPACE will cause the next screenful to be displayed. Any other response terminates the listing of the headers. #-h- i 185 asc 21-oct-80 07:15:44 i[nformation] on command displayed Information - type command character: This command displays full help information for those commands listed by the ? command. #-h- j 275 asc 21-oct-80 07:15:44 j[ump] into shell - return by typing logout to shell Jump into shell [type SPACE to confirm] This command drops the user into the Software Tools shell. All normal commands may be executed while in the shell. Control returns to MSG by typing logout to the shell. #-h- k 54 asc 21-oct-80 07:15:45 k[ey] encryption-key *** UNIMPLEMENTED *** #-h- l 539 asc 21-oct-80 07:15:45 l[ist] message(s) in print format on file List (message sequence) on file name: This command lists all the specified messages on the file specified (overwriting the current contents of . A preface page, consisting of a FORMFEED character and the headers of the selected messages is output first, followed by each message preceded by a FORMFEED character. The file output by List can be disposed to a printer using the lpr shell command, resulting in a message on each page of the output. #-h- m 341 asc 21-oct-80 07:15:46 m[ove] message(s) to another mail file and mark them deleted Move (message sequence) into file name: This command is a convenient combination of the Put and Delete commands. It will first put the selected messages into the file specified and then mark the messages as deleted in the header information. #-h- n 292 asc 21-oct-80 07:15:46 n[ext] message is typed Next message is: This command displays the next message (current message number + 1) and increments the current message number. If the current message is already the last one, an error message is displayed and the current message number remains unchanged. #-h- o 260 asc 21-oct-80 07:15:47 o[verwrite] current file and re-read Overwrite old file [type SPACE to confirm] This command will overwrite the current file (specified by ), eliminating any deleted messages. It then re-reads the file, re-numbering the messages. #-h- p 399 asc 21-oct-80 07:15:47 p[ut] copies of message(s) in another mail file Put (message sequence) into file name: This command will put the messages specified by into the file specified by . If the file does not exist, it will create the file and write the messages into it. If the file already exists, the messages are appended to those already in the file. #-h- q 173 asc 23-oct-80 08:10:18 q[uit] leave MSG without updating current file Quit [type SPACE to confirm] This command allows the user to leave MSG without modifying the current message file. #-h- r 313 asc 21-oct-80 07:15:48 r[ead] in another mail file Read file name: This command allows the user to use MSG on files created by previous Move or Put invocations. The current message file is closed with no modification, and the file specified is read, displaying the headers before prompting for the next command. #-h- s 287 asc 21-oct-80 07:24:03 s[ndmsg] invoke SNDMSG to send a message (and return to MSG) Sndmsg [type SPACE to confirm] This command causes SNDMSG to be spawned as a sub-process, allowing the user to send a message without leaving MSG; when SNDMSG exits, MSG regains control with no changed to files, etc. #-h- t 557 asc 21-oct-80 07:15:49 t[ype] message(s) on standard output Type (message sequence) This command displays the messages specified. If more than one message is specified, the user is prompted with "[type SPACE for next message]" after each message. In addition, if a particular message is larger than one screenful, the user is prompted after each screenful. A negative response to this latter prompt results in the termination of the display of the particular message, while a negative response to the former results in termination of the Type command. #-h- u 127 asc 21-oct-80 07:15:50 u[ndelete] message(s) Undelete (message sequence) This command undoes the actions of the Delete command. #-h- w 74 asc 21-oct-80 17:03:18 w[rite] current file, sorted by date field *** UNIMPLEMENTED *** #-h- news 54 asc 21-oct-80 07:15:51 #[news] print MSG news No news is good news! #-h- help 32 asc 21-oct-80 07:15:51 ?[help] print this list #-h- intr 908 asc 21-oct-80 07:15:52 %[intro] type an introduction to MSG (for first-time users) If you are a new MSG user, you probably need ONLY the following commands: t type message(s) on terminal; common options are `a' for all messages or `' (where is an integer) for message . d delete a message after reading it; common options as above. e exit MSG and move messages which have not been deleted to your mail file (`mbox' in your home directory). q quit MSG without updating your mail file; if there are any messages left, you will be notified when you next login (or the next time you run `postmn'). NOTE: These command characters should NOT be followed by a RETURN. When you type one of them, MSG will immediately prompt you for more input. To print a copy of the MSG primer on the lineprinter, type sh -c "msgprim | lpr" #-h- last 53 asc 21-oct-80 07:15:52 For more information, use the i[nformation] command. #-h- sequ 717 asc 21-oct-80 07:15:53 (1) Any single message number, as listed in the headers. (2) Any two message numbers separated by `:' or `-'. This implies a range of messages (e.g. 2-5). (3) Any sequence of the previous two types, separated by commas. For example, `1,3,5-7,10'. (4) Special types of sequences, determined by the first character typed in response to the `(message sequence)' prompt: RETURN The current message. a All messages. d All `deleted' messages. f All messages whose `From:' field match a string. s All messages whose `Subject:' field match a string. u All `undeleted' messages. (The user is prompted for the string in the `f' and `s' sequences.)