COMPILATION LISTING OF SEGMENT fst_help_ Compiled by: Multics PL/I Compiler, Release 29, of July 28, 1986 Compiled at: Honeywell Bull, Phoenix AZ, SysM Compiled on: 01/19/88 1503.2 mst Tue Options: optimize map 1 /****^ ****************************************************** 2* * * 3* * Copyright, (C) Honeywell Bull Inc., 1987 * 4* * * 5* * Copyright (c) 1972 by Massachusetts Institute of * 6* * Technology and Honeywell Information Systems, Inc. * 7* * * 8* ****************************************************** */ 9 10 11 12 /****^ HISTORY COMMENTS: 13* 1) change(87-12-03,TLNguyen), approve(87-12-03,MCR7806), 14* audit(87-12-10,Lippard), install(88-01-19,MR12.2-1015): 15* - Remove the null builtin type from the source because it is not 16* referenced anywhere within the source. 17* END HISTORY COMMENTS */ 18 19 20 fst_help_: proc; 21 22 /* This procedure prints FAST info segments */ 23 /* Written 3/76 by S.E. Barr */ 24 /* MCR 4267 Change help with no args to print list of topics 12/19/79 S. Herbst */ 25 /* Changed to call system help command 06/24/81 S. Herbst */ 26 27 dcl arg_ptr ptr; 28 dcl arg_length fixed bin; 29 dcl code fixed bin (35); 30 dcl i fixed bin; 31 dcl nargs fixed bin; /* number of arguments for command */ 32 33 dcl arg char (arg_length) based (arg_ptr); 34 35 dcl rtrim builtin; 36 37 dcl directory char (168) aligned int static options (constant) init (">doc>ss>fast"); 38 39 /* external */ 40 41 dcl cu_$arg_count entry (fixed bin); 42 dcl cu_$arg_ptr entry (fixed bin, ptr, fixed bin, fixed bin (35)); 43 dcl com_err_ entry options (variable); 44 dcl help entry options (variable); 45 46 call cu_$arg_count (nargs); 47 48 if nargs = 0 then call help (rtrim (directory) || ">topics"); 49 50 else do i = 1 to nargs; 51 call cu_$arg_ptr (i, arg_ptr, arg_length, code); 52 if code = 0 then call help (rtrim (directory) || ">" || arg); 53 else call com_err_ (code, "help"); 54 end; 55 56 return; 57 58 end fst_help_; SOURCE FILES USED IN THIS COMPILATION. LINE NUMBER DATE MODIFIED NAME PATHNAME 0 01/19/88 1502.6 fst_help_.pl1 >spec>install>MR12.2-1015>fst_help_.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. arg based char unaligned dcl 33 ref 52 arg_length 000102 automatic fixed bin(17,0) dcl 28 set ref 51* 52 arg_ptr 000100 automatic pointer dcl 27 set ref 51* 52 code 000103 automatic fixed bin(35,0) dcl 29 set ref 51* 52 53* com_err_ 000014 constant entry external dcl 43 ref 53 cu_$arg_count 000010 constant entry external dcl 41 ref 46 cu_$arg_ptr 000012 constant entry external dcl 42 ref 51 directory 000000 constant char(168) initial dcl 37 ref 48 52 help 000016 constant entry external dcl 44 ref 48 52 i 000104 automatic fixed bin(17,0) dcl 30 set ref 50* 51* nargs 000105 automatic fixed bin(17,0) dcl 31 set ref 46* 48 50 rtrim builtin function dcl 35 ref 48 52 NAME DECLARED BY EXPLICIT CONTEXT. fst_help_ 000061 constant entry external dcl 20 THERE WERE NO NAMES DECLARED BY CONTEXT OR IMPLICATION. STORAGE REQUIREMENTS FOR THIS PROGRAM. Object Text Link Symbol Defs Static Start 0 0 336 356 262 346 Length 524 262 20 132 53 0 BLOCK NAME STACK SIZE TYPE WHY NONQUICK/WHO SHARES STACK FRAME fst_help_ 97 external procedure is an external procedure. STORAGE FOR AUTOMATIC VARIABLES. STACK FRAME LOC IDENTIFIER BLOCK NAME fst_help_ 000100 arg_ptr fst_help_ 000102 arg_length fst_help_ 000103 code fst_help_ 000104 i fst_help_ 000105 nargs fst_help_ THE FOLLOWING EXTERNAL OPERATORS ARE USED BY THIS PROGRAM. alloc_char_temp cat_realloc_chars call_ext_out_desc call_ext_out return_mac shorten_stack ext_entry THE FOLLOWING EXTERNAL ENTRIES ARE CALLED BY THIS PROGRAM. com_err_ cu_$arg_count cu_$arg_ptr help NO EXTERNAL VARIABLES ARE USED BY THIS PROGRAM. LINE LOC LINE LOC LINE LOC LINE LOC LINE LOC LINE LOC LINE LOC 20 000060 46 000066 48 000074 50 000136 51 000145 52 000162 53 000236 54 000256 56 000260 ----------------------------------------------------------- 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