1 /* BEGIN INCLUDE FILE mcs_echo_neg_sys.incl.pl1   Bernard Greenberg 1/20/79 */
 2 
 3 /* Modified 6/29/79 by BSG for FNP echo negotiation */
 4 
 5 
 6 /****^  HISTORY COMMENTS:
 7   1) change(86-04-23,Coren), approve(86-04-23,MCR7300),
 8      audit(86-05-19,Beattie), install(86-07-08,MR12.0-1089):
 9      To increase size of break table and to add named constants for the size.
10                                                    END HISTORY COMMENTS */
11 
12 
13 /* This include file defines the wired structure for MCS echo negotiation */
14 
15 dcl echo_datap ptr;                                         /* Wired echo data ptr */
16 dcl WIRED_ECHO_BREAK_SIZE fixed bin internal static options (constant) init (255);
17 dcl WORDS_IN_ECHO_BREAK_TABLE fixed bin internal static options (constant) init (8);
18 
19 dcl 1 echo_data based (echo_datap) aligned,                 /* Wired echo data */
20     2 break (0: 255) bit (1) unaligned,                     /* 1 = break on this character */
21     2 synchronized bit (1) unal,                            /* Mux echo negotiation is synchronized */
22     2 mux_will_echnego bit (1) unal,                        /* Multiplexer accepted start_neg_echnego */
23     2 echo_start_pending_sndopt bit (1) unal,               /* Send start_n_e when SEND_OUTPUT comes */
24     2 awaiting_start_sync bit (1) unal,                     /* Awaiting mux reply ACK for start */
25     2 awaiting_stop_sync bit (1) unal,                      /* Awaiting mux reply ACK for stop */
26     2 pad bit (27) unaligned,
27     2 sync_ctr fixed bin (35),                              /* Protocol ctr for MUX echo neg */
28     2 chars_echoed fixed bin (9) unsigned unaligned,        /* Count of chars echoed */
29     2 horiz_room_left fixed bin (9) unsigned unaligned,     /* Room left on line */
30     2 rubout_trigger_chars (2) unaligned,                   /* Characters that cause rubout action */
31       3 char char (1) unaligned,
32     2 rubout_sequence_length fixed bin (4) unsigned unaligned, /* Length of rubout sequence, output */
33     2 rubout_pad_count fixed bin (4) unsigned unaligned,    /* Count of pads needed */
34     2 buffer_rubouts bit (1) unaligned,                     /* 1 = put rubouts and rubbed out in buffer */
35     2 rubout_sequence char (12) unaligned;                  /* Actual rubout sequence */
36 
37 /* END INCLUDE FILE mcs_echo_neg_sys.incl.pl1 */