1 02/27/85 set_system_search_rules
 2 
 3 Syntax as a command:  set_system_search_rules path
 4 
 5 
 6 Function:  is a highly privileged command used in the initializer
 7 process to set the site's default search rules for all processes.
 8 
 9 
10 Arguments:
11 path
12    is the pathname of a default search rules segment (described below)
13    created earlier by the system administrator.
14 
15 
16 Notes on default search rules segment:  Each line in the default
17 search rules segment may be either a keyword or the absolute pathname
18 of a directory to be searched.  The order of the lines in the default
19 search rules segment gives the order in which the rules are applied by
20 a user process.
21 
22 The valid keywords are listed below.
23 
24       initiated_segments
25       referencing_dir
26       working_dir
27       home_dir
28       process_dir
29 
30 
31 The absolute pathname search rules and the keywords may be followed by
32 one or more tags.  Tags are single word identifiers chosen by the
33 system administrator and used to categorize search rules into groups.
34 They are spearated from pathname or keyword search rules by a comma.
35 
36 
37 The user can find out the site-defined tags by issuing the
38 get_system_search_rules command (described in the Multics Commands and
39 Active Functions manual, Order No.  AG92).  For example, if the
40 get_system_search_rules command returns the following
41 
42       initiated_segments,default,fast
43       referencing_dir,default,fast
44       working_dir,default,fast
45       >system_library_standard,default,fast,system_libraries
46       >system_library_unbundled,default,fast,system_libraries
47       >system_library_tools,default,system_libraries
48       >system_library_auth_maint,default,system_libraries
49 
50 
51 the user knows there are three tags he can specify in his search rules,
52 default, fast, and system_libraries.  For convenience, the user can use
53 these tags in his own search rules rather than specify the entire list
54 of directories and keywords containing these tags.  For example, the
55 system_libraries tag in the user's search rules expands to
56 
57       >system_library_standard
58       >system_library_unbundled
59       >system_library_tools
60       >system_library_auth_maint
61 
62 The order of the expanded list is the same as the order of the
63 directories in the default search rule segment.  Recursion is not
64 allowed.
65 
66 
67 Up to 10 tags and up to 50 search rules may be specified in the default
68 search rules segment.
69 
70 A user process may specify up to 22 search rules.