home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Standards 1993 July / Disc.iso / ccitt / 1988 / ascii / 7_3_08.txt < prev    next >
Encoding:
Text File  |  1991-12-22  |  105.7 KB  |  3,420 lines

  1.  
  2.  
  3.  
  4.        5i'
  5.  
  6.  
  7.        Recommendation T.62
  8.  
  9.  
  10.          CONTROL PROCEDURES FOR TELETEX AND GROUP 4 FACSIMILE SERVICES
  11.  
  12.  
  13.  
  14.             (Malaga-Torremolinos, 1984; amended at Melbourne, 1988)
  15.  
  16.  
  17.                                     CONTENTS
  18.  
  19.  
  20.  
  21.        1         General
  22.  
  23.  
  24.                1.1         Scope
  25.  
  26.                1.2         Fundamental principles
  27.  
  28.                1.3         Definitions
  29.  
  30.  
  31.        2         Functions of the procedures
  32.  
  33.  
  34.                2.1         General
  35.  
  36.                2.2         Background information
  37.  
  38.  
  39.        3         Elements of procedure
  40.  
  41.  
  42.                3.1         General
  43.  
  44.                3.2         Session commands, responses and parameters
  45.  
  46.                3.3         Session procedures
  47.  
  48.                3.4         Document commands, responses and parameters
  49.  
  50.                3.5         General rules for  document  elements  of  pro-
  51.        cedure
  52.  
  53.                3.6         Rules for document state diagrams in the  basic
  54.        Teletex service
  55.  
  56.  
  57.        4         Error recovery
  58.  
  59.  
  60.                4.1         General principles
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.                4.2         Rules for checkpointing
  71.  
  72.                4.3         Acknowledgement window
  73.  
  74.  
  75.        5         Coding
  76.  
  77.  
  78.                5.1         Definitions of terms used in coding
  79.  
  80.                5.2         Principles of coding
  81.  
  82.                5.3         Coding of length indicators
  83.  
  84.                5.4         Coding of command and response identifiers  for
  85.        session elements
  86.  
  87.                5.5         Coding of command and response identifiers  for
  88.        document elements
  89.  
  90.                5.6          Coding  of  parameter  group  identifiers  and
  91.        parameter identifiers
  92.  
  93.                5.7         Parameter values
  94.  
  95.  
  96.        Annex A         -         Definitions
  97.  
  98.  
  99.        Annex B         -         Telematic modes of operation
  100.  
  101.        Annex C         -         Definition of valid/in valid session pro-
  102.        tocol data units
  103.  
  104.        Annex D         -         General description and rules  of  opera-
  105.        tion for state diagrams
  106.  
  107.        Annex E         -         Types of document
  108.  
  109.        Annex F         -         Interactive session  protocol  and  typed
  110.        data transfer for the telematic services
  111.  
  112.        Annex G         -         Detailed state  transition  diagrams  for
  113.        session/document procedures
  114.  
  115.        Annex H           -            State    transition    tables    for
  116.        session/document procedures
  117.  
  118.  
  119.        1       General
  120.  
  121.  
  122.  
  123.        1.1         Scope
  124.  
  125.  
  126.             1.1.1 Recommendation F.200 lays down the  provisions  for  the
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.        operation  of  the  automatic international Teletex service. On the
  137.        technical side, Recommendation T.60 specifies the requirements  for
  138.        international   compatibility   between   Teletex   terminals   and
  139.        Recommendation T.61 defines  the  character  repertoire  and  coded
  140.        character sets for the international Teletex service.
  141.  
  142.  
  143.             1.1.2 Recommendation F.161 defines the rules to be followed in
  144.        the   Group 4   facsimile   service.   On   the   technical   side,
  145.        Recommendations T.563, T.503 and T.521 specify the requirements for
  146.        Group 4  facsimile  apparatus  and  Recommendation T.6  defines the
  147.        Group 4 facsimile coding scheme and facsimile control functions.
  148.  
  149.             1.1.3 T.400 series  of  Recommendations  define  the  document
  150.        interchange  protocol  which  may  be used when services other than
  151.        basic Teletex  are  utilized;  e.g. Group 4  facsimile,  mixed-mode
  152.        operation, etc.
  153.  
  154.             1.1.4  Network-dependent  communication  procedures  for  call
  155.        establishment  and  termination are defined in Recommendations T.60
  156.        and T.563 for the Teletex and Group 4 facsimile  services,  respec-
  157.        tively.
  158.  
  159.             1.1.5 This Recommendation defines the end-to-end procedures to
  160.        be used within the Teletex and Group 4 facsimile services.
  161.  
  162.             1.1.6   Specifically,   this   Recommendation   concerns   the
  163.        end-to-end  control  procedures  that  are network-independent. The
  164.        network-dependent procedures forming  a  network-independent  tran-
  165.        sport  service are specified in Recommendations T.70 and, as appli-
  166.        cable, T.71.
  167.  
  168.             1.1.7 The procedure described in  this  Recommendation  should
  169.        also be used between a Teletex terminal and a Teletex/telex conver-
  170.        sion facility (see Recommendations F.201, T.60 and T.390) and  when
  171.        a  Teletex  or  G4  facsimile terminal takes an access to IPMS (see
  172.        Recommendations T.422, T.60, T.330 and T.563).
  173.  
  174.             1.1.8 Interworking between Teletex  and  services  other  than
  175.        telex  and  IPMS,  and between Group 4 facsimile and services other
  176.        than IPMS is for further study.
  177.  
  178.             1.1.9 This Recommendation assumes that the terminal initiating
  179.        a call is the terminal regarded as responsible for call charges and
  180.        that it retains full control of the call.
  181.  
  182.             1.1.10  The  provisions  in  this  Recommendation  are  to  be
  183.        regarded  as  a  first  stage  in  the establishment of Teletex and
  184.        Group 4     facsimile     services     in      accordance      with
  185.        Recommendations F.200,  T.60,  T.61 and T.70 as defined in 1980 and
  186.        Recommendations F.161,  T.5,  T.6  and T.73  as  defined  in  1984,
  187.        respectively.  Enhancements  and additions to these Recommendations
  188.        must ensure compatibility with established services.
  189.  
  190.  
  191.        1.2         Fundamental principles
  192.  
  193.  
  194.  
  195.  
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202.             1.2.1 The relationship between the control procedures in  this
  203.        Recommendation  and the transport service shall respect the princi-
  204.        ple that the higher level procedures require the transport  service
  205.        to  preserve  the  structure  of  blocks, which may be of arbitrary
  206.        size, given to it by the session level for transmission.  Only  one
  207.        session  command  or  response is allowed in such a block. Only one
  208.        document command or response is allowed in a  CSUI  or  RSUI  field
  209.        (command or response session user information).
  210.  
  211.  
  212.             1.2.2 The sending terminal is responsible  for  verifying  the
  213.        correct  delivery  of  the  information  in  its  document  to  the
  214.        recipient's physical media, i.e. store, hard copy device. This  may
  215.        include linking and other relevant information.
  216.  
  217.  
  218.        1.3         Definitions
  219.  
  220.  
  221.             1.3.1 Terms and their definitions are listed in Annex A. Where
  222.        appropriate,  each  definition  mentions  the control procedures to
  223.        which it refers.
  224.  
  225.  
  226.             1.3.2 Some of the terms used in this Recommendation have  been
  227.        defined  in ways that may differ from the meanings of similar terms
  228.        in other Recommendations.
  229.  
  230.  
  231.        2       Functions of the procedures
  232.  
  233.  
  234.  
  235.        2.1         General
  236.  
  237.  
  238.             2.1.1 The broad functional categories  provided  to  implement
  239.        the control procedures are listed in Tables 1/T.62 and 2/T.62.
  240.  
  241.                                   H.T. [T1.62]
  242.                                   TABLE 1/T.62
  243.                          Session commands and responses
  244.  
  245.                    ___________________________________________
  246.  
  247.                    ___________________________________________
  248.  
  249.                   |
  250.                   |
  251.                                 |
  252.                                 |
  253.                                                |
  254.                                                |
  255.                                                       |
  256.                                                       |
  257.                                                              |
  258.                                                              |
  259.  
  260.  
  261.                                                Tableau 1/T.62 [T1.62], p.1
  262.  
  263.  
  264.  
  265.        BLANC
  266.  
  267.  
  268.                                   H.T. [T2.62]
  269.                                   TABLE 2/T.62
  270.                         Document commands and responses
  271.  
  272.  
  273.  
  274.  
  275.  
  276.  
  277.  
  278.  
  279.  
  280.                    ___________________________________________
  281.  
  282.                    ___________________________________________
  283.  
  284.                   |
  285.                   |
  286.                                 |
  287.                                 |
  288.                                                |
  289.                                                |
  290.                                                       |
  291.                                                       |
  292.                                                              |
  293.                                                              |
  294.  
  295.  
  296.                                                Tableau 1/T.62 [T2.62], p.2
  297.  
  298.  
  299.  
  300.  
  301.             2.1.2 The procedural elements have also  been  listed  in  the
  302.        appropriate  categories  since  the  definitions  of  the  elements
  303.        together with their associated rules completely specify  the  func-
  304.        tions of the procedures.
  305.  
  306.  
  307.        2.2         Background information
  308.  
  309.  
  310.             Note  - S 2 is given as an aid for the  understanding  of  the
  311.        procedures.  The  exact  definitions  of the control procedures are
  312.        given in subsequent sections of the Recommendation.
  313.  
  314.  
  315.        2.2.1         Exchange of service identification
  316.  
  317.  
  318.             2.2.1.1 Two terminals, when connected by a transport  service,
  319.        will,  at  session  establishment, exchange information identifying
  320.        whether they are participating in the Telematic services  and  thus
  321.        they will invoke the relevant service facilities and the associated
  322.        protocol.
  323.  
  324.  
  325.  
  326.        2.2.2         Negotiation of optional capabilities
  327.  
  328.  
  329.             2.2.2.1 Two methods are provided. The first is used at session
  330.        initiation  to  exchange a limited list of capabilities. The second
  331.        method may be used when  required,  after  session  initiation,  to
  332.        indicate the sender's requirements for extended capabilities.
  333.  
  334.  
  335.  
  336.        2.2.3         Negotiation of storage requirements
  337.  
  338.  
  339.             2.2.3.1 Storage availability can be indicated in the following
  340.        ways:
  341.  
  342.  
  343.                a)         When a Teletex session  is  established,  it  is
  344.        implicitly  assumed  that  there is adequate receive memory for the
  345.        call.  Exceptionally a receiver memory  overflow  will  occur.  The
  346.        continued  sending  of the document from the source will be stopped
  347.        by the sink. The sink shall indicate the reason  for  stopping  the
  348.        transmission.
  349.  
  350.  
  351.  
  352.  
  353.  
  354.  
  355.  
  356.  
  357.  
  358.                b)         When a Group 4 facsimile session is established,
  359.        it  can  only  be  assumed  that  the  called terminal has adequate
  360.        recording paper to print at least  one  page  of  information  (for
  361.        basic  Class 1  apparatus).  Negotiation of storage requirements is
  362.        mandatory for Group 4 Classes 2 and 3 facsimile apparatus.   Having
  363.        negotiated  this requirement, exceptionally, a receive memory over-
  364.        flow may occur. The continued sending  of  the  document  from  the
  365.        source  will  be  stopped  by the sink. The sink shall indicate the
  366.        reason for stopping the transmission.
  367.  
  368.                c)         The provision is also made in the procedure  for
  369.        a  mandatory  indication that the ability of the receiving terminal
  370.        to continue to accept traffic is jeopardized.
  371.  
  372.                d)         The control procedure also provides  the  possi-
  373.        bility  to  investigate  the  storage availability at the receiving
  374.        terminal prior to the transmission of a document.
  375.  
  376.        3       Elements of procedure
  377.  
  378.  
  379.  
  380.        3.1         General
  381.  
  382.  
  383.             3.1.1 The paragraphs below contain elements of  procedure  and
  384.        rules of use which, when combined, define the control procedures.
  385.  
  386.  
  387.             3.1.2 Definitions applying to the elements of procedure may be
  388.        found in Annexes A and B.
  389.  
  390.             3.1.3 Annex D describe the session suspension function,  which
  391.        is not applicable to the basic services.
  392.  
  393.  
  394.        3.2         Session commands, responses and parameters
  395.  
  396.  
  397.             (For  a  summary  of  session  commands  and  responses,   see
  398.        Table 1/T.62.)
  399.  
  400.  
  401.        3.2.1         Command session start (CSS)
  402.  
  403.  
  404.             3.2.1.1 The CSS initiates entry into a session.
  405.  
  406.  
  407.  
  408.             3.2.1.2 Command parameters are:
  409.  
  410.  
  411.                a)         Service identifier  - this  mandatory  parameter
  412.        identifies  whether  the  sender of this command intends to use the
  413.        Telematic  service
  414.  
  415.  
  416.  
  417.  
  418.  
  419.  
  420.  
  421.  
  422.  
  423.  
  424.                b)         Terminal identifier  - this mandatory  parameter
  425.        identifies  the  calling  terminal  in accordance with the terminal
  426.        identification specified in Recommendation F.200.
  427.  
  428.                c)         Date and time  - this mandatory parameter  gives
  429.        date and time information as specified in Recommendation F.200.
  430.  
  431.                d)          Additional  session  reference  number   - this
  432.        number  shall  be  used  in addition to the basic session reference
  433.        (terminal identifier of the called terminal, terminal identifier of
  434.        the  calling terminal, date and time) when the basic session refer-
  435.        ence is not sufficient to uniquely identify the  session  and  such
  436.        unique identification is required. If the additional session refer-
  437.        ence number is not used, the parameter shall not be included.
  438.  
  439.                e)          Non-basic terminal capabilities  - these param-
  440.        eters  indicate which of the non-basic terminal capabilities listed
  441.        in Table 3/T.62 for the Teletex service are available as  receiving
  442.        capabilities  of  the  sender of this command. These parameters are
  443.        mandatory if the terminal is capable of any of the  specific  func-
  444.        tions  listed  in  these  table. Absence of the parameter indicates
  445.        that the specific function is not available.
  446.  
  447.                f )         Non-basic session capabilities  - if used, this
  448.        non-mandatory parameter indicates which non-basic session capabili-
  449.        ties are available as receiving capabilities of the sender of  this
  450.        command.
  451.  
  452.                Note  - Examples of the use of this parameter  are  session
  453.        suspension  (see  Annex D)  and  negotiation of the window size for
  454.        checkpoint (see SS 3.3.2.7 and 4.3).
  455.  
  456.                g)          Inactivity timer  - this non-mandatory  parame-
  457.        ter  is  used  to  negotiate the value of the inactivity timer (see
  458.        SS 4.1.2 and 5.7.2.11).
  459.  
  460.                h)         Session service functions  - this  non-mandatory
  461.        parameter  is  used  to  specify  the  session service capabilities
  462.        available. This parameter  is  used  for  the  interactive  session
  463.        protocol (ISP) and typed data transfer (TDX).
  464.  
  465.                 Note  - Examples of the use  of  this  parameter  are  for
  466.        further study in association with Annex F.
  467.  
  468.                i)          Session user data  - this non-mandatory parame-
  469.        ter  is  used to convey data of the presentation and/or application
  470.        protocol(s). All information necessary to  negotiate  the  document
  471.        interchange  protocol  parameters  defined  in  the T.400 Series of
  472.        Recommendations is contained in this parameter field.
  473.  
  474.                j)              Non-standardized    capabilities     - this
  475.        non-mandatory  parameter is used to ascertain compatibility regard-
  476.        ing the use of non-standardized terminal capabilities.
  477.  
  478.                 The first octet following the parameter identifier and the
  479.        length  indicator  identifies a particular country. The meaning and
  480.        code assignments of subsequent octets are defined by the  indicated
  481.  
  482.  
  483.  
  484.  
  485.  
  486.  
  487.  
  488.  
  489.  
  490.        country.
  491.  
  492.                k)          Private use parameters  - these parameters  are
  493.        not mandatory. Their definition and use are not standardized.
  494.  
  495.  
  496.        3.2.2         Response session start positive (RSSP)
  497.  
  498.  
  499.             3.2.2.1 The RSSP shall be used to  acknowledge  entry  into  a
  500.        session.  It indicates that the CSS command has been understood and
  501.        is in a correct format.
  502.  
  503.  
  504.             3.2.2.2 Response parameters are:
  505.  
  506.  
  507.                a)         Service identifier  - this  mandatory  parameter
  508.        identifies  whether  the sender of this response intends to use the
  509.        Telematic service
  510.  
  511.                Note 1  - For the basic Teletex services, the service iden-
  512.        tifiers in RSSP and CSS must be identical.
  513.  
  514.                Note 2  - In case of interconnections between the terminals
  515.        of  different services, the service identifiers in RSSP and CSS may
  516.        not be identical.
  517.  
  518.                b)         Terminal identifier  - this mandatory  parameter
  519.        provides  the  terminal identification of the sender of the RSSP in
  520.        accordance  with   the   terminal   identification   specified   in
  521.        Recommendation F.200.
  522.  
  523.  
  524.                c)          Date and time  - this mandatory parameter  must
  525.        be  identical to the corresponding parameter in the CSS. It is used
  526.        in conjunction with the terminal identifications of both  terminals
  527.        in a session as a reference to that session.
  528.  
  529.                d)          Additional session reference number  - if  used
  530.        in the CSS and if used by the receiver of CSS, this parameter shall
  531.        have the same value as in the CSS. In this case, it shall  also  be
  532.        used,  together  with the basic session reference when referring to
  533.        this session in a CDC command. If it is not used by the receiver of
  534.        CSS, it shall not appear in the RSSP.
  535.  
  536.                e)          Non-basic  terminal  capabilities  (i.e.  those
  537.        available  as  receiving  capabilities of the sender of the RSSP) -
  538.         the same conditions apply as for S 3.2.1.2 e) above.
  539.  
  540.                f  )          Non-basic  session  capabilities   - as   for
  541.        S 3.2.1.2 f ) above.
  542.  
  543.                g)         Session control functions  - this  parameter  is
  544.        used to indicate "request control" and "request session suspension"
  545.        as defined in this Recommendation.
  546.  
  547.  
  548.  
  549.  
  550.  
  551.  
  552.  
  553.  
  554.  
  555.  
  556.                h)         Inactivity timer  - as for S 3.2.1.2 g) above.
  557.  
  558.                i)         Session service functions  - as for S 3.2.1.2 h)
  559.        above.
  560.  
  561.                j)         Session user data  - as for S 3.2.1.2 i) above.
  562.  
  563.                k)           Non-standardized   capabilities   -   as   for
  564.        S 3.2.1.2 j) above.
  565.  
  566.                l)         Private use parameters   - as  for  S 3.2.1.2 k)
  567.        above.
  568.                                   H.T. [T3.62]
  569.                                   TABLE 3/T.62
  570.                 Non-basic terminal capabilities included in CSS
  571.  
  572.                       _____________________________________
  573.  
  574.                       _____________________________________
  575.  
  576.                      |
  577.                      |
  578.                                   |
  579.                                   |
  580.                                                           |
  581.                                                           |
  582.  
  583.  
  584.                                                Tableau 3/T.62 [T3.62], p.3
  585.  
  586.  
  587.  
  588.        3.2.3         Response session start negative (RSSN)
  589.  
  590.  
  591.             3.2.3.1 The negative response indicates that the  session  was
  592.        not  entered  by  the  receiver  of the CSS. It is not mandatory to
  593.        indicate the reasons for  rejection.  A  non-mandatory  private-use
  594.        parameter may be used with this response.
  595.  
  596.  
  597.             Note  - It should be noted that existing equipment may send an
  598.        RSSN without any parameter fields. This shall not be regarded as an
  599.        error.
  600.  
  601.  
  602.             3.2.3.2 Response parameters are:
  603.  
  604.  
  605.                a)          Service identifier  - this mandatory  parameter
  606.        identifies  whether  the sender of this response intends to use the
  607.        telematic service.
  608.  
  609.                 Note 1  - For the basic services, the service  identifiers
  610.        in RSSN and CSS must be identical.
  611.  
  612.                Note 2  - In case of interconnections between the terminals
  613.        of  different services, the service identifiers in RSSN and CSS may
  614.        not be identical.
  615.  
  616.                b)         Terminal identifier  - this mandatory  parameter
  617.        provides  the  terminal identification of the sender of the RSSN in
  618.        accordance  with   the   terminal   identification   specified   in
  619.        Recommendation F.200.
  620.  
  621.  
  622.  
  623.  
  624.  
  625.  
  626.  
  627.  
  628.  
  629.  
  630.                c)          Date and time  - this mandatory parameter  must
  631.        be  identical to the corresponding parameter in the CSS. It is used
  632.        in conjunction with the terminal identifications of both  terminals
  633.        in a session as a reference to that session.
  634.  
  635.                d)          Additional session reference number  - if  used
  636.        in the CSS and if used by the receiver of CSS, this parameter shall
  637.        have the same value as in the  CSS.  If  it  is  not  used  by  the
  638.        receiver of CSS, it shall not appear in the RSSN.
  639.  
  640.                e)          Non-basic  terminal  capabilities  (i.e.  those
  641.        available  as  receiving  capabilities of the sender of the RSSN) -
  642.         the same conditions apply as for S 3.2.1.2 e) above.
  643.  
  644.                f  )          Non-basic  session  capabilities   - as   for
  645.        S 3.2.1.2 f ) above.
  646.  
  647.                g)          Reason for sending  the  negative  response   -
  648.         this  parameter  is  used  to  indicate the reason for sending the
  649.        RSSN. The parameter value may be  presented  to  an  operator  when
  650.        received.  One  of  the following reasons may be used as a value of
  651.        the parameter:
  652.  
  653.                -         no reason given;
  654.  
  655.                -          temporarily unable to enter the  session.  Shall
  656.        be used e.g. in the case of memory full;
  657.  
  658.                -          text message of maximum 69 characters. It may be
  659.        possible for the operator to enter this message from the keyboard.
  660.  
  661.                h)         Session service functions: as  for  S 3.2.1.2 h)
  662.        above.
  663.  
  664.                i)         Session user data: as for S 3.2.1.2 i) above.
  665.  
  666.                j)         Private  use  parameters:  as  for  S 3.2.1.2 k)
  667.        above.
  668.  
  669.  
  670.        3.2.4         Command session end (CSE)
  671.  
  672.  
  673.             3.2.4.1 The CSE is used for normal (or error-free) termination
  674.        of a session.
  675.  
  676.  
  677.             Note  - A parameter is reserved to indicate whether the  tran-
  678.        sport  connection  is to be cleared. Absence of this parameter will
  679.        cause the transport connection to be cleared.
  680.  
  681.  
  682.        3.2.5         Response session end positive (RSEP)
  683.  
  684.  
  685.             3.2.5.1 The RSEP indicates to the calling  terminal  that  the
  686.        called terminal has entered the idle state in an orderly manner.
  687.  
  688.  
  689.  
  690.  
  691.  
  692.  
  693.  
  694.  
  695.  
  696.        3.2.6         Command session abort (CSA)
  697.  
  698.  
  699.             3.2.6.1 The CSA may be used at any time by either terminal  to
  700.        terminate  a  session,  whenever a condition is detected indicating
  701.        that the session cannot be continued successfully. CSA  shall  only
  702.        be used when there is no other suitable way of ending the session.
  703.  
  704.  
  705.             3.2.6.2 One of the following reasons for the abnormal termina-
  706.        tion of the session must be given as a CSA parameter:
  707.  
  708.  
  709.                a)         local terminal error;
  710.  
  711.                b)         unrecoverable procedural error;
  712.  
  713.                c)         reason not defined.
  714.  
  715.             Note  - One value is reserved to indicate  whether  the  tran-
  716.        sport connection is to be cleared.
  717.  
  718.  
  719.        3.2.7         Response session abort positive (RSAP)
  720.  
  721.  
  722.             3.2.7.1 The RSAP response indicates to the  sender  of  a  CSA
  723.        command  (either the source or the sink terminal) that the receiver
  724.        of CSA has entered the idle state in an orderly manner.
  725.  
  726.  
  727.  
  728.  
  729.        3.2.8         Command session user information (CSUI)
  730.  
  731.  
  732.             3.2.8.1 The CSUI is used to indicate to the receiver that  the
  733.        associated  information  field  of  this  command  conveys command,
  734.        parameters and information for the document procedures.
  735.  
  736.  
  737.             3.2.8.2 CSUI does not call for a response. There is  no  rela-
  738.        tionship between this command and the response RSUI.
  739.  
  740.  
  741.        3.2.9         Response session user information (RSUI)
  742.  
  743.  
  744.             3.2.9.1 The RSUI is used to indicate to the receiver  of  this
  745.        response  (source)  that  the  associated information field conveys
  746.        response  and   parameters   for   the   document   procedures.   A
  747.        non-mandatory parameter, session control function, may be used with
  748.        this response.
  749.  
  750.  
  751.             3.2.9.2 This RSUI response is not related to any CSUI command.
  752.  
  753.  
  754.  
  755.  
  756.  
  757.  
  758.  
  759.  
  760.  
  761.  
  762.             3.2.9.3 The parameter, session control  functions  ,  is  sent
  763.        with RSUI in conjunction with document response. Use of this param-
  764.        eter with RSUI but without an associated document response is  per-
  765.        mitted  only  in  the  case  where the session may intentionally be
  766.        inactive for a period of time.  In  this  case,  when  no  document
  767.        responses are being generated, use of the session control functions
  768.        parameter is permitted without an associated document response. For
  769.        the  Teletex  service, this requires a preceding negotiation of the
  770.        inactivity timer to a value different from the default value.
  771.  
  772.  
  773.        3.2.10         Command session change control (CSCC)
  774.  
  775.  
  776.  
  777.        3.2.10.1  In the two-way alternate  (TWA)  mode  CSCC  changes  the
  778.        source/sink relationship between the two terminals.
  779.  
  780.  
  781.             Note  - A signal for request  control  is  available  in  some
  782.        responses  (see  coding  scheme). It may be used to indicate that a
  783.        terminal sending this signal has information to transmit. The  ter-
  784.        minal  receiving  this signal is not required to take any action if
  785.        this signal is detected.
  786.  
  787.  
  788.        3.2.11         Response session change control positive (RSCCP)
  789.  
  790.  
  791.  
  792.        3.2.11.1  The RSCCP indicates to the sender of the  CSCC  that  the
  793.        sink terminal intends to enter the session sending state.
  794.  
  795.  
  796.        3.3         Session procedures
  797.  
  798.  
  799.  
  800.        3.3.1         Session modes of operation
  801.  
  802.  
  803.             3.3.1.1 The following provisions concern the TWA mode of  ses-
  804.        sion operation:
  805.  
  806.  
  807.                a)         the basic protocol provides  the  capability  of
  808.        the TWA mode;
  809.  
  810.                b)          at session initiation, the sender of the CSS is
  811.        defined  as being the current source of any text information and is
  812.        therefore the source terminal;
  813.  
  814.                c)          the CSCC exchanges the source/sink relationship
  815.        between  the two terminals. The CSCC command should only be invoked
  816.        outside document boundaries.
  817.  
  818.                d)         only the terminal that is currently  the  source
  819.  
  820.  
  821.  
  822.  
  823.  
  824.  
  825.  
  826.  
  827.  
  828.        terminal may  send the CSCC;
  829.  
  830.                e)          there is no requirement for sending text infor-
  831.        mation prior to sending a CSCC;
  832.  
  833.                f )         when the called terminal has finished transmit-
  834.        ting text, it shall hand back the right of sending text to the cal-
  835.        ling terminal.  Only the calling terminal is allowed to send CSE.
  836.  
  837.             3.3.1.2 The following provisions concern the one-way  communi-
  838.        cation (OWC) mode of session operation:
  839.  
  840.  
  841.                a)         the OWC mode is achieved by the CSS  sender  not
  842.        issuing a CSCC;
  843.  
  844.                b)         there is no requirement to  send  text  informa-
  845.        tion.
  846.  
  847.                c)         this mode is a subset of TWA.
  848.  
  849.  
  850.  
  851.        3.3.2         Rules for session elements of procedure
  852.  
  853.  
  854.             3.3.2.1 Only the terminal that has established  the  transport
  855.        connection (the calling terminal) shall send CSS.
  856.  
  857.  
  858.             3.3.2.2 It is the responsibility of the sender of CSS to exam-
  859.        ine  the  parameters  of  RSSP and to determine whether the session
  860.        should continue. If it is not to be continued, the session shall be
  861.        ended normally (by CSE).
  862.  
  863.             3.3.2.3 In continuing the session, neither terminal is permit-
  864.        ted  to  use any procedure or to send any information that does not
  865.        comply with the receiving capabilities  indicated  by  the  session
  866.        partner  in the service identifier and non-basic session and termi-
  867.        nal capabilities parameters of the  CSS/RSSP  exchange  at  session
  868.        initiation and/or by the parameters of CDCL/RDCLP exchange.
  869.  
  870.             3.3.2.4 In the TWA or OWC mode, only the  sender  of  CSS  may
  871.        send CSE when he is the current source.
  872.  
  873.             3.3.2.5 In the TWA mode, the recipient of both  CSS  and  CSCC
  874.        must terminate his period as source by sending CSCC.
  875.  
  876.             3.3.2.6 In any mode of operation, CSA may be sent at any  time
  877.        by either terminal whenever a condition is detected indicating that
  878.        the session cannot be successfully continued (e.g. due  to  failure
  879.        or  charging problems). The following rules are applied to the ses-
  880.        sion abort procedure :
  881.  
  882.  
  883.                a)          the session abort procedure is in general  com-
  884.        pleted when the sender of a CSA command receives an RSAP response;
  885.  
  886.  
  887.  
  888.  
  889.  
  890.  
  891.  
  892.  
  893.  
  894.                b)          the  terminal  sending  the  CSA  waits  for  a
  895.        response  RSAP.  In  state 14,  all  other  commands  or  responses
  896.        received will be discarded.  If  RSAP  is  not  received  before  a
  897.        time-out  (e.g. T = 4 seconds),  the  terminal  that  send  the CSA
  898.        clears the transport connection.
  899.  
  900.                Note  - In all  cases  the  transport  connection  must  be
  901.        cleared when the CSA timer has expired.
  902.  
  903.             3.3.2.7 The following rules should apply to the use of  window
  904.        size :
  905.  
  906.  
  907.                a)         the indication of the window size  parameter  is
  908.        not
  909.  
  910.        mandatory for the Teletex service, but is mandatory for the Group 4
  911.        facsimile  service.  It  may have a value in the range of 1 to 255.
  912.        The absence of this parameter in CSS or its corresponding  response
  913.        must  be  interpreted as the default value of three for the Teletex
  914.        service;
  915.  
  916.                b)         all the Teletex terminals should support a  win-
  917.        dow  size  of 3.   Group 4  facsimile  terminals of Classes 2 and 3
  918.        should be able to support a window size of 3 when interworking with
  919.        Teletex.  Enhanced Teletex terminals (e.g. with mixed-mode capabil-
  920.        ity) and all Group 4 facsimile terminals may require  other  window
  921.        sizes;
  922.  
  923.                c)         the rule for the use of window size is that  the
  924.        source terminal is free to use any window size that does not exceed
  925.        the window size indicated by the  sink  terminal  (in  CSS  or  its
  926.        corresponding response);
  927.  
  928.                d)         if  the  sender  of  CSS  or  its  corresponding
  929.        response  is  a  basic Teletex terminal which does not indicate any
  930.        parameter for the window size, the receiver should  be  aware  that
  931.        the  sender may ignore any window size indicated and use the window
  932.        size of 3.
  933.  
  934.             3.3.2.8 Figure 1/T.62 is a state transition  diagram  for  TWA
  935.        and  OWC  session  modes. The change control commands and responses
  936.        [marked with an "a)" in the diagram] do not apply to the OWC  mode.
  937.        The  general  description and rules of operation for state diagrams
  938.        may be found at Annex D.
  939.  
  940.  
  941.             3.3.2.9 In a session where the use of the  RSUI  with  request
  942.        control  is  permitted  (as  specified in S 3.2.9.3), the following
  943.        will apply:
  944.  
  945.  
  946.                a)         an RSUI requesting control may be received after
  947.        giving control and before receiving any valid session protocol ele-
  948.        ment.  This shall not be regarded as a procedural error  and  shall
  949.        be discarded;
  950.  
  951.  
  952.  
  953.  
  954.  
  955.  
  956.  
  957.  
  958.  
  959.  
  960.                b)         an RSUI requesting control may be received after
  961.        sending  a  CSE  and  before  receiving  an RSEP. This shall not be
  962.        regarded as a procedural error and shall be discarded.
  963.  
  964.  
  965.  
  966.                                                          Figure 1/T.62, p.
  967.  
  968.  
  969.  
  970.  
  971.  
  972.        3.4         Document commands, responses and parameters
  973.  
  974.  
  975.             (For  summary  of  document  commands   and   responses,   see
  976.        Table 2/T.62.)
  977.  
  978.  
  979.        3.4.1         Command document start (CDS)
  980.  
  981.  
  982.             3.4.1.1 The CDS indicates the  start  of  a  document  to  the
  983.        receiver  of this command. It also indicates the start of the first
  984.        page.
  985.  
  986.  
  987.             3.4.1.2 Command parameters are:
  988.  
  989.  
  990.                a)         Service interworking identifier  - not a  manda-
  991.        tory field (see S 3.5.2).
  992.  
  993.                Note  - When communicating with a conversion facility ,  an
  994.        identifier may be required for:
  995.  
  996.                i)         Teletex/telex interworking - the identifier will
  997.        indicate  that the document(s) has been prepared in accordance with
  998.        the rules given in Recommendations F.200, T.90 and T.91;
  999.  
  1000.                ii)         Teletex/Videotex  interworking  -  for  further
  1001.        study;
  1002.  
  1003.                iii)         Teletex/facsimile interworking -  for  further
  1004.        study.
  1005.  
  1006.                b)         Document  type  identifier   - not  a  mandatory
  1007.        field.  If  a  normal document is used, this parameter shall not be
  1008.        indicated. If other types of document are used,  the  inclusion  of
  1009.        this  field  is obligatory (for a description of types of document,
  1010.        see Annex E).
  1011.  
  1012.                c)         Document reference number  - (see S 4.2.9).
  1013.  
  1014.                d)           Indication  of  required  terminal  capability
  1015.        (standardized  or  private  use) - not  a mandatory field, however,
  1016.        this parameter must  be  used  if  standardized  optional  terminal
  1017.  
  1018.  
  1019.  
  1020.  
  1021.  
  1022.  
  1023.  
  1024.  
  1025.  
  1026.        capabilities are required for the document.
  1027.  
  1028.                e)          Session user data  - this non-mandatory parame-
  1029.        ter  is  used to convey data of the presentation and/or application
  1030.        protocol(s). All information necessary to  negotiate  the  document
  1031.        interchange  protocol  parameters  defined  in  the T.400 Series of
  1032.        Recommendations is contained in this parameter field.
  1033.  
  1034.                f )            Private  use  parameters  (not  mandatory) -
  1035.         definition of such parameters is not standardized.
  1036.  
  1037.             3.4.1.3 There is no response to CDS except in the case  of  an
  1038.        error, for which RDGR is used.
  1039.  
  1040.  
  1041.  
  1042.        3.4.2         Response document general reject (RDGR)
  1043.  
  1044.  
  1045.             3.4.2.1 The RDGR may be used by the sink to  indicate  to  the
  1046.        source that a procedural error has occurred and that resynchroniza-
  1047.        tion is requested. The bit pattern of command or response up to and
  1048.        including the error shall be returned to the source. Only the first
  1049.        detected error within a command or response must  be  processed  by
  1050.        this method.
  1051.  
  1052.  
  1053.             3.4.2.2 The response parameter is the bit pattern required  by
  1054.        S 3.4.2.1.
  1055.  
  1056.             3.4.2.3 It is the responsibility of the terminal receiving  an
  1057.        RDGR response to take appropriate action.
  1058.  
  1059.             Note  - Use of RDGR for other kinds of error  is  for  further
  1060.        study.
  1061.  
  1062.  
  1063.        3.4.3         Command document continue (CDC)
  1064.  
  1065.  
  1066.             3.4.3.1 The CDC indicates to the receiver of this command  the
  1067.        continuation of transmission of a document that has previously been
  1068.        partially transmitted.
  1069.  
  1070.  
  1071.             3.4.3.2 Command parameters are:
  1072.  
  1073.  
  1074.                a)         Document linking information , in order to iden-
  1075.        tify the previous transmission of the partial document, including:
  1076.  
  1077.                -         the checkpoint  reference  number  (see  S 4.2.7)
  1078.        from which the transmission is being continued;
  1079.  
  1080.                -         the document reference number, which shall be the
  1081.        same as the document reference number in the CDS;
  1082.  
  1083.  
  1084.  
  1085.  
  1086.  
  1087.  
  1088.  
  1089.  
  1090.  
  1091.  
  1092.                -         the session reference information identifying the
  1093.        session in which the first part of the document was sent.
  1094.  
  1095.  
  1096.                Note 1  - If several continuations are required to complete
  1097.        transmission of a document, all are linked to the partial transmis-
  1098.        sion in which the CDS was used. The sequence of  checkpoint  refer-
  1099.        ence  numbers  is  then used to identify the correct sequencing for
  1100.        linking and all such continuations shall  be  transmitted  in  this
  1101.        sequence.
  1102.  
  1103.                 Note 2  - It is the responsibility of the receiving termi-
  1104.        nal to discard any text information that has been duplicated in the
  1105.        process of continuation of an interrupted transmission.
  1106.  
  1107.                 Note 3  - The checkpoint reference number appearing in CDC
  1108.        is  the  last checkpoint reference number for which a positive ack-
  1109.        nowledgement has been received.
  1110.  
  1111.                b)         Service interworking identifier  - not a  manda-
  1112.        tory field (see the note under S 3.4.1.2 a) for CDS).
  1113.  
  1114.                c)         Document  type  identifier   - not  a  mandatory
  1115.        field.  If  a normal Teletex document is used, this parameter shall
  1116.        not be indicated. If other types of document are used,  the  inclu-
  1117.        sion  of  this  field  is obligatory (for a description of types of
  1118.        document, see Annex E).
  1119.  
  1120.                d)         Document reference number (of the  current  ses-
  1121.        sion): see S 4.2.9.
  1122.  
  1123.                e)         Optionally, any other  parameter  field(s)  that
  1124.        appeared  in  the  CDS  command at the start of the document may be
  1125.        repeated as parameter(s) in CDC. Indication  of  required  terminal
  1126.        capability is mandatory if standardized optional terminal capabili-
  1127.        ties are required for the document. A terminal receiving a CDC that
  1128.        does not contain all of the terminal capabilities should not reject
  1129.        the continuation of the document.
  1130.  
  1131.                f )          Session user data  - this non-mandatory param-
  1132.        eter  is used to convey data of the presentation and/or application
  1133.        protocol(s). All information necessary to  negotiate  the  document
  1134.        interchange  protocol  parameters  defined  in  the T.400 series of
  1135.        Recommendations is contained in this parameter field.
  1136.  
  1137.             3.4.3.3 There is no response to CDC except in the case  of  an
  1138.        error, for which RDGR is used.
  1139.  
  1140.  
  1141.  
  1142.        3.4.4         Command document capability list (CDCL)
  1143.  
  1144.  
  1145.             3.4.4.1 The CDCL  initiates  an  exchange  of  information  to
  1146.        enable  a check of the terminal capabilities (both standardized and
  1147.        private use). The command shall include a list of  receiving  capa-
  1148.        bilities  that  may be needed at the receiver by the sender of this
  1149.  
  1150.  
  1151.  
  1152.  
  1153.  
  1154.  
  1155.  
  1156.  
  1157.  
  1158.        command.
  1159.  
  1160.  
  1161.             3.4.4.2 The command  may  also  be  used  to  investigate  the
  1162.        storage  capability  of the remote terminal. The required amount of
  1163.        storage (given in kilo-octets) is indicated in a parameter  of  the
  1164.        command in this case.
  1165.  
  1166.             3.4.4.3 Command parameters are the list of receiving capabili-
  1167.        ties and the required amount of storage.
  1168.  
  1169.             3.4.4.4 The CDCL command should only be invoked outside  docu-
  1170.        ment boundaries.
  1171.  
  1172.             3.4.4.5 The CDCL command may be used to negotiate the value of
  1173.        the  inactivity  timer.  The value of the inactivity timer that the
  1174.        sender of this command wishes to use is indicated  in  a  parameter
  1175.        field of this command.
  1176.  
  1177.             3.4.4.6 The CDCL command may be used  to  convey  the  session
  1178.        user  data  of the presentation and/or application protocol(s). All
  1179.        information necessary to negotiate the document interchange  proto-
  1180.        col  parameters  defined  in the T.400 series of Recommendations is
  1181.        contained in this parameter field.
  1182.  
  1183.             3.4.4.7 The CDCL command may be used to ascertain  compatibil-
  1184.        ity regarding the use of non-standardized capabilities.
  1185.  
  1186.  
  1187.        3.4.5         Response document capability list positive (RDCLP)
  1188.  
  1189.  
  1190.             3.4.5.1 The RDCLP response is sent by the receiver of  a  CDCL
  1191.        command as a positive acknowledgement of the command.
  1192.  
  1193.  
  1194.  
  1195.             3.4.5.2 If the CDCL command includes the information to  check
  1196.        the  non-basic  Teletex  terminal  capabilities,  the corresponding
  1197.        RDCLP response has to contain one of the following:
  1198.  
  1199.  
  1200.                a)         confirmation that all the requested capabilities
  1201.        are available at the receiver by use of "acceptance of CDCL parame-
  1202.        ters";
  1203.  
  1204.                b)            a  list  of  capabilities  available  at  the
  1205.        receiver  by  use  of the "non-basic Teletex terminal capabilities"
  1206.        parameter. This will indicate one of the following:
  1207.  
  1208.                -          the  complete  list  of  all  the   capabilities
  1209.        requested in  the CDCL;
  1210.  
  1211.                -          a list of the requested  capabilities  that  are
  1212.        available  at  the  receiver. Absence of parameters associated with
  1213.        non-basic capabilities indicated that  the  requested  capabilities
  1214.        are not available at the receiver;
  1215.  
  1216.  
  1217.  
  1218.  
  1219.  
  1220.  
  1221.  
  1222.  
  1223.  
  1224.                -         a complete list of non-basic receiving  capabili-
  1225.        ties, irrespective of the requested ones.
  1226.  
  1227.             3.4.5.3 If the CDCL is used for memory negotiation, one of the
  1228.        following shall be included in the RDCLP:
  1229.  
  1230.  
  1231.                a)         confirmation that the amount of memory requested
  1232.        is available and has been reserved;
  1233.  
  1234.                b)          indication  of  the  available  (and  reserved)
  1235.        amount of memory (in kilo-octets);
  1236.  
  1237.                c)         indication the requested memory capacity  cannot
  1238.        now be reserved;
  1239.  
  1240.                d)         indication that the available memory  cannot  be
  1241.        estimated  (through  either explicit indication or the absence of a
  1242.        memory negotiation parameter in a response to a response to a  CDCL
  1243.        with a memory request).
  1244.  
  1245.                 Note 1  - Storage that has been reserved by the CDCL  com-
  1246.        mand  can  be released after session termination or when a new CDCL
  1247.        with storage requirement indication is received.
  1248.  
  1249.                Note 2  - The use of the memory  negotiation  parameter  in
  1250.        RDCLP  (i.e. indicating  that  the memory cannot be estimated) when
  1251.        not present in CDCL is not prohibited. Therefore, reception of such
  1252.        RDCLP in response to CDCL is not to be regarded as an error.
  1253.  
  1254.             3.4.5.4 The RDCLP response may be used to negotiate the  value
  1255.        of the inactivity timer. The value of the inactivity timer that the
  1256.        sender of this response wishes to use is indicated in  a  parameter
  1257.        field of this response.
  1258.  
  1259.  
  1260.             3.4.5.5 The RDCLP response may be used to convey  the  session
  1261.        user  data  of the presentation and/or application protocol(s). All
  1262.        information necessary to negotiate the document interchange  proto-
  1263.        col  parameters  defined  in the T.400 Series of Recommendations is
  1264.        contained in this parameter field.
  1265.  
  1266.  
  1267.             3.4.5.6 The RDCLP response may be used to  ascertain  compati-
  1268.        bility  regarding  the  use of the non-standardized and private use
  1269.        capabilities.
  1270.  
  1271.  
  1272.  
  1273.        3.4.6         Command document end (CDE)
  1274.  
  1275.  
  1276.             3.4.6.1 The CDE shall be used to indicate to the  receiver  of
  1277.        this  command  the  end of a document. It also represents the final
  1278.        checkpoint to which a response shall be made.
  1279.  
  1280.  
  1281.  
  1282.  
  1283.  
  1284.  
  1285.  
  1286.  
  1287.  
  1288.  
  1289.  
  1290.             3.4.6.2 The command  parameter  is  the  checkpoint  reference
  1291.        number.
  1292.  
  1293.             3.4.6.3 The RDPBN shall be used as the  negative  response  to
  1294.        the checkpoint in CDE.
  1295.  
  1296.  
  1297.        3.4.7         Response document end positive (RDEP)
  1298.  
  1299.  
  1300.             3.4.7.1 The RDEP gives a positive acknowledgement to the  last
  1301.        checkpoint.  In the basic services, this is the last page reference
  1302.        number.
  1303.  
  1304.  
  1305.  
  1306.             3.4.7.2 The RDEP shall also indicate that the receiver:
  1307.  
  1308.  
  1309.                a)         has not detected any error;
  1310.  
  1311.                b)         accepts responsibility for  the  received  docu-
  1312.        ment; and
  1313.  
  1314.                c)         is ready to receive a new CDS or CDC.
  1315.  
  1316.             3.4.7.3 The RDEP shall include as a parameter  the  checkpoint
  1317.        reference number of the CDE.
  1318.  
  1319.  
  1320.             3.4.7.4 Only if  the  sink  terminal  has  sent  an  RDEP  and
  1321.        received  either a valid CDS, CDC, CDCL, CSE or CSCC, is it certain
  1322.        that the source terminal will not  use  error  recovery  procedures
  1323.        regarding  the preceding document. In all other cases it can happen
  1324.        that after sending RDEP a repetition of pages takes place  and  the
  1325.        duplications may be deleted by the sink terminal.
  1326.  
  1327.  
  1328.  
  1329.        3.4.8         Command document discard (CDD)
  1330.  
  1331.  
  1332.             3.4.8.1 The CDD shall be used to indicate to the  receiver  of
  1333.        this  command  the  abnormal  ending  of  a  document  and that the
  1334.        receiver of the command is not held responsible for the part of the
  1335.        document  received  so  far. Therefore, as a local function outside
  1336.        these control procedures, the receiver can delete the part  of  the
  1337.        text received.
  1338.  
  1339.  
  1340.             Note 1  - CDD is an invitation to discard  the  whole  of  the
  1341.        document  and not merely the part of the document transmitted since
  1342.        the last CDC.
  1343.  
  1344.             Note 2  - The receiving terminal may discard the document from
  1345.        its  memory  and/or  indicate to the operator that this part of the
  1346.        document has no value.
  1347.  
  1348.  
  1349.  
  1350.  
  1351.  
  1352.  
  1353.  
  1354.  
  1355.  
  1356.             Note 3  - The implementation of this function for Group 4 fac-
  1357.        simile is for further study.
  1358.  
  1359.             3.4.8.2 The reason for sending the CDD command may be given as
  1360.        a  CDD  parameter. If used, only one of the following reasons shall
  1361.        be indicated:
  1362.  
  1363.  
  1364.                a)          unable to  continue  a  session  (e.g.  due  to
  1365.        memory full, out of recording paper);
  1366.  
  1367.                b)         sequence error;
  1368.  
  1369.                c)         local terminal error;
  1370.  
  1371.                d)         unrecoverable procedural error;
  1372.  
  1373.                e)         no specific  reason  stated  (used  for  reasons
  1374.        other than those listed).
  1375.  
  1376.             3.4.8.3 The CDD may only be  used  to  terminate  the  current
  1377.        document,  instead  of  using CDE or CDR. It cannot be used after a
  1378.        CDR has been sent (see S 4.3.2).
  1379.  
  1380.  
  1381.             3.4.8.4 The receiver  of  a  CDD  is  allowed  to  delete  the
  1382.        received  part  of the document, but has no obligation to do so. If
  1383.        the text is not deleted, the operator shall be informed.
  1384.  
  1385.  
  1386.             3.4.8.5  No negative response to CDD  is  allowed  except  for
  1387.        error conditions where RDGR applies.
  1388.  
  1389.  
  1390.  
  1391.        3.4.9         Response document discard positive (RDDP)
  1392.  
  1393.  
  1394.             3.4.9.1 The RDDP acknowledges the CDD and indicates  that  the
  1395.        receiver of the command is ready to receive a new CDS or CDC.
  1396.  
  1397.  
  1398.  
  1399.        3.4.10         Command document resynchronize (CDR)
  1400.  
  1401.  
  1402.  
  1403.        3.4.10.1  The CDR shall be used by the source to  indicate  to  the
  1404.        sink the point of resynchronization abnormally end that document.
  1405.  
  1406.  
  1407.  
  1408.  
  1409.        3.4.10.2  The reason for an abnormal ending of a  document  may  be
  1410.        given  as  a CDR parameter. If used, only one of the following rea-
  1411.        sons may be given:
  1412.  
  1413.  
  1414.  
  1415.  
  1416.  
  1417.  
  1418.  
  1419.  
  1420.  
  1421.  
  1422.                a)          unable  to  continue  a  session  (e.g. due  to
  1423.        memory full, out of recording paper);
  1424.  
  1425.                b)         sequence error;
  1426.  
  1427.                c)         local terminal error;
  1428.  
  1429.                d)         unrecoverable procedural error;
  1430.  
  1431.                e)         no specific  reason  stated  (used  for  reasons
  1432.        other than those listed).
  1433.  
  1434.  
  1435.        3.4.10.3  No negative response to CDR is allowed except  for  error
  1436.        conditions where RDGR applies.
  1437.  
  1438.  
  1439.  
  1440.        3.4.11         Response document resynchronize positive (RDRP)
  1441.  
  1442.  
  1443.  
  1444.        3.4.11.1  The RDRP is sent by the receiver of a CDR as  a  positive
  1445.        acknowledgement of the command.
  1446.  
  1447.  
  1448.        3.4.11.2  If RDRP is used within a document,  it  confirms  to  the
  1449.        sender  of  a  CDR  that  the  sender  of RDRP has already accepted
  1450.        responsibility for the received document (up to the last checkpoint
  1451.        for  which  a  positive acknowledgement has been sent). It does not
  1452.        indicate that the sender of RDRP will be able to perform linking of
  1453.        the following parts of the interrupted document.
  1454.  
  1455.        3.4.11.3  The control  procedures  provide  a  means  for  resuming
  1456.        transmission of an interrupted document.
  1457.  
  1458.        3.4.11.4  The linking of the parts of an interrupted document is  a
  1459.        local  operation  at  the  receiver and is therefore not within the
  1460.        responsibility of the control  procedures.  Thus  these  procedures
  1461.        cannot  guarantee  that this linking of parts of a document will be
  1462.        effected.
  1463.  
  1464.  
  1465.        3.4.12         Command document user information (CDUI)
  1466.  
  1467.  
  1468.  
  1469.        3.4.12.1  The CDUI indicates to the receiver of this  command  that
  1470.        the  associated  information  is to be interpreted as the user text
  1471.        information field being conveyed.
  1472.  
  1473.  
  1474.        3.4.12.2  The basic services do not require any parameter for CDUI.
  1475.        The  procedure  provides means for adding parameters. Any such need
  1476.        is for further study. For the basic services a CDUI has to  contain
  1477.        a  user information field. The need for having CDUIs without infor-
  1478.        mation field is for further study.
  1479.  
  1480.  
  1481.  
  1482.  
  1483.  
  1484.  
  1485.  
  1486.  
  1487.  
  1488.        3.4.12.3  Several CDUIs may be used to transfer the contents of one
  1489.        page.
  1490.  
  1491.  
  1492.        3.4.13         Command document page boundary (CDPB)
  1493.  
  1494.  
  1495.  
  1496.        3.4.13.1  The CDPB indicates to the receiver the  boundary  between
  1497.        pages.  It  also indicates a checkpoint for error recovery purposes
  1498.        (see S 4). CDPB invites the sink to accept responsibility  for  the
  1499.        previously received page.
  1500.  
  1501.  
  1502.        3.4.13.2  The CDPB command parameter is  the  checkpoint  reference
  1503.        number, which, in the basic services, is the page reference number.
  1504.  
  1505.        3.4.13.3  The checkpoint reference number appearing  in  the  first
  1506.        CDPB after a CDC is the one appearing in this CDC plus one.
  1507.  
  1508.  
  1509.        3.4.14         Response document page boundary positive (RDPBP)
  1510.  
  1511.  
  1512.  
  1513.        3.4.14.1  This response shall be used to indicate that the receiver
  1514.        accepts responsibility for that page.
  1515.  
  1516.  
  1517.  
  1518.        3.4.14.2  Response parameters are:
  1519.  
  1520.  
  1521.                a)         a  mandatory  parameter  giving  the  checkpoint
  1522.        reference number (see S 3.4.13.2 above);
  1523.  
  1524.                b)         a mandatory parameter indicating whether or  not
  1525.        the ability of the receiving terminal to continue to accept traffic
  1526.        is jeopardized (e.g. whether or not the memory threshold  has  been
  1527.        reached).
  1528.  
  1529.  
  1530.  
  1531.        3.4.15         Response document page boundary negative (RDPBN)
  1532.  
  1533.  
  1534.  
  1535.        3.4.15.1  This response shall be used to indicate that the receiver
  1536.        does  not  accept the responsibility for that page for example, due
  1537.        to a detected error or other failure.
  1538.  
  1539.  
  1540.             Note  - This response may also be returned at any point within
  1541.        the document boundary after the receipt of CDS.
  1542.  
  1543.  
  1544.        3.4.15.2  The value of the mandatory parameter  giving  the  reason
  1545.  
  1546.  
  1547.  
  1548.  
  1549.  
  1550.  
  1551.  
  1552.  
  1553.  
  1554.        for a negative response should be one of the following:
  1555.  
  1556.  
  1557.                a)         unable to continue a session (e.g. due to memory
  1558.        full, out of recording paper);
  1559.  
  1560.                b)         sequence error;
  1561.  
  1562.                c)         local terminal error;
  1563.  
  1564.                d)         unrecoverable procedural error;
  1565.  
  1566.                e)         no specific  reason  stated  (used  for  reasons
  1567.        other than those listed).
  1568.  
  1569.  
  1570.        3.5         General rules for document elements of procedure
  1571.  
  1572.  
  1573.             3.5.1 When a document has been either started by CDS  or  con-
  1574.        tinued  by  CDC,  it  must  be terminated by either CDE, CDR or CDD
  1575.        prior to sending the next CDS or CDC.
  1576.  
  1577.  
  1578.             3.5.2 The following rules relate to the CDS  and  CDC  parame-
  1579.        ters:
  1580.  
  1581.  
  1582.                a)         the service interworking parameter may  be  used
  1583.        to  indicate  that  the document is suitable for interworking; how-
  1584.        ever, use of this parameter is mandatory in  the  case  of  service
  1585.        interworking;
  1586.  
  1587.                b)         absence of the document  type  identifier  indi-
  1588.        cates that the associated document is a normal document.
  1589.  
  1590.             3.5.3 No negative response to CDS or CDC may be sent after the
  1591.        sending  of a positive response to any checkpoint within that docu-
  1592.        ment. No negative response may be sent  to  any  document  commands
  1593.        once  the  checkpoint associated with those commands has been posi-
  1594.        tively acknowledged.
  1595.  
  1596.  
  1597.             3.5.4 With regard to the responses to CDPB (RDPBP  or  RDPBN),
  1598.        the  receiver  may  reject  reception for a detected error, but the
  1599.        receiver is not obligated to monitor for errors  in  the  document.
  1600.        Once  a  page  has been positively acknowledged, any error recovery
  1601.        for the subsequent detection of an error is  beyond  the  scope  of
  1602.        these control procedures.
  1603.  
  1604.  
  1605.             3.5.5 If, during the transmission of a document, there  is  an
  1606.        interruption  of  the  transport  connection  or  session such that
  1607.        another call and/or session establishment is needed, the  following
  1608.        rules apply.
  1609.  
  1610.  
  1611.  
  1612.  
  1613.  
  1614.  
  1615.  
  1616.  
  1617.  
  1618.  
  1619.  
  1620.                a)          In the case that  a  document  transmission  is
  1621.        initiated  by  a  CDS  and no checkpoint is positively acknowledged
  1622.        during that document transmission:
  1623.  
  1624.                -         the receiving terminal shall treat the failure as
  1625.        if a CDD had been received and an RDDP had been sent;
  1626.  
  1627.                -          the sending terminal shall treat the failure  as
  1628.        if a CDD had been sent and an RDDP had been received.
  1629.  
  1630.                b)         In other cases:
  1631.  
  1632.                -         the receiving terminal shall treat the failure as
  1633.        if a CDR had been received and an RDRP had been sent;
  1634.  
  1635.                -         the sending terminal shall treat the  failure  as
  1636.        if a CDR had been sent and an RDRP had been received.
  1637.  
  1638.  
  1639.             3.5.6 If, during the transmission of a document,  an  abnormal
  1640.        condition  except  those described in S 3.5.5 takes place, the fol-
  1641.        lowing rules apply:
  1642.  
  1643.  
  1644.                a)         in the case that a document transmission is ini-
  1645.        tiated by CDS command and no checkpoint is positively acknowledged,
  1646.        either a CDD or a CDR command should be used. If a CDR is used,  it
  1647.        should be interpreted as a CDD;
  1648.  
  1649.                b)         in other cases, a CDD or CDR should be used.
  1650.  
  1651.             3.5.7 When a  source  terminal  receives  an  RDPBP  with  the
  1652.        receiving  ability  jeopardized  (RAJ)  parameter set to 1 during a
  1653.        document transmission, it may continue  to  transmit  one  or  more
  1654.        pages  until  the  window  is closed. In this context the following
  1655.        rules apply:
  1656.  
  1657.  
  1658.                a)         if the source  subsequently  receives  an  RDPBP
  1659.        with  the  RAJ  parameter  set  to  0,  it will be able to continue
  1660.        transmission;
  1661.  
  1662.                b)         if the source  subsequently  receives  an  RDPBN
  1663.        indicating  "memory  overflow", the document transmission should be
  1664.        terminated  abnormally;  e.g.  exchange  of  either   CDD/RDDP   or
  1665.        CDR/RDRP.
  1666.  
  1667.             Note  - In other contexts (e.g. window size of 1), the session
  1668.        may  be  terminated  abnormally  due to expiration of an inactivity
  1669.        timer. However, this requires further study.
  1670.  
  1671.             3.5.8 When a sink terminal sends an RDPBP with  the  receiving
  1672.        ability jeopardized parameter set to 1, and subsequent memory over-
  1673.        flow results in sending RDPBN, the reason code "unable to  continue
  1674.        the session" has to be indicated.
  1675.  
  1676.  
  1677.  
  1678.  
  1679.  
  1680.  
  1681.  
  1682.  
  1683.  
  1684.  
  1685.  
  1686.        3.6         Rules for document state diagrams
  1687.  
  1688.  
  1689.  
  1690.        3.6.1         General
  1691.  
  1692.  
  1693.             3.6.1.1 The rules common to all state diagrams  are  given  in
  1694.        Annex D.
  1695.  
  1696.  
  1697.             3.6.1.2 For any error a terminal is permitted to send CSA.  If
  1698.        this procedure is not used, the following rules shall apply.
  1699.  
  1700.  
  1701.        3.6.2         Rules for the sending protocol (see Figure 2/T.62)
  1702.  
  1703.  
  1704.             3.6.2.1 Any command or response  received  in  state  1  shall
  1705.        cause an abnormal end of the session and sending of CSA.
  1706.  
  1707.  
  1708.             3.6.2.2 Reception of any command  or  response  not  shown  as
  1709.        allowed  in  the state diagram in states 2 to 11 shall cause CDR or
  1710.        CDD to be sent in accordance with S 3.5.6.
  1711.  
  1712.             3.6.2.3 Reception of any command or response except  RDCLP  in
  1713.        state 14 shall cause CDR to be sent.
  1714.  
  1715.             3.6.2.4 In state 13 receipt of RDRP or RDDP will cause a tran-
  1716.        sition to state 1. Any other command or response will be discarded.
  1717.  
  1718.             3.6.2.5 The demand response timer started  when  state  13  is
  1719.        entered is only reset when a valid response is received.
  1720.  
  1721.  
  1722.        3.6.3         Rules for the receiving protocol (see Figure 3/T.62)
  1723.  
  1724.  
  1725.             3.6.3.1 Reception of any command or response except CDS,  CDC,
  1726.        CDCL, CDR or CDD in state 1 shall cause RDGR to be sent.
  1727.  
  1728.  
  1729.             3.6.3.2 In state 12 receipt of CDR or CDD will cause a transi-
  1730.        tion  to  state  13. Any other command or response received will be
  1731.        discarded.
  1732.  
  1733.             3.6.3.3 Reception of any command or response  not  allowed  in
  1734.        the  state diagram or any invalid parameters or parameter values in
  1735.        state 2 to 11 may cause RDGR to be sent.
  1736.  
  1737.             3.6.3.4 The inactivity timer started when state 12 is  entered
  1738.        is only reset when a valid command is received.
  1739.  
  1740.  
  1741.  
  1742.                                                         Figure 2/T.62, p.5
  1743.  
  1744.  
  1745.  
  1746.  
  1747.  
  1748.  
  1749.  
  1750.  
  1751.  
  1752.  
  1753.                                                         Figure 3/T.62, p.5
  1754.  
  1755.  
  1756.  
  1757.  
  1758.        4       Error recovery
  1759.  
  1760.  
  1761.  
  1762.        4.1         General principles
  1763.  
  1764.  
  1765.             4.1.1 During a session, each partner is responsible for  moni-
  1766.        toring for the correct operation of the following:
  1767.  
  1768.  
  1769.                a)         maintenance of the currently agreed  source/sink
  1770.        relationship;
  1771.  
  1772.                b)         proper use of  the  command/response  procedural
  1773.        sequences  as  described in the state diagrams and rules for opera-
  1774.        tion (see S 3.6);
  1775.  
  1776.                c)         detection of any period of inactivity in  excess
  1777.        of  the  inactivity timer value as determined by negotiation (indi-
  1778.        cating, for example, a failure or other inability to continue  pro-
  1779.        ductive use of the session);
  1780.  
  1781.                d)         detection of a period of time in excess  of  the
  1782.        demand response timer value in which the remote terminal has failed
  1783.        to issue a response.
  1784.  
  1785.                Note  - Negotiation of the demand response timer  value  is
  1786.        for further study.
  1787.  
  1788.             4.1.2 The following rules apply  to  the  negotiation  of  the
  1789.        value of the inactivity timer;
  1790.  
  1791.  
  1792.                a)         an inactivity  timer  value  different  from  60
  1793.        seconds will apply only if this parameter is indicated by both ter-
  1794.        minals, i.e. negotiation, at session establishment  (via  CSS/RSSP)
  1795.        or document boundaries (via CDCL/RDCLP);
  1796.  
  1797.                b)         if both terminals indicate an  inactivity  timer
  1798.        value  the following rules apply for the duration of the session or
  1799.        until a subsequent negotiation has taken place:
  1800.  
  1801.                i)         The smaller of the two values applies when  both
  1802.        values are greater than or equal to 60 seconds.
  1803.  
  1804.                ii)         The larger of the two values applies when  both
  1805.        values are less than 60 seconds.
  1806.  
  1807.                iii)         A timer value of 60  seconds  applies  if  one
  1808.        value is above and one is below 60 seconds.
  1809.  
  1810.  
  1811.  
  1812.  
  1813.  
  1814.  
  1815.  
  1816.  
  1817.  
  1818.             4.1.3 Upon detection of any failure to maintain proper  opera-
  1819.        tion  as described in S 4.1.1, use of the error recovery procedures
  1820.        defined for each state is mandatory; or, where such error  recovery
  1821.        procedures   are  not  specifically  defined,  session  termination
  1822.        (abnormal end) is mandatory. In the event of an error, this control
  1823.        procedure  allows  for  repeated  transmission  of information. The
  1824.        number of repetitions should be limited by the sender  and  may  be
  1825.        zero.
  1826.  
  1827.  
  1828.  
  1829.        4.2         Rules for checkpointing
  1830.  
  1831.  
  1832.             4.2.1  After  an  abnormal  termination  of  a  document,  for
  1833.        recovery  in  the  same session the checkpoint reference number and
  1834.        the document   reference number are required in order  to  identify
  1835.        unambiguously the point from which to recover.
  1836.  
  1837.  
  1838.             4.2.2 A new session (and  call)  has  to  be  initiated  after
  1839.        abnormal termination of a document where recovery is to be effected
  1840.        in a subsequent session or after  an  abnormal  termination  and/or
  1841.        interruption  of  the  call.  The  information required in order to
  1842.        identify unambiguously the point from which to recover is:
  1843.  
  1844.  
  1845.                a)         the reference for the interrupted session;
  1846.  
  1847.                b)         the document reference number; and
  1848.  
  1849.                c)         the checkpoint reference number.
  1850.  
  1851.             4.2.3 In the basic services a checkpoint must be  inserted  at
  1852.        each page boundary using CDPB.
  1853.  
  1854.             4.2.4  If  a  negative  response  is  received  to  a  command
  1855.        representing  a checkpoint, the transmission must be interrupted by
  1856.        sending a CDR or CDD.
  1857.  
  1858.             4.2.5  Within  a  document,  a  final   checkpoint   will   be
  1859.        represented  by  the  CDE.  Transmission of another document is not
  1860.        permitted until the response to this command has been received.
  1861.  
  1862.             4.2.6 No other checkpointing is permitted in  the  basic  ser-
  1863.        vice.
  1864.  
  1865.  
  1866.             4.2.7 Each command representing a checkpoint shall  contain  a
  1867.        parameter showing the reference number. Each such command calls for
  1868.        a response, which shall contain a parameter showing the  checkpoint
  1869.        reference number to which that response applies. Each checkpoint in
  1870.        the CDPB must be explicitly acknowledged and  the  acknowledgements
  1871.        must be in the right sequence.
  1872.  
  1873.             4.2.8  Checkpoint  reference  numbers  shall  be  assigned  as
  1874.        decimal  digits  starting  from 001 and sequentially incremented by
  1875.  
  1876.  
  1877.  
  1878.  
  1879.  
  1880.  
  1881.  
  1882.  
  1883.  
  1884.        one for each checkpoint within a  document.  The  number  does  not
  1885.        necessarily  have  to  comprise  3  digits and leading zeros do not
  1886.        necessarily have to be  transmitted.  In  all  cases,  the  leading
  1887.        zeroes must be ignored.
  1888.  
  1889.             4.2.9 Document reference numbers (DRNs) shall be  assigned  as
  1890.        decimal digits, preferably, but not necessarily, starting from 001.
  1891.        DRNs shall then sequentially be incremented by one for each succes-
  1892.        sive  document.  DRNs  shall be assigned to all documents in a ses-
  1893.        sion, irrespective of the document type identifier or  whether  CDS
  1894.        or  CDC  is  used  as  the  initiating command. The number does not
  1895.        necessarily have to comprise 3 digits  and  leading  zeros  do  not
  1896.        necessarily  have  to  be  transmitted.  In  all cases, the leading
  1897.        zeroes must be ignored.
  1898.  
  1899.             Note  - In order to uniquely identify the documents exchanged,
  1900.        it  is  recommended  that  the same DRNs should not appear within a
  1901.        session. However, it is noted  that  some  existing  terminals  may
  1902.        cause  duplication  of  DRNs  when  documents are exchanged in both
  1903.        directions.
  1904.  
  1905.             4.2.10 The sum of the  numbers  of  digits  contained  in  the
  1906.        checkpoint reference number and the document reference number shall
  1907.        not exceed six, to permit printing in the available  space  in  the
  1908.        call  identification line as defined in Recommendation F.200. There
  1909.        is no constraint on the maximum number of digits in either  number,
  1910.        as long as this limitation is not exceeded.
  1911.  
  1912.  
  1913.        4.3         Acknowledgement window
  1914.  
  1915.  
  1916.             4.3.1 In the basic Teletex service the  sender  is  prohibited
  1917.        from exceeding an acknowledgement window size of three. The maximum
  1918.        window size may be negotiated during  session  establishment  using
  1919.        the  parameters  of  the CSS command and the corresponding response
  1920.        (see S 5.7.2.6).
  1921.  
  1922.  
  1923.             4.3.2 In the Group 4 facsimile service, indication  of  window
  1924.        size  parameters in both CSS command and the corresponding response
  1925.        is required (see SS 3.3.2.7 and 5.7.2.6).
  1926.  
  1927.  
  1928.             4.3.3 There are two ways  that  the  sender  is  permitted  to
  1929.        recover from an interrupted transmission:
  1930.  
  1931.  
  1932.                a)         a cancellation is achieved by the subsequent use
  1933.        of CDC and CDD commands and the transmission will be resumed by the
  1934.        CDS command;
  1935.  
  1936.                b)          the sender may resume by use  of  CDC  command,
  1937.        starting  at the point in the text of the last checkpoint for which
  1938.        an acknowledging response was received.
  1939.  
  1940.             On this basis, the receiver must be able to  resume  reception
  1941.  
  1942.  
  1943.  
  1944.  
  1945.  
  1946.  
  1947.  
  1948.  
  1949.  
  1950.        at  a  checkpoint  ranging from the last acknowledged checkpoint to
  1951.        the last acknowledged checkpoint plus one, minus the window size.
  1952.  
  1953.             4.3.4 The window mechanism has been  introduced  in  order  to
  1954.        allow  continuous  transmission  of pages. The window mechanism may
  1955.        also be used by the receiving terminal to resolve local time  prob-
  1956.        lems without affecting the continuous transmission.
  1957.  
  1958.  
  1959.             Note  - For efficiency reasons, the  receiving  terminal  will
  1960.        transmit  the  response to acknowledge outstanding checkpoint(s) as
  1961.        soon as possible.
  1962.  
  1963.             4.3.5 The design of a terminal should be such that  continuous
  1964.        reception  is  possible  in  normal operation of the terminal (e.g.
  1965.        with an average Teletex page content of 1600 octets).  The  use  of
  1966.        the  window  mechanism should take into account the quality of ser-
  1967.        vice requirements in Recommendations  F.200 and F.161.
  1968.  
  1969.  
  1970.             4.3.6 If transmission flow control is needed, it shall be pro-
  1971.        vided by the transport service.
  1972.  
  1973.  
  1974.  
  1975.        5       Coding
  1976.  
  1977.  
  1978.  
  1979.        5.1         Definition of terms used in coding
  1980.  
  1981.  
  1982.  
  1983.        5.1.1         command identifier (CI) or response identifier (RI)
  1984.  
  1985.  
  1986.                F: identificateur de commande (IC) ou de reponse (IR)
  1987.  
  1988.                S: identificador de instruccion  (II)  o  identificador  de
  1989.        respuesta (IR)
  1990.  
  1991.             The  heading  information  that  identifies  the  command   or
  1992.        response concerned.
  1993.  
  1994.  
  1995.        5.1.2         length indicator (LI)
  1996.  
  1997.  
  1998.                F: indicateur de longueur (IL)
  1999.  
  2000.                S: indicador de longitud (IL)
  2001.  
  2002.             Represents the length in octets  of  an  associated  field  or
  2003.        group of fields.
  2004.  
  2005.  
  2006.        5.1.3         parameter identifier (PI)
  2007.  
  2008.  
  2009.  
  2010.  
  2011.  
  2012.  
  2013.  
  2014.  
  2015.  
  2016.                F: identificateur de parametre (IP)
  2017.  
  2018.                S: identificador de parametro (IP)
  2019.  
  2020.             Indicates the type of information contained in  an  associated
  2021.        field or group of fields.
  2022.  
  2023.  
  2024.        5.1.4         parameter group identifier (PGI)
  2025.  
  2026.  
  2027.                F: identificateur de groupe de parametres (IGP)
  2028.  
  2029.                S: identificador de grupo de parametros (IGP)
  2030.  
  2031.             A special case of a parameter identifier, which indicates that
  2032.        the  associated  field  consists entirely of a group of parameters,
  2033.        each identified by a parameter identifier.
  2034.  
  2035.  
  2036.        5.1.5         parameter value (PV)
  2037.  
  2038.  
  2039.                F: valeur de parametre (VP)
  2040.  
  2041.                S: valor de parametro (VP)
  2042.  
  2043.             The information that represents the  value  of  the  parameter
  2044.        identified by either a PI or PGI.
  2045.  
  2046.  
  2047.        5.1.6         field
  2048.  
  2049.  
  2050.                F: champ; domaine
  2051.  
  2052.                S: campo
  2053.  
  2054.             Either a group of one or more bits within a single octet or  a
  2055.        group  of one or more octets, used to represent a particular set of
  2056.        information.
  2057.  
  2058.  
  2059.        5.2         Principles of coding
  2060.  
  2061.  
  2062.             5.2.1 The coding of session commands, responses and parameters
  2063.        is  independent  of  the coding of document commands, responses and
  2064.        parameters and vice versa.
  2065.  
  2066.  
  2067.             5.2.2 Binary field encoding principles have been used to allo-
  2068.        cate bit patterns for the CI, RI, PGI and PI.
  2069.  
  2070.             5.2.3 The first section of a session or  document  field  con-
  2071.        sists  of either a CI or an RI. Each CI or RI is always immediately
  2072.        followed by an LI.
  2073.  
  2074.  
  2075.  
  2076.  
  2077.  
  2078.  
  2079.  
  2080.  
  2081.  
  2082.             5.2.4 Bits of an octet are numbered 8 to 1 where bit 1 is  the
  2083.        low  order  bit  and  is  transmitted first. Octets of a session or
  2084.        document field  are  consecutively  numbered  starting  from 1  and
  2085.        transmitted in this order.
  2086.  
  2087.             5.2.5 The value of an LI is a binary  number  that  represents
  2088.        the total length of the immediately following parameter field(s) in
  2089.        octets. The value of the LI does not include either itself  or  any
  2090.        subsequent user information.
  2091.  
  2092.             5.2.6 If a parameter field indicated by a PGI appears within a
  2093.        parameter  field initiated by a PGI, the PV field of the nested PGI
  2094.        field may not extend beyond the end of the PV of the enclosing  PGI
  2095.        field.
  2096.  
  2097.             5.2.7 To decode CI, RI, PGI and PI, all the bits of the  iden-
  2098.        tifier must be considered.
  2099.  
  2100.             5.2.8 The format of a parameter field initiated by  a  PGI  is
  2101.        the  same  as  the  format of such a field initiated by a PI except
  2102.        that the entire PV field consists of a  sequence  of  one  or  more
  2103.        parameter fields, each of which is initiated by either PI or PGI.
  2104.  
  2105.             5.2.9 The absence of non-mandatory PI or PGI indicates that no
  2106.        such  functions are available. Therefore PIs or PGIs with LI set to
  2107.        zero should be avoided.
  2108.  
  2109.             5.2.10 Figures 4/T.62, 5/T.62 and 6/T.62 illustrate the coding
  2110.        principles.
  2111.  
  2112.  
  2113.                                                          Figure 4/T.62, p.
  2114.  
  2115.  
  2116.  
  2117.  
  2118.  
  2119.                                                          Figure 5/T.62, p.
  2120.  
  2121.  
  2122.  
  2123.                                                          Figure 6/T.62, p.
  2124.  
  2125.  
  2126.  
  2127.  
  2128.  
  2129.        5.3         Coding of length indicators
  2130.  
  2131.  
  2132.             5.3.1 The value of an LI is a binary  number  that  represents
  2133.        the  total length in octets of the immediately following CI, RI, PI
  2134.        and/or PGI fields. The value of the  LI  does  not  include  either
  2135.        itself  or  any  subsequent  user  information, as noted in S 5.2.5
  2136.        above.
  2137.  
  2138.  
  2139.  
  2140.  
  2141.  
  2142.  
  2143.  
  2144.  
  2145.  
  2146.  
  2147.  
  2148.             5.3.2 The basic LI consists of a single octet with  a  maximum
  2149.        value of 254 in decimal (i.e., a binary value of 11111110).
  2150.  
  2151.             5.3.3 If the first octet of the LI is  255  decimal  (i.e.,  a
  2152.        binary  value of 11111111), this indicates that the value of the LI
  2153.        is contained in the next two following octets  allowing  a  maximum
  2154.        value of 65 | 35 octets.
  2155.  
  2156.             5.3.4 Within any octet, the highest order bit is  bit  8  with
  2157.        the  remaining  bits assigned in descending order. Where the length
  2158.        value is represented in two octets, the first contains  the  higher
  2159.        order bits.
  2160.  
  2161.  
  2162.        5.4         Coding of command and response identifiers for  session
  2163.        elements
  2164.  
  2165.  
  2166.             5.4.1 The coding  of  CI  and  RI  for  session  commands  and
  2167.        responses is shown in Table 4/T.62.
  2168.  
  2169.  
  2170.             5.4.2 Apart from private use, the codes of  the  commands  and
  2171.        responses  in Table 4/T.62 are assigned in such a way that the bits
  2172.        may be interpreted as follows:
  2173.  
  2174.  
  2175.                Bit         1         1 = Command         0 = Response
  2176.  
  2177.                Bit          2          1 = Positive           0 = Negative
  2178.        (for responses)
  2179.  
  2180.                Bit         3          1 = Initiate          0 = Stop  (for
  2181.        most commands)
  2182.  
  2183.                Bits         4, 5         11 Session
  2184.  
  2185.        10 Session
  2186.  
  2187.        01 Interaction
  2188.  
  2189.        00 Session user
  2190.  
  2191.                Bits          6, 7, 8          Set  to  zero  (except   for
  2192.        private use) and reserved for extension.
  2193.  
  2194.             Note  - If possible, this binary field coding structure should
  2195.        be followed in making future code assignments, but this is not man-
  2196.        datory if the number of available  code  combinations  is  insuffi-
  2197.        cient. Therefore, it is not intended as a guide for implementation.
  2198.  
  2199.             5.4.3 One or more  of  the  non-allocated  values  are  to  be
  2200.        reserved  for  future  extension. The method of future extension is
  2201.        for further study.
  2202.  
  2203.  
  2204.  
  2205.  
  2206.  
  2207.  
  2208.  
  2209.  
  2210.  
  2211.  
  2212.  
  2213.  
  2214.        5.5         Coding of command and response identifiers for document
  2215.        elements
  2216.  
  2217.  
  2218.             5.5.1 The coding of command and response identifiers for docu-
  2219.        ment  commands  and  responses is shown in Tables 5/T.62 and 6/T.62
  2220.        respectively.
  2221.  
  2222.  
  2223.             5.5.2 Apart from private use, the codes of  the  commands  and
  2224.        responses  in  Tables  5/T.62 and 6/T.62 are assigned in such a way
  2225.        that the bits may be interpreted as follows:
  2226.  
  2227.  
  2228.                Bit         1         1 = Command         0 = Response
  2229.  
  2230.                Bit          2          1 = Positive           0 = Negative
  2231.        (for responses)
  2232.  
  2233.                Bit         3          1 = Initiate          0 = Stop  (for
  2234.        most commands)
  2235.  
  2236.                Bits         4, 5, 6         111, 110, 101         Document
  2237.  
  2238.                100         Reserved
  2239.  
  2240.                011         Page
  2241.  
  2242.                010         Reserved
  2243.  
  2244.                001         Reserved for recovery unit
  2245.  
  2246.                000         Text
  2247.  
  2248.                Bits         7, 8         Set to  zero,  and  reserved  for
  2249.        future extension.
  2250.  
  2251.             5.5.3 With regard to future extension, see the note in S 5.4.2
  2252.        and S 5.4.3 above.
  2253.  
  2254.  
  2255.                                   H.T. [T4.62]
  2256.                                   TABLE 4/T.62
  2257.              Command and response identifiers for session elements
  2258.        lw(60p) | lw(24p) | lw(18p) | lw(24p) | lw(18p) | lw(24p) | lw(18p)
  2259.        |             lw(24p)             |            lw(18p)            .
  2260.  
  2261.        rw(60p) | lw(24p) | lw(18p) | lw(24p) | lw(18p) | lw(24p) | lw(18p)
  2262.        | lw(24p) | lw(18p) .
  2263.         { TABLE 5/T.62 Coding for document command identifiers
  2264.         }
  2265.        lw(60p)  |  lw(24p) sw(18p) sw(24p) sw(18p) sw(24p) sw(18p) sw(24p)
  2266.        sw(18p) , ^ | l |  l  |  l  |  l  |  l  |  l  |  l  |  l.
  2267.  
  2268.        lw(60p) | lw(24p) | lw(18p) | lw(24p) | lw(18p) | lw(24p) | lw(18p)
  2269.        |             lw(24p)             |            lw(18p)            .
  2270.  
  2271.  
  2272.  
  2273.  
  2274.  
  2275.  
  2276.  
  2277.  
  2278.  
  2279.  
  2280.                                                   Table 4/T.61 [T4.62], p.
  2281.  
  2282.                                   H.T. [T5.62]
  2283.                                   TABLE 5/T.62
  2284.                     Coding for document command identifiers
  2285.        lw(60p) | lw(24p) | lw(18p) | lw(24p) | lw(18p) | lw(24p) | lw(18p)
  2286.        |             lw(24p)             |            lw(18p)            .
  2287.  
  2288.  
  2289.                                                   Table 5/T.61 [T5.62], p.
  2290.  
  2291.  
  2292.  
  2293.                                   H.T. [T6.62]
  2294.                                   TABLE 6/T.62
  2295.                     Coding for document response identifiers
  2296.        lw(60p) | lw(24p) | lw(18p) | lw(24p) | lw(18p) | lw(24p) | lw(18p)
  2297.        |             lw(24p)             |            lw(18p)            .
  2298.  
  2299.  
  2300.                                                   Table 6/T.61 [T6.62], p.
  2301.  
  2302.  
  2303.  
  2304.        5.6         Coding of parameter  group  identifiers  and  parameter
  2305.        identifiers
  2306.  
  2307.  
  2308.             5.6.1 The coding of PGIs and  PIs  for  session  commands  and
  2309.        responses  is shown in Table 7/T.62. The coding of the PGIs and PIs
  2310.        for document commands and responses is shown in Table 8/T.62.
  2311.  
  2312.  
  2313.             5.6.2 Tables 9/T.62 and 10/T.62 list the PGIs and PIs for each
  2314.        command  and response for the session and document elements of pro-
  2315.        cedure together with an indication of whether the PGIs and PIs con-
  2316.        cerned are mandatory or not.
  2317.  
  2318.             5.6.3 Where a PI is allocated to  a  particular  PGI  this  is
  2319.        shown  in  Table 7/T.62  or 8/T.62. Some PIs are not allocated to a
  2320.        PGI and are used as required. Some PIs may be used without  preced-
  2321.        ing PGIs as defined in Tables 9/T.62 and 10/T.62.
  2322.  
  2323.             5.6.4 The codes of these PGIs and PIs are assigned in  such  a
  2324.        way  that  the  binary  field  consisting of bits 8, 7 and 6 may be
  2325.        interpreted as follows:
  2326.  
  2327.  
  2328.                Bits         876
  2329.  
  2330.                000         Session related
  2331.  
  2332.                001          Document   related           (These   document
  2333.        related PGIs and PIs may possibly
  2334.  
  2335.        be of use to other services.)
  2336.  
  2337.  
  2338.  
  2339.  
  2340.  
  2341.  
  2342.  
  2343.  
  2344.  
  2345.  
  2346.                010         Document related (for Teletex)
  2347.  
  2348.                011
  2349.  
  2350.                100                 Reserved
  2351.  
  2352.                101
  2353.  
  2354.                110         User data
  2355.  
  2356.                111         Private use
  2357.  
  2358.             The binary field consisting of bits 5 and 4 may be interpreted
  2359.        as  follows:
  2360.  
  2361.                Bits         54
  2362.  
  2363.                00 PGI
  2364.  
  2365.        01 PI
  2366.  
  2367.        10 PI
  2368.  
  2369.        11 PI
  2370.  
  2371.             The binary field consisting of bits 3, 2  and  1  is  used  to
  2372.        extend the PGIs when set to 000.
  2373.  
  2374.  
  2375.             Note  - If possible, this binary field coding structure should
  2376.        be followed in making future code assignments, but this is not man-
  2377.        datory if the number of available  code  combinations  is  insuffi-
  2378.        cient. Therefore, it is not intended as a guide for implementation.
  2379.  
  2380.             5.6.5 PGIs and PIs within the same nesting level should be put
  2381.        in  the  order of increasing binary value. The coding order of PGIs
  2382.        and PIs  included  in  each  command  or  response  is  defined  in
  2383.        Tables 9/T.62 and 10/T.6.
  2384.  
  2385.  
  2386.             5.6.6 The following rules shall apply to the private  use  and
  2387.        presently not defined parameters:
  2388.  
  2389.  
  2390.                a)         these parameters, if present in CSS or CDCL  (or
  2391.        their  corresponding  responses),  shall  not  lead  to  procedural
  2392.        errors;
  2393.  
  2394.                b)         the use of these parameters in other commands or
  2395.        responses  must  be  negotiated  upon in advance by CSS or CDCL and
  2396.        their corresponding responses (see S 3.3.2.3);
  2397.  
  2398.                c)         presence of these parameters  "unexpectedly"  in
  2399.        elements  other  than  CSS,  RSSP, CDCL or RDCLP may result in pro-
  2400.        cedural errors;
  2401.  
  2402.                d)         the absence of a parameter of  this  kind  in  a
  2403.  
  2404.  
  2405.  
  2406.  
  2407.  
  2408.  
  2409.  
  2410.  
  2411.  
  2412.        response  to  CSS or CDCL must be interpreted as an indication that
  2413.        the terminal is not capable of handling any of these functions.
  2414.  
  2415.        5.7         Parameter values
  2416.  
  2417.  
  2418.  
  2419.        5.7.1         General
  2420.  
  2421.  
  2422.             5.7.1.1 Unless otherwise specified the following  rules  apply
  2423.        to the fields containing parameter values (PV):
  2424.  
  2425.  
  2426.                a)         Where a binary number is  used  to  represent  a
  2427.        value,  the  highest  order  bit  of  each  octet is bit 8 with the
  2428.        remaining bits assigned in descending order. Where a  binary  value
  2429.        is represented by more than one octet, the first octet contains the
  2430.        highest order bits, with successive octets assigned  in  descending
  2431.        order;
  2432.  
  2433.                b)         All bits  reserved  for  future  standardization
  2434.        shall be set to zero;
  2435.  
  2436.                c)         Where a PV contains graphic characters that  may
  2437.        be   printed   or   displayed,   they  shall  be  in  the  intended
  2438.        printing/display  sequence  and  shall  be  coded  as  defined   in
  2439.        Recommendation T.61;
  2440.  
  2441.                d)         For a PGI  designated  for  extension,  the  PIs
  2442.        and/or PGIs included in the parameter field do not necessarily con-
  2443.        form to the following assignments of PI and PGI values.
  2444.  
  2445.             5.7.1.2 Assignment of coding to the various  parameter  values
  2446.        is shown in the following paragraphs.
  2447.  
  2448.  
  2449.  
  2450.        5.7.2         Session related parameters
  2451.  
  2452.  
  2453.             Note  - The following paragaphs include either session related
  2454.        or both session and document related parameters.
  2455.  
  2456.  
  2457.        5.7.2.1         Terminal identifier of the called terminal
  2458.  
  2459.  
  2460.             A   sequence   of   graphic   characters   as    defined    in
  2461.        Recommendation F.200.
  2462.  
  2463.  
  2464.        5.7.2.2         Terminal identifier of the calling terminal
  2465.  
  2466.  
  2467.             A   sequence   of   graphic   characters   as    defined    in
  2468.        Recommendation F.200.
  2469.  
  2470.  
  2471.  
  2472.  
  2473.  
  2474.  
  2475.  
  2476.  
  2477.  
  2478.        5.7.2.3         Date and time
  2479.  
  2480.  
  2481.             A   sequence   of   graphic   characters   as    defined    in
  2482.        Recommendation F.200.
  2483.  
  2484.  
  2485.        5.7.2.4         Additional session reference number
  2486.  
  2487.  
  2488.             A fixed length sequence of two  decimal  digits  as  coded  in
  2489.        Recommendation T.61.
  2490.  
  2491.                                   H.T. [T7.62]
  2492.                                   TABLE 7/T.62
  2493.                          Coding of session PGIs and PIs
  2494.        lw(66p) | lw(48p) | lw(66p) | lw(48p) .
  2495.  
  2496.                                               Tableau 7/T.62 [T7.62], p.13
  2497.  
  2498.  
  2499.  
  2500.                                  H.T. [1T8.62]
  2501.  
  2502.                                   TABLE 8/T.62
  2503.                         Coding of document PGIs and PIs
  2504.        lw(66p) | lw(48p) | lw(66p) | lw(48p) .
  2505.  
  2506.                                              Tableau 8/T.62 [1T8.62], p.14
  2507.  
  2508.  
  2509.  
  2510.                                  H.T. [2T8.62]
  2511.                             TABLE 8/T.62 (continued)
  2512.        lw(66p) | lw(48p) | lw(66p) | lw(48p) .
  2513.  
  2514.                                              Tableau 8/T.62 [2T8.62], p.15
  2515.  
  2516.  
  2517.  
  2518.                                  H.T. [1T9.62]
  2519.                                   TABLE 9/T.62
  2520.                  PGIs and PIs for session elements of procedure
  2521.        lw(30p)   |   lw(72p)   |   lw(30p)   |   lw(66p)   |   lw(30p)   .
  2522.                                          lw(30p)  |  lw(72p)  |  lw(30p) |
  2523.        lw(66p)    |    lw(30p)    .      Session     control     functions
  2524.        nm
  2525.  
  2526.                                              Tableau 9/T.62 [1T9.62], p.16
  2527.  
  2528.  
  2529.  
  2530.                                  H.T. [2T9.62]
  2531.                             TABLE 9/T.62 (continued)
  2532.        lw(228p) .
  2533.  
  2534.                                              Tableau 9/T.62 [2T9.62], p.17
  2535.  
  2536.  
  2537.  
  2538.  
  2539.  
  2540.  
  2541.  
  2542.  
  2543.  
  2544.                                  H.T. [3T9.62]
  2545.                                TABLE 9/T.62 (end)
  2546.        lw(30p)   |   lw(72p)   |   lw(30p)   |   lw(66p)   |   lw(30p)   .
  2547.  
  2548.  
  2549.                                              Tableau 9/T.62 [3T9.62], p.18
  2550.  
  2551.  
  2552.  
  2553.                                  H.T. [1T10.62]
  2554.                                   TABLE 10/T.62
  2555.                 PGIs and PIs for document elements of procedure
  2556.        lw(30p) | lw(72p) | lw(30p) | lw(66p) | lw(30p) , ^  | l | l | l  |
  2557.        l ^  | l | l | l | l ^  | l | l | l | l ^  | ^  | ^  | l | l ^  | ^
  2558.        | ^  | l | l ^  | ^  | ^  | l | l ^  | ^  | ^  | l | l ^  | ^  |  ^
  2559.        |  l  |  l  ^   |  l  |  l  |  l  |  l  ^   |  l  |  l  |  l  |  l.
  2560.  
  2561.  
  2562.  
  2563.                                            Tableau 10/T.62 [1T10.62], p.19
  2564.  
  2565.  
  2566.  
  2567.                                  H.T. [2T10.62]
  2568.                            TABLE 10/T.62 (continued)
  2569.        lw(228p) .
  2570.  
  2571.                                            Tableau 10/T.62 [2T10.62], p.20
  2572.  
  2573.  
  2574.  
  2575.                                  H.T. [3T10.62]
  2576.                            TABLE 10/T.62 (continued)
  2577.        lw(30p)   |   lw(72p)   |   lw(30p)   |   lw(66p)   |   lw(30p)   .
  2578.  
  2579.  
  2580.                                            Tableau 10/T.62 [3T10.62], p.21
  2581.  
  2582.  
  2583.  
  2584.                                  H.T. [4T10.62]
  2585.  
  2586.                               TABLE 10/T.62 (end)
  2587.        lw(30p)   |   lw(72p)   |   lw(30p)   |   lw(66p)   |   lw(30p)   .
  2588.  
  2589.  
  2590.                                            Tableau 10/T.62 [4T10.62], p.22
  2591.  
  2592.  
  2593.  
  2594.  
  2595.  
  2596.        5.7.2.5         Miscellaneous session capabilities
  2597.  
  2598.  
  2599.             Bit 1 of the first octet set to 1 indicates the terminal capa-
  2600.        bility for two-way simultaneous information transfer.
  2601.  
  2602.  
  2603.  
  2604.  
  2605.  
  2606.  
  2607.  
  2608.  
  2609.  
  2610.             Bit 2 of the first octet set to 1 indicates the terminal capa-
  2611.        bility for session suspension.
  2612.  
  2613.             Bit 3 of the first octet set to 1 indicates the terminal capa-
  2614.        bility for interactive operation.
  2615.  
  2616.             All other bit values are reserved for future standardization.
  2617.  
  2618.  
  2619.        5.7.2.6         Window size
  2620.  
  2621.  
  2622.             A binary number of fixed length of one octet, with  a  minimum
  2623.        value  of one and a maximum value of 255 in decimal (i.e., a binary
  2624.        value of 11111111).  The default value is three in decimal (i.e., a
  2625.        binary value of 00000011).
  2626.  
  2627.  
  2628.        5.7.2.7         Service identifier
  2629.  
  2630.  
  2631.             The coding for the service identifier is as follows:
  2632.  
  2633.                Bits         87654321         Service
  2634.  
  2635.                00000001         Telematic
  2636.  
  2637.             All other encodings are for further study.
  2638.  
  2639.  
  2640.        5.7.2.8         Session control functions
  2641.  
  2642.  
  2643.             When used with a response, i.e. either RSSP or RSUI, the  fol-
  2644.        lowing bit assignments are defined in the first octet:
  2645.  
  2646.                a)         bit 1 set to 1  indicates  request  control  (as
  2647.        defined in this Recommendation);
  2648.  
  2649.                b)         all other bits are reserved for future standard-
  2650.        ization.
  2651.  
  2652.  
  2653.        5.7.2.9         Session termination parameter
  2654.  
  2655.  
  2656.             Bit 1 of the first octet set to 1 indicates that the transport
  2657.        connection shall be cleared (default value). When set to 0 it indi-
  2658.        cates that the connection should not be cleared.
  2659.  
  2660.             Bit 2 of the first octet set to 1 indicates a  local  terminal
  2661.        error.
  2662.  
  2663.             Bit 3 of the first octet set to 1 indicates  an  unrecoverable
  2664.        procedural error.
  2665.  
  2666.             Bit 4 of the first octet set to 1 indicates that no reason  is
  2667.  
  2668.  
  2669.  
  2670.  
  2671.  
  2672.  
  2673.  
  2674.  
  2675.  
  2676.        given.
  2677.  
  2678.             All other bits are reserved for  future  standardization.  The
  2679.        CSE command uses only bit 1; all other bits shall be set to 0.
  2680.  
  2681.  
  2682.        5.7.2.10         Reason (session or document)
  2683.  
  2684.  
  2685.             A field indicating the reason for sending the associated  com-
  2686.        mand  or  response. The value can either be given as a binary coded
  2687.        field or as plain text message. The absence of this parameter indi-
  2688.        cates that no reason is given.
  2689.  
  2690.                Bits         87654321         Reason
  2691.  
  2692.                00000000         No specific reason stated (used  for  ses-
  2693.        sion or document reasons other than those listed);
  2694.  
  2695.                00000001         Temporarily unable to enter  into,  or  to
  2696.        continue,  a  session  (e.g. due to memory full or out of recording
  2697.        paper);
  2698.  
  2699.                00000010         Explicit text message only  for  use  with
  2700.        RSSN (see Note 1);
  2701.  
  2702.                00000011         Sequence error (Note 2);
  2703.  
  2704.                00000101         Local terminal error (Note 2);
  2705.  
  2706.                00000110         Unrecoverable procedural error (Note 2).
  2707.  
  2708.                Note 1  - For the basic Teletex service, the  text  follows
  2709.        immediately  after the first byte of the value. Maximum of 69 char-
  2710.        acters (control characters included). Only  characters  convertible
  2711.        one-to-one  to  the telex alphabet (ITA2) shall be allowed. Teletex
  2712.        code shall be used.
  2713.  
  2714.                Note 2  - These parameter values are valid only in document
  2715.        commands and responses.
  2716.  
  2717.  
  2718.  
  2719.        5.7.2.11         Inactivity timer
  2720.  
  2721.  
  2722.                a)         Bits 8 and 7 indicate  the  unit  of  inactivity
  2723.        timer  value and bits 6 to 1 indicate the binary value in the range
  2724.        of 1 to 63.
  2725.  
  2726.                Bits         87         Unit of timer
  2727.  
  2728.                00         Second(s);
  2729.  
  2730.                01         Minute(s);
  2731.  
  2732.                10         Hour(s);
  2733.  
  2734.  
  2735.  
  2736.  
  2737.  
  2738.  
  2739.  
  2740.  
  2741.  
  2742.                11         Reserved for extension.
  2743.  
  2744.                b)         All bits of the first octet set  to  zero  indi-
  2745.        cates  the inactivity timer value is of infinity, i.e. the timer is
  2746.        disabled.
  2747.  
  2748.  
  2749.        5.7.2.12         Session service functions
  2750.  
  2751.  
  2752.             The parameter value is indicated by a sequence of two octets.
  2753.  
  2754.                a)         In octet 1:
  2755.  
  2756.                Bits         8-4 (Note 1)         Reserved (set to 0).
  2757.  
  2758.                Bit         3         Set to 1 to indicate the  typed  data
  2759.        capability (for further study).
  2760.  
  2761.                Bit         2 (Note 2)         Set to  1  to  indicate  the
  2762.        ability to send RDPBN.
  2763.  
  2764.                Bit         1 (Note 2)         Set to  1  to  indicate  the
  2765.        ability to send/receive CDCL/RDCLP.
  2766.  
  2767.                b)         In octet 2:
  2768.  
  2769.                Bits         8, 6, 5 and 3 (Note 1)          Reserved  (set
  2770.        to 0).
  2771.  
  2772.                Bit         7 (Note 2)         Set to  1  to  indicate  the
  2773.        capability of document transfer.
  2774.  
  2775.                Bit         4 (Note 2)         Set to  1  to  indicate  the
  2776.        capability of page synchronization [CDPB/RDPBP(N)].
  2777.  
  2778.                Bits         2-1 (Note 3)         Set to 0  1  to  indicate
  2779.        "half duplex"
  2780.  
  2781.                Set to 1 0 to indicate "duplex"
  2782.  
  2783.                Note 1  - All bits reserved should be ignored when  compar-
  2784.        ing capabilities indicated in CSS and RSSP.
  2785.  
  2786.                Note 2  - The indicated bits should be set (to 1 for  docu-
  2787.        ment transfer and to 0 for no document transfer) as a unit.
  2788.  
  2789.                Note 3  - Half-duplex and duplex are for further study.
  2790.  
  2791.             The absence of this parameter should  be  interpreted  as  the
  2792.        following default values:
  2793.  
  2794.                Bits         87654321
  2795.  
  2796.                Octet 1:         00000011
  2797.  
  2798.                Octet 2:         01001001
  2799.  
  2800.  
  2801.  
  2802.  
  2803.  
  2804.  
  2805.  
  2806.  
  2807.  
  2808.        5.7.2.13         Non-standardized capabilities
  2809.  
  2810.  
  2811.             The first octet represents the registered CCITT  country  code
  2812.        as   specified  in  Recommendation T.35  to  be  used  to  identify
  2813.        non-standard capabilities. Additional octets, may be  specified  by
  2814.        each country's Administration.
  2815.  
  2816.  
  2817.        5.7.2.14         Session user data
  2818.  
  2819.  
  2820.             Some parameters associated with this PGI are  defined  in  the
  2821.        T.400 series  of  Recommendations.  The maximum length of this user
  2822.        data  field  following  the  PGI  and  its  LI  is  restricted   to
  2823.        512 octets.
  2824.  
  2825.  
  2826.  
  2827.        5.7.2.15         Private use
  2828.  
  2829.  
  2830.             A set of PGI and PI values is designated as being for  private
  2831.        use.  Other than the PGIs designated for extensions and the permit-
  2832.        ted use  of  private  parameters  only  with  certain  command  and
  2833.        responses, the use of these parameters is not defined.
  2834.  
  2835.  
  2836.        5.7.3         Document related parameters
  2837.  
  2838.  
  2839.             Note  - The following paragraphs include  parameters  commonly
  2840.        used by basic Teletex and Group 4 facsimile services.
  2841.  
  2842.  
  2843.        5.7.3.1         Service interworking identifier
  2844.  
  2845.  
  2846.             Bit 1 of the first octet set to  1  shall  indicate  that  the
  2847.        associated  document  is suitable for forwarding via the telex ser-
  2848.        vice.
  2849.  
  2850.             All other bit values are reserved for future standardization.
  2851.  
  2852.  
  2853.        5.7.3.2         Document reference number
  2854.  
  2855.  
  2856.             A sequence of decimal digits as defined in this Recommendation
  2857.        and coded in Recommendation T.61.
  2858.  
  2859.  
  2860.  
  2861.        5.7.3.3         Checkpoint reference number
  2862.  
  2863.  
  2864.             A sequence of decimal digits as defined in this Recommendation
  2865.  
  2866.  
  2867.  
  2868.  
  2869.  
  2870.  
  2871.  
  2872.  
  2873.  
  2874.        and coded in Recommendation T.61.
  2875.  
  2876.  
  2877.        5.7.3.4         Acceptance of CDCL parameters
  2878.  
  2879.  
  2880.             Bit 1 of the first octet set to 1 indicates acceptance of  all
  2881.        non-basic terminal capabilities which are defined in this Recommen-
  2882.        dation and requested by a CDCL command.
  2883.  
  2884.             All other bit values are reserved for future standardization.
  2885.  
  2886.             Note  - Bit 1 of the first octet set to 1  does  not  indicate
  2887.        accepance  of  non-basic terminal capabilities conveyed in the ses-
  2888.        sion under data of CDCL.
  2889.  
  2890.  
  2891.        5.7.3.5         Storage capacity negotiation
  2892.  
  2893.  
  2894.             A fixed length sequence of two octets:
  2895.  
  2896.                a)         Bit 1 of the first octet set to 1 indicates that
  2897.        a terminal has reserved the requested amount of storage.
  2898.  
  2899.                b)         Bit 2 of the first octet set to 1 indicates that
  2900.        the  binary field in the following octet contains a number indicat-
  2901.        ing storage capacity required/reserved in kilo-octets.
  2902.  
  2903.                c)         Bit 5 of the first octet set to 1 indicates that
  2904.        the  binary  field in the following octet contains a number, which,
  2905.        when multiplied by 16, indicates storage capacity required/reserved
  2906.        in kilo-octets.
  2907.  
  2908.                d)         Bit 6 of the first octet set to 1 indicates that
  2909.        the  binary  field in the following octet contains a number, which,
  2910.        when    multiplied    by 256,    indicates     storage     capacity
  2911.        required/reserved in kilo-octets.
  2912.  
  2913.                e)         Bit 3 of the first octet set to 1 indicates that
  2914.        a terminal cannot estimate its memory capacity.
  2915.  
  2916.                f )         Bit 4 of the first octet  set  to  1  indicates
  2917.        that a terminal cannot now reserve the requested amount of memory.
  2918.  
  2919.                g)         In the first octet, only one of bits 2, 5 and  6
  2920.        may  be  set to 1. For negotiation of storage capacity less than or
  2921.        equal to 255 kilo-octets, bit 2 shall be used.
  2922.  
  2923.                Note  - Use of bit 5 or 6  for  negotiation  of  a  storage
  2924.        capacity greater than 65 kilo-octets but less than or equal to 255
  2925.        kilo-octets is not to be interpreted as a procedural error  by  the
  2926.        receiver.
  2927.  
  2928.                h)         Bits 7 and 8 of the first octet are reserved for
  2929.        future standardization.
  2930.  
  2931.  
  2932.  
  2933.  
  2934.  
  2935.  
  2936.  
  2937.  
  2938.  
  2939.  
  2940.             Octet 2 indicates the memory size  available  and/or  reserved
  2941.        (the  meaning  is  defined  in the first octet). It shall be set to
  2942.        11111111 if bit 3 and/or 4 in the first octet is set to 1.
  2943.  
  2944.             In cases a), e) and f ), the second octet may  be  ignored  by
  2945.        the   recipient of RDCLP.
  2946.  
  2947.  
  2948.  
  2949.        5.7.3.6         Receiving ability jeopardized
  2950.  
  2951.  
  2952.             The first octet shall be encoded as follows:
  2953.  
  2954.                Bits         87654321         Meaning
  2955.  
  2956.                00000000         Further traffic can be accepted.
  2957.  
  2958.                00000001         Ability  to  receive  further  traffic  is
  2959.        jeopardized.
  2960.  
  2961.             All other binary values are reserved for  future  standardiza-
  2962.        tion.
  2963.  
  2964.  
  2965.        5.7.3.7         Document type identifier
  2966.  
  2967.  
  2968.             Absence of this parameter shall indicate  a  normal  document.
  2969.        This  parameter, if used, is a binary encoded field of fixed length
  2970.        of one octet identifying the document type as follows:
  2971.  
  2972.                Bits         87654321         Type of document
  2973.  
  2974.                00000001         Operator document.
  2975.  
  2976.                00000010         Control document.
  2977.  
  2978.                00000011         Monitor document.
  2979.  
  2980.             All other encodings are reserved for future standardization.
  2981.  
  2982.  
  2983.        5.7.3.8         Reflect parameter value
  2984.  
  2985.  
  2986.             This is an arbitrary length field that contains the  bit  pat-
  2987.        tern  of  the  command or response up to and including the detected
  2988.        error.
  2989.  
  2990.  
  2991.        5.7.4         Document related parameter for teletex
  2992.  
  2993.  
  2994.             Note  - The following parameters may also be used by  services
  2995.        other than teletex.
  2996.  
  2997.  
  2998.  
  2999.  
  3000.  
  3001.  
  3002.  
  3003.  
  3004.  
  3005.  
  3006.        5.7.4.1         Control character sets  (refer  to  Recommendations
  3007.        T.60 and T.61)
  3008.  
  3009.  
  3010.             A variable length field indicating  the  receiving  capability
  3011.        for  non-basic  standardized control character sets. Each such con-
  3012.        trol character set shall be indicated by the sequence of characters
  3013.        used  to  designate  that  set,  as defined in Recommendation T.61.
  3014.        Where more than one such character set are to be indicated, the ESC
  3015.        character fulfills the purpose of a separator between the character
  3016.        set indicators.
  3017.  
  3018.  
  3019.        5.7.4.2         Graphic character sets  (refer  to  Recommendations
  3020.        T.60  and T.61)
  3021.  
  3022.  
  3023.  
  3024.        5.7.4.2.1  A variable length field indicating the  receiving  capa-
  3025.        bilities  for  non-basic  standardized graphic character sets. Each
  3026.        such graphic character sets or DRCS (Dynamically redefinable  char-
  3027.        acter set) for Japanese Kanji and Chinese ideogram characters shall
  3028.        be indicated by the sequence of characters used to  designate  that
  3029.        set,  as  defined  in Recommendation T.61. Where more than one such
  3030.        character set are to be indicated, the ESC character  fulfills  the
  3031.        purpose of a separator between the character set indicators.
  3032.  
  3033.  
  3034.  
  3035.        5.7.4.2.2  The following descriptions apply to the use  of  a  DRCS
  3036.        set for Japanese Kanji and Chinese ideogram characters:
  3037.  
  3038.  
  3039.                a)         if the DRCS set  is  indicated  as  a  parameter
  3040.        value associated with a CDS or CDC command, this should be followed
  3041.        by combinations of a character code (CC) to be  registered  to  the
  3042.        DRCS set and its character dot pattern (DP);
  3043.  
  3044.                b)         the field length of a character code is  defined
  3045.        by the DRCS set and that of a character dot pattern is indicated as
  3046.        parameter values of a character box  height  and  a  character  box
  3047.        width.
  3048.  
  3049.             Note  - The PV field of this parameter in either  CDS  or  CDC
  3050.        will be as follows:
  3051.  
  3052.                        DRCS CC1 DP1 CC2 DP2. |  | CCi DPi
  3053.  
  3054.  
  3055.  
  3056.  
  3057.  
  3058.        5.7.4.3         Teletex page formats (refer to Recommendations T.60
  3059.        and T.61)
  3060.  
  3061.  
  3062.  
  3063.  
  3064.  
  3065.  
  3066.  
  3067.  
  3068.  
  3069.  
  3070.  
  3071.             The value of the first octet of the parameter value will indi-
  3072.        cate  the capability of a page format, as defined in Table 11/T.62.
  3073.        If the terminal is capable of more than one format, these  will  be
  3074.        indicated  in  the first and subsequent octets, one octet per value
  3075.        (see Note 1 of Table 11/T.62). No separator between the values will
  3076.        be  given.  The  length indicator of the parameter will indicate if
  3077.        more than one  value  is  given.  All  parameter  values  shall  be
  3078.        inserted in increasing order of their binary values.
  3079.  
  3080.                                  H.T. [T11.62]
  3081.                                   TABLE 11/T.62
  3082.  
  3083.  
  3084.  
  3085.  
  3086.  
  3087.  
  3088.  
  3089.  
  3090.  
  3091.  
  3092.  
  3093.  
  3094.  
  3095.  
  3096.  
  3097.  
  3098.  
  3099.  
  3100.  
  3101.  
  3102.  
  3103.  
  3104.  
  3105.  
  3106.  
  3107.  
  3108.  
  3109.  
  3110.  
  3111.  
  3112.  
  3113.  
  3114.  
  3115.  
  3116.  
  3117.  
  3118.  
  3119.  
  3120.  
  3121.  
  3122.  
  3123.  
  3124.  
  3125.  
  3126.  
  3127.  
  3128.  
  3129.  
  3130.  
  3131.  
  3132.  
  3133.  
  3134.  
  3135.  
  3136.  
  3137.        __________________________________________________________________________________________________________________________________
  3138.  
  3139.          {
  3140.         0
  3141.         0
  3142.         0
  3143.         0
  3144.         0
  3145.         0
  3146.         0
  3147.         1
  3148.         (option)
  3149.         ISO A4, horizontal and vertical
  3150.          }
  3151.          {
  3152.         0
  3153.         0
  3154.         0
  3155.         0
  3156.         0
  3157.         0
  3158.         1
  3159.         0
  3160.         (option)
  3161.         North American, horizontal and vertical
  3162.          }
  3163.          {
  3164.         1
  3165.         0
  3166.         0
  3167.         0
  3168.         0
  3169.         1
  3170.         0
  3171.         0
  3172.         (option)
  3173.         ISO A4 extended (ISO standard 3535), vertical
  3174.          }
  3175.          {
  3176.         0
  3177.         1
  3178.         0
  3179.         0
  3180.         0
  3181.         1
  3182.         0
  3183.         0
  3184.         (option)
  3185.         ISO A4 extended (ISO standard 3535), horizontal
  3186.          }
  3187.          {
  3188.         1
  3189.         0
  3190.         0
  3191.         0
  3192.         1
  3193.         0
  3194.  
  3195.  
  3196.  
  3197.  
  3198.  
  3199.  
  3200.  
  3201.  
  3202.  
  3203.         0
  3204.         0
  3205.         (option)
  3206.         North American legal, vertical
  3207.          }
  3208.          {
  3209.         0
  3210.         1
  3211.         0
  3212.         0
  3213.         1
  3214.         0
  3215.         0
  3216.         0
  3217.         (option)
  3218.         North American legal, horizontal
  3219.          }
  3220.          {
  3221.         0
  3222.         0
  3223.         0
  3224.         0
  3225.         0
  3226.         0
  3227.         1
  3228.         1
  3229.         (option)
  3230.         ISO A4, horizontal and vertical (for use by Japanese Kanji
  3231.         and Chinese ideogram terminals)
  3232.          }
  3233.          {
  3234.         0
  3235.         0
  3236.         0
  3237.         1
  3238.         0
  3239.         0
  3240.         0
  3241.         0
  3242.         (option)
  3243.         ISO B5, horizontal and vertical (for use by Japanese Kanji
  3244.         and Chinese ideogram terminals)
  3245.          }
  3246.          {
  3247.         0
  3248.         0
  3249.         1
  3250.         0
  3251.         0
  3252.         0
  3253.         0
  3254.         0
  3255.         (option)
  3256.         ISO B4, horizontal and vertical (for use by Japanese Kanji and Chinese
  3257.         ideogram terminals)
  3258.          }
  3259.        __________________________________________________________________________________________________________________________________
  3260.  
  3261.  
  3262.  
  3263.  
  3264.  
  3265.  
  3266.  
  3267.  
  3268.  
  3269.       |
  3270.  
  3271.                                                                               |
  3272.  
  3273.                                                                                   |
  3274.  
  3275.                                                                                       |
  3276.  
  3277.                                                                                           |
  3278.  
  3279.                                                                                               |
  3280.  
  3281.                                                                                                   |
  3282.  
  3283.                                                                                                      |
  3284.  
  3285.                                                                                                          |
  3286.  
  3287.                                                                                                              |
  3288.  
  3289.                                                                                                                       |
  3290.  
  3291.                                                                                                                                         |
  3292.  
  3293.  
  3294.  
  3295.        Note 1  - The whole octet has to be considered when decoded,  since
  3296.        the  meaning  is  coded  as  a  value, not as a single bit position
  3297.        within the octet. All other values are reserved,  i.e.  it  is  not
  3298.        allowed  to  "combine"  the  indication of several formats into the
  3299.        same octet by setting more than one bit to "one".
  3300.  
  3301.        Note 2  - The following rule is used for the coding of bits  7  and
  3302.        8:
  3303.  
  3304.        Bits 8 7 Meaning
  3305.  
  3306.        0 0 Vertical and horizontal 0 1 Horizontal only 1 0 Vertical only.
  3307.                                                 Table 11/T.62 [T11.62], p.
  3308.  
  3309.  
  3310.  
  3311.        5.7.4.4          Miscellaneous  terminal  capabilities  (refer   to
  3312.        Recommendation T.61)
  3313.  
  3314.  
  3315.             A variable length field indicating the receiving  capabilities
  3316.        for  non-basic standardized values of character spacing, line spac-
  3317.        ing and graphic renditions. Each parameter value of such a function
  3318.        shall  be  indicated by the control sequence (CSI PiIiF) as defined
  3319.        in Recommendation T.61. This applies to the functions  Select  Hor-
  3320.        izontal  Spacing (SHS) for a character pitch, Select Vertical Spac-
  3321.        ing (SVS) for a line pitch and Select Graphic Rendition (SGR) for a
  3322.        graphic  rendition. This also applies to the functions Graphic Size
  3323.        Modification (GSM) and  Select  Presentation  Direction  (SPD)  for
  3324.        Japanese  Kanji  and  Chinese  ideogram capabilities, and to Select
  3325.        Character Orientation (SCO) for Chinese ideogram capabilities. When
  3326.        more  than one such character sequence is to be indicated, a single
  3327.        space shall be inserted between them. Only one parameter  value  is
  3328.        allowed within a CSI sequence.
  3329.  
  3330.  
  3331.  
  3332.        5.7.4.5         Character box height
  3333.  
  3334.  
  3335.             A variable length field indicating the receiving  capabilities
  3336.        for  the  number of dots of the character box height. The number of
  3337.        dots shall be indicated by the  numeric  character  as  defined  in
  3338.        T.61.
  3339.  
  3340.             Further study is required for indicating more than one value.
  3341.  
  3342.  
  3343.        5.7.4.6         Character box width
  3344.  
  3345.  
  3346.             A variable length field indicating the receiving  capabilities
  3347.        for  the  number  of dots of the character box width. The number of
  3348.  
  3349.  
  3350.  
  3351.  
  3352.  
  3353.  
  3354.  
  3355.  
  3356.  
  3357.        dots shall  be  indicated  by  the  numeric  character  as  defined
  3358.        in T.61.
  3359.  
  3360.             Further study is required for indicating more than one value.
  3361.  
  3362.  
  3363.  
  3364.  
  3365.        MONTAGE:  ANNEXE A SUR LE RESTE DE CETTE PAGE
  3366.  
  3367.  
  3368.  
  3369.  
  3370.  
  3371.  
  3372.  
  3373.  
  3374.  
  3375.  
  3376.  
  3377.  
  3378.  
  3379.  
  3380.  
  3381.  
  3382.  
  3383.  
  3384.  
  3385.  
  3386.  
  3387.  
  3388.  
  3389.  
  3390.  
  3391.  
  3392.  
  3393.  
  3394.  
  3395.  
  3396.  
  3397.  
  3398.  
  3399.  
  3400.  
  3401.  
  3402.  
  3403.  
  3404.  
  3405.  
  3406.  
  3407.  
  3408.  
  3409.  
  3410.  
  3411.  
  3412.  
  3413.  
  3414.  
  3415.  
  3416.  
  3417.  
  3418.  
  3419.  
  3420.