02/28/84 convert_characters, cvc Syntax: cvc key1 {oldpath} {newpath} or: cvc key2 char_string Function: allows the rapid editing of a segment in the case where a one-for-one replacement of certain characters by certain other characters must be done. An example of its use is the conversion of all uppercase characters in a segment to lowercase characters. Keywords specify the conversion to take place. For certain of the keys convert_characters maintains a from_string and a to_string that define the conversion to be made. The converted segment is the same as the original except that every instance of the i'th character of from_string present in the original segment is replaced by the i'th character of to_string. The conversion for the key "sp" uses a from_string and to_string that must have been previously set by use of the "from" and "to" keys. Arguments: key1 are any of the keys listed below in "List of keywords." oldpath is the pathname of a segment to be converted. If omitted, the from_string and to_string related to key1 are printed. newpath the pathname of the output segment. If omitted, newpath is assumed to be the same as oldpath and the converted copy replaces the original. key2 is either "to" or "from" to set to_string or from_string for the "sp" key. char_string is the string to be set as to_string or from_string. If it contains blanks, it must be enclosed in quotes. List of keywords: lc converts alphabetic characters to lowercase. uc converts alphabetic characters to uppercase. mp converts from Multics PL/I format to IBM 360 PL/I. bcd converts BCD special characters to ASCII/EBCDIC equivalents. dart converts Multics special characters to corresponding Dartmouth special characters as follows: ^ ' - = > " + < = > ' : { + " ? ? sp uses conversion strings set earlier by the from and to keys: cvc from char_string1;cvc to char_string2. Notes: The most recent setting of from_string and to_string in your process is used for conversion with the "sp" key. No conversion is attempted for the "sp" key unless both the from_string and the to_string are of the same nonzero length. Any character not present in the from_string is not changed. ----------------------------------------------------------- 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