home *** CD-ROM | disk | FTP | other *** search
/ The Hacker's Encyclopedia 1998 / hackers_encyclopedia.iso / hacking / network / datapac4.txt < prev    next >
Encoding:
Text File  |  2003-06-11  |  19.6 KB  |  498 lines

  1.  
  2. DATAPAC SERVICE DESCRIPTIONS
  3. Service     - DATAPAC 3101  (ASYNC/ITI)
  4.  
  5. DATAPAC 3101 (ASYNC/ITI)
  6. ------------------------
  7.  
  8. Datapac 3101 is a network access service which enables teletypewriter
  9. compatible devices, such as time-sharing terminals, to access the Datapac
  10. Network.
  11.  
  12. Low speed, asynchronous devices are supported through an Interactive Terminal
  13. Interface (ITI) in a Packet Assembler/Disassembler (PAD), which allows the
  14. devices to access the Network over dial-up (DDD) or Dedicated Access Lines.
  15.  
  16. ITI, the end-to-end protocol for Datapac 3101, conforms to the CCITT
  17. recommendations X.3, X.28 and X.29 and supports access to the Datapac Network
  18. for asynchronous, start-stop character mode terminals.
  19.  
  20.      X.3 specifies the operation of the PAD.  It contains the specifications
  21. for the twenty-two International parameters and their operation.
  22.  
  23.      X.25 specifies the command language between the terminal and the PAD.  It
  24. also specifies the conditions which define the command mode and the data
  25. transfer mode.
  26.  
  27.      X.29 specifies the procedures to be followed by an X.25 DTE to access and
  28. modify the parameters in the PAD as well as the data transfer procedure.
  29.  
  30. The Datapac 3101 service provides for terminal to Host (user's computer) and
  31. terminal to terminal communication.  The Host access should conform with the
  32. X.25 protocol, using the Datapac 3000 access service, and also support the
  33. higher level protocol conventions for ITI. Host  access may also be provided
  34. via the Datapac 3101 service for some applications.  The Datapac  3101 service
  35. also provides block mode and tape support.
  36.  
  37. INTERNATIONAL PAD PARAMETERS
  38. ----------------------------
  39.  
  40. 1)   Ability to Escape from Data Transfer State*
  41.  
  42.      The setting of this parameter allows the user to interrupt the
  43. communication of his or her application (data transfer mode) and interact with
  44. the PAD (common mode).  The character to do this is "Control-P".  To return to
  45. data transfer mode, press the carriage return or enter a blank command line.
  46. If the user wants to send a "Control-P" to the Host, with this parameter set
  47. set to one, simply hit Control-P twice and the second Control-P will go to the
  48. Host and the user will remain in data transfer mode.  This also applies to the
  49. user data field in the call request command line.
  50.  
  51. Parameter Number:  1
  52. Possible Values:   0 = Escape not possible.
  53.                    1 = Escape is possible.
  54.  
  55. *Note:  Escape from Data transfer mode may also be
  56.  possible using the break signal if parameter seven is set to eight.
  57.  
  58. 2)   Echo*
  59.  
  60.      This parameter indicates to the PAD whether or not the terminal input
  61. data must be echoed.  This may be required if the user's terminal cannot echo
  62. back what is being entered.
  63.  
  64. Parameter Number:  1
  65. Possible Values:   0 = No echo.
  66.                    1 = Echo.
  67.  
  68. *Note:  Echo will also be affected by the setting of Parameter 20.
  69.  
  70.  
  71. 3)   Selection of Data Forwarding Signal
  72.  
  73.      This parameter indicates to the PAD the set to terminal generated
  74. characters or conditions that will cause data to be forwarded to the
  75. destination.  For example, (CR) can be used as a data forwarding signal on
  76. receipt of a (CR) from the local DTE Y, the PAD will forward all characters in
  77. its buffer to the remote end, including the (CR).  If P13 is set to 6.7, 22 or
  78. 23, a (LF) will be included in the packet and will delimit it.  Data is also
  79. forwarded when the buffer is full whether or not a forwarding character is
  80. received.
  81.  
  82. Parameter Number:  3
  83. Possible Values:   0 = No data forwarding signal.
  84.                    2 = Forward on carriage return.
  85.                    2 = Carriage return.
  86.                  126 = All characters in columns 0 and 1
  87.                        of ASCII table and the character
  88.                        del of International alphabet #5.
  89.                        (See Appendix 1.)
  90.  
  91. 4)   Selection of Idle Timer Delay
  92.  
  93.       This parameter is used to determine the idle timer limit value when data
  94. forwarding is based on timeouts.  To optimize packetizing of data, no data
  95. forwarding signal need be specified.  The PAD will then packetize data based on
  96. packet size specified (256 or 128 characters).  The idle timer is used to send
  97. any packets that are not fully filled.  If idle timer is activated and the Host
  98. requires the (CR) to input data, it still must be provided before the data send
  99. is accepted by the Host.  The idle timer does not send any empty packets.
  100.  
  101.  
  102. Parameter Number:  4
  103. Possible Values:   0 = No data forwarding on timeout is
  104.                        required.
  105.                1-255 = Indicates value of the delay in
  106.                        twenties of a second.  (i.e., a
  107.                        value of 250 makes the time wait
  108.                        10 seconds)
  109.  
  110. *Note:  When editing is on (P15:1), the idle timer is inactive.  If this is
  111. the only data forwarding condition, turning the editing function on could cause
  112. a user terminal to hand or data not to be forwarded.
  113.  
  114. 5)   Auxiliary Device Control*
  115.  
  116.      This is used for flow control of data coming from either a PC or
  117. auxiliary device, e.g.:  a paper tape machine.  When set to 1 it indicates to
  118. the PAD that the data is to be read an auxiliary I/O device connected to the
  119. terminal.  This parameter set to 2 indicates that the data is coming from an
  120. intelligent device, i.e., a PC, and that the PAD must exert flow control
  121. differently.
  122.  
  123. Parameter Number:  5
  124. Possible Values:   0 = No use of X-on/X-off.
  125.                    1 = Use of X-on/X-off for auxiliary
  126.                        devices.
  127.                    2 = Use of X-on/X-off for
  128.                        intelligent terminals.
  129.  
  130. *Note:  A value of 2 is recommended for PC's.
  131.  
  132.  
  133. 6)   Suppress Network Messages
  134.  
  135.      This parameter indicates to the PAD whether or not Network generated
  136. messages are to be transmitted to the terminal.
  137.  
  138. Parameter Number:  6
  139. Possible Values:   0 = Suppress message.
  140.                    1 = Transmit message.
  141.                    5 = PAD prompt (*) follows Datapac
  142.                        service signals.
  143.  
  144. 7)   Procedure on Break
  145.  
  146.      This parameter is used to indicate how the PAD should process a break
  147. signal that is received from the terminal while the terminal is in data
  148. transfer state.
  149.  
  150. Parameter Number:  7
  151. Possible Values:   0 = Nothing. (remain in data transfer
  152.                        mode)
  153.                    1 = Interrupt. (remain in data
  154.                        transfer mode)
  155.                    2 = Reset. (remain in data transfer
  156.                        mode)
  157.                    4 = Send an "indication of break"
  158.                        message to the packet mode DTE.
  159.                        (remain in data transfer mode)
  160.                    8 = Escape from, data transfer ,mode
  161.                        (i.e., enter command mode)
  162.                   16 = Discard output to terminal
  163.                        activate Parameter 8 (P8:1)
  164.                        (remain in data transfer mode)
  165.                   21 = A combination of 1, 4 and 16.
  166.  
  167.  
  168. *Note:  The break signal is ignored if the virtual circuit is not established
  169. while in command state.  The break signal will delete the current line.
  170.  
  171.          The valid values for P7 are 0, 1, 2, 8 and 21.
  172.  
  173. 8)   Discard Output
  174.  
  175.      This parameter is used in conjunction with Parameter 7.  Depending upon
  176. the break procedure selected, this parameter may be set by the PAD when the
  177. terminal user requests that terminal data be discarded.  This parameter must
  178. then be reset by the destination computer to allow normal delivery.  The PAD
  179. will discard all packets destined for the terminal from the time the PAD sets
  180. this parameter (i.e., it receives a break signal when Parameter 7 is set to 21)
  181. to the time the parameter is reset by the destination.  It can only be reset by
  182. the destination.
  183.  
  184. Parameter Number:  8
  185. Possible Values:   0 = Normal delivery of output to
  186.                        terminal.
  187.                    1 = Discard output to terminal.
  188.  
  189. 9)   Padding after Carriage Return
  190.  
  191.      This parameter is used to specify the number of padding characters to be
  192. inserted by the PAD following a CR R transmitted to the terminal.  Padding
  193. allows time for the carriage to return on mechanical printing devices.
  194.  
  195.  
  196. Parameter Number:  9
  197. Possible Values:   0 = 2 padding characters will be
  198.                        inserted at 110 bps and 4
  199.                        padding characters will be
  200.                        inserted at higher speeds, in
  201.                        command mode only.  (no padding
  202.                        is done in data transfer mode)
  203.                1-255 = The number of padding characters
  204.                        to be inserted in both data
  205.                        transfer and command mode.
  206.  
  207. 10)  Line Folding
  208.  
  209.      This parameter indicates the maximum number of printable characters that
  210. can be displayed on the terminal before the PAD must send a format effector
  211. (i.e.., <CR><LF>).  This permits more data to be transmitted in one packet
  212. while still letting the user print out more than one line, i.e., printing out
  213. forms.
  214.  
  215. 11)  Transmission Speed (Read only)
  216.  
  217.      This parameter is set by the PAD as a result of transmission speed
  218. detection if the terminal accesses an autobaud port.  When a private port with
  219. fixed speed is used, this parameter is set based on the pre-stored information
  220. selected at subscription time.
  221.  
  222. Parameter Number:  11
  223. Possible Values:    0 = 110 bps
  224.                     2 = 300 bps
  225.                     3 = 1200 bps
  226.                     4 = 2400 bps
  227.  
  228.  
  229. 12   FLOW CONTROL
  230.  
  231.      This parameter allows the terminal user to signal the PAD that the
  232. terminal cannot receive any more data, i.e., to flow control data coming from
  233. the network.  When it is set to 1, the terminal user can request that the PAD
  234. stop sending data by transmitting a "Control S". the PAD then suspends
  235. transmission of the data until a "control Q" is received.
  236.  
  237. Parameter Number:  12
  238. Possible Values:    0 = No use of X-on/X-off for flow
  239.                         control.
  240.                     1 = Use X-on/X-off for flow control.
  241.  
  242. 13)  Linefeed Insertion
  243.      (Similar to National Parameter 126
  244.  
  245.      This parameter specifies when the PAD should insert linefeeds <LF>
  246. receipt of a carriage return <CR> from the terminal, PAD or the destination
  247. Host.
  248.  
  249.      Parameter Number:  13
  250.  Show Possible Values:   0 = Insert no <LF>.
  251.                          1 = Insert <LF> to terminal upon
  252.                              receipt of a <CR> from Host.
  253.                          4 = Insert < > to terminal after a
  254.                              <CR> from terminal or on PAD
  255.                              generated <CR>.
  256.                          5 = Insert <LF> to terminal on <CR>
  257.                              from PAD terminal or Host.
  258.                          6 = Insert <LF> to terminal on <CR>
  259.                              from terminal and insert <LF> in
  260.                              data Host on <CR> from terminal.
  261.  
  262.                          7 = Insert <LF> to terminal on <CR>
  263.                              from PAD, terminal or Host and
  264.                              insert <LF> in data to Host on
  265.                              <CR> from terminal..
  266.                         16 = Insert <LF> to terminal after
  267.                              a PAD generated<CR>.
  268.                         17 = Insert <LF> to terminal after
  269.                              a PAD generated<CR> or Host
  270.                              generated <CR>.
  271.                         20 = Insert <LF> to terminal on <CR>
  272.                              from terminal.
  273.                         21 = Insert <LF> to terminal on <CR>
  274.                              from terminal to host
  275.                         22 = Insert <LF> to terminal on <CR>
  276.                              from terminal.  Insert <LF> in
  277.                              data to Host <CR> from terminal.
  278.                         23 = Insert <LF> to terminal on <CR>
  279.                              from terminal or Host.  Insert
  280.                              <LF> in data to Host on <CR>
  281.                              from terminal
  282.  
  283. 14)  Padding Characters after Linefeed
  284.  
  285.      To allow for mechanical paper feed, this parameter is used to specify the
  286. number of padding characters to be inserted by the PAD following <LF>
  287. transmitted  to the terminal in data transfer mode only.
  288.  
  289. Parameter Number:    14
  290. Possible Values:  0-255 = Number of padding character
  291.                           (NUI) sent to the terminal
  292.                           after transmission of a <LF>
  293.                           to the terminal.
  294.  
  295.  
  296. 15)  Control of Editing Functions*
  297.  
  298.      This parameter specifies whether or not editing is allowed in data
  299. transfer mode.  It is always available in command mode.  This controls
  300. parameters 16, 17 and 18.
  301.  
  302. ParameterNumber:    15
  303. Possible Values:      0 = Editing only in command mode.
  304.                       1 = Editing in command and data
  305.                           transfer mode.
  306.  
  307. *Note:  Setting Parameter 15 to 1 will cause the operation of the idle timer
  308. (Parameter 4) to become disabled.
  309.  
  310. 16)  Character Deletion
  311.      (Similar to National Parameter 118)
  312.  
  313.      This parameter specifies the ASCII character to be used as a "character
  314. delete" character for local editing by the PAD.  The default value is set to
  315. 127 (the delete or del key).
  316.  
  317. Parameter Number:    16
  318. Possible Values:      0 = Turn off the character
  319.                           editing (command and data
  320.                           transfer mode).
  321.                   1-127 = Character delete character
  322.                           (Appendix K).
  323.  
  324. 17)  Line Deletion
  325.      (Similar to National Parameter 119)
  326.  
  327.      This parameter specifies the ASCII character to be used as a "line
  328. delete" character for local editing by the PAD.  The default value is set to 24
  329. (Control X).  On some older terminal the Control X key will clear the screen as
  330. well as delete the line.
  331.  
  332. Parameter Number:    17
  333. Possible Values:      0 = No key will delete a character
  334.                   1-127 = ASCII code for the "line
  335.                           delete" character.
  336.  
  337. 18)  Line Display
  338.      (Similar to National Parameter 120)
  339.  
  340.      This parameter specifies the ASCII character to be used as a "line
  341. display" character for local editing by the PAD.  The default value is set to
  342. 18 (Control R).
  343.  
  344. Parameter Number:    18
  345. Possible Values:      0 = No key will delete a character
  346.                   1-127 = ASCII code for the "line
  347.                           display" character.
  348.  
  349. 19)  Editing Service Signals*
  350.  
  351.      This parameter defines the format of the service signal sent to terminal
  352. upon execution of the editing functions (P16 or P17).
  353.  
  354.  
  355. Parameter Number:    19
  356. Possible Values:      0 = No service on editing
  357.                       1 = Backslash is displayed for
  358.                           each character deleted,
  359.                           "***" is displayed for each
  360.                           line deleted.
  361.                       2 = <BS> <SP> <BS> is displayed
  362.                           for each character deleted,
  363.                           <BS> <SP> <BS> is repeated
  364.                           "***" is repeated for each
  365.                           character on the line deleted.
  366.             32-126 = The specified character is
  367.                           displayed for each character
  368.                           deleted, "***" is displayed
  369.                           for each line deleted.
  370.  
  371. *Note:  Value 1 is recommended for printing terminals and Value 2 when PAD
  372. echo is off (P2 = 0) and the character "delete" character is defined as <BS>
  373. (P16 = 8).  The PAD does not send an editing service signal to the terminal
  374. upon execution to the character delete editing function; however, the character
  375. will still be deleted from the PAD buffer.
  376.  
  377.          For video display terminal product a <BS>, but the character will
  378. still be deleted from the PAD.
  379.  
  380.  
  381. 20)  Echo Mask*
  382.  
  383.      This parameter specifies a set of characters not to be echoed to the
  384. terminal.
  385.  
  386. Parameter Number:    20
  387. Possible Values:      0 = All characters echoed (except)
  388.                           X-on/X-off which depend on the
  389.                           setting of P5, P12 and P22).
  390.                       1 = No echo of <CR>
  391.                       2 = No echo of <LF>
  392.                       4 = No echo of <VT>, <HT>, <FF>
  393.                       8 = No echo of <BEL>, <BS>
  394.                      16 = No echo of <ESC>, <ENQ>
  395.                      32 = No echo of <ACK>, <NAK>,
  396.                           <STX>,<SOH>, <EDT><ETB>, <ETX>
  397.                     128 = No echoing of all other
  398.                           characters in Column 0 and 1
  399.                           of ASCII table in Appendix 1
  400.                           Plus <DEL>
  401.  
  402. *Note:  This parameter is only active when echo in on (P2 - 1).
  403.  
  404. 21)  Parity Detected or Checked
  405.      (Similar to National Parameter 123)
  406.  
  407.      This parameter specifies whether or not the PAD should detect, check and
  408. generate parity.  This parameter is set to 0 when the user wishes to transmit
  409. 8-bit data.
  410.  
  411. Parameter Number:    21
  412. Possible Values:      0 = No detected or checked.
  413.                       3 = Parity checked and detected.
  414.  
  415.  
  416. 22)  Page Wait
  417.  
  418.      This parameter controls the ability to set a terminal page size which,
  419. when reached, causes the PAD to stop all further output to the terminal.
  420.  
  421. Parameter Number:    22
  422. Possible Values:      0 = No page wait.
  423.                   1-255 = Page wait size.
  424.  
  425.      The PAD will resume normal transmission when any of the following occurs:
  426.  
  427.           - on receipt of the page wait cancellation (X-on); or
  428.           - on resetting Parameter 22 to zero.
  429.  
  430.  
  431. NATIONAL PARAMETERS
  432.  
  433. The following parameters are specific to the Datapac interactive terminal
  434. interface (Datapac 3101 Service).
  435.  
  436. P118 Character Deletion
  437.  
  438. P119 Line Deletion
  439.  
  440. P120 Line Display
  441.  
  442. P12, 122 Additional Data Forwarding Signals
  443.  
  444. These parameters 121 and 122 allow the definition of one or two additional
  445. data forwarding signals.  These signals are in addition to any that are
  446. specified by Parameter 3 and 4.
  447.  
  448.  
  449. Parameter Number:  121, 122
  450. Possible Values:          0 = None.
  451.                       1-127 = ASCII code of additional data
  452.                               forwarding signal.
  453.  
  454. P123 Parity Treatment
  455.  
  456. This parameter specifies whether or not the PAD should detect and check parity
  457. and performs the same function as International Parameter 2.
  458.  
  459. Parameter Number:  123
  460. Possible Values:     0 = No detected or checked.
  461.                      1 = Parity checked and detected.
  462.  
  463. 125)   Output Pending Timer
  464.  
  465. This parameter specifies the length of time, if any, that terminal output will
  466. be blocked by terminal input.
  467.  
  468. Parameter Number:  125
  469. Possible Values:     0 = Output.
  470.                  1-255 = Value of delay in seconds..
  471.  
  472. 126)  Linefeed Insertion
  473.  
  474.      Parameter Number:  126 See International Parameter 13
  475.  
  476.  
  477. GENERAL NOTES ABOUT PARAMETERS
  478.  
  479. The setting of any of parameters 16 (118), 17 (119), or 18 (120) to a non-zero
  480. value will also set Parameter 15 to 1 when  Parameter 4 is zero.  In the 1984
  481. software level, setting both editing (P15) is off.  This operation is according
  482. to CCITT 1984 standards.
  483.  
  484. If the character chosen for a certain parameter has already been selected to
  485. be used with another parameter, then the function with the highest priority is
  486. selected upon receipt of the character.  This priority scheme is as follows:
  487.  
  488.      1) escape from command state;
  489.      2) flow control;
  490.      3) line display;
  491.      4) line delete;
  492.      5) character delete;
  493.      6) packet forwarding.
  494.  
  495. All of the above parameters are changeable by the user. However, it should be
  496. noted that the Host computer can also change these parameters.
  497.  
  498.