COMPILATION LISTING OF SEGMENT xmail_Review_Outgoing_ Compiled by: Multics PL/I Compiler, Release 30, of February 16, 1988 Compiled at: Honeywell Bull, Phoenix AZ, SysM Compiled on: 09/02/88 0750.4 mst Fri Options: optimize map 1 /****^ *********************************************************** 2* * * 3* * Copyright, (C) Honeywell Information Systems Inc., 1985 * 4* * * 5* *********************************************************** */ 6 7 8 /****^ HISTORY COMMENTS: 9* 1) change(86-03-05,Blair), approve(86-03-05,MCR7358), 10* audit(86-04-18,RBarstad), install(86-05-28,MR12.0-1062): 11* Written by Joanne Backs from xmail_Review_Defaults_.pl1. 12* END HISTORY COMMENTS */ 13 14 xmail_Review_Outgoing_: proc; 15 16 /* BEGIN DESCRIPTION 17* 18*function: This procedure provides the xmail user with a menu for the 19* purpose of inspecting and updating default values which control 20* outgoing messages during the operation of xmail. 21* 22*END DESCRIPTION 23**/ 24 25 /* AUTOMATIC */ 26 27 dcl choice fixed bin; 28 dcl code fixed bin (35); 29 dcl display_needed bit (1) aligned; 30 31 /* CONSTANTS */ 32 33 dcl NAME init ("xmail_Review_Outgoing_") char (22) int static options (constant); 34 dcl N_COLUMNS fixed bin int static options (constant) init (2); 35 dcl OPTION_NAMES int static options (constant) init ( 36 "Message Acknowledgment", 37 "Save Outgoing Messages", 38 "Set Outgoing Savefile", 39 "Set Full Name", 40 "Include Original in Reply", 41 "File Original Before Reply" 42 ) dim (6) char (28) var; 43 dcl TITLE init ("Personalize Outgoing Message Options") char (36) 44 int static options (constant); 45 46 /* EXTERNAL STATIC */ 47 48 dcl iox_$user_output ptr ext static; 49 dcl xmail_err_$help_requested ext static fixed bin (35); 50 dcl xmail_err_$exit_now ext static fixed bin (35); 51 52 /* INTERNAL STATIC */ 53 54 dcl menu int static ptr init (null); 55 56 /* ENTRIES */ 57 58 dcl ioa_ entry options (variable); 59 dcl xmail_create_menu_ entry (char (*), (*) char (*) var, fixed bin, ptr, fixed bin (35)); 60 dcl xmail_display_help_ entry (char (*), char (*), fixed bin (35)); 61 dcl xmail_error_$no_code entry () options (variable); 62 dcl xmail_get_choice_ entry (ptr, char (*), char (*), char (*), char (*), bit (1) aligned, char (*), fixed bin, fixed bin (35)); 63 dcl xmail_Review_Defaults_$acknowledge entry (char (*)); 64 dcl xmail_Review_Defaults_$file_original entry (char (*)); 65 dcl xmail_Review_Defaults_$full_name entry (char (*)); 66 dcl xmail_Review_Defaults_$include_original entry (char (*)); 67 dcl xmail_Review_Defaults_$save_mailbox entry (char (*)); 68 dcl xmail_Review_Defaults_$save_messages entry (char (*)); 69 dcl xmail_window_manager_$reconnect entry options (variable); 70 71 /* CONDITIONS */ 72 73 dcl (program_interrupt, xmail_redisplay_menu, quit) condition; 74 75 /* BUILTINS */ 76 77 dcl (null, translate) builtin; 78 79 /* INCLUDE FILES */ 80 1 1 /* BEGIN INCLUDE FILE menu_dcls.incl.pl1 1 2* declarations for the menu_ subroutines MTB 493 1 3* James R. Davis 26 Jan 81 to 20 Februrary 81 1 4**/ 1 5 1 6 /* format: off */ 1 7 1 8 dcl menu_$create entry ( 1 9 (*) char (*) varying, /* input: choices */ 1 10 (*) char (*) varying, /* input: headers */ 1 11 (*) char (*) varying, /* input: trailers */ 1 12 pointer, /* input: to format info */ 1 13 (*) char (1) unal, /* input: keys to use */ 1 14 pointer, /* input: to area */ 1 15 pointer, /* input: to needs str. */ 1 16 pointer, /* to menu: output */ 1 17 fixed bin (35) /* code */ 1 18 ); 1 19 1 20 dcl menu_$display entry ( 1 21 pointer, /* window */ 1 22 pointer, /* menu */ 1 23 fixed bin (35) /* code */ 1 24 ); 1 25 1 26 dcl menu_$get_choice entry ( 1 27 pointer, /* window */ 1 28 pointer, /* menu */ 1 29 pointer, /* to function key info */ 1 30 bit (1) aligned, /* function key hi: output */ 1 31 fixed bin, /* output: selection number */ 1 32 fixed bin (35) /* output: code */ 1 33 ); 1 34 1 35 dcl menu_$describe entry ( 1 36 pointer, /* menu */ 1 37 pointer, /* needs */ 1 38 fixed bin (35) /* code */ 1 39 ); 1 40 1 41 dcl menu_$destroy entry ( 1 42 pointer, /* menu */ 1 43 fixed bin (35) /* code */ 1 44 ); 1 45 1 46 dcl menu_$store entry ( 1 47 character (*), 1 48 character (*), 1 49 character (*), 1 50 bit (1) aligned, 1 51 pointer, 1 52 fixed bin (35)); 1 53 1 54 dcl menu_$retrieve entry ( 1 55 character (*), 1 56 character (*), 1 57 character (*), 1 58 pointer, 1 59 pointer, 1 60 fixed bin (35)); 1 61 dcl menu_$delete entry ( 1 62 character (*), 1 63 character (*), 1 64 character (*), 1 65 fixed binary (35)); 1 66 1 67 dcl menu_$list entry ( 1 68 character (*), 1 69 character (*), 1 70 character (*), 1 71 pointer, 1 72 fixed bin, 1 73 pointer, 1 74 fixed bin (35)); 1 75 1 76 dcl 1 menu_format aligned based (menu_format_ptr), 1 77 2 version fixed bin, 1 78 2 constraints, 1 79 3 max_width fixed bin, 1 80 3 max_height fixed bin, 1 81 2 n_columns fixed bin, 1 82 2 flags, 1 83 3 center_headers bit (1) unal, 1 84 3 center_trailers bit (1) unal, 1 85 3 pad bit (34) unal, 1 86 2 pad_char char (1); 1 87 1 88 dcl 1 menu_requirements aligned based (menu_requirements_ptr), 1 89 2 version fixed bin, 1 90 2 lines_needed fixed bin, 1 91 2 width_needed fixed bin, 1 92 2 n_options fixed bin; 1 93 1 94 dcl menu_format_ptr pointer; 1 95 dcl menu_requirements_ptr pointer; 1 96 1 97 dcl (menu_format_version_1, menu_requirements_version_1) 1 98 fixed bin internal static init (1) options (constant); 1 99 1 100 dcl MENU_OPTION_KEYS (35) char (1) unal internal static 1 101 options (constant) init 1 102 ("1", "2", "3", "4", "5", "6", "7", "8", "9", 1 103 "A", "B", "C", "D", "E", "F", "G", "H", "I", 1 104 "J", "K", "L", "M", "N", "O", "P", "Q", "R", 1 105 "S", "T", "U", "V", "W", "X", "Y", "Z"); 1 106 1 107 /* END INCLUDE FILE ... menu_dcls.incl.pl1 */ 81 82 2 1 /* BEGIN INCLUDE FILE: xmail_data.incl.pl1 */ 2 2 2 3 2 4 /****^ HISTORY COMMENTS: 2 5* 1) change(85-12-20,Blair), approve(86-03-06,MCR7358), 2 6* audit(86-04-21,RBarstad), install(86-05-28,MR12.0-1062): 2 7* Modified 03/15/85 by Joanne Backs adding confirm_print flag. 2 8* 2) change(85-12-20,LJAdams), approve(86-03-06,MCR7358), 2 9* audit(86-04-21,RBarstad), install(86-05-28,MR12.0-1062): 2 10* Adding switch to indicate request for menu display came from general help. 2 11* This is so general help menu will be displayed in top screen. 2 12* 3) change(86-01-10,Blair), approve(86-03-06,MCR7358), 2 13* audit(86-04-21,RBarstad), install(86-05-28,MR12.0-1062): 2 14* Add switch to indicate whether or not it is permissible to process mail 2 15* in other users' mailboxes (foreign_mailbox). 2 16* 4) change(86-01-13,Blair), approve(86-03-06,MCR7358), 2 17* audit(86-04-21,RBarstad), install(86-05-28,MR12.0-1062): 2 18* Add bit to indicate whether or not this is a true cleanup condition. 2 19* 5) change(86-02-06,Blair), approve(86-03-06,MCR7358), 2 20* audit(86-04-21,RBarstad), install(86-05-28,MR12.0-1062): 2 21* Rearrange to group all the bit flags together in one word with a pad. 2 22* 6) change(86-03-05,Blair), approve(86-03-05,MCR7358), 2 23* audit(86-04-21,RBarstad), install(86-05-28,MR12.0-1062): 2 24* Change value_seg ptr to value_seg_pathname to avoid the situation where 2 25* you keep around a pointer to a structure which no longer exists. 2 26* 7) change(87-01-16,Blair), approve(87-02-05,MCR7618), 2 27* audit(87-04-15,RBarstad), install(87-04-26,MR12.1-1025): 2 28* Add a field to indicate whether or not we should process interactive msgs. 2 29* Increment version to 4.1 so default value will get set. 2 30* 8) change(87-02-13,Blair), approve(87-02-13,MCR7618), 2 31* audit(87-04-15,RBarstad), install(87-04-26,MR12.1-1025): 2 32* Add a field to indicate whether or not we're processing a reply so that we 2 33* will be able to rebuild the screens properly after a disconnect occurs. 2 34* Error_list #114. 2 35* 9) change(88-07-26,Blair), approve(88-07-26,MCR7959), 2 36* audit(88-08-25,RBarstad), install(88-09-02,MR12.2-1098): 2 37* Add a bit to indicate whether or not the error segment had to be created 2 38* in the pdir (because we didn't have sma access to the mlsys_dir). 2 39* END HISTORY COMMENTS */ 2 40 2 41 2 42 /* Written 5/13/81 by Paul H. Kyzivat */ 2 43 /* Modified 12/16/81 by S. Krupp to delete unused parts of structure 2 44* and to add n_fkeys_used */ 2 45 /* Modified 12/14/82 by Dave Schimke to make the xmail version a 10 character 2 46* varying string. */ 2 47 /* Modified 09/12/83 by Dave Schimke adding interactive_msgs flag */ 2 48 /* Modified 09/14/83 by Dave Schimke adding moved_user_io */ 2 49 /* Modified 09/06/84 by Joanne Backs adding lists_as_menus flag */ 2 50 /* Modified 09/21/84 by Joanne Backs adding remove_menus flag */ 2 51 2 52 dcl xmail_data_ptr external static ptr init (null); 2 53 2 54 dcl 1 xmail_data aligned based (xmail_data_ptr), 2 55 2 mail_dir char (168) varying, 2 56 2 first_label label, 2 57 2 quit_label label, 2 58 2 value_seg_pathname char (168) varying, 2 59 2 moved_user_io ptr, 2 60 2 normal_usage char (80) unal, 2 61 2 function_key_info, 2 62 3 function_key_data_ptr ptr, 2 63 3 n_fkeys_used fixed bin, 2 64 2 actee, 2 65 3 person char(32) varying, 2 66 3 project char(32) varying, 2 67 2 flags aligned, 2 68 3 mail_in_incoming bit (1) unal, 2 69 3 lists_as_menus bit (1) unal, /* personalization */ 2 70 3 remove_menus bit (1) unal, /* personalization */ 2 71 3 confirm_print bit (1) unal, /* personalization */ 2 72 3 multics_mode bit (1) unal, /* personalization */ 2 73 3 interactive_msgs bit (1) unal, /* personalization */ 2 74 3 foreign_mailbox bit (1) unal, /* read others' mailboxes */ 2 75 3 general_help bit (1) unal, /* indicated requesting gen help*/ 2 76 3 cleanup_signalled bit (1) unal, /* on when true cleanup condition */ 2 77 3 msgs_as_mail bit (1) unal, /* on for include_msgs */ 2 78 3 reply_request bit (1) unal, /* on if we're doing a reply */ 2 79 3 error_seg_in_pdir bit (1) unal, /* on if the error_seg is in the pdir */ 2 80 3 pad bit (24) unal; 2 81 2 82 2 83 2 84 dcl xmail_version char(10) var static options(constant) init("4.1"); 2 85 2 86 /* END INCLUDE FILE: xmail_data.incl.pl1 */ 83 84 3 1 /* BEGIN INCLUDE FILE xmail_help_infos.incl.pl1 */ 3 2 3 3 /****^ HISTORY COMMENTS: 3 4* 1) change(85-03-06,Backs), approve(86-03-06,MCR7358), 3 5* audit(86-04-21,RBarstad), install(86-05-28,MR12.0-1062): 3 6* Modified to add date info. 3 7* END HISTORY COMMENTS */ 3 8 3 9 /* Created 06/18/81 by Suzanne Krupp */ 3 10 3 11 /* Help files and info entry points. */ 3 12 3 13 dcl (PROMPT_REPLIES_HELP char(28) init("xmail_prompt_replies.gi.info"), 3 14 GENERAL_HELP_HELP char(26) init("xmail_general_help.gi.info"), 3 15 GETTING_STARTED_HELP char(29) init("xmail_getting_started.gi.info"), 3 16 INITIAL_HELP char(26) init("xmail_initial_help.gi.info"), 3 17 MULTICS_MODE_HELP char(27) init("xmail_multics_mode_.gi.info"), 3 18 REVIEW_DEFAULTS_HELP char(29) init("xmail_Review_Defaults.gi.info")) 3 19 int static options(constant); 3 20 3 21 dcl (CREATE_MFILE_INFO char(19) init("creating_mail_files"), /* Prompt Infos */ 3 22 DEL_MSG_SELECT_INFO char(23) init("which_discarded_message"), 3 23 SEARCH_STR_INFO char(14) init("search_string"), 3 24 MSG_SELECT_INFO char(14) init("which_message"), 3 25 USE_SPEC_SET_INFO char(12) init("use_spec_set"), 3 26 GETTING_HELP_INFO char(12) init("getting_help"), 3 27 DATE_INFO char(14) init("date_selection"), 3 28 MORE_HELP_INFO char(9) init("more_help")) 3 29 int static options(constant); 3 30 3 31 /* END INCLUDE FILE ... xmail_help_infos.incl.pl1 */ 85 86 4 1 /* Begin include file: xmail_windows.incl.pl1 */ 4 2 /* Created 6/24/81 by Paul Kyzivat */ 4 3 /* Mofified 6/20/84 by DJ Schimke to add the mm_status window */ 4 4 4 5 dcl 1 xmail_windows aligned external static, 4 6 2 initial_position fixed bin, 4 7 2 min_lines_needed fixed bin, 4 8 2 (status, mm_status, menu, bottom) aligned like xmail_window_info_format; 4 9 4 10 dcl 1 xmail_window_info_format aligned based, 4 11 2 iocb ptr, 4 12 2 position aligned like window_position_info; 4 13 5 1 /* BEGIN INCLUDE FILE ... window_control_info.incl.pl1 JRD */ 5 2 /* format: style3 */ 5 3 5 4 /* Modified 26 January 1982 by William York to add the set_more_handler 5 5* and reset_more_handler control orders. */ 5 6 /* Modified October 1982 by WMY to add set and get_token_characters, 5 7* set and get_more_prompt. */ 5 8 /* Modified February 1983 by WMY to add the line_editor_key_binding_info 5 9* structure. */ 5 10 /* Modified 30 September 1983 by Jon A. Rochlis to add the origin.column for 5 11* partial screen width windows. */ 5 12 /* Modified 9 October 1983 by JR to add version 1 window_edit_line_info. 5 13* This should be removed when window_info.incl.pl1 is created. */ 5 14 /* Modified 29 February 1984 by Barmar to add version 1 5 15* get_editor_key_bindings_info. */ 5 16 /* Modified 1 March 1984 by Barmar to add version 1 5 17* set_editor_key_bindings_info. */ 5 18 /* Modified 2 March 1984 by Barmar to upgrade to version 3 5 19* line_editor_key_bindings_info, which includes the name, description, and 5 20* info path */ 5 21 5 22 /* structure for the set_window_info and get_window_info 5 23* control orders. */ 5 24 5 25 dcl 1 window_position_info 5 26 based (window_position_info_ptr), 5 27 2 version fixed bin, 5 28 2 origin, 5 29 3 column fixed bin, 5 30 3 line fixed bin, 5 31 2 extent, 5 32 3 width fixed bin, 5 33 3 height fixed bin; 5 34 5 35 dcl (window_position_info_version, window_position_info_version_1) 5 36 fixed bin internal static init (1) options (constant); 5 37 dcl window_position_info_ptr 5 38 pointer; 5 39 5 40 /* structure for the set_window_status and get_window_status 5 41* control orders */ 5 42 5 43 declare window_status_info_ptr 5 44 pointer; 5 45 declare 1 window_status_info 5 46 aligned based (window_status_info_ptr), 5 47 2 version fixed bin, 5 48 2 status_string bit (36) aligned; /* string (window_status) */ 5 49 /* see window_status.incl.pl1 for the contents of this string */ 5 50 5 51 5 52 declare (window_status_version, window_status_version_1) 5 53 fixed bin internal static init (1) options (constant); 5 54 5 55 /* info structure for the set_more_responses and get_more_responses control 5 56* orders */ 5 57 5 58 5 59 dcl 1 more_responses_info 5 60 aligned based (more_responses_info_ptr), 5 61 2 version fixed bin, 5 62 2 n_yeses fixed bin, /* how many valid characters in the strings below */ 5 63 2 n_noes fixed bin, 5 64 2 yeses char (32) unaligned, 5 65 2 noes char (32) unaligned; 5 66 5 67 dcl (more_responses_info_version_1, more_responses_version) 5 68 fixed bin internal static init (1) options (constant); 5 69 dcl more_responses_info_ptr 5 70 pointer; 5 71 5 72 /* structure for the set_break_table and get_break_table 5 73* control orders */ 5 74 5 75 declare break_table_ptr pointer; 5 76 declare 1 break_table_info aligned based (break_table_ptr), 5 77 2 version fixed bin, 5 78 2 breaks (0:127) bit (1) unaligned; 5 79 5 80 declare (break_table_info_version, break_table_info_version_1) 5 81 fixed bin init (1) internal static options (constant); 5 82 5 83 declare 1 more_handler_info aligned based (more_handler_info_ptr), 5 84 2 version fixed bin, 5 85 2 flags unaligned, 5 86 3 old_handler_valid 5 87 bit(1), 5 88 3 pad bit(35), 5 89 2 more_handler entry (pointer, bit(1) aligned), 5 90 2 old_more_handler entry (pointer, bit(1) aligned); 5 91 5 92 declare more_handler_info_ptr pointer; 5 93 5 94 declare (more_handler_info_version, more_handler_info_version_3) 5 95 fixed bin internal static options (constant) init (3); 5 96 5 97 declare 1 token_characters_info aligned based (token_characters_info_ptr), 5 98 2 version char(8), 5 99 2 token_character_count 5 100 fixed bin, 5 101 2 token_characters 5 102 char (128) unaligned; 5 103 5 104 declare token_characters_info_ptr pointer; 5 105 5 106 declare token_characters_info_version_1 char(8) internal static options (constant) init ("wtci0001"); 5 107 5 108 declare 1 more_prompt_info aligned based (more_prompt_info_ptr), 5 109 2 version char(8), 5 110 2 more_prompt char(80); 5 111 5 112 declare more_prompt_info_ptr pointer; 5 113 5 114 declare more_prompt_info_version_1 char(8) static options (constant) init ("wsmp0001"); 5 115 5 116 /* Line editor stuff ... */ 5 117 5 118 dcl line_editor_key_binding_info_ptr 5 119 pointer; 5 120 5 121 dcl line_editor_binding_count 5 122 fixed bin; 5 123 dcl line_editor_longest_sequence 5 124 fixed bin; 5 125 /* For each binding, action defines what to do for that sequence. Constants 5 126* are defined in window_editor_values.incl.pl1. Only if action is set to 5 127* EXTERNAL_ROUTINE does the editor_routine entry variable get examined. */ 5 128 5 129 dcl 1 line_editor_key_binding_info 5 130 aligned based (line_editor_key_binding_info_ptr), 5 131 2 version char(8), 5 132 2 binding_count fixed bin, 5 133 2 longest_sequence fixed bin, 5 134 2 bindings (line_editor_binding_count refer 5 135 (line_editor_key_binding_info.binding_count)), 5 136 3 sequence char(line_editor_longest_sequence refer 5 137 (line_editor_key_binding_info.longest_sequence)) varying, 5 138 3 action fixed bin, 5 139 3 numarg_action fixed binary, 5 140 3 editor_routine entry (pointer, fixed bin(35)), 5 141 3 name char (64) varying unaligned, 5 142 3 description char (256) varying unaligned, 5 143 3 info_path unaligned, 5 144 4 info_dir char (168), 5 145 4 info_entry char (32); 5 146 5 147 5 148 dcl line_editor_key_binding_info_version_3 5 149 char(8) static options (constant) init ("lekbi003"); 5 150 5 151 dcl 1 get_editor_key_bindings_info aligned based (get_editor_key_bindings_info_ptr), 5 152 2 version char (8), 5 153 2 flags, 5 154 3 entire_state bit (1) unaligned, 5 155 3 mbz bit (35) unaligned, 5 156 2 key_binding_info_ptr ptr, 5 157 2 entire_state_ptr ptr; 5 158 5 159 dcl get_editor_key_bindings_info_ptr ptr; 5 160 dcl get_editor_key_bindings_info_version_1 char (8) int static options (constant) init ("gekbi_01"); 5 161 5 162 dcl 1 set_editor_key_bindings_info aligned 5 163 based (set_editor_key_bindings_info_ptr), 5 164 2 version char (8), 5 165 2 flags, 5 166 3 replace bit (1) unaligned, 5 167 3 update bit (1) unaligned, 5 168 3 mbz bit (34) unaligned, 5 169 2 key_binding_info_ptr ptr; 5 170 5 171 dcl set_editor_key_bindings_info_ptr ptr; 5 172 dcl set_editor_key_bindings_info_version_1 char (8) int static options (constant) init ("sekbi_01"); 5 173 5 174 /* This should be moved to window_info.incl.pl1 when that include file is 5 175* created. JR 2/1/84 */ 5 176 5 177 dcl 1 window_edit_line_info 5 178 based (window_edit_line_info_ptr), 5 179 2 version char (8), 5 180 2 line_ptr ptr, 5 181 2 line_length fixed bin (21); /* later we will hack initial cursor position, key bindings, etc. */ 5 182 5 183 dcl window_edit_line_info_version_1 5 184 char (8) static options (constant) init ("wedl0001"); 5 185 5 186 dcl window_edit_line_info_ptr 5 187 ptr; 5 188 5 189 /* END INCLUDE FILE window_control_info.incl.pl1 */ 4 14 4 15 4 16 /* End include file: xmail_windows.incl.pl1 */ 87 88 6 1 /* begin include fine window_dcls.incl.pl1 BIM June 1981 */ 6 2 /* Modified 9 October 1983 by Jon A. Rochlis to add window_$edit_line. */ 6 3 6 4 /* format: style3 */ 6 5 6 6 declare window_$bell entry (pointer, fixed binary (35)); 6 7 declare window_$clear_region 6 8 entry (pointer, fixed binary, fixed binary, fixed binary, fixed binary, fixed binary (35)); 6 9 declare window_$clear_to_end_of_line 6 10 entry (pointer, fixed binary (35)); 6 11 declare window_$clear_to_end_of_window 6 12 entry (pointer, fixed binary (35)); 6 13 declare window_$clear_window 6 14 entry (pointer, fixed binary (35)); 6 15 declare window_$delete_chars 6 16 entry (pointer, fixed binary, fixed binary (35)); 6 17 declare window_$get_cursor_position 6 18 entry (pointer, fixed binary, fixed binary, fixed binary (35)); 6 19 6 20 /* Call window_$get_echoed_chars (iocb_ptr, n_to_read, read_buffer, n_read, read_break, code); */ 6 21 6 22 declare window_$get_echoed_chars 6 23 entry (pointer, fixed binary (21), character (*), fixed binary (21), character (1) var, 6 24 fixed binary (35)); 6 25 declare window_$get_unechoed_chars 6 26 entry (pointer, fixed binary (21), character (*), fixed binary (21), character (1) var, 6 27 fixed binary (35)); 6 28 declare window_$insert_text entry (pointer, character (*), fixed binary (35)); 6 29 declare window_$overwrite_text 6 30 entry (pointer, character (*), fixed binary (35)); 6 31 declare window_$position_cursor 6 32 entry (pointer, fixed binary, fixed binary, fixed binary (35)); 6 33 6 34 /* Call window_$position_cursor_rel (iocb_ptr, delta_line, delta_column, code); */ 6 35 6 36 declare window_$position_cursor_rel 6 37 entry (pointer, fixed binary, fixed binary, fixed binary (35)); 6 38 6 39 /* Call window_$scroll_region (iocb_ptr, first_line_of_region, n_lines_of_region, distance_to_scroll_region_negative_is_up, 6 40* code); */ 6 41 6 42 declare window_$scroll_region 6 43 entry (pointer, fixed binary, fixed binary, fixed binary, fixed binary (35)); 6 44 declare window_$sync entry (pointer, fixed binary (35)); 6 45 6 46 /* Call window_$write_raw_text (iocb_ptr, text_string, code); */ 6 47 6 48 declare window_$write_raw_text 6 49 entry (pointer, character (*), fixed binary (35)); 6 50 6 51 /* Call window_$write_sync_read (iocb_ptr, prompt_string, n_to_read, read_buffer, n_read, break_char, code); */ 6 52 6 53 declare window_$write_sync_read 6 54 entry (pointer, character (*), fixed bin (21), character (*), fixed binary (21), 6 55 character (1) var, fixed binary (35)); 6 56 6 57 /* Call window_$change_line (iocb_ptr, new_line, code); */ 6 58 6 59 declare window_$change_line entry (pointer, fixed binary, fixed binary (35)); 6 60 6 61 /* Call window_$change_column (iocb_ptr, new_column, code); */ 6 62 6 63 declare window_$change_column 6 64 entry (pointer, fixed binary, fixed binary (35)); 6 65 6 66 /* Call window_$get_one_unechoed (iocb_ptr, char_or_len_0, block_flag, code); */ 6 67 declare ( 6 68 window_$get_one_unechoed, 6 69 window_$get_one_unechoed_char 6 70 ) entry (pointer, character (1) var, bit (1) aligned, fixed binary (35)); 6 71 6 72 declare window_$create entry (pointer, pointer, pointer, fixed binary (35)); 6 73 6 74 declare window_$destroy entry (pointer, fixed binary (35)); 6 75 6 76 declare window_$edit_line entry (pointer, pointer, pointer, fixed bin(21), fixed bin(21), fixed bin(35)); 6 77 6 78 /* call window_$edit_line (iocb_ptr, window_edit_line_info_ptr, buffer_ptr, 6 79* buffer_len, n_returned, code); */ 6 80 6 81 6 82 /* end include file window_dcls.incl.pl1 */ 89 90 91 /* BEGIN */ 92 on condition (xmail_redisplay_menu) begin; 93 if menu ^= null 94 then call menu_$display (xmail_windows.menu.iocb, menu, (0)); 95 end; 96 97 if menu = null then do; 98 call xmail_create_menu_ (TITLE, OPTION_NAMES, N_COLUMNS, menu, code); 99 if code ^= 0 then call xmail_error_$no_code (status, NAME, "q", 100 "A programming error has been detected which prevents " || 101 "the use of the ^a menu.", TITLE); 102 103 end; 104 105 on condition (program_interrupt) go to START; 106 on condition (quit) begin; 107 call xmail_window_manager_$reconnect (); 108 go to START; 109 end; 110 111 call window_$clear_window (iox_$user_output, (0)); 112 call ioa_ (" "); 113 114 START: display_needed = "1"b; 115 do while ("1"b); 116 call xmail_get_choice_ (menu, "", "", "", xmail_data.normal_usage, 117 display_needed, "", choice, code); 118 display_needed = "0"b; 119 if code = 0 then call PERFORM_OPTION (choice, display_needed); 120 else if code = xmail_err_$help_requested then call EXPLAIN_OPTION (choice); 121 else if code = xmail_err_$exit_now then go to EXIT; 122 else call window_$bell (iox_$user_output, (0)); 123 end; 124 EXIT: return; 125 126 /* INTERNAL PROCEDURES */ 127 128 PERFORM_OPTION: proc (opt, redisplay); 129 130 /* PARAMETERS */ 131 132 dcl redisplay bit (1) aligned parameter; 133 dcl opt fixed bin parameter; 134 135 /* AUTOMATIC */ 136 137 dcl name char (28) varying; /* name of option*/ 138 139 /* BEGIN PERFORM_OPTION */ 140 141 call window_$clear_window (iox_$user_output, (0)); 142 name = OPTION_NAMES (opt); /* include name of option */ 143 go to OPT (opt); 144 145 OPT (1): redisplay = "0"b; 146 call xmail_Review_Defaults_$acknowledge ((name)); 147 go to OPT_EXIT; 148 149 OPT (2): redisplay = "0"b; 150 call xmail_Review_Defaults_$save_messages ((name)); 151 go to OPT_EXIT; 152 153 OPT (3): redisplay = "0"b; 154 call xmail_Review_Defaults_$save_mailbox ((name)); 155 go to OPT_EXIT; 156 157 OPT (4): redisplay = "0"b; 158 call xmail_Review_Defaults_$full_name ((name)); 159 go to OPT_EXIT; 160 161 OPT (5): redisplay = "0"b; 162 call xmail_Review_Defaults_$include_original ((name)); 163 go to OPT_EXIT; 164 165 OPT (6): redisplay = "0"b; 166 call xmail_Review_Defaults_$file_original ((name)); 167 go to OPT_EXIT; 168 169 OPT_EXIT: return; 170 end PERFORM_OPTION; 171 172 EXPLAIN_OPTION: proc (opt); 173 174 dcl opt fixed bin parameter; 175 176 call window_$clear_window (iox_$user_output, (0)); 177 call xmail_display_help_ (REVIEW_DEFAULTS_HELP, 178 translate (OPTION_NAMES (opt), "_", " "), 179 (0)); 180 181 end EXPLAIN_OPTION; 182 183 end xmail_Review_Outgoing_; SOURCE FILES USED IN THIS COMPILATION. LINE NUMBER DATE MODIFIED NAME PATHNAME 0 09/02/88 0746.6 xmail_Review_Outgoing_.pl1 >spec>install>MR12.2-1098>xmail_Review_Outgoing_.pl1 81 1 03/27/82 0429.3 menu_dcls.incl.pl1 >ldd>include>menu_dcls.incl.pl1 83 2 09/02/88 0743.4 xmail_data.incl.pl1 >spec>install>MR12.2-1098>xmail_data.incl.pl1 85 3 05/28/86 1117.7 xmail_help_infos.incl.pl1 >ldd>include>xmail_help_infos.incl.pl1 87 4 12/02/84 1132.9 xmail_windows.incl.pl1 >ldd>include>xmail_windows.incl.pl1 4-14 5 09/12/84 0916.7 window_control_info.incl.pl1 >ldd>include>window_control_info.incl.pl1 89 6 09/12/84 0916.7 window_dcls.incl.pl1 >ldd>include>window_dcls.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. NAME 000107 constant char(22) initial packed unaligned dcl 33 set ref 99* N_COLUMNS 000116 constant fixed bin(17,0) initial dcl 34 set ref 98* OPTION_NAMES 000027 constant varying char(28) initial array dcl 35 set ref 98* 142 177 177 REVIEW_DEFAULTS_HELP 000006 constant char(29) initial packed unaligned dcl 3-13 set ref 177* TITLE 000016 constant char(36) initial packed unaligned dcl 43 set ref 98* 99* choice 000100 automatic fixed bin(17,0) dcl 27 set ref 116* 119* 120* code 000101 automatic fixed bin(35,0) dcl 28 set ref 98* 99 116* 119 120 121 display_needed 000102 automatic bit(1) dcl 29 set ref 114* 116* 118* 119* ioa_ 000020 constant entry external dcl 58 ref 112 iocb 22 000054 external static pointer level 3 dcl 4-5 set ref 93* iox_$user_output 000012 external static pointer dcl 48 set ref 111* 122* 141* 176* menu 000010 internal static pointer initial dcl 54 in procedure "xmail_Review_Outgoing_" set ref 93 93* 97 98* 116* menu 22 000054 external static structure level 2 in structure "xmail_windows" dcl 4-5 in procedure "xmail_Review_Outgoing_" menu_$display 000050 constant entry external dcl 1-20 ref 93 name 000134 automatic varying char(28) dcl 137 set ref 142* 146 150 154 158 162 166 normal_usage 142 based char(80) level 2 packed packed unaligned dcl 2-54 set ref 116* null builtin function dcl 77 ref 93 97 opt parameter fixed bin(17,0) dcl 174 in procedure "EXPLAIN_OPTION" ref 172 177 177 opt parameter fixed bin(17,0) dcl 133 in procedure "PERFORM_OPTION" ref 128 142 143 program_interrupt 000104 stack reference condition dcl 73 ref 105 quit 000120 stack reference condition dcl 73 ref 106 redisplay parameter bit(1) dcl 132 set ref 128 145* 149* 153* 157* 161* 165* status 2 000054 external static structure level 2 dcl 4-5 set ref 99* translate builtin function dcl 77 ref 177 177 window_$bell 000056 constant entry external dcl 6-6 ref 122 window_$clear_window 000060 constant entry external dcl 6-13 ref 111 141 176 window_position_info based structure level 1 unaligned dcl 5-25 xmail_Review_Defaults_$acknowledge 000032 constant entry external dcl 63 ref 146 xmail_Review_Defaults_$file_original 000034 constant entry external dcl 64 ref 166 xmail_Review_Defaults_$full_name 000036 constant entry external dcl 65 ref 158 xmail_Review_Defaults_$include_original 000040 constant entry external dcl 66 ref 162 xmail_Review_Defaults_$save_mailbox 000042 constant entry external dcl 67 ref 154 xmail_Review_Defaults_$save_messages 000044 constant entry external dcl 68 ref 150 xmail_create_menu_ 000022 constant entry external dcl 59 ref 98 xmail_data based structure level 1 dcl 2-54 xmail_data_ptr 000052 external static pointer initial dcl 2-52 ref 116 xmail_display_help_ 000024 constant entry external dcl 60 ref 177 xmail_err_$exit_now 000016 external static fixed bin(35,0) dcl 50 ref 121 xmail_err_$help_requested 000014 external static fixed bin(35,0) dcl 49 ref 120 xmail_error_$no_code 000026 constant entry external dcl 61 ref 99 xmail_get_choice_ 000030 constant entry external dcl 62 ref 116 xmail_redisplay_menu 000112 stack reference condition dcl 73 ref 92 xmail_window_info_format based structure level 1 dcl 4-10 xmail_window_manager_$reconnect 000046 constant entry external dcl 69 ref 107 xmail_windows 000054 external static structure level 1 dcl 4-5 NAMES DECLARED BY DECLARE STATEMENT AND NEVER REFERENCED. CREATE_MFILE_INFO internal static char(19) initial packed unaligned dcl 3-21 DATE_INFO internal static char(14) initial packed unaligned dcl 3-21 DEL_MSG_SELECT_INFO internal static char(23) initial packed unaligned dcl 3-21 GENERAL_HELP_HELP internal static char(26) initial packed unaligned dcl 3-13 GETTING_HELP_INFO internal static char(12) initial packed unaligned dcl 3-21 GETTING_STARTED_HELP internal static char(29) initial packed unaligned dcl 3-13 INITIAL_HELP internal static char(26) initial packed unaligned dcl 3-13 MENU_OPTION_KEYS internal static char(1) initial array packed unaligned dcl 1-100 MORE_HELP_INFO internal static char(9) initial packed unaligned dcl 3-21 MSG_SELECT_INFO internal static char(14) initial packed unaligned dcl 3-21 MULTICS_MODE_HELP internal static char(27) initial packed unaligned dcl 3-13 PROMPT_REPLIES_HELP internal static char(28) initial packed unaligned dcl 3-13 SEARCH_STR_INFO internal static char(14) initial packed unaligned dcl 3-21 USE_SPEC_SET_INFO internal static char(12) initial packed unaligned dcl 3-21 break_table_info based structure level 1 dcl 5-76 break_table_info_version internal static fixed bin(17,0) initial dcl 5-80 break_table_info_version_1 internal static fixed bin(17,0) initial dcl 5-80 break_table_ptr automatic pointer dcl 5-75 get_editor_key_bindings_info based structure level 1 dcl 5-151 get_editor_key_bindings_info_ptr automatic pointer dcl 5-159 get_editor_key_bindings_info_version_1 internal static char(8) initial packed unaligned dcl 5-160 line_editor_binding_count automatic fixed bin(17,0) dcl 5-121 line_editor_key_binding_info based structure level 1 dcl 5-129 line_editor_key_binding_info_ptr automatic pointer dcl 5-118 line_editor_key_binding_info_version_3 internal static char(8) initial packed unaligned dcl 5-148 line_editor_longest_sequence automatic fixed bin(17,0) dcl 5-123 menu_$create 000000 constant entry external dcl 1-8 menu_$delete 000000 constant entry external dcl 1-61 menu_$describe 000000 constant entry external dcl 1-35 menu_$destroy 000000 constant entry external dcl 1-41 menu_$get_choice 000000 constant entry external dcl 1-26 menu_$list 000000 constant entry external dcl 1-67 menu_$retrieve 000000 constant entry external dcl 1-54 menu_$store 000000 constant entry external dcl 1-46 menu_format based structure level 1 dcl 1-76 menu_format_ptr automatic pointer dcl 1-94 menu_format_version_1 internal static fixed bin(17,0) initial dcl 1-97 menu_requirements based structure level 1 dcl 1-88 menu_requirements_ptr automatic pointer dcl 1-95 menu_requirements_version_1 internal static fixed bin(17,0) initial dcl 1-97 more_handler_info based structure level 1 dcl 5-83 more_handler_info_ptr automatic pointer dcl 5-92 more_handler_info_version internal static fixed bin(17,0) initial dcl 5-94 more_handler_info_version_3 internal static fixed bin(17,0) initial dcl 5-94 more_prompt_info based structure level 1 dcl 5-108 more_prompt_info_ptr automatic pointer dcl 5-112 more_prompt_info_version_1 internal static char(8) initial packed unaligned dcl 5-114 more_responses_info based structure level 1 dcl 5-59 more_responses_info_ptr automatic pointer dcl 5-69 more_responses_info_version_1 internal static fixed bin(17,0) initial dcl 5-67 more_responses_version internal static fixed bin(17,0) initial dcl 5-67 set_editor_key_bindings_info based structure level 1 dcl 5-162 set_editor_key_bindings_info_ptr automatic pointer dcl 5-171 set_editor_key_bindings_info_version_1 internal static char(8) initial packed unaligned dcl 5-172 token_characters_info based structure level 1 dcl 5-97 token_characters_info_ptr automatic pointer dcl 5-104 token_characters_info_version_1 internal static char(8) initial packed unaligned dcl 5-106 window_$change_column 000000 constant entry external dcl 6-63 window_$change_line 000000 constant entry external dcl 6-59 window_$clear_region 000000 constant entry external dcl 6-7 window_$clear_to_end_of_line 000000 constant entry external dcl 6-9 window_$clear_to_end_of_window 000000 constant entry external dcl 6-11 window_$create 000000 constant entry external dcl 6-72 window_$delete_chars 000000 constant entry external dcl 6-15 window_$destroy 000000 constant entry external dcl 6-74 window_$edit_line 000000 constant entry external dcl 6-76 window_$get_cursor_position 000000 constant entry external dcl 6-17 window_$get_echoed_chars 000000 constant entry external dcl 6-22 window_$get_one_unechoed 000000 constant entry external dcl 6-67 window_$get_one_unechoed_char 000000 constant entry external dcl 6-67 window_$get_unechoed_chars 000000 constant entry external dcl 6-25 window_$insert_text 000000 constant entry external dcl 6-28 window_$overwrite_text 000000 constant entry external dcl 6-29 window_$position_cursor 000000 constant entry external dcl 6-31 window_$position_cursor_rel 000000 constant entry external dcl 6-36 window_$scroll_region 000000 constant entry external dcl 6-42 window_$sync 000000 constant entry external dcl 6-44 window_$write_raw_text 000000 constant entry external dcl 6-48 window_$write_sync_read 000000 constant entry external dcl 6-53 window_edit_line_info based structure level 1 unaligned dcl 5-177 window_edit_line_info_ptr automatic pointer dcl 5-186 window_edit_line_info_version_1 internal static char(8) initial packed unaligned dcl 5-183 window_position_info_ptr automatic pointer dcl 5-37 window_position_info_version internal static fixed bin(17,0) initial dcl 5-35 window_position_info_version_1 internal static fixed bin(17,0) initial dcl 5-35 window_status_info based structure level 1 dcl 5-45 window_status_info_ptr automatic pointer dcl 5-43 window_status_version internal static fixed bin(17,0) initial dcl 5-52 window_status_version_1 internal static fixed bin(17,0) initial dcl 5-52 xmail_version internal static varying char(10) initial dcl 2-84 NAMES DECLARED BY EXPLICIT CONTEXT. EXIT 000542 constant label dcl 124 ref 121 EXPLAIN_OPTION 000764 constant entry internal dcl 172 ref 120 OPT 000000 constant label array(6) dcl 145 ref 143 OPT_EXIT 000763 constant label dcl 169 ref 147 151 155 159 163 167 PERFORM_OPTION 000543 constant entry internal dcl 128 ref 119 START 000437 constant label dcl 114 ref 105 108 xmail_Review_Outgoing_ 000210 constant entry external dcl 14 THERE WERE NO NAMES DECLARED BY CONTEXT OR IMPLICATION. STORAGE REQUIREMENTS FOR THIS PROGRAM. Object Text Link Symbol Defs Static Start 0 0 1576 1660 1254 1606 Length 2226 1254 62 331 321 2 BLOCK NAME STACK SIZE TYPE WHY NONQUICK/WHO SHARES STACK FRAME xmail_Review_Outgoing_ 226 external procedure is an external procedure. on unit on line 92 74 on unit on unit on line 105 64 on unit on unit on line 106 64 on unit PERFORM_OPTION internal procedure shares stack frame of external procedure xmail_Review_Outgoing_. EXPLAIN_OPTION internal procedure shares stack frame of external procedure xmail_Review_Outgoing_. STORAGE FOR INTERNAL STATIC VARIABLES. LOC IDENTIFIER BLOCK NAME 000010 menu xmail_Review_Outgoing_ STORAGE FOR AUTOMATIC VARIABLES. STACK FRAME LOC IDENTIFIER BLOCK NAME xmail_Review_Outgoing_ 000100 choice xmail_Review_Outgoing_ 000101 code xmail_Review_Outgoing_ 000102 display_needed xmail_Review_Outgoing_ 000134 name PERFORM_OPTION THE FOLLOWING EXTERNAL OPERATORS ARE USED BY THIS PROGRAM. alloc_char_temp call_ext_out_desc call_ext_out return_mac tra_ext_1 enable_op shorten_stack ext_entry int_entry THE FOLLOWING EXTERNAL ENTRIES ARE CALLED BY THIS PROGRAM. ioa_ menu_$display window_$bell window_$clear_window xmail_Review_Defaults_$acknowledge xmail_Review_Defaults_$file_original xmail_Review_Defaults_$full_name xmail_Review_Defaults_$include_original xmail_Review_Defaults_$save_mailbox xmail_Review_Defaults_$save_messages xmail_create_menu_ xmail_display_help_ xmail_error_$no_code xmail_get_choice_ xmail_window_manager_$reconnect THE FOLLOWING EXTERNAL VARIABLES ARE USED BY THIS PROGRAM. iox_$user_output xmail_data_ptr xmail_err_$exit_now xmail_err_$help_requested xmail_windows LINE LOC LINE LOC LINE LOC LINE LOC LINE LOC LINE LOC LINE LOC 14 000207 92 000215 93 000231 95 000251 97 000252 98 000257 99 000307 105 000350 106 000367 107 000403 108 000407 111 000412 112 000424 114 000437 115 000441 116 000442 118 000512 119 000513 120 000520 121 000526 122 000530 123 000541 124 000542 128 000543 141 000545 142 000557 143 000571 145 000573 146 000574 147 000615 149 000617 150 000620 151 000641 153 000643 154 000644 155 000665 157 000667 158 000670 159 000711 161 000713 162 000714 163 000735 165 000737 166 000740 167 000761 169 000763 172 000764 176 000766 177 001000 181 001040 ----------------------------------------------------------- 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