11/06/89 response Syntax as a command: response arg {-control_args} Syntax as an active function: [response arg {-control_args}] Function: asks you a question and returns the answer you typed. The answer is not returned in quotes; the command processor therefore treats the answer as several strings if it contains spaces. You can use the command language ||[ feature if you want the command processor to treat the returned string as a single argument. (See also the query active function.) Arguments: arg is the question to be asked. If arg contains spaces or other command language characters, enclose it in quotes. Control arguments: -accept STRs where STRs are the only responses accepted from you. If a STR contains spaces or other command language characters, enclose it in quotes. If you respond to the question with an answer that is not one of the specified STRs, the active function prints a message explaining that your answer is unacceptable, lists the acceptable answers, and repeats the question. -brief, -bf suppresses extra spacing and newlines when asking questions. -disable_cp_escape, -dcpe disables the ability to escape to the command processor via the ".." response. (See "Notes on command processor escape" below.) -enable_cp_escape, -ecpe enables that ability. -input_switch STR, -isw STR specifies the I/O switch to use for input of your response. (Default: user_input) -long, -lg adds a leading newline and three trailing spaces to the question. (Default) -no_trim do not trim trailing spaces from the question argument. -non_null indicates that you must give a response. If you reply with an empty (blank) line, the active function prints a message explaining that a null response is not allowed and repeats the question. -output_switch STR, -osw STR specifies the I/O switch to use for output of the question to you. (Default: user_output) -repeat DT, -rp DT repeats the question every DT if you have not responded (see Section 1 for a description of valid DT values). -trim trim trailing spaces from the question argument. (Default) Notes: You can use the format_line active function to insert other active function values into the question. Notes on command processor escape: The -disable_cp_escape and -enable_cp_escape control arguments override the system or subsystem default. The system default is "enabled." Subsystems can define the default to be either "enable" or "disable." (See the command_query_ subroutine for details.) ----------------------------------------------------------- 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