CAC 2016-03-14

framing

set_framing_chars

bound_tty_active.s.archive/tty_index.pl1

tty_order:

           if order = "set_terminal_data"

               tcb.frame_begin = terminal_type_data.frame_begin;
               tcb.frame_end = terminal_type_data.frame_end;
               if tcb.frame_end ^= NUL
               then do;                                     /* ship framing chars to FNP */
                    sfc.frame_begin = tcb.frame_begin;
                    sfc.frame_end = tcb.frame_end;
                    call channel_manager$control (devx, "set_framing_chars", addr (sfc), ercode);
               end;

          else if order = "set_framing_chars"
               if (framing_chars.frame_end = NUL & framing_chars.frame_begin ^= NUL)
                                                            /* can't have begin without end */
               then ercode = error_table_$inconsistent;

               else do;
                    call forward_order ();
                    tcb.frame_begin = framing_chars.frame_begin;
                    tcb.frame_end = framing_chars.frame_end;

               end;

forward_order:
          call channel_manager$control (devx, order, argptr, ercode);

Tracks framing characters in tcb, calls channel_manager$control

bound_355_wired.s.archive/fnp_multiplexer.pl1

          else if order = "set_framing_chars"
          then do;
               mbx_data_len = 18;
               mbx_data = data_ptr -> based_bit18;          /* two characters are packed in halfword */
               opcode = set_framing_chars;
          end;

          call dn355$send_wcd (fnpp, pcbp, opcode, mbx_data_len, mbx_data_long);

include/mailbox_ops.incl.pl1

     set_framing_chars init (8),                            /* set characters for block transfer */

bound_kermit_.s.archive/kermit_comm_mgr_.pl1

  framing_chars.frame_begin = No_frame_begin;
  framing_chars.frame_end = ft_modes.eol_char;
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License