09/21/82 read_mail request: apply, ap Syntax: ap {message_specifier} {-control_args} command_line Function: places the text of the selected message(s) into a temporary segment, catenates the pathname of this segment to the end of the given command line, and executes the resulting Multics command line. Each message is processed individually. Arguments: message_specifier identifies to which messages the command line is to be applied. If no message_specifier is supplied, the command line is applied to the current message. For more information on message specifiers, type: help message_specifiers.gi command_line is the Multics command line to which is catenated the pathname of the temporary segment before execution. Control arguments: -text specifies that the text of each message is to be included in the temporary segment. (Default) -no_text specifies that the text of each message is not to be included in the temporary segment. -header, -he specifies that the header of each message is to be included in the temporary segment. (Default) -no_header, -nhe specifies that the header of each message is not to be included in the temporary segment. -message message_specifier, -msg message_specifier specifies additional messages to which the command line is applied. -include_deleted, -idl includes all messages in the mailbox whether or not they have been deleted when processing the message_specifiers to determine which messages will be processed. -only_deleted, -odl includes only those messages which have been deleted. -only_non_deleted, -ondl includes only those messages which have not been deleted. (Default) -delete, -dl marks the specified messages for deletion on exit from read_mail if all messages are successfully processed. -no_delete, -ndl does not mark the messages for deletion. (Default) -reverse, -rv processes the messages in descending numeric order. -no_reverse, -nrv processes the messages in ascending numeric order. (Default) Notes: This request will acknowledge any messages requiring acknowledgement unless -no_acknowledge is specified on the read_mail command line. The command line may not modify the contents of the temporary segment. -no_text and -no_header are mutually exclusive. The supplied command line need not be enclosed in quotes. However, if there are (), [], or "'s in the command line which should be processed by the Multics command processor, they should be enclosed in quotes to prevent processing by read_mail's request processor. Examples: The request line: apply /frogs/ "do ""copy &1 &!; eor &! -dl""" may be used to issue a separate output request for each message which contains the string "frogs". ----------------------------------------------------------- Historical Background This edition of the Multics software materials and documentation is provided and donated to Massachusetts Institute of Technology by Group BULL including BULL HN Information Systems Inc. as a contribution to computer science knowledge. This donation is made also to give evidence of the common contributions of Massachusetts Institute of Technology, Bell Laboratories, General Electric, Honeywell Information Systems Inc., Honeywell BULL Inc., Groupe BULL and BULL HN Information Systems Inc. to the development of this operating system. Multics development was initiated by Massachusetts Institute of Technology Project MAC (1963-1970), renamed the MIT Laboratory for Computer Science and Artificial Intelligence in the mid 1970s, under the leadership of Professor Fernando Jose Corbato. Users consider that Multics provided the best software architecture for managing computer hardware properly and for executing programs. Many subsequent operating systems incorporated Multics principles. Multics was distributed in 1975 to 2000 by Group Bull in Europe , and in the U.S. by Bull HN Information Systems Inc., as successor in interest by change in name only to Honeywell Bull Inc. and Honeywell Information Systems Inc. . ----------------------------------------------------------- Permission to use, copy, modify, and distribute these programs and their documentation for any purpose and without fee is hereby granted,provided that the below copyright notice and historical background appear in all copies and that both the copyright notice and historical background and this permission notice appear in supporting documentation, and that the names of MIT, HIS, BULL or BULL HN not be used in advertising or publicity pertaining to distribution of the programs without specific prior written permission. Copyright 1972 by Massachusetts Institute of Technology and Honeywell Information Systems Inc. Copyright 2006 by BULL HN Information Systems Inc. Copyright 2006 by Bull SAS All Rights Reserved