COMPILATION LISTING OF SEGMENT !BBBJXGgwLfkQCk Compiled by: Multics PL/I Compiler, Release 29, of July 28, 1986 Compiled at: Honeywell Bull, Phoenix AZ, SysM Compiled on: 02/16/88 1421.5 mst Tue Options: table map 1 /* ************************************************************** 2* * * 3* * Copyright, (C) Massachusetts Institute of Technology, 1984 * 4* * * 5* ************************************************************** */ 6 7 /* This segment generates a database used to establish default search lists. 8* 9* Converted from alm to create_data_segment 11-Jul-78 by M. Davidoff. 10* Added >unb to compose search list - EJW - Aug79 11* Added declare (dcl) search list 07-Feb-80 by G. Dixon. 12* Modified 03/27/80 by C. D. Tavares to add graphics paths. 13* Modified 15 April 1980 by M. N. Davidoff to move >unb to last in compose 14* search list. 15* Modified 07/21/80 by CDT to add names "xxx.search" to final segment. 16* Modified 29 May 1981 by J. Spencer Love to be the default for continuum only. 17* Modified 01/21/82 Jay Pattin to change to forum. 18* Modified 06/24/82 Jay Pattin to add [hd]>meetings 19**/ 20 21 forum_search_list_default_: 22 procedure (); 23 24 /* automatic */ 25 26 declare code fixed binary (35); 27 declare wdir char (168); 28 29 declare 1 cdsa aligned like cds_args; 30 31 declare 1 lists aligned, 32 2 forum, 33 3 name_count fixed binary, 34 3 path_count fixed binary, 35 3 names (1) char (32), 36 3 paths (2) like search_path; 37 38 /* based */ 39 40 declare 1 search_path based, 41 2 type fixed binary, 42 2 pathname char (168); 43 44 /* builtin */ 45 46 declare addr builtin; 47 declare hbound builtin; 48 declare null builtin; 49 declare size builtin; 50 declare unspec builtin; 51 52 /* external */ 53 54 declare forum_data_$central_directory 55 char (168) external; 56 57 /* entry */ 58 59 declare com_err_ entry options (variable); 60 declare create_data_segment_ entry (pointer, fixed binary (35)); 61 declare get_wdir_ entry () returns (char (168)); 62 1 1 /* BEGIN INCLUDE FILE . . . sl_info.incl.pl1 */ 1 2 1 3 1 4 1 5 /****^ HISTORY COMMENTS: 1 6* 1) change(87-11-16,Lippard), approve(87-12-21,MCR7822), 1 7* audit(88-02-09,Blair), install(88-02-16,MR12.2-1023): 1 8* Modified to add INITIATED_SEGS type. 1 9* 2) change(87-11-19,Lippard), approve(87-12-21,MCR7822), 1 10* audit(88-02-09,Blair), install(88-02-16,MR12.2-1023): 1 11* Added uid to sl_info structure. 1 12* END HISTORY COMMENTS */ 1 13 1 14 1 15 declare 1 sl_info aligned based (sl_info_p), 1 16 2 version fixed binary, /* Must be 1 */ 1 17 2 num_paths fixed binary, /* Number of search paths */ 1 18 2 change_index_p pointer, /* Pointer to search list's update count */ 1 19 2 change_index fixed binary (71), /* This search list's update count */ 1 20 2 pad1 (6) bit (36), /* Must be zero */ 1 21 2 paths (sl_info_num_paths refer (sl_info.num_paths)), 1 22 3 type fixed binary, /* Type of search path */ 1 23 3 code fixed binary (35), /* Standard status code of search path */ 1 24 3 uid bit (36), /* Unique ID */ 1 25 3 pathname char (168) unaligned; /* Search pathname */ 1 26 1 27 declare sl_info_num_paths fixed binary; 1 28 declare sl_info_p pointer; 1 29 declare sl_info_version_1 fixed binary internal static options (constant) initial (1); 1 30 1 31 /* Keyword Types */ 1 32 1 33 declare ABSOLUTE_PATH fixed binary internal static options (constant) initial (0); 1 34 declare UNEXPANDED_PATH fixed binary internal static options (constant) initial (1); 1 35 declare REFERENCING_DIR fixed binary internal static options (constant) initial (3); 1 36 declare WORKING_DIR fixed binary internal static options (constant) initial (4); 1 37 declare PROCESS_DIR fixed binary internal static options (constant) initial (5); 1 38 declare HOME_DIR fixed binary internal static options (constant) initial (6); 1 39 declare INITIATED_SEGS fixed binary internal static options (constant) initial (7); 1 40 1 41 /* END INCLUDE FILE . . . sl_info.incl.pl1 */ 63 2 1 /* BEGIN INCLUDE FILE cds_args.incl.pl1 */ 2 2 2 3 dcl 1 cds_args based aligned, 2 4 2 sections (2), 2 5 3 p ptr, /* pointer to data for text/static section */ 2 6 3 len fixed bin (18), /* size of text/static section */ 2 7 3 struct_name char (32), /* name of declared structure for this section */ 2 8 2 seg_name char (32), /* name to create segment by */ 2 9 2 num_exclude_names fixed bin, /* number of names in exclude array */ 2 10 2 exclude_array_ptr ptr, /* pointer to array of exclude names */ 2 11 2 switches, /* control switches */ 2 12 3 defs_in_link bit (1) unal, /* says put defs in linkage */ 2 13 3 separate_static bit (1) unal, /* says separate static section is wanted */ 2 14 3 have_text bit (1) unal, /* ON if text section given */ 2 15 3 have_static bit (1) unal, /* ON if static section given */ 2 16 3 pad bit (32) unal; 2 17 2 18 dcl exclude_names (1) char (32) based; /* pointed to be cds_args.exclude_array_ptr */ 2 19 2 20 /* END INCLUDE FILE cds_args.incl.pl1 */ 64 65 66 /* program */ 67 68 lists.forum.name_count = hbound (lists.forum.names, 1); 69 lists.forum.path_count = hbound (lists.forum.paths, 1); 70 lists.forum.names (1) = "forum"; 71 lists.forum.paths (1).type = UNEXPANDED_PATH; 72 lists.forum.paths (1).pathname = ">udd>[user project]>[user name]>meetings"; 73 lists.forum.paths (2).type = ABSOLUTE_PATH; 74 lists.forum.paths (2).pathname = forum_data_$central_directory; 75 76 unspec (cdsa) = ""b; 77 cdsa.sections (1).p = addr (lists); 78 cdsa.sections (1).len = size (lists); 79 cdsa.sections (1).struct_name = "lists"; 80 cdsa.sections (2).p = null; 81 cdsa.sections (2).struct_name = ""; 82 cdsa.seg_name = "forum_search_list_default_"; 83 cdsa.exclude_array_ptr = null; 84 cdsa.switches.have_text = "1"b; 85 86 call create_data_segment_ (addr (cdsa), code); 87 if code ^= 0 88 then do; 89 call com_err_ (code, "forum_search_list_default_"); 90 return; 91 end; 92 93 wdir = get_wdir_ (); 94 95 call add_search_names (lists.forum.names (*)); 96 97 return; 98 99 add_search_names: 100 proc (name_array); 101 102 declare name_array dimension (*) char (32) aligned parameter; 103 104 declare hbound builtin; 105 declare lbound builtin; 106 107 declare error_table_$segnamedup 108 fixed bin (35) ext static; 109 110 declare hcs_$chname_file entry (char (*), char (*), char (*), char (*), fixed bin (35)); 111 112 declare i fixed bin; 113 declare extra_name char (32); 114 115 do i = lbound (name_array, 1) to hbound (name_array, 1); 116 extra_name = rtrim (name_array (i)) || ".search"; 117 call hcs_$chname_file (wdir, "forum_search_list_default_", "", extra_name, code); 118 if code ^= 0 119 then if code ^= error_table_$segnamedup 120 then call com_err_ (code, "forum_search_list_default_", "Adding name ^a", extra_name); 121 end; 122 123 return; 124 end add_search_names; 125 126 end forum_search_list_default_; SOURCE FILES USED IN THIS COMPILATION. LINE NUMBER DATE MODIFIED NAME PATHNAME 0 02/16/88 1409.5 !BBBJXGgwLfkQCk.pl1 >spec>install>MR12.2-1023>forum_search_list_default_.cds 63 1 02/16/88 1407.4 sl_info.incl.pl1 >spec>install>MR12.2-1023>sl_info.incl.pl1 64 2 04/01/76 2209.5 cds_args.incl.pl1 >ldd>include>cds_args.incl.pl1 NAMES DECLARED IN THIS COMPILATION. IDENTIFIER OFFSET LOC STORAGE CLASS DATA TYPE ATTRIBUTES AND REFERENCES (* indicates a set context) NAMES DECLARED BY DECLARE STATEMENT. ABSOLUTE_PATH 000411 constant fixed bin(17,0) initial dcl 1-33 ref 73 UNEXPANDED_PATH 000410 constant fixed bin(17,0) initial dcl 1-34 ref 71 addr builtin function dcl 46 ref 77 86 86 cds_args based structure level 1 dcl 2-3 cdsa 000154 automatic structure level 1 dcl 29 set ref 76* 86 86 code 000100 automatic fixed bin(35,0) dcl 26 set ref 86* 87 89* 117* 118 118 118* com_err_ 000014 constant entry external dcl 59 ref 89 118 create_data_segment_ 000016 constant entry external dcl 60 ref 86 error_table_$segnamedup 000022 external static fixed bin(35,0) dcl 107 ref 118 exclude_array_ptr 42 000154 automatic pointer level 2 dcl 29 set ref 83* extra_name 000373 automatic char(32) unaligned dcl 113 set ref 116* 117* 118* forum 000221 automatic structure level 2 dcl 31 forum_data_$central_directory 000012 external static char(168) unaligned dcl 54 ref 74 get_wdir_ 000020 constant entry external dcl 61 ref 93 have_text 44(02) 000154 automatic bit(1) level 3 packed unaligned dcl 29 set ref 84* hbound builtin function dcl 104 in procedure "add_search_names" ref 115 hbound builtin function dcl 47 in procedure "forum_search_list_default_" ref 68 69 hcs_$chname_file 000024 constant entry external dcl 110 ref 117 i 000372 automatic fixed bin(17,0) dcl 112 set ref 115* 116* lbound builtin function dcl 105 ref 115 len 2 000154 automatic fixed bin(18,0) array level 3 dcl 29 set ref 78* lists 000221 automatic structure level 1 dcl 31 set ref 77 78 name_array parameter char(32) array dcl 102 ref 99 115 115 116 name_count 000221 automatic fixed bin(17,0) level 3 dcl 31 set ref 68* names 2 000221 automatic char(32) array level 3 dcl 31 set ref 68 70* 95* null builtin function dcl 48 ref 80 83 p 000154 automatic pointer array level 3 dcl 29 set ref 77* 80* path_count 1 000221 automatic fixed bin(17,0) level 3 dcl 31 set ref 69* pathname 13 000221 automatic char(168) array level 4 dcl 31 set ref 72* 74* paths 12 000221 automatic structure array level 3 dcl 31 set ref 69 search_path based structure level 1 unaligned dcl 40 sections 000154 automatic structure array level 2 dcl 29 seg_name 30 000154 automatic char(32) level 2 dcl 29 set ref 82* size builtin function dcl 49 ref 78 struct_name 3 000154 automatic char(32) array level 3 dcl 29 set ref 79* 81* switches 44 000154 automatic structure level 2 dcl 29 type 12 000221 automatic fixed bin(17,0) array level 4 dcl 31 set ref 71* 73* unspec builtin function dcl 50 set ref 76* wdir 000101 automatic char(168) unaligned dcl 27 set ref 93* 117* NAMES DECLARED BY DECLARE STATEMENT AND NEVER REFERENCED. HOME_DIR constant fixed bin(17,0) initial dcl 1-38 INITIATED_SEGS constant fixed bin(17,0) initial dcl 1-39 PROCESS_DIR constant fixed bin(17,0) initial dcl 1-37 REFERENCING_DIR constant fixed bin(17,0) initial dcl 1-35 WORKING_DIR constant fixed bin(17,0) initial dcl 1-36 exclude_names based char(32) array unaligned dcl 2-18 sl_info based structure level 1 dcl 1-15 sl_info_num_paths 000361 automatic fixed bin(17,0) dcl 1-27 sl_info_p 000362 automatic pointer dcl 1-28 sl_info_version_1 constant fixed bin(17,0) initial dcl 1-29 NAMES DECLARED BY EXPLICIT CONTEXT. add_search_names 000215 constant entry internal dcl 99 ref 95 forum_search_list_default_ 000071 constant entry external dcl 21 NAME DECLARED BY CONTEXT OR IMPLICATION. rtrim builtin function ref 116 STORAGE REQUIREMENTS FOR THIS PROGRAM. Object Text Link Symbol Defs Static Start 0 0 534 562 412 544 Length 2112 412 26 1313 121 0 BLOCK NAME STACK SIZE TYPE WHY NONQUICK/WHO SHARES STACK FRAME forum_search_list_default_ 338 external procedure is an external procedure. add_search_names internal procedure shares stack frame of external procedure forum_search_list_default_. STORAGE FOR AUTOMATIC VARIABLES. STACK FRAME LOC IDENTIFIER BLOCK NAME forum_search_list_default_ 000100 code forum_search_list_default_ 000101 wdir forum_search_list_default_ 000154 cdsa forum_search_list_default_ 000221 lists forum_search_list_default_ 000361 sl_info_num_paths forum_search_list_default_ 000362 sl_info_p forum_search_list_default_ 000372 i add_search_names 000373 extra_name add_search_names THE FOLLOWING EXTERNAL OPERATORS ARE USED BY THIS PROGRAM. alloc_char_temp call_ext_out_desc call_ext_out return_mac shorten_stack ext_entry int_entry THE FOLLOWING EXTERNAL ENTRIES ARE CALLED BY THIS PROGRAM. com_err_ create_data_segment_ get_wdir_ hcs_$chname_file THE FOLLOWING EXTERNAL VARIABLES ARE USED BY THIS PROGRAM. error_table_$segnamedup forum_data_$central_directory LINE LOC LINE LOC LINE LOC LINE LOC LINE LOC LINE LOC LINE LOC 21 000070 68 000076 69 000100 70 000102 71 000105 72 000107 73 000112 74 000114 76 000120 77 000123 78 000125 79 000127 80 000132 81 000134 82 000137 83 000142 84 000143 86 000145 87 000157 89 000161 90 000201 93 000202 95 000211 97 000214 99 000215 115 000221 116 000231 117 000302 118 000337 121 000377 123 000401 Object Segment >spec>install>MR12.2-1023>forum_search_list_default_ Created on 02/16/88 1421.5 mst Tue by GJohnson.SysMaint.a using create_data_segment_, Version II of Thursday, November 20, 1986 Object Text Defs Link Symb Static Start 0 0 140 172 202 202 Length 376 140 32 10 160 0 3 Definitions: segname: forum_search_list_default_ text|0 forum symb|0 symbol_table No Links. ----------------------------------------------------------- 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