/* ====== BEGIN INCLUDE SEGMENT apl_ws_info.incl.pl1 ====================================== */ /* This structure contains all of the global data (or pointers to it) for the APL subsystem */ /* automatic */ declare ws_info_ptr ptr initial (apl_static_$ws_info_ptr.static_ws_info_ptr); /* external static */ declare 1 apl_static_$ws_info_ptr external static aligned structure, 2 static_ws_info_ptr unaligned pointer; /* based */ declare 1 ws_info aligned based (ws_info_ptr), 2 version_number fixed bin, /* version of this structure (3) */ 2 switches unaligned, /* mainly ws parameters */ 3 long_error_mode bit, /* if 1, long Multics format, else APL/360 format */ 3 debug_mode bit, /* if 1, system error causes escape to command level */ 3 canonicalize_mode bit, /* if 1, the editor canonicalizes user input */ 3 restrict_exec_command bit, /* if 1, the )EXEC command may not be used */ 3 restrict_debug_command bit, /* if 1, the )DEBUG command may not be used */ 3 restrict_external_functions bit, /* if 1, the )ZFN, )MFN, and )DFN commands may not be used */ 3 restrict_load bit, /* if 1, the )LOAD and )COPY commands may not be used */ 3 restrict_load_directory bit, /* if 1, no directory allowed in )LOAD or )COPY pathnames */ 3 restrict_save bit, /* if 1, the )SAVE command may not be used */ 3 restrict_save_directory bit, /* if 1, no directory allowed in )SAVE pathnames */ 3 off_hold bit, /* if 1, )OFF HOLD was typed, else just )OFF */ 3 transparent_to_signals bit, /* if 1, any conditions slip right past APL */ 3 meter_mode bit, /* if 1, metering may be done, else speed is all-important */ 3 restrict_msg_command bit, /* if 1, the )MSG command may not be used. */ 3 compatibility_check_mode bit, /* if 1, check for incompatible operators */ 3 no_quit_handler bit, /* if 1, do not trap QUITs. */ /* remaining 20 bits not presently used */ 2 values, /* attributes of the workspace */ 3 digits fixed bin, /* number of digits of precision printed on output */ 3 width fixed bin, /* line length for formatted output */ 3 index_origin fixed bin, /* the index origin (0 or 1) */ 3 random_link fixed bin(35), /* seed for random number generator */ 3 fuzz float, /* comparison tolerance (relative fuzz) */ 3 float_index_origin float, /* the index origin in floating point */ 3 number_of_symbols fixed bin, /* the number of symbol_beads currently in existence */ 3 maximum_value_stack_size fixed bin (18), /* maximum number of words in one segment of value stack */ 2 pointers, /* pointers to various internal tables */ 3 symbol_table_ptr unaligned pointer, /* -> symbol_table (apl_symbol_table.incl.pl1) */ 3 current_parse_frame_ptr unaligned pointer, /* -> topmost parse frame */ 3 value_stack_ptr unaligned pointer, /* -> next free location on value stack */ 3 alloc_free_info_ptr unaligned pointer, /* -> apl_storage_mngr_ data (apl_storage_system_data.incl.pl1) */ 2 time_invoked fixed bin(71), /* clock time that APL was entered */ 2 integer_fuzz float, /* the absolute fuzz used in checking for integers */ 2 user_number fixed bin(35), /* number under which the user is signed on */ 2 latent_expression unaligned pointer, /* -> value_bead for QuadLX */ 2 lock char(32), /* the lock currently set on this workspace (password) */ 2 wsid char(100), /* the workspace identification: name, number name, or clear ws */ 2 last_error_code fixed bin(35), /* last code passed to apl_error_ */ 2 signoff_lock character (32), 2 interrupt_info aligned, /* bits used by apl_interpreter_ to tell when to abort */ 3 dont_interrupt_parse bit, /* if 1, don't do a dirty stop because the parser is running */ 3 dont_interrupt_operator bit, /* if 1, don't do a dirty stop because an operator is running */ 3 dont_interrupt_storage_manager /* if 1, don't stop because apl_storage_mngr_ is */ bit, /* munging his tables */ 3 unused_interrupt_bit bit, /* not presently used */ 3 dont_interrupt_command bit, 3 can_be_interrupted bit, /* if 1, OK to do a clean stop (we are between lines, reading) */ 3 clean_interrupt_pending bit, /* interrupt occured, break cleanly (between lines) */ 3 dirty_interrupt_pending bit, /* interrupt occured, break as soon as not inhibited */ 2 user_name char (32), /* process group id of user */ 2 immediate_input_prompt char (32) varying, /* normal input */ 2 evaluated_input_prompt char (32) varying, /* quad input */ 2 character_input_prompt char (32) varying, /* quad-quote input */ 2 vcpu_time aligned, 3 total fixed bin (71), 3 setup fixed bin (71), 3 parse fixed bin (71), 3 lex fixed bin (71), 3 operator fixed bin (71), 3 storage_manager fixed bin (71), 2 output_info aligned, /* data pertaining to output buffer */ 3 output_buffer_ptr unal ptr, /* ptr to output buffer */ 3 output_buffer_len fixed bin (21), /* length (bytes) of output buffer */ 3 output_buffer_pos fixed bin (21), /* index of next byte to write in */ 3 output_buffer_ll fixed bin (21), /* print positions used up so far */ 2 tab_width fixed bin (21); /* number of columns a tabs moves cursor */ declare output_buffer char (ws_info.output_buffer_len) based (ws_info.output_buffer_ptr); /* internal static */ declare max_parse_stack_depth fixed bin int static init(64536); /* ------ END INCLUDE SEGMENT apl_ws_info.incl.pl1 -------------------------------------- */ */ ----------------------------------------------------------- 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 */