home *** CD-ROM | disk | FTP | other *** search
/ Programmer's ROM - The Computer Language Library / programmersrom.iso / ada / defdata / wicatmsc.src < prev   
Encoding:
Text File  |  1988-05-03  |  100.1 KB  |  3,990 lines

  1. --::::::::::::::
  2. --debugfile.txt
  3. --::::::::::::::
  4. <<<<<<<  INITIAL STATE OF USER_TN  >>>>>>>>>
  5.  
  6. .......................... dump all start ......................
  7.  
  8.  
  9. PPL TRANSPORT LEVEL BUFFERS.
  10. ----------------------------
  11.  
  12. TRANS TO TELNET MESSAGE BUFFER
  13. head=     0  tail=     1
  14.  
  15.  
  16. TRANS TO TELNET DATA BUFFER
  17. head=     0  tail=     1
  18.  
  19.  
  20. TELNET OPTION TABLES
  21. --------------------
  22.  
  23. local options desired :  
  24.  
  25. remote options desired :  
  26.  
  27. local options pending :  
  28.  
  29. remote options pending :  
  30.  
  31. local options in effect :  
  32.  
  33. remote options in effect :  
  34.  
  35. USER CONTROL BLOCK.
  36. ------------------
  37.  
  38. APL partial command buffer.
  39. length=     0
  40.  
  41.  
  42. APL data buffer.
  43. head=     0  tail=     1
  44.  
  45.  
  46. STATE INFORMATION.
  47. ------------------
  48.  
  49. port=     1
  50. tl_port_number=     0
  51. nvt_io_state = io_done
  52. communication_state = no_connection_established
  53. command_state = no_partial_command
  54. ga_state = no_go_ahead_sent
  55. ga_received = no_go_ahead_received
  56. synch_is_in_progress = no_synch_is_in_progress
  57. last_keybd_char_was_cmd = FALSE
  58. rcv_data_is_urgent = FALSE
  59. last_data_char_rcv_not_cr = TRUE
  60.  
  61. eeeeeeeeeeeeeeeeeeeeeeeee  dump all end   eeeeeeeeeeeeeeeeeeeeee
  62.  
  63.  
  64. ********  *** *** ***  call #     1 to user telnet  *** *** *** *******
  65.  
  66. begin process keyboard input
  67. end process keyboard input
  68. begin telnet_apl.process_any_messages.
  69. in vir_tl there is a message
  70. end vir_tl there is a message
  71. end telnet_apl.process_any_messages.
  72. begin telnet_apl.process_any_input_from_transport_level
  73. in vir_tl there is input
  74. end vir_tl there is input
  75. end telnet_apl.process_any_input_from_transport_level
  76.  
  77. ^^^^^^^^ ^^^ ^^^ ^^^ after call #     1 to user telnet  ^^^ ^^^ ^^^ ^^^^^^^^^
  78.  
  79.  
  80. .......................... dump all start ......................
  81.  
  82.  
  83. PPL TRANSPORT LEVEL BUFFERS.
  84. ----------------------------
  85.  
  86. TRANS TO TELNET MESSAGE BUFFER
  87. head=     0  tail=     1
  88.  
  89.  
  90. TRANS TO TELNET DATA BUFFER
  91. head=     0  tail=     1
  92.  
  93.  
  94. TELNET OPTION TABLES
  95. --------------------
  96.  
  97. local options desired :  
  98.  
  99. remote options desired :  
  100.  
  101. local options pending :  
  102.  
  103. remote options pending :  
  104.  
  105. local options in effect :  
  106.  
  107. remote options in effect :  
  108.  
  109. USER CONTROL BLOCK.
  110. ------------------
  111.  
  112. APL partial command buffer.
  113. length=     0
  114.  
  115.  
  116. APL data buffer.
  117. head=     0  tail=     1
  118.  
  119.  
  120. STATE INFORMATION.
  121. ------------------
  122.  
  123. port=     1
  124. tl_port_number=     0
  125. nvt_io_state = no_io_done
  126. communication_state = no_connection_established
  127. command_state = no_partial_command
  128. ga_state = no_go_ahead_sent
  129. ga_received = no_go_ahead_received
  130. synch_is_in_progress = no_synch_is_in_progress
  131. last_keybd_char_was_cmd = FALSE
  132. rcv_data_is_urgent = FALSE
  133. last_data_char_rcv_not_cr = TRUE
  134.  
  135. eeeeeeeeeeeeeeeeeeeeeeeee  dump all end   eeeeeeeeeeeeeeeeeeeeee
  136.  
  137.  
  138. ********  *** *** ***  call #     2 to user telnet  *** *** *** *******
  139.  
  140. begin process keyboard input
  141. apl process keyboard input thinks there is input
  142. character not a control function
  143. current character is part of partial command
  144. apl process keyboard input thinks there is input
  145. character not a control function
  146. current character is part of partial command
  147. apl process keyboard input thinks there is input
  148. character not a control function
  149. current character is part of partial command
  150. apl process keyboard input thinks there is input
  151. character not a control function
  152. current character is part of partial command
  153. apl process keyboard input thinks there is input
  154. character not a control function
  155. current character is part of partial command
  156. apl process keyboard input thinks there is input
  157. character not a control function
  158. current character is part of partial command
  159. apl process keyboard input thinks there is input
  160. character not a control function
  161. current character is part of partial command
  162. apl process keyboard input thinks there is input
  163. character not a control function
  164. current character is part of partial command
  165. apl process keyboard input thinks there is input
  166. character not a control function
  167. current character is part of partial command
  168. begin parse for semantics and make call
  169. keybd.parse_for_semantics
  170. command string=@O 1.1;2
  171. command string length=     8
  172. in determine command type, will try to do assign
  173. in determine command type, body assign complete
  174. command_string=@O 1.1;2
  175. pre call of strip ex char
  176. in strip off extra characters, item=@O 1.1;2  string_length=     8
  177. open detected
  178. open processed
  179. leaving strip off extra characters, item=O   1.1;2 string_length=     9
  180. post call of strip ex char
  181. pre process_open_command_parameters 
  182. in process_open_command_parameters
  183. pre strip
  184. in strip_command_to_address
  185.  address_length=     9
  186. command string=1.1;2
  187. address_length=     5
  188. end strip_command_to_adress
  189. post strip, pre get_port_#
  190. in get port number
  191. port #=     2
  192. length=     3
  193. end get port number
  194. post get_port_#
  195. pre get imp#
  196. in get imp #
  197. in get next number
  198. address=1.1
  199. length=     3
  200. after processing...
  201. length=     1
  202. number=     1
  203. imp_number=     1
  204. end get imp #
  205. post get imp #
  206. pre get logical host #
  207. in get logical host #
  208. in get next number
  209. address=1
  210. length=     1
  211. after processing...
  212. length=     0
  213. number=     1
  214. logical_host_number=     1
  215. end get logical host #
  216. post get logical host#
  217. pre get host #
  218. in get_host_#
  219. in get next number
  220. address=
  221. length=     0
  222. after processing...
  223. length=     0
  224. number=     0
  225. host #=     0
  226. end get_host_#
  227. post get host #
  228. pre get network number
  229. in get_network_#
  230. in get next number
  231. address=
  232. length=     0
  233. after processing...
  234. length=     0
  235. number=     0
  236. network #=    10
  237. in get_network_#
  238. post get network number
  239. port #=     2
  240. imp #=     1
  241. logical host #=     1
  242. host #=     0
  243. network #=    10
  244. end process_open_command_parameters
  245. post process_open_command_parameters 
  246. end determine command type
  247. Making open command call to
  248. virtual_transport_level.convert_service_call_to_transport_level_syntax
  249. begin vir_tl.convert_service call...
  250. virt_tl processed open call to TCP
  251. network_number=    10
  252. host_number=     0
  253. logical_host_number=     1
  254. imp_number=     1
  255. port_number=     2
  256. end of convt serv call to tl syntax
  257. end parse for semantics and make call
  258. end process keyboard input
  259. begin telnet_apl.process_any_messages.
  260. in vir_tl there is a message
  261. end vir_tl there is a message
  262. end telnet_apl.process_any_messages.
  263. begin telnet_apl.process_any_input_from_transport_level
  264. in vir_tl there is input
  265. call get and process
  266. in vir_tl get_and_process_information...
  267. msg #=    14
  268. return lcn msg detected
  269. end vir_tl get_and_process_information...
  270. end vir_tl there is input
  271. end telnet_apl.process_any_input_from_transport_level
  272.  
  273. ^^^^^^^^ ^^^ ^^^ ^^^ after call #     2 to user telnet  ^^^ ^^^ ^^^ ^^^^^^^^^
  274.  
  275.  
  276. .......................... dump all start ......................
  277.  
  278.  
  279. PPL TRANSPORT LEVEL BUFFERS.
  280. ----------------------------
  281.  
  282. TRANS TO TELNET MESSAGE BUFFER
  283. head=     0  tail=     1
  284.  
  285.  
  286. TRANS TO TELNET DATA BUFFER
  287. head=     0  tail=     1
  288.  
  289.  
  290. TELNET OPTION TABLES
  291. --------------------
  292.  
  293. local options desired :  
  294.  
  295. remote options desired :  
  296.  
  297. local options pending :  
  298.  
  299. remote options pending :  
  300.  
  301. local options in effect :  
  302.  
  303. remote options in effect :  
  304.  
  305. USER CONTROL BLOCK.
  306. ------------------
  307.  
  308. APL partial command buffer.
  309. length=     0
  310.  
  311.  
  312. APL data buffer.
  313. head=     0  tail=     1
  314.  
  315.  
  316. STATE INFORMATION.
  317. ------------------
  318.  
  319. port=     1
  320. tl_port_number=     2
  321. nvt_io_state = io_done
  322. communication_state = no_connection_established
  323. command_state = no_partial_command
  324. ga_state = no_go_ahead_sent
  325. ga_received = no_go_ahead_received
  326. synch_is_in_progress = no_synch_is_in_progress
  327. last_keybd_char_was_cmd = FALSE
  328. rcv_data_is_urgent = FALSE
  329. last_data_char_rcv_not_cr = TRUE
  330.  
  331. eeeeeeeeeeeeeeeeeeeeeeeee  dump all end   eeeeeeeeeeeeeeeeeeeeee
  332.  
  333.  
  334. ********  *** *** ***  call #     3 to user telnet  *** *** *** *******
  335.  
  336. begin process keyboard input
  337. end process keyboard input
  338. begin telnet_apl.process_any_messages.
  339. in vir_tl there is a message
  340. calling get&process because there is information
  341. in vir_tl get_and_process_information...
  342. msg #=    23
  343. connection open msg detected
  344. communication_state set to connection_established
  345.   in pvirtlpac.store_message(s)
  346. message ==>connection open
  347.   end pvirtlpac.store_message(s)
  348. end vir_tl get_and_process_information...
  349. end vir_tl there is a message
  350. in vir_tl there is a message
  351. calling get&process because there is information
  352. in vir_tl get_and_process_information...
  353. msg #=    10
  354. data msg detected
  355.   telnet_ptr=   256  tcp_ptr :=   255
  356.   position =   256  char_code =<   255>
  357. stored
  358.   position =   255  char_code =<   249>
  359. stored
  360. end vir_tl get_and_process_information...
  361. end vir_tl there is a message
  362. in get message
  363. in vir_tl there is a message
  364. end vir_tl there is a message
  365.  at end of get message... message length =    16
  366. in vir_tl there is a message
  367. calling get&process because there is information
  368. in vir_tl get_and_process_information...
  369. msg #=    10
  370. data msg detected
  371.   telnet_ptr=   257  tcp_ptr :=   255
  372.   position =   257  char_code =<   255>
  373. stored
  374.   position =   256  char_code =<   253>
  375. stored
  376.   position =   255  char_code =<     3>
  377. stored
  378. end vir_tl get_and_process_information...
  379. end vir_tl there is a message
  380. end telnet_apl.process_any_messages.
  381. begin telnet_apl.process_any_input_from_transport_level
  382. in vir_tl there is input
  383. call get and process
  384. in vir_tl get_and_process_information...
  385. msg #=    10
  386. data msg detected
  387.   telnet_ptr=   257  tcp_ptr :=   255
  388.   position =   257  char_code =<   255>
  389. stored
  390.   position =   256  char_code =<   251>
  391. stored
  392.   position =   255  char_code =<     3>
  393. stored
  394. end vir_tl get_and_process_information...
  395. end vir_tl there is input
  396. telnet_apl.process_any_input thinks there is input
  397. in vir_tl there is input
  398. end vir_tl there is input
  399. pvirtlpac.get_input begin
  400. in vir_tl there is input
  401. end vir_tl there is input
  402. input code =<   255>
  403. pvirtlpac.get_input end
  404. in vir_tl there is input
  405. end vir_tl there is input
  406. pvirtlpac.get_input begin
  407. in vir_tl there is input
  408. end vir_tl there is input
  409. input code =<   249>
  410. pvirtlpac.get_input end
  411. telnet_apl.proc_input.char=<   249>
  412. was a control function
  413. begin atrinpac.process_standard_control_function
  414. synch is NOT in progress,   NOT urgent data,   char_code=<   249>
  415. begin atrinpac.process_standard_control_function
  416. in vir_tl there is input
  417. end vir_tl there is input
  418. telnet_apl.process_any_input thinks there is input
  419. in vir_tl there is input
  420. end vir_tl there is input
  421. pvirtlpac.get_input begin
  422. in vir_tl there is input
  423. end vir_tl there is input
  424. input code =<   255>
  425. pvirtlpac.get_input end
  426. in vir_tl there is input
  427. end vir_tl there is input
  428. pvirtlpac.get_input begin
  429. in vir_tl there is input
  430. end vir_tl there is input
  431. input code =<   253>
  432. pvirtlpac.get_input end
  433. telnet_apl.proc_input.char=<   253>
  434. was a control function
  435. begin atrinpac.process_standard_control_function
  436. synch is NOT in progress,   NOT urgent data,   char_code=<   253>
  437. in vir_tl there is input
  438. end vir_tl there is input
  439. pvirtlpac.get_input begin
  440. in vir_tl there is input
  441. end vir_tl there is input
  442. input code =<     3>
  443. pvirtlpac.get_input end
  444. begin vir_tl.send_data
  445. begin vir_tl.convert_service call...
  446. virt_tl processing send call to TCP
  447. in pvirtlpac.send_data to tcp (actual tcp call)
  448. data code=<   255>
  449. data code=<   252>
  450. data code=<     3>
  451. tl_byte_count=     2
  452. telnet_ptr=   253
  453. tcp_ptr=   252
  454. end virt_tl processing send call to TCP
  455. end of convt serv call to tl syntax
  456. end vir_tl.send_data
  457. begin atrinpac.process_standard_control_function
  458. in vir_tl there is input
  459. end vir_tl there is input
  460. telnet_apl.process_any_input thinks there is input
  461. in vir_tl there is input
  462. end vir_tl there is input
  463. pvirtlpac.get_input begin
  464. in vir_tl there is input
  465. end vir_tl there is input
  466. input code =<   255>
  467. pvirtlpac.get_input end
  468. in vir_tl there is input
  469. end vir_tl there is input
  470. pvirtlpac.get_input begin
  471. in vir_tl there is input
  472. end vir_tl there is input
  473. input code =<   251>
  474. pvirtlpac.get_input end
  475. telnet_apl.proc_input.char=<   251>
  476. was a control function
  477. begin atrinpac.process_standard_control_function
  478. synch is NOT in progress,   NOT urgent data,   char_code=<   251>
  479. in vir_tl there is input
  480. end vir_tl there is input
  481. pvirtlpac.get_input begin
  482. in vir_tl there is input
  483. end vir_tl there is input
  484. input code =<     3>
  485. pvirtlpac.get_input end
  486. begin vir_tl.send_data
  487. begin vir_tl.convert_service call...
  488. virt_tl processing send call to TCP
  489. in pvirtlpac.send_data to tcp (actual tcp call)
  490. data code=<   255>
  491. data code=<   254>
  492. data code=<     3>
  493. tl_byte_count=     2
  494. telnet_ptr=   253
  495. tcp_ptr=   252
  496. end virt_tl processing send call to TCP
  497. end of convt serv call to tl syntax
  498. end vir_tl.send_data
  499. begin atrinpac.process_standard_control_function
  500. in vir_tl there is input
  501. end vir_tl there is input
  502. end telnet_apl.process_any_input_from_transport_level
  503. telnet go ahead sent
  504. begin vir_tl.send_data
  505. begin vir_tl.convert_service call...
  506. virt_tl processing send call to TCP
  507. in pvirtlpac.send_data to tcp (actual tcp call)
  508. data code=<   255>
  509. data code=<   249>
  510. tl_byte_count=     1
  511. telnet_ptr=   254
  512. tcp_ptr=   253
  513. end virt_tl processing send call to TCP
  514. end of convt serv call to tl syntax
  515. end vir_tl.send_data
  516.  
  517. ^^^^^^^^ ^^^ ^^^ ^^^ after call #     3 to user telnet  ^^^ ^^^ ^^^ ^^^^^^^^^
  518.  
  519.  
  520. .......................... dump all start ......................
  521.  
  522.  
  523. PPL TRANSPORT LEVEL BUFFERS.
  524. ----------------------------
  525.  
  526. TRANS TO TELNET MESSAGE BUFFER
  527. head=    16  tail=   132
  528. $@$ local suppress_ga option denied by local telnet $@$<<    10>><<    13>>$@$ remote suppress_ga option denied by local Telnet $@$<<    10>><<    13>>
  529.  
  530. TRANS TO TELNET DATA BUFFER
  531. head=     8  tail=     9
  532.  
  533.  
  534. TELNET OPTION TABLES
  535. --------------------
  536.  
  537. local options desired :  
  538.  
  539. remote options desired :  
  540.  
  541. local options pending :  
  542.  
  543. remote options pending :  
  544.  
  545. local options in effect :  
  546.  
  547. remote options in effect :  
  548.  
  549. USER CONTROL BLOCK.
  550. ------------------
  551.  
  552. APL partial command buffer.
  553. length=     0
  554.  
  555.  
  556. APL data buffer.
  557. head=     0  tail=     1
  558.  
  559.  
  560. STATE INFORMATION.
  561. ------------------
  562.  
  563. port=     1
  564. tl_port_number=     2
  565. nvt_io_state = no_io_done
  566. communication_state = connection_established
  567. command_state = no_partial_command
  568. ga_state = go_ahead_sent
  569. ga_received = go_ahead_received
  570. synch_is_in_progress = no_synch_is_in_progress
  571. last_keybd_char_was_cmd = FALSE
  572. rcv_data_is_urgent = FALSE
  573. last_data_char_rcv_not_cr = TRUE
  574.  
  575. eeeeeeeeeeeeeeeeeeeeeeeee  dump all end   eeeeeeeeeeeeeeeeeeeeee
  576.  
  577.  
  578. ********  *** *** ***  call #     4 to user telnet  *** *** *** *******
  579.  
  580. begin process keyboard input
  581. end process keyboard input
  582. begin telnet_apl.process_any_messages.
  583. in vir_tl there is a message
  584. end vir_tl there is a message
  585. in vir_tl there is a message
  586. end vir_tl there is a message
  587. in get message
  588. in vir_tl there is a message
  589. end vir_tl there is a message
  590.  at end of get message... message length =    57
  591. in vir_tl there is a message
  592. end vir_tl there is a message
  593. in vir_tl there is a message
  594. end vir_tl there is a message
  595. in get message
  596. in vir_tl there is a message
  597. end vir_tl there is a message
  598.  at end of get message... message length =    58
  599. in vir_tl there is a message
  600. end vir_tl there is a message
  601. end telnet_apl.process_any_messages.
  602. begin telnet_apl.process_any_input_from_transport_level
  603. in vir_tl there is input
  604. end vir_tl there is input
  605. end telnet_apl.process_any_input_from_transport_level
  606.  
  607. ^^^^^^^^ ^^^ ^^^ ^^^ after call #     4 to user telnet  ^^^ ^^^ ^^^ ^^^^^^^^^
  608.  
  609.  
  610. .......................... dump all start ......................
  611.  
  612.  
  613. PPL TRANSPORT LEVEL BUFFERS.
  614. ----------------------------
  615.  
  616. TRANS TO TELNET MESSAGE BUFFER
  617. head=   131  tail=   132
  618.  
  619.  
  620. TRANS TO TELNET DATA BUFFER
  621. head=     8  tail=     9
  622.  
  623.  
  624. TELNET OPTION TABLES
  625. --------------------
  626.  
  627. local options desired :  
  628.  
  629. remote options desired :  
  630.  
  631. local options pending :  
  632.  
  633. remote options pending :  
  634.  
  635. local options in effect :  
  636.  
  637. remote options in effect :  
  638.  
  639. USER CONTROL BLOCK.
  640. ------------------
  641.  
  642. APL partial command buffer.
  643. length=     0
  644.  
  645.  
  646. APL data buffer.
  647. head=     0  tail=     1
  648.  
  649.  
  650. STATE INFORMATION.
  651. ------------------
  652.  
  653. port=     1
  654. tl_port_number=     2
  655. nvt_io_state = no_io_done
  656. communication_state = connection_established
  657. command_state = no_partial_command
  658. ga_state = go_ahead_sent
  659. ga_received = go_ahead_received
  660. synch_is_in_progress = no_synch_is_in_progress
  661. last_keybd_char_was_cmd = FALSE
  662. rcv_data_is_urgent = FALSE
  663. last_data_char_rcv_not_cr = TRUE
  664.  
  665. eeeeeeeeeeeeeeeeeeeeeeeee  dump all end   eeeeeeeeeeeeeeeeeeeeee
  666.  
  667.  
  668. ********  *** *** ***  call #     5 to user telnet  *** *** *** *******
  669.  
  670. begin process keyboard input
  671. apl process keyboard input thinks there is input
  672. character not a control function
  673. current character is data
  674. apl process keyboard input thinks there is input
  675. character not a control function
  676. current character is data
  677. apl process keyboard input thinks there is input
  678. character not a control function
  679. current character is part of partial command
  680. apl process keyboard input thinks there is input
  681. character not a control function
  682. current character is part of partial command
  683. apl process keyboard input thinks there is input
  684. character not a control function
  685. current character is part of partial command
  686. apl process keyboard input thinks there is input
  687. character not a control function
  688. current character is part of partial command
  689. apl process keyboard input thinks there is input
  690. character not a control function
  691. current character is part of partial command
  692. apl process keyboard input thinks there is input
  693. character not a control function
  694. current character is part of partial command
  695. end process keyboard input
  696. begin telnet_apl.process_any_messages.
  697. in vir_tl there is a message
  698. end vir_tl there is a message
  699. end telnet_apl.process_any_messages.
  700. begin telnet_apl.process_any_input_from_transport_level
  701. in vir_tl there is input
  702. end vir_tl there is input
  703. end telnet_apl.process_any_input_from_transport_level
  704.  
  705. ^^^^^^^^ ^^^ ^^^ ^^^ after call #     5 to user telnet  ^^^ ^^^ ^^^ ^^^^^^^^^
  706.  
  707.  
  708. .......................... dump all start ......................
  709.  
  710.  
  711. PPL TRANSPORT LEVEL BUFFERS.
  712. ----------------------------
  713.  
  714. TRANS TO TELNET MESSAGE BUFFER
  715. head=   131  tail=   132
  716.  
  717.  
  718. TRANS TO TELNET DATA BUFFER
  719. head=     8  tail=     9
  720.  
  721.  
  722. TELNET OPTION TABLES
  723. --------------------
  724.  
  725. local options desired :  
  726.  
  727. remote options desired :  
  728.  
  729. local options pending :  
  730.  
  731. remote options pending :  
  732.  
  733. local options in effect :  
  734.  
  735. remote options in effect :  
  736.  
  737. USER CONTROL BLOCK.
  738. ------------------
  739.  
  740. APL partial command buffer.
  741. length=     8
  742. @S A Y T
  743.  
  744. APL data buffer.
  745. head=     0  tail=     1
  746.  
  747.  
  748. STATE INFORMATION.
  749. ------------------
  750.  
  751. port=     1
  752. tl_port_number=     2
  753. nvt_io_state = io_done
  754. communication_state = connection_established
  755. command_state = partial_command
  756. ga_state = go_ahead_sent
  757. ga_received = go_ahead_received
  758. synch_is_in_progress = no_synch_is_in_progress
  759. last_keybd_char_was_cmd = FALSE
  760. rcv_data_is_urgent = FALSE
  761. last_data_char_rcv_not_cr = TRUE
  762.  
  763. eeeeeeeeeeeeeeeeeeeeeeeee  dump all end   eeeeeeeeeeeeeeeeeeeeee
  764.  
  765.  
  766. ********  *** *** ***  call #     6 to user telnet  *** *** *** *******
  767.  
  768. begin process keyboard input
  769. end process keyboard input
  770. begin telnet_apl.process_any_messages.
  771. in vir_tl there is a message
  772. end vir_tl there is a message
  773. end telnet_apl.process_any_messages.
  774. begin telnet_apl.process_any_input_from_transport_level
  775. in vir_tl there is input
  776. end vir_tl there is input
  777. end telnet_apl.process_any_input_from_transport_level
  778.  
  779. ^^^^^^^^ ^^^ ^^^ ^^^ after call #     6 to user telnet  ^^^ ^^^ ^^^ ^^^^^^^^^
  780.  
  781.  
  782. .......................... dump all start ......................
  783.  
  784.  
  785. PPL TRANSPORT LEVEL BUFFERS.
  786. ----------------------------
  787.  
  788. TRANS TO TELNET MESSAGE BUFFER
  789. head=   131  tail=   132
  790.  
  791.  
  792. TRANS TO TELNET DATA BUFFER
  793. head=     8  tail=     9
  794.  
  795.  
  796. TELNET OPTION TABLES
  797. --------------------
  798.  
  799. local options desired :  
  800.  
  801. remote options desired :  
  802.  
  803. local options pending :  
  804.  
  805. remote options pending :  
  806.  
  807. local options in effect :  
  808.  
  809. remote options in effect :  
  810.  
  811. USER CONTROL BLOCK.
  812. ------------------
  813.  
  814. APL partial command buffer.
  815. length=     8
  816. @S A Y T
  817.  
  818. APL data buffer.
  819. head=     0  tail=     1
  820.  
  821.  
  822. STATE INFORMATION.
  823. ------------------
  824.  
  825. port=     1
  826. tl_port_number=     2
  827. nvt_io_state = no_io_done
  828. communication_state = connection_established
  829. command_state = partial_command
  830. ga_state = go_ahead_sent
  831. ga_received = go_ahead_received
  832. synch_is_in_progress = no_synch_is_in_progress
  833. last_keybd_char_was_cmd = FALSE
  834. rcv_data_is_urgent = FALSE
  835. last_data_char_rcv_not_cr = TRUE
  836.  
  837. eeeeeeeeeeeeeeeeeeeeeeeee  dump all end   eeeeeeeeeeeeeeeeeeeeee
  838.  
  839.  
  840. ********  *** *** ***  call #     7 to user telnet  *** *** *** *******
  841.  
  842. begin process keyboard input
  843. end process keyboard input
  844. begin telnet_apl.process_any_messages.
  845. in vir_tl there is a message
  846. end vir_tl there is a message
  847. end telnet_apl.process_any_messages.
  848. begin telnet_apl.process_any_input_from_transport_level
  849. in vir_tl there is input
  850. end vir_tl there is input
  851. end telnet_apl.process_any_input_from_transport_level
  852.  
  853. ^^^^^^^^ ^^^ ^^^ ^^^ after call #     7 to user telnet  ^^^ ^^^ ^^^ ^^^^^^^^^
  854.  
  855.  
  856. .......................... dump all start ......................
  857.  
  858.  
  859. PPL TRANSPORT LEVEL BUFFERS.
  860. ----------------------------
  861.  
  862. TRANS TO TELNET MESSAGE BUFFER
  863. head=   131  tail=   132
  864.  
  865.  
  866. TRANS TO TELNET DATA BUFFER
  867. head=     8  tail=     9
  868.  
  869.  
  870. TELNET OPTION TABLES
  871. --------------------
  872.  
  873. local options desired :  
  874.  
  875. remote options desired :  
  876.  
  877. local options pending :  
  878.  
  879. remote options pending :  
  880.  
  881. local options in effect :  
  882.  
  883. remote options in effect :  
  884.  
  885. USER CONTROL BLOCK.
  886. ------------------
  887.  
  888. APL partial command buffer.
  889. length=     8
  890. @S A Y T
  891.  
  892. APL data buffer.
  893. head=     0  tail=     1
  894.  
  895.  
  896. STATE INFORMATION.
  897. ------------------
  898.  
  899. port=     1
  900. tl_port_number=     2
  901. nvt_io_state = no_io_done
  902. communication_state = connection_established
  903. command_state = partial_command
  904. ga_state = go_ahead_sent
  905. ga_received = go_ahead_received
  906. synch_is_in_progress = no_synch_is_in_progress
  907. last_keybd_char_was_cmd = FALSE
  908. rcv_data_is_urgent = FALSE
  909. last_data_char_rcv_not_cr = TRUE
  910.  
  911. eeeeeeeeeeeeeeeeeeeeeeeee  dump all end   eeeeeeeeeeeeeeeeeeeeee
  912.  
  913.  
  914. ********  *** *** ***  call #     8 to user telnet  *** *** *** *******
  915.  
  916. begin process keyboard input
  917. end process keyboard input
  918. begin telnet_apl.process_any_messages.
  919. in vir_tl there is a message
  920. end vir_tl there is a message
  921. end telnet_apl.process_any_messages.
  922. begin telnet_apl.process_any_input_from_transport_level
  923. in vir_tl there is input
  924. end vir_tl there is input
  925. end telnet_apl.process_any_input_from_transport_level
  926.  
  927. ^^^^^^^^ ^^^ ^^^ ^^^ after call #     8 to user telnet  ^^^ ^^^ ^^^ ^^^^^^^^^
  928.  
  929.  
  930. .......................... dump all start ......................
  931.  
  932.  
  933. PPL TRANSPORT LEVEL BUFFERS.
  934. ----------------------------
  935.  
  936. TRANS TO TELNET MESSAGE BUFFER
  937. head=   131  tail=   132
  938.  
  939.  
  940. TRANS TO TELNET DATA BUFFER
  941. head=     8  tail=     9
  942.  
  943.  
  944. TELNET OPTION TABLES
  945. --------------------
  946.  
  947. local options desired :  
  948.  
  949. remote options desired :  
  950.  
  951. local options pending :  
  952.  
  953. remote options pending :  
  954.  
  955. local options in effect :  
  956.  
  957. remote options in effect :  
  958.  
  959. USER CONTROL BLOCK.
  960. ------------------
  961.  
  962. APL partial command buffer.
  963. length=     8
  964. @S A Y T
  965.  
  966. APL data buffer.
  967. head=     0  tail=     1
  968.  
  969.  
  970. STATE INFORMATION.
  971. ------------------
  972.  
  973. port=     1
  974. tl_port_number=     2
  975. nvt_io_state = no_io_done
  976. communication_state = connection_established
  977. command_state = partial_command
  978. ga_state = go_ahead_sent
  979. ga_received = go_ahead_received
  980. synch_is_in_progress = no_synch_is_in_progress
  981. last_keybd_char_was_cmd = FALSE
  982. rcv_data_is_urgent = FALSE
  983. last_data_char_rcv_not_cr = TRUE
  984.  
  985. eeeeeeeeeeeeeeeeeeeeeeeee  dump all end   eeeeeeeeeeeeeeeeeeeeee
  986.  
  987.  
  988. ********  *** *** ***  call #     9 to user telnet  *** *** *** *******
  989.  
  990. begin process keyboard input
  991. apl process keyboard input thinks there is input
  992. character not a control function
  993. current character is part of partial command
  994. begin parse for semantics and make call
  995. keybd.parse_for_semantics
  996. command string=@S A Y T
  997. command string length=     8
  998. in determine command type, will try to do assign
  999. in determine command type, body assign complete
  1000. command_string=@S A Y T
  1001. pre call of strip ex char
  1002. in strip off extra characters, item=@S A Y T  string_length=     8
  1003. non-open detected
  1004. item_pos=     3 item(item_pos)= 
  1005. item_pos=     4 item(item_pos)=A
  1006. item_pos=     5 item(item_pos)= 
  1007. item_pos=     6 item(item_pos)=Y
  1008. item_pos=     7 item(item_pos)= 
  1009. item_pos=     8 item(item_pos)=T
  1010. leaving strip off extra characters, item=SAYT string_length=     0
  1011. post call of strip ex char
  1012. end determine command type
  1013. begin vir_tl.send_data
  1014. begin vir_tl.convert_service call...
  1015. virt_tl processing send call to TCP
  1016. in pvirtlpac.send_data to tcp (actual tcp call)
  1017. data code=<   255>
  1018. data code=<   246>
  1019. tl_byte_count=     1
  1020. telnet_ptr=   254
  1021. tcp_ptr=   253
  1022. end virt_tl processing send call to TCP
  1023. end of convt serv call to tl syntax
  1024. end vir_tl.send_data
  1025. end parse for semantics and make call
  1026. end process keyboard input
  1027. begin telnet_apl.process_any_messages.
  1028. in vir_tl there is a message
  1029. end vir_tl there is a message
  1030. end telnet_apl.process_any_messages.
  1031. begin telnet_apl.process_any_input_from_transport_level
  1032. in vir_tl there is input
  1033. end vir_tl there is input
  1034. end telnet_apl.process_any_input_from_transport_level
  1035.  
  1036. ^^^^^^^^ ^^^ ^^^ ^^^ after call #     9 to user telnet  ^^^ ^^^ ^^^ ^^^^^^^^^
  1037.  
  1038.  
  1039. .......................... dump all start ......................
  1040.  
  1041.  
  1042. PPL TRANSPORT LEVEL BUFFERS.
  1043. ----------------------------
  1044.  
  1045. TRANS TO TELNET MESSAGE BUFFER
  1046. head=   131  tail=   132
  1047.  
  1048.  
  1049. TRANS TO TELNET DATA BUFFER
  1050. head=     8  tail=     9
  1051.  
  1052.  
  1053. TELNET OPTION TABLES
  1054. --------------------
  1055.  
  1056. local options desired :  
  1057.  
  1058. remote options desired :  
  1059.  
  1060. local options pending :  
  1061.  
  1062. remote options pending :  
  1063.  
  1064. local options in effect :  
  1065.  
  1066. remote options in effect :  
  1067.  
  1068. USER CONTROL BLOCK.
  1069. ------------------
  1070.  
  1071. APL partial command buffer.
  1072. length=     0
  1073.  
  1074.  
  1075. APL data buffer.
  1076. head=     0  tail=     1
  1077.  
  1078.  
  1079. STATE INFORMATION.
  1080. ------------------
  1081.  
  1082. port=     1
  1083. tl_port_number=     2
  1084. nvt_io_state = io_done
  1085. communication_state = connection_established
  1086. command_state = no_partial_command
  1087. ga_state = go_ahead_sent
  1088. ga_received = go_ahead_received
  1089. synch_is_in_progress = no_synch_is_in_progress
  1090. last_keybd_char_was_cmd = FALSE
  1091. rcv_data_is_urgent = FALSE
  1092. last_data_char_rcv_not_cr = TRUE
  1093.  
  1094. eeeeeeeeeeeeeeeeeeeeeeeee  dump all end   eeeeeeeeeeeeeeeeeeeeee
  1095.  
  1096.  
  1097. ********  *** *** ***  call #    10 to user telnet  *** *** *** *******
  1098.  
  1099. begin process keyboard input
  1100. end process keyboard input
  1101. begin telnet_apl.process_any_messages.
  1102. in vir_tl there is a message
  1103. calling get&process because there is information
  1104. in vir_tl get_and_process_information...
  1105. msg #=    10
  1106. data msg detected
  1107.   telnet_ptr=   268  tcp_ptr :=   255
  1108.   position =   268  char_code =<    13>
  1109. stored
  1110.   position =   267  char_code =<    10>
  1111.   position =   266  char_code =<    73>
  1112. stored
  1113.   position =   265  char_code =<    32>
  1114. stored
  1115.   position =   264  char_code =<    65>
  1116. stored
  1117.   position =   263  char_code =<    77>
  1118. stored
  1119.   position =   262  char_code =<    32>
  1120. stored
  1121.   position =   261  char_code =<    72>
  1122. stored
  1123.   position =   260  char_code =<    69>
  1124. stored
  1125.   position =   259  char_code =<    82>
  1126. stored
  1127.   position =   258  char_code =<    69>
  1128. stored
  1129.   position =   257  char_code =<    46>
  1130. stored
  1131.   position =   256  char_code =<    13>
  1132. stored
  1133.   position =   255  char_code =<    10>
  1134. end vir_tl get_and_process_information...
  1135. end vir_tl there is a message
  1136. end telnet_apl.process_any_messages.
  1137. begin telnet_apl.process_any_input_from_transport_level
  1138. in vir_tl there is input
  1139. end vir_tl there is input
  1140. telnet_apl.process_any_input thinks there is input
  1141. in vir_tl there is input
  1142. end vir_tl there is input
  1143. pvirtlpac.get_input begin
  1144. in vir_tl there is input
  1145. end vir_tl there is input
  1146. input code =<    13>
  1147. pvirtlpac.get_input end
  1148. telnet_apl.proc_input.char=<    13>
  1149. was not a control function
  1150. in vir_tl there is input
  1151. end vir_tl there is input
  1152. telnet_apl.process_any_input thinks there is input
  1153. in vir_tl there is input
  1154. end vir_tl there is input
  1155. pvirtlpac.get_input begin
  1156. in vir_tl there is input
  1157. end vir_tl there is input
  1158. input code =<    73>
  1159. pvirtlpac.get_input end
  1160. telnet_apl.proc_input.char=<    73>
  1161. was not a control function
  1162. in vir_tl there is input
  1163. end vir_tl there is input
  1164. telnet_apl.process_any_input thinks there is input
  1165. in vir_tl there is input
  1166. end vir_tl there is input
  1167. pvirtlpac.get_input begin
  1168. in vir_tl there is input
  1169. end vir_tl there is input
  1170. input code =<    32>
  1171. pvirtlpac.get_input end
  1172. telnet_apl.proc_input.char=<    32>
  1173. was not a control function
  1174. in vir_tl there is input
  1175. end vir_tl there is input
  1176. telnet_apl.process_any_input thinks there is input
  1177. in vir_tl there is input
  1178. end vir_tl there is input
  1179. pvirtlpac.get_input begin
  1180. in vir_tl there is input
  1181. end vir_tl there is input
  1182. input code =<    65>
  1183. pvirtlpac.get_input end
  1184. telnet_apl.proc_input.char=<    65>
  1185. was not a control function
  1186. in vir_tl there is input
  1187. end vir_tl there is input
  1188. telnet_apl.process_any_input thinks there is input
  1189. in vir_tl there is input
  1190. end vir_tl there is input
  1191. pvirtlpac.get_input begin
  1192. in vir_tl there is input
  1193. end vir_tl there is input
  1194. input code =<    77>
  1195. pvirtlpac.get_input end
  1196. telnet_apl.proc_input.char=<    77>
  1197. was not a control function
  1198. in vir_tl there is input
  1199. end vir_tl there is input
  1200. telnet_apl.process_any_input thinks there is input
  1201. in vir_tl there is input
  1202. end vir_tl there is input
  1203. pvirtlpac.get_input begin
  1204. in vir_tl there is input
  1205. end vir_tl there is input
  1206. input code =<    32>
  1207. pvirtlpac.get_input end
  1208. telnet_apl.proc_input.char=<    32>
  1209. was not a control function
  1210. in vir_tl there is input
  1211. end vir_tl there is input
  1212. telnet_apl.process_any_input thinks there is input
  1213. in vir_tl there is input
  1214. end vir_tl there is input
  1215. pvirtlpac.get_input begin
  1216. in vir_tl there is input
  1217. end vir_tl there is input
  1218. input code =<    72>
  1219. pvirtlpac.get_input end
  1220. telnet_apl.proc_input.char=<    72>
  1221. was not a control function
  1222. in vir_tl there is input
  1223. end vir_tl there is input
  1224. telnet_apl.process_any_input thinks there is input
  1225. in vir_tl there is input
  1226. end vir_tl there is input
  1227. pvirtlpac.get_input begin
  1228. in vir_tl there is input
  1229. end vir_tl there is input
  1230. input code =<    69>
  1231. pvirtlpac.get_input end
  1232. telnet_apl.proc_input.char=<    69>
  1233. was not a control function
  1234. in vir_tl there is input
  1235. end vir_tl there is input
  1236. telnet_apl.process_any_input thinks there is input
  1237. in vir_tl there is input
  1238. end vir_tl there is input
  1239. pvirtlpac.get_input begin
  1240. in vir_tl there is input
  1241. end vir_tl there is input
  1242. input code =<    82>
  1243. pvirtlpac.get_input end
  1244. telnet_apl.proc_input.char=<    82>
  1245. was not a control function
  1246. in vir_tl there is input
  1247. end vir_tl there is input
  1248. telnet_apl.process_any_input thinks there is input
  1249. in vir_tl there is input
  1250. end vir_tl there is input
  1251. pvirtlpac.get_input begin
  1252. in vir_tl there is input
  1253. end vir_tl there is input
  1254. input code =<    69>
  1255. pvirtlpac.get_input end
  1256. telnet_apl.proc_input.char=<    69>
  1257. was not a control function
  1258. in vir_tl there is input
  1259. end vir_tl there is input
  1260. telnet_apl.process_any_input thinks there is input
  1261. in vir_tl there is input
  1262. end vir_tl there is input
  1263. pvirtlpac.get_input begin
  1264. in vir_tl there is input
  1265. end vir_tl there is input
  1266. input code =<    46>
  1267. pvirtlpac.get_input end
  1268. telnet_apl.proc_input.char=<    46>
  1269. was not a control function
  1270. in vir_tl there is input
  1271. end vir_tl there is input
  1272. telnet_apl.process_any_input thinks there is input
  1273. in vir_tl there is input
  1274. end vir_tl there is input
  1275. pvirtlpac.get_input begin
  1276. in vir_tl there is input
  1277. end vir_tl there is input
  1278. input code =<    13>
  1279. pvirtlpac.get_input end
  1280. telnet_apl.proc_input.char=<    13>
  1281. was not a control function
  1282. in vir_tl there is input
  1283. end vir_tl there is input
  1284. end telnet_apl.process_any_input_from_transport_level
  1285.  
  1286. ^^^^^^^^ ^^^ ^^^ ^^^ after call #    10 to user telnet  ^^^ ^^^ ^^^ ^^^^^^^^^
  1287.  
  1288.  
  1289. .......................... dump all start ......................
  1290.  
  1291.  
  1292. PPL TRANSPORT LEVEL BUFFERS.
  1293. ----------------------------
  1294.  
  1295. TRANS TO TELNET MESSAGE BUFFER
  1296. head=   131  tail=   132
  1297.  
  1298.  
  1299. TRANS TO TELNET DATA BUFFER
  1300. head=    20  tail=    21
  1301.  
  1302.  
  1303. TELNET OPTION TABLES
  1304. --------------------
  1305.  
  1306. local options desired :  
  1307.  
  1308. remote options desired :  
  1309.  
  1310. local options pending :  
  1311.  
  1312. remote options pending :  
  1313.  
  1314. local options in effect :  
  1315.  
  1316. remote options in effect :  
  1317.  
  1318. USER CONTROL BLOCK.
  1319. ------------------
  1320.  
  1321. APL partial command buffer.
  1322. length=     0
  1323.  
  1324.  
  1325. APL data buffer.
  1326. head=     0  tail=     1
  1327.  
  1328.  
  1329. STATE INFORMATION.
  1330. ------------------
  1331.  
  1332. port=     1
  1333. tl_port_number=     2
  1334. nvt_io_state = io_done
  1335. communication_state = connection_established
  1336. command_state = no_partial_command
  1337. ga_state = no_go_ahead_sent
  1338. ga_received = go_ahead_received
  1339. synch_is_in_progress = no_synch_is_in_progress
  1340. last_keybd_char_was_cmd = FALSE
  1341. rcv_data_is_urgent = FALSE
  1342. last_data_char_rcv_not_cr = TRUE
  1343.  
  1344. eeeeeeeeeeeeeeeeeeeeeeeee  dump all end   eeeeeeeeeeeeeeeeeeeeee
  1345.  
  1346.  
  1347. ********  *** *** ***  call #    11 to user telnet  *** *** *** *******
  1348.  
  1349. begin process keyboard input
  1350. end process keyboard input
  1351. begin telnet_apl.process_any_messages.
  1352. in vir_tl there is a message
  1353. end vir_tl there is a message
  1354. end telnet_apl.process_any_messages.
  1355. begin telnet_apl.process_any_input_from_transport_level
  1356. in vir_tl there is input
  1357. end vir_tl there is input
  1358. end telnet_apl.process_any_input_from_transport_level
  1359. telnet go ahead sent
  1360. begin vir_tl.send_data
  1361. begin vir_tl.convert_service call...
  1362. virt_tl processing send call to TCP
  1363. in pvirtlpac.send_data to tcp (actual tcp call)
  1364. data code=<   255>
  1365. data code=<   249>
  1366. tl_byte_count=     1
  1367. telnet_ptr=   254
  1368. tcp_ptr=   253
  1369. end virt_tl processing send call to TCP
  1370. end of convt serv call to tl syntax
  1371. end vir_tl.send_data
  1372.  
  1373. ^^^^^^^^ ^^^ ^^^ ^^^ after call #    11 to user telnet  ^^^ ^^^ ^^^ ^^^^^^^^^
  1374.  
  1375.  
  1376. .......................... dump all start ......................
  1377.  
  1378.  
  1379. PPL TRANSPORT LEVEL BUFFERS.
  1380. ----------------------------
  1381.  
  1382. TRANS TO TELNET MESSAGE BUFFER
  1383. head=   131  tail=   132
  1384.  
  1385.  
  1386. TRANS TO TELNET DATA BUFFER
  1387. head=    20  tail=    21
  1388.  
  1389.  
  1390. TELNET OPTION TABLES
  1391. --------------------
  1392.  
  1393. local options desired :  
  1394.  
  1395. remote options desired :  
  1396.  
  1397. local options pending :  
  1398.  
  1399. remote options pending :  
  1400.  
  1401. local options in effect :  
  1402.  
  1403. remote options in effect :  
  1404.  
  1405. USER CONTROL BLOCK.
  1406. ------------------
  1407.  
  1408. APL partial command buffer.
  1409. length=     0
  1410.  
  1411.  
  1412. APL data buffer.
  1413. head=     0  tail=     1
  1414.  
  1415.  
  1416. STATE INFORMATION.
  1417. ------------------
  1418.  
  1419. port=     1
  1420. tl_port_number=     2
  1421. nvt_io_state = no_io_done
  1422. communication_state = connection_established
  1423. command_state = no_partial_command
  1424. ga_state = go_ahead_sent
  1425. ga_received = go_ahead_received
  1426. synch_is_in_progress = no_synch_is_in_progress
  1427. last_keybd_char_was_cmd = FALSE
  1428. rcv_data_is_urgent = FALSE
  1429. last_data_char_rcv_not_cr = TRUE
  1430.  
  1431. eeeeeeeeeeeeeeeeeeeeeeeee  dump all end   eeeeeeeeeeeeeeeeeeeeee
  1432.  
  1433.  
  1434. ********  *** *** ***  call #    12 to user telnet  *** *** *** *******
  1435.  
  1436. begin process keyboard input
  1437. end process keyboard input
  1438. begin telnet_apl.process_any_messages.
  1439. in vir_tl there is a message
  1440. end vir_tl there is a message
  1441. end telnet_apl.process_any_messages.
  1442. begin telnet_apl.process_any_input_from_transport_level
  1443. in vir_tl there is input
  1444. end vir_tl there is input
  1445. end telnet_apl.process_any_input_from_transport_level
  1446.  
  1447. ^^^^^^^^ ^^^ ^^^ ^^^ after call #    12 to user telnet  ^^^ ^^^ ^^^ ^^^^^^^^^
  1448.  
  1449.  
  1450. .......................... dump all start ......................
  1451.  
  1452.  
  1453. PPL TRANSPORT LEVEL BUFFERS.
  1454. ----------------------------
  1455.  
  1456. TRANS TO TELNET MESSAGE BUFFER
  1457. head=   131  tail=   132
  1458.  
  1459.  
  1460. TRANS TO TELNET DATA BUFFER
  1461. head=    20  tail=    21
  1462.  
  1463.  
  1464. TELNET OPTION TABLES
  1465. --------------------
  1466.  
  1467. local options desired :  
  1468.  
  1469. remote options desired :  
  1470.  
  1471. local options pending :  
  1472.  
  1473. remote options pending :  
  1474.  
  1475. local options in effect :  
  1476.  
  1477. remote options in effect :  
  1478.  
  1479. USER CONTROL BLOCK.
  1480. ------------------
  1481.  
  1482. APL partial command buffer.
  1483. length=     0
  1484.  
  1485.  
  1486. APL data buffer.
  1487. head=     0  tail=     1
  1488.  
  1489.  
  1490. STATE INFORMATION.
  1491. ------------------
  1492.  
  1493. port=     1
  1494. tl_port_number=     2
  1495. nvt_io_state = no_io_done
  1496. communication_state = connection_established
  1497. command_state = no_partial_command
  1498. ga_state = go_ahead_sent
  1499. ga_received = go_ahead_received
  1500. synch_is_in_progress = no_synch_is_in_progress
  1501. last_keybd_char_was_cmd = FALSE
  1502. rcv_data_is_urgent = FALSE
  1503. last_data_char_rcv_not_cr = TRUE
  1504.  
  1505. eeeeeeeeeeeeeeeeeeeeeeeee  dump all end   eeeeeeeeeeeeeeeeeeeeee
  1506.  
  1507.  
  1508. ********  *** *** ***  call #    13 to user telnet  *** *** *** *******
  1509.  
  1510. begin process keyboard input
  1511. end process keyboard input
  1512. begin telnet_apl.process_any_messages.
  1513. in vir_tl there is a message
  1514. end vir_tl there is a message
  1515. end telnet_apl.process_any_messages.
  1516. begin telnet_apl.process_any_input_from_transport_level
  1517. in vir_tl there is input
  1518. end vir_tl there is input
  1519. end telnet_apl.process_any_input_from_transport_level
  1520.  
  1521. ^^^^^^^^ ^^^ ^^^ ^^^ after call #    13 to user telnet  ^^^ ^^^ ^^^ ^^^^^^^^^
  1522.  
  1523.  
  1524. .......................... dump all start ......................
  1525.  
  1526.  
  1527. PPL TRANSPORT LEVEL BUFFERS.
  1528. ----------------------------
  1529.  
  1530. TRANS TO TELNET MESSAGE BUFFER
  1531. head=   131  tail=   132
  1532.  
  1533.  
  1534. TRANS TO TELNET DATA BUFFER
  1535. head=    20  tail=    21
  1536.  
  1537.  
  1538. TELNET OPTION TABLES
  1539. --------------------
  1540.  
  1541. local options desired :  
  1542.  
  1543. remote options desired :  
  1544.  
  1545. local options pending :  
  1546.  
  1547. remote options pending :  
  1548.  
  1549. local options in effect :  
  1550.  
  1551. remote options in effect :  
  1552.  
  1553. USER CONTROL BLOCK.
  1554. ------------------
  1555.  
  1556. APL partial command buffer.
  1557. length=     0
  1558.  
  1559.  
  1560. APL data buffer.
  1561. head=     0  tail=     1
  1562.  
  1563.  
  1564. STATE INFORMATION.
  1565. ------------------
  1566.  
  1567. port=     1
  1568. tl_port_number=     2
  1569. nvt_io_state = no_io_done
  1570. communication_state = connection_established
  1571. command_state = no_partial_command
  1572. ga_state = go_ahead_sent
  1573. ga_received = go_ahead_received
  1574. synch_is_in_progress = no_synch_is_in_progress
  1575. last_keybd_char_was_cmd = FALSE
  1576. rcv_data_is_urgent = FALSE
  1577. last_data_char_rcv_not_cr = TRUE
  1578.  
  1579. eeeeeeeeeeeeeeeeeeeeeeeee  dump all end   eeeeeeeeeeeeeeeeeeeeee
  1580.  
  1581.  
  1582. ********  *** *** ***  call #    14 to user telnet  *** *** *** *******
  1583.  
  1584. begin process keyboard input
  1585. end process keyboard input
  1586. begin telnet_apl.process_any_messages.
  1587. in vir_tl there is a message
  1588. end vir_tl there is a message
  1589. end telnet_apl.process_any_messages.
  1590. begin telnet_apl.process_any_input_from_transport_level
  1591. in vir_tl there is input
  1592. end vir_tl there is input
  1593. end telnet_apl.process_any_input_from_transport_level
  1594.  
  1595. ^^^^^^^^ ^^^ ^^^ ^^^ after call #    14 to user telnet  ^^^ ^^^ ^^^ ^^^^^^^^^
  1596.  
  1597.  
  1598. .......................... dump all start ......................
  1599.  
  1600.  
  1601. PPL TRANSPORT LEVEL BUFFERS.
  1602. ----------------------------
  1603.  
  1604. TRANS TO TELNET MESSAGE BUFFER
  1605. head=   131  tail=   132
  1606.  
  1607.  
  1608. TRANS TO TELNET DATA BUFFER
  1609. head=    20  tail=    21
  1610.  
  1611.  
  1612. TELNET OPTION TABLES
  1613. --------------------
  1614.  
  1615. local options desired :  
  1616.  
  1617. remote options desired :  
  1618.  
  1619. local options pending :  
  1620.  
  1621. remote options pending :  
  1622.  
  1623. local options in effect :  
  1624.  
  1625. remote options in effect :  
  1626.  
  1627. USER CONTROL BLOCK.
  1628. ------------------
  1629.  
  1630. APL partial command buffer.
  1631. length=     0
  1632.  
  1633.  
  1634. APL data buffer.
  1635. head=     0  tail=     1
  1636.  
  1637.  
  1638. STATE INFORMATION.
  1639. ------------------
  1640.  
  1641. port=     1
  1642. tl_port_number=     2
  1643. nvt_io_state = no_io_done
  1644. communication_state = connection_established
  1645. command_state = no_partial_command
  1646. ga_state = go_ahead_sent
  1647. ga_received = go_ahead_received
  1648. synch_is_in_progress = no_synch_is_in_progress
  1649. last_keybd_char_was_cmd = FALSE
  1650. rcv_data_is_urgent = FALSE
  1651. last_data_char_rcv_not_cr = TRUE
  1652.  
  1653. eeeeeeeeeeeeeeeeeeeeeeeee  dump all end   eeeeeeeeeeeeeeeeeeeeee
  1654.  
  1655.  
  1656. ********  *** *** ***  call #    15 to user telnet  *** *** *** *******
  1657.  
  1658. begin process keyboard input
  1659. end process keyboard input
  1660. begin telnet_apl.process_any_messages.
  1661. in vir_tl there is a message
  1662. end vir_tl there is a message
  1663. end telnet_apl.process_any_messages.
  1664. begin telnet_apl.process_any_input_from_transport_level
  1665. in vir_tl there is input
  1666. end vir_tl there is input
  1667. end telnet_apl.process_any_input_from_transport_level
  1668.  
  1669. ^^^^^^^^ ^^^ ^^^ ^^^ after call #    15 to user telnet  ^^^ ^^^ ^^^ ^^^^^^^^^
  1670.  
  1671.  
  1672. .......................... dump all start ......................
  1673.  
  1674.  
  1675. PPL TRANSPORT LEVEL BUFFERS.
  1676. ----------------------------
  1677.  
  1678. TRANS TO TELNET MESSAGE BUFFER
  1679. head=   131  tail=   132
  1680.  
  1681.  
  1682. TRANS TO TELNET DATA BUFFER
  1683. head=    20  tail=    21
  1684.  
  1685.  
  1686. TELNET OPTION TABLES
  1687. --------------------
  1688.  
  1689. local options desired :  
  1690.  
  1691. remote options desired :  
  1692.  
  1693. local options pending :  
  1694.  
  1695. remote options pending :  
  1696.  
  1697. local options in effect :  
  1698.  
  1699. remote options in effect :  
  1700.  
  1701. USER CONTROL BLOCK.
  1702. ------------------
  1703.  
  1704. APL partial command buffer.
  1705. length=     0
  1706.  
  1707.  
  1708. APL data buffer.
  1709. head=     0  tail=     1
  1710.  
  1711.  
  1712. STATE INFORMATION.
  1713. ------------------
  1714.  
  1715. port=     1
  1716. tl_port_number=     2
  1717. nvt_io_state = no_io_done
  1718. communication_state = connection_established
  1719. command_state = no_partial_command
  1720. ga_state = go_ahead_sent
  1721. ga_received = go_ahead_received
  1722. synch_is_in_progress = no_synch_is_in_progress
  1723. last_keybd_char_was_cmd = FALSE
  1724. rcv_data_is_urgent = FALSE
  1725. last_data_char_rcv_not_cr = TRUE
  1726.  
  1727. eeeeeeeeeeeeeeeeeeeeeeeee  dump all end   eeeeeeeeeeeeeeeeeeeeee
  1728.  
  1729.  
  1730. ********  *** *** ***  call #    16 to user telnet  *** *** *** *******
  1731.  
  1732. begin process keyboard input
  1733. apl process keyboard input thinks there is input
  1734. character not a control function
  1735. current character is data
  1736. putting character in data buffer
  1737. apl process keyboard input thinks there is input
  1738. character not a control function
  1739. current character is data
  1740. putting character in data buffer
  1741. apl process keyboard input thinks there is input
  1742. character not a control function
  1743. current character is data
  1744. putting character in data buffer
  1745. apl process keyboard input thinks there is input
  1746. character not a control function
  1747. current character is data
  1748. putting character in data buffer
  1749. sending data buffer to trans level
  1750. begin vir_tl.send_data
  1751. begin vir_tl.convert_service call...
  1752. virt_tl processing send call to TCP
  1753. in pvirtlpac.send_data to tcp (actual tcp call)
  1754. data code=<    77>
  1755. data code=<    77>
  1756. data code=<    77>
  1757. data code=<    13>
  1758. data code=<    10>  lf inserted
  1759. tl_byte_count=     4
  1760. telnet_ptr=   251
  1761. tcp_ptr=   250
  1762. end virt_tl processing send call to TCP
  1763. end of convt serv call to tl syntax
  1764. end vir_tl.send_data
  1765. end process keyboard input
  1766. begin telnet_apl.process_any_messages.
  1767. in vir_tl there is a message
  1768. end vir_tl there is a message
  1769. end telnet_apl.process_any_messages.
  1770. begin telnet_apl.process_any_input_from_transport_level
  1771. in vir_tl there is input
  1772. end vir_tl there is input
  1773. end telnet_apl.process_any_input_from_transport_level
  1774.  
  1775. ^^^^^^^^ ^^^ ^^^ ^^^ after call #    16 to user telnet  ^^^ ^^^ ^^^ ^^^^^^^^^
  1776.  
  1777.  
  1778. .......................... dump all start ......................
  1779.  
  1780.  
  1781. PPL TRANSPORT LEVEL BUFFERS.
  1782. ----------------------------
  1783.  
  1784. TRANS TO TELNET MESSAGE BUFFER
  1785. head=   131  tail=   132
  1786.  
  1787.  
  1788. TRANS TO TELNET DATA BUFFER
  1789. head=    20  tail=    21
  1790.  
  1791.  
  1792. TELNET OPTION TABLES
  1793. --------------------
  1794.  
  1795. local options desired :  
  1796.  
  1797. remote options desired :  
  1798.  
  1799. local options pending :  
  1800.  
  1801. remote options pending :  
  1802.  
  1803. local options in effect :  
  1804.  
  1805. remote options in effect :  
  1806.  
  1807. USER CONTROL BLOCK.
  1808. ------------------
  1809.  
  1810. APL partial command buffer.
  1811. length=     0
  1812.  
  1813.  
  1814. APL data buffer.
  1815. head=     4  tail=     5
  1816.  
  1817.  
  1818. STATE INFORMATION.
  1819. ------------------
  1820.  
  1821. port=     1
  1822. tl_port_number=     2
  1823. nvt_io_state = io_done
  1824. communication_state = connection_established
  1825. command_state = no_partial_command
  1826. ga_state = go_ahead_sent
  1827. ga_received = no_go_ahead_received
  1828. synch_is_in_progress = no_synch_is_in_progress
  1829. last_keybd_char_was_cmd = FALSE
  1830. rcv_data_is_urgent = FALSE
  1831. last_data_char_rcv_not_cr = TRUE
  1832.  
  1833. eeeeeeeeeeeeeeeeeeeeeeeee  dump all end   eeeeeeeeeeeeeeeeeeeeee
  1834.  
  1835.  
  1836. ********  *** *** ***  call #    17 to user telnet  *** *** *** *******
  1837.  
  1838. begin process keyboard input
  1839. end process keyboard input
  1840. begin telnet_apl.process_any_messages.
  1841. in vir_tl there is a message
  1842. end vir_tl there is a message
  1843. end telnet_apl.process_any_messages.
  1844. begin telnet_apl.process_any_input_from_transport_level
  1845. in vir_tl there is input
  1846. end vir_tl there is input
  1847. end telnet_apl.process_any_input_from_transport_level
  1848.  
  1849. ^^^^^^^^ ^^^ ^^^ ^^^ after call #    17 to user telnet  ^^^ ^^^ ^^^ ^^^^^^^^^
  1850.  
  1851.  
  1852. .......................... dump all start ......................
  1853.  
  1854.  
  1855. PPL TRANSPORT LEVEL BUFFERS.
  1856. ----------------------------
  1857.  
  1858. TRANS TO TELNET MESSAGE BUFFER
  1859. head=   131  tail=   132
  1860.  
  1861.  
  1862. TRANS TO TELNET DATA BUFFER
  1863. head=    20  tail=    21
  1864.  
  1865.  
  1866. TELNET OPTION TABLES
  1867. --------------------
  1868.  
  1869. local options desired :  
  1870.  
  1871. remote options desired :  
  1872.  
  1873. local options pending :  
  1874.  
  1875. remote options pending :  
  1876.  
  1877. local options in effect :  
  1878.  
  1879. remote options in effect :  
  1880.  
  1881. USER CONTROL BLOCK.
  1882. ------------------
  1883.  
  1884. APL partial command buffer.
  1885. length=     0
  1886.  
  1887.  
  1888. APL data buffer.
  1889. head=     4  tail=     5
  1890.  
  1891.  
  1892. STATE INFORMATION.
  1893. ------------------
  1894.  
  1895. port=     1
  1896. tl_port_number=     2
  1897. nvt_io_state = no_io_done
  1898. communication_state = connection_established
  1899. command_state = no_partial_command
  1900. ga_state = go_ahead_sent
  1901. ga_received = no_go_ahead_received
  1902. synch_is_in_progress = no_synch_is_in_progress
  1903. last_keybd_char_was_cmd = FALSE
  1904. rcv_data_is_urgent = FALSE
  1905. last_data_char_rcv_not_cr = TRUE
  1906.  
  1907. eeeeeeeeeeeeeeeeeeeeeeeee  dump all end   eeeeeeeeeeeeeeeeeeeeee
  1908.  
  1909.  
  1910. ********  *** *** ***  call #    18 to user telnet  *** *** *** *******
  1911.  
  1912. begin process keyboard input
  1913. end process keyboard input
  1914. begin telnet_apl.process_any_messages.
  1915. in vir_tl there is a message
  1916. calling get&process because there is information
  1917. in vir_tl get_and_process_information...
  1918. msg #=    10
  1919. data msg detected
  1920.   telnet_ptr=   256  tcp_ptr :=   255
  1921.   position =   256  char_code =<   255>
  1922. stored
  1923.   position =   255  char_code =<   249>
  1924. stored
  1925. end vir_tl get_and_process_information...
  1926. end vir_tl there is a message
  1927. end telnet_apl.process_any_messages.
  1928. begin telnet_apl.process_any_input_from_transport_level
  1929. in vir_tl there is input
  1930. end vir_tl there is input
  1931. telnet_apl.process_any_input thinks there is input
  1932. in vir_tl there is input
  1933. end vir_tl there is input
  1934. pvirtlpac.get_input begin
  1935. in vir_tl there is input
  1936. end vir_tl there is input
  1937. input code =<   255>
  1938. pvirtlpac.get_input end
  1939. in vir_tl there is input
  1940. end vir_tl there is input
  1941. pvirtlpac.get_input begin
  1942. in vir_tl there is input
  1943. end vir_tl there is input
  1944. input code =<   249>
  1945. pvirtlpac.get_input end
  1946. telnet_apl.proc_input.char=<   249>
  1947. was a control function
  1948. begin atrinpac.process_standard_control_function
  1949. synch is NOT in progress,   NOT urgent data,   char_code=<   249>
  1950. begin atrinpac.process_standard_control_function
  1951. in vir_tl there is input
  1952. end vir_tl there is input
  1953. end telnet_apl.process_any_input_from_transport_level
  1954.  
  1955. ^^^^^^^^ ^^^ ^^^ ^^^ after call #    18 to user telnet  ^^^ ^^^ ^^^ ^^^^^^^^^
  1956.  
  1957.  
  1958. .......................... dump all start ......................
  1959.  
  1960.  
  1961. PPL TRANSPORT LEVEL BUFFERS.
  1962. ----------------------------
  1963.  
  1964. TRANS TO TELNET MESSAGE BUFFER
  1965. head=   131  tail=   132
  1966.  
  1967.  
  1968. TRANS TO TELNET DATA BUFFER
  1969. head=    22  tail=    23
  1970.  
  1971.  
  1972. TELNET OPTION TABLES
  1973. --------------------
  1974.  
  1975. local options desired :  
  1976.  
  1977. remote options desired :  
  1978.  
  1979. local options pending :  
  1980.  
  1981. remote options pending :  
  1982.  
  1983. local options in effect :  
  1984.  
  1985. remote options in effect :  
  1986.  
  1987. USER CONTROL BLOCK.
  1988. ------------------
  1989.  
  1990. APL partial command buffer.
  1991. length=     0
  1992.  
  1993.  
  1994. APL data buffer.
  1995. head=     4  tail=     5
  1996.  
  1997.  
  1998. STATE INFORMATION.
  1999. ------------------
  2000.  
  2001. port=     1
  2002. tl_port_number=     2
  2003. nvt_io_state = no_io_done
  2004. communication_state = connection_established
  2005. command_state = no_partial_command
  2006. ga_state = go_ahead_sent
  2007. ga_received = go_ahead_received
  2008. synch_is_in_progress = no_synch_is_in_progress
  2009. last_keybd_char_was_cmd = FALSE
  2010. rcv_data_is_urgent = FALSE
  2011. last_data_char_rcv_not_cr = TRUE
  2012.  
  2013. eeeeeeeeeeeeeeeeeeeeeeeee  dump all end   eeeeeeeeeeeeeeeeeeeeee
  2014.  
  2015.  
  2016. ********  *** *** ***  call #    19 to user telnet  *** *** *** *******
  2017.  
  2018. begin process keyboard input
  2019. apl process keyboard input thinks there is input
  2020. character not a control function
  2021. current character is data
  2022. apl process keyboard input thinks there is input
  2023. character not a control function
  2024. current character is data
  2025. apl process keyboard input thinks there is input
  2026. character not a control function
  2027. current character is part of partial command
  2028. begin parse for semantics and make call
  2029. keybd.parse_for_semantics
  2030. command string=@C
  2031. command string length=     2
  2032. in determine command type, will try to do assign
  2033. in determine command type, body assign complete
  2034. command_string=@C
  2035. pre call of strip ex char
  2036. in strip off extra characters, item=@C  string_length=     2
  2037. non-open detected
  2038. leaving strip off extra characters, item=C    string_length=     0
  2039. post call of strip ex char
  2040. end determine command type
  2041. Making close command call to
  2042. virtual_transport_level.convert_service_call_to_transport_level_syntax
  2043. begin vir_tl.convert_service call...
  2044. virt_tl processing close call to TCP
  2045. communication_state is no_connection_established
  2046. end of convt serv call to tl syntax
  2047. end parse for semantics and make call
  2048. end process keyboard input
  2049. begin telnet_apl.process_any_messages.
  2050. in vir_tl there is a message
  2051. end vir_tl there is a message
  2052. end telnet_apl.process_any_messages.
  2053. begin telnet_apl.process_any_input_from_transport_level
  2054. in vir_tl there is input
  2055. end vir_tl there is input
  2056. end telnet_apl.process_any_input_from_transport_level
  2057.  
  2058. ^^^^^^^^ ^^^ ^^^ ^^^ after call #    19 to user telnet  ^^^ ^^^ ^^^ ^^^^^^^^^
  2059.  
  2060.  
  2061. .......................... dump all start ......................
  2062.  
  2063.  
  2064. PPL TRANSPORT LEVEL BUFFERS.
  2065. ----------------------------
  2066.  
  2067. TRANS TO TELNET MESSAGE BUFFER
  2068. head=   131  tail=   132
  2069.  
  2070.  
  2071. TRANS TO TELNET DATA BUFFER
  2072. head=    22  tail=    23
  2073.  
  2074.  
  2075. TELNET OPTION TABLES
  2076. --------------------
  2077.  
  2078. local options desired :  
  2079.  
  2080. remote options desired :  
  2081.  
  2082. local options pending :  
  2083.  
  2084. remote options pending :  
  2085.  
  2086. local options in effect :  
  2087.  
  2088. remote options in effect :  
  2089.  
  2090. USER CONTROL BLOCK.
  2091. ------------------
  2092.  
  2093. APL partial command buffer.
  2094. length=     0
  2095.  
  2096.  
  2097. APL data buffer.
  2098. head=     4  tail=     5
  2099.  
  2100.  
  2101. STATE INFORMATION.
  2102. ------------------
  2103.  
  2104. port=     1
  2105. tl_port_number=     2
  2106. nvt_io_state = io_done
  2107. communication_state = connection_established
  2108. command_state = no_partial_command
  2109. ga_state = go_ahead_sent
  2110. ga_received = go_ahead_received
  2111. synch_is_in_progress = no_synch_is_in_progress
  2112. last_keybd_char_was_cmd = FALSE
  2113. rcv_data_is_urgent = FALSE
  2114. last_data_char_rcv_not_cr = TRUE
  2115.  
  2116. eeeeeeeeeeeeeeeeeeeeeeeee  dump all end   eeeeeeeeeeeeeeeeeeeeee
  2117.  
  2118.  
  2119. ********  *** *** ***  call #    20 to user telnet  *** *** *** *******
  2120.  
  2121. begin process keyboard input
  2122. end process keyboard input
  2123. begin telnet_apl.process_any_messages.
  2124. in vir_tl there is a message
  2125. end vir_tl there is a message
  2126. end telnet_apl.process_any_messages.
  2127. begin telnet_apl.process_any_input_from_transport_level
  2128. in vir_tl there is input
  2129. end vir_tl there is input
  2130. end telnet_apl.process_any_input_from_transport_level
  2131.  
  2132. ^^^^^^^^ ^^^ ^^^ ^^^ after call #    20 to user telnet  ^^^ ^^^ ^^^ ^^^^^^^^^
  2133.  
  2134.  
  2135. .......................... dump all start ......................
  2136.  
  2137.  
  2138. PPL TRANSPORT LEVEL BUFFERS.
  2139. ----------------------------
  2140.  
  2141. TRANS TO TELNET MESSAGE BUFFER
  2142. head=   131  tail=   132
  2143.  
  2144.  
  2145. TRANS TO TELNET DATA BUFFER
  2146. head=    22  tail=    23
  2147.  
  2148.  
  2149. TELNET OPTION TABLES
  2150. --------------------
  2151.  
  2152. local options desired :  
  2153.  
  2154. remote options desired :  
  2155.  
  2156. local options pending :  
  2157.  
  2158. remote options pending :  
  2159.  
  2160. local options in effect :  
  2161.  
  2162. remote options in effect :  
  2163.  
  2164. USER CONTROL BLOCK.
  2165. ------------------
  2166.  
  2167. APL partial command buffer.
  2168. length=     0
  2169.  
  2170.  
  2171. APL data buffer.
  2172. head=     4  tail=     5
  2173.  
  2174.  
  2175. STATE INFORMATION.
  2176. ------------------
  2177.  
  2178. port=     1
  2179. tl_port_number=     2
  2180. nvt_io_state = no_io_done
  2181. communication_state = connection_established
  2182. command_state = no_partial_command
  2183. ga_state = go_ahead_sent
  2184. ga_received = go_ahead_received
  2185. synch_is_in_progress = no_synch_is_in_progress
  2186. last_keybd_char_was_cmd = FALSE
  2187. rcv_data_is_urgent = FALSE
  2188. last_data_char_rcv_not_cr = TRUE
  2189.  
  2190. eeeeeeeeeeeeeeeeeeeeeeeee  dump all end   eeeeeeeeeeeeeeeeeeeeee
  2191.  
  2192.  
  2193. ********  *** *** ***  call #    21 to user telnet  *** *** *** *******
  2194.  
  2195. begin process keyboard input
  2196. end process keyboard input
  2197. begin telnet_apl.process_any_messages.
  2198. in vir_tl there is a message
  2199. calling get&process because there is information
  2200. in vir_tl get_and_process_information...
  2201. msg #=    18
  2202.   in pvirtlpac.store_message(s)
  2203. message ==>connection closed
  2204.   end pvirtlpac.store_message(s)
  2205. in passive open routine
  2206. end passive open
  2207. end vir_tl get_and_process_information...
  2208. end vir_tl there is a message
  2209. in vir_tl there is a message
  2210. end vir_tl there is a message
  2211. in get message
  2212. in vir_tl there is a message
  2213. end vir_tl there is a message
  2214.  at end of get message... message length =    18
  2215. in vir_tl there is a message
  2216. end vir_tl there is a message
  2217. end telnet_apl.process_any_messages.
  2218. begin telnet_apl.process_any_input_from_transport_level
  2219. in vir_tl there is input
  2220. end vir_tl there is input
  2221. end telnet_apl.process_any_input_from_transport_level
  2222.  
  2223. ^^^^^^^^ ^^^ ^^^ ^^^ after call #    21 to user telnet  ^^^ ^^^ ^^^ ^^^^^^^^^
  2224.  
  2225.  
  2226. .......................... dump all start ......................
  2227.  
  2228.  
  2229. PPL TRANSPORT LEVEL BUFFERS.
  2230. ----------------------------
  2231.  
  2232. TRANS TO TELNET MESSAGE BUFFER
  2233. head=   149  tail=   150
  2234.  
  2235.  
  2236. TRANS TO TELNET DATA BUFFER
  2237. head=    22  tail=    23
  2238.  
  2239.  
  2240. TELNET OPTION TABLES
  2241. --------------------
  2242.  
  2243. local options desired :  
  2244.  
  2245. remote options desired :  
  2246.  
  2247. local options pending :  
  2248.  
  2249. remote options pending :  
  2250.  
  2251. local options in effect :  
  2252.  
  2253. remote options in effect :  
  2254.  
  2255. USER CONTROL BLOCK.
  2256. ------------------
  2257.  
  2258. APL partial command buffer.
  2259. length=     0
  2260.  
  2261.  
  2262. APL data buffer.
  2263. head=     4  tail=     5
  2264.  
  2265.  
  2266. STATE INFORMATION.
  2267. ------------------
  2268.  
  2269. port=     1
  2270. tl_port_number=     2
  2271. nvt_io_state = io_done
  2272. communication_state = no_connection_established
  2273. command_state = no_partial_command
  2274. ga_state = no_go_ahead_sent
  2275. ga_received = no_go_ahead_received
  2276. synch_is_in_progress = no_synch_is_in_progress
  2277. last_keybd_char_was_cmd = FALSE
  2278. rcv_data_is_urgent = FALSE
  2279. last_data_char_rcv_not_cr = TRUE
  2280.  
  2281. eeeeeeeeeeeeeeeeeeeeeeeee  dump all end   eeeeeeeeeeeeeeeeeeeeee
  2282.  
  2283.  
  2284. ********  *** *** ***  call #    22 to user telnet  *** *** *** *******
  2285.  
  2286. begin process keyboard input
  2287. end process keyboard input
  2288. begin telnet_apl.process_any_messages.
  2289. in vir_tl there is a message
  2290. end vir_tl there is a message
  2291. end telnet_apl.process_any_messages.
  2292. begin telnet_apl.process_any_input_from_transport_level
  2293. in vir_tl there is input
  2294. end vir_tl there is input
  2295. end telnet_apl.process_any_input_from_transport_level
  2296.  
  2297. ^^^^^^^^ ^^^ ^^^ ^^^ after call #    22 to user telnet  ^^^ ^^^ ^^^ ^^^^^^^^^
  2298.  
  2299.  
  2300. .......................... dump all start ......................
  2301.  
  2302.  
  2303. PPL TRANSPORT LEVEL BUFFERS.
  2304. ----------------------------
  2305.  
  2306. TRANS TO TELNET MESSAGE BUFFER
  2307. head=   149  tail=   150
  2308.  
  2309.  
  2310. TRANS TO TELNET DATA BUFFER
  2311. head=    22  tail=    23
  2312.  
  2313.  
  2314. TELNET OPTION TABLES
  2315. --------------------
  2316.  
  2317. local options desired :  
  2318.  
  2319. remote options desired :  
  2320.  
  2321. local options pending :  
  2322.  
  2323. remote options pending :  
  2324.  
  2325. local options in effect :  
  2326.  
  2327. remote options in effect :  
  2328.  
  2329. USER CONTROL BLOCK.
  2330. ------------------
  2331.  
  2332. APL partial command buffer.
  2333. length=     0
  2334.  
  2335.  
  2336. APL data buffer.
  2337. head=     4  tail=     5
  2338.  
  2339.  
  2340. STATE INFORMATION.
  2341. ------------------
  2342.  
  2343. port=     1
  2344. tl_port_number=     2
  2345. nvt_io_state = no_io_done
  2346. communication_state = no_connection_established
  2347. command_state = no_partial_command
  2348. ga_state = no_go_ahead_sent
  2349. ga_received = no_go_ahead_received
  2350. synch_is_in_progress = no_synch_is_in_progress
  2351. last_keybd_char_was_cmd = FALSE
  2352. rcv_data_is_urgent = FALSE
  2353. last_data_char_rcv_not_cr = TRUE
  2354.  
  2355. eeeeeeeeeeeeeeeeeeeeeeeee  dump all end   eeeeeeeeeeeeeeeeeeeeee
  2356.  
  2357.  
  2358. ********  *** *** ***  call #    23 to user telnet  *** *** *** *******
  2359.  
  2360. begin process keyboard input
  2361. apl process keyboard input thinks there is input
  2362. character not a control function
  2363. current character is part of partial command
  2364. apl process keyboard input thinks there is input
  2365. character not a control function
  2366. current character is part of partial command
  2367. apl process keyboard input thinks there is input
  2368. character not a control function
  2369. current character is part of partial command
  2370. apl process keyboard input thinks there is input
  2371. character not a control function
  2372. current character is part of partial command
  2373. apl process keyboard input thinks there is input
  2374. character not a control function
  2375. current character is part of partial command
  2376. apl process keyboard input thinks there is input
  2377. character not a control function
  2378. current character is part of partial command
  2379. apl process keyboard input thinks there is input
  2380. character not a control function
  2381. current character is part of partial command
  2382. apl process keyboard input thinks there is input
  2383. character not a control function
  2384. current character is part of partial command
  2385. apl process keyboard input thinks there is input
  2386. character not a control function
  2387. current character is part of partial command
  2388. begin parse for semantics and make call
  2389. keybd.parse_for_semantics
  2390. command string=@O 1.1;2
  2391. command string length=     8
  2392. in determine command type, will try to do assign
  2393. in determine command type, body assign complete
  2394. command_string=@O 1.1;2
  2395. pre call of strip ex char
  2396. in strip off extra characters, item=@O 1.1;2  string_length=     8
  2397. open detected
  2398. open processed
  2399. leaving strip off extra characters, item=O   1.1;2 string_length=     9
  2400. post call of strip ex char
  2401. pre process_open_command_parameters 
  2402. in process_open_command_parameters
  2403. pre strip
  2404. in strip_command_to_address
  2405.  address_length=     9
  2406. command string=1.1;2
  2407. address_length=     5
  2408. end strip_command_to_adress
  2409. post strip, pre get_port_#
  2410. in get port number
  2411. port #=     2
  2412. length=     3
  2413. end get port number
  2414. post get_port_#
  2415. pre get imp#
  2416. in get imp #
  2417. in get next number
  2418. address=1.1
  2419. length=     3
  2420. after processing...
  2421. length=     1
  2422. number=     1
  2423. imp_number=     1
  2424. end get imp #
  2425. post get imp #
  2426. pre get logical host #
  2427. in get logical host #
  2428. in get next number
  2429. address=1
  2430. length=     1
  2431. after processing...
  2432. length=     0
  2433. number=     1
  2434. logical_host_number=     1
  2435. end get logical host #
  2436. post get logical host#
  2437. pre get host #
  2438. in get_host_#
  2439. in get next number
  2440. address=
  2441. length=     0
  2442. after processing...
  2443. length=     0
  2444. number=     0
  2445. host #=     0
  2446. end get_host_#
  2447. post get host #
  2448. pre get network number
  2449. in get_network_#
  2450. in get next number
  2451. address=
  2452. length=     0
  2453. after processing...
  2454. length=     0
  2455. number=     0
  2456. network #=    10
  2457. in get_network_#
  2458. post get network number
  2459. port #=     2
  2460. imp #=     1
  2461. logical host #=     1
  2462. host #=     0
  2463. network #=    10
  2464. end process_open_command_parameters
  2465. post process_open_command_parameters 
  2466. end determine command type
  2467. Making open command call to
  2468. virtual_transport_level.convert_service_call_to_transport_level_syntax
  2469. begin vir_tl.convert_service call...
  2470. virt_tl processed open call to TCP
  2471. network_number=    10
  2472. host_number=     0
  2473. logical_host_number=     1
  2474. imp_number=     1
  2475. port_number=     2
  2476. end of convt serv call to tl syntax
  2477. end parse for semantics and make call
  2478. end process keyboard input
  2479. begin telnet_apl.process_any_messages.
  2480. in vir_tl there is a message
  2481. end vir_tl there is a message
  2482. end telnet_apl.process_any_messages.
  2483. begin telnet_apl.process_any_input_from_transport_level
  2484. in vir_tl there is input
  2485. call get and process
  2486. in vir_tl get_and_process_information...
  2487. msg #=    14
  2488. return lcn msg detected
  2489. end vir_tl get_and_process_information...
  2490. end vir_tl there is input
  2491. end telnet_apl.process_any_input_from_transport_level
  2492.  
  2493. ^^^^^^^^ ^^^ ^^^ ^^^ after call #    23 to user telnet  ^^^ ^^^ ^^^ ^^^^^^^^^
  2494.  
  2495.  
  2496. .......................... dump all start ......................
  2497.  
  2498.  
  2499. PPL TRANSPORT LEVEL BUFFERS.
  2500. ----------------------------
  2501.  
  2502. TRANS TO TELNET MESSAGE BUFFER
  2503. head=   149  tail=   150
  2504.  
  2505.  
  2506. TRANS TO TELNET DATA BUFFER
  2507. head=    22  tail=    23
  2508.  
  2509.  
  2510. TELNET OPTION TABLES
  2511. --------------------
  2512.  
  2513. local options desired :  
  2514.  
  2515. remote options desired :  
  2516.  
  2517. local options pending :  
  2518.  
  2519. remote options pending :  
  2520.  
  2521. local options in effect :  
  2522.  
  2523. remote options in effect :  
  2524.  
  2525. USER CONTROL BLOCK.
  2526. ------------------
  2527.  
  2528. APL partial command buffer.
  2529. length=     0
  2530.  
  2531.  
  2532. APL data buffer.
  2533. head=     4  tail=     5
  2534.  
  2535.  
  2536. STATE INFORMATION.
  2537. ------------------
  2538.  
  2539. port=     1
  2540. tl_port_number=     2
  2541. nvt_io_state = io_done
  2542. communication_state = no_connection_established
  2543. command_state = no_partial_command
  2544. ga_state = no_go_ahead_sent
  2545. ga_received = no_go_ahead_received
  2546. synch_is_in_progress = no_synch_is_in_progress
  2547. last_keybd_char_was_cmd = FALSE
  2548. rcv_data_is_urgent = FALSE
  2549. last_data_char_rcv_not_cr = TRUE
  2550.  
  2551. eeeeeeeeeeeeeeeeeeeeeeeee  dump all end   eeeeeeeeeeeeeeeeeeeeee
  2552.  
  2553.  
  2554. ********  *** *** ***  call #    24 to user telnet  *** *** *** *******
  2555.  
  2556. begin process keyboard input
  2557. end process keyboard input
  2558. begin telnet_apl.process_any_messages.
  2559. in vir_tl there is a message
  2560. calling get&process because there is information
  2561. in vir_tl get_and_process_information...
  2562. msg #=    23
  2563. connection open msg detected
  2564. communication_state set to connection_established
  2565.   in pvirtlpac.store_message(s)
  2566. message ==>connection open
  2567.   end pvirtlpac.store_message(s)
  2568. end vir_tl get_and_process_information...
  2569. end vir_tl there is a message
  2570. in vir_tl there is a message
  2571. calling get&process because there is information
  2572. in vir_tl get_and_process_information...
  2573. msg #=    10
  2574. data msg detected
  2575.   telnet_ptr=   256  tcp_ptr :=   255
  2576.   position =   256  char_code =<   255>
  2577. stored
  2578.   position =   255  char_code =<   249>
  2579. stored
  2580. end vir_tl get_and_process_information...
  2581. end vir_tl there is a message
  2582. in get message
  2583. in vir_tl there is a message
  2584. calling get&process because there is information
  2585. in vir_tl get_and_process_information...
  2586. msg #=    10
  2587. data msg detected
  2588.   telnet_ptr=   257  tcp_ptr :=   255
  2589.   position =   257  char_code =<   255>
  2590. stored
  2591.   position =   256  char_code =<   253>
  2592. stored
  2593.   position =   255  char_code =<     3>
  2594. stored
  2595. end vir_tl get_and_process_information...
  2596. end vir_tl there is a message
  2597.  at end of get message... message length =    16
  2598. in vir_tl there is a message
  2599. calling get&process because there is information
  2600. in vir_tl get_and_process_information...
  2601. msg #=    10
  2602. data msg detected
  2603.   telnet_ptr=   257  tcp_ptr :=   255
  2604.   position =   257  char_code =<   255>
  2605. stored
  2606.   position =   256  char_code =<   251>
  2607. stored
  2608.   position =   255  char_code =<     3>
  2609. stored
  2610. end vir_tl get_and_process_information...
  2611. end vir_tl there is a message
  2612. end telnet_apl.process_any_messages.
  2613. begin telnet_apl.process_any_input_from_transport_level
  2614. in vir_tl there is input
  2615. end vir_tl there is input
  2616. telnet_apl.process_any_input thinks there is input
  2617. in vir_tl there is input
  2618. end vir_tl there is input
  2619. pvirtlpac.get_input begin
  2620. in vir_tl there is input
  2621. end vir_tl there is input
  2622. input code =<   255>
  2623. pvirtlpac.get_input end
  2624. in vir_tl there is input
  2625. end vir_tl there is input
  2626. pvirtlpac.get_input begin
  2627. in vir_tl there is input
  2628. end vir_tl there is input
  2629. input code =<   249>
  2630. pvirtlpac.get_input end
  2631. telnet_apl.proc_input.char=<   249>
  2632. was a control function
  2633. begin atrinpac.process_standard_control_function
  2634. synch is NOT in progress,   NOT urgent data,   char_code=<   249>
  2635. begin atrinpac.process_standard_control_function
  2636. in vir_tl there is input
  2637. end vir_tl there is input
  2638. telnet_apl.process_any_input thinks there is input
  2639. in vir_tl there is input
  2640. end vir_tl there is input
  2641. pvirtlpac.get_input begin
  2642. in vir_tl there is input
  2643. end vir_tl there is input
  2644. input code =<   255>
  2645. pvirtlpac.get_input end
  2646. in vir_tl there is input
  2647. end vir_tl there is input
  2648. pvirtlpac.get_input begin
  2649. in vir_tl there is input
  2650. end vir_tl there is input
  2651. input code =<   253>
  2652. pvirtlpac.get_input end
  2653. telnet_apl.proc_input.char=<   253>
  2654. was a control function
  2655. begin atrinpac.process_standard_control_function
  2656. synch is NOT in progress,   NOT urgent data,   char_code=<   253>
  2657. in vir_tl there is input
  2658. end vir_tl there is input
  2659. pvirtlpac.get_input begin
  2660. in vir_tl there is input
  2661. end vir_tl there is input
  2662. input code =<     3>
  2663. pvirtlpac.get_input end
  2664. begin vir_tl.send_data
  2665. begin vir_tl.convert_service call...
  2666. virt_tl processing send call to TCP
  2667. in pvirtlpac.send_data to tcp (actual tcp call)
  2668. data code=<   255>
  2669. data code=<   252>
  2670. data code=<     3>
  2671. tl_byte_count=     2
  2672. telnet_ptr=   253
  2673. tcp_ptr=   252
  2674. end virt_tl processing send call to TCP
  2675. end of convt serv call to tl syntax
  2676. end vir_tl.send_data
  2677. begin atrinpac.process_standard_control_function
  2678. in vir_tl there is input
  2679. end vir_tl there is input
  2680. telnet_apl.process_any_input thinks there is input
  2681. in vir_tl there is input
  2682. end vir_tl there is input
  2683. pvirtlpac.get_input begin
  2684. in vir_tl there is input
  2685. end vir_tl there is input
  2686. input code =<   255>
  2687. pvirtlpac.get_input end
  2688. in vir_tl there is input
  2689. end vir_tl there is input
  2690. pvirtlpac.get_input begin
  2691. in vir_tl there is input
  2692. end vir_tl there is input
  2693. input code =<   251>
  2694. pvirtlpac.get_input end
  2695. telnet_apl.proc_input.char=<   251>
  2696. was a control function
  2697. begin atrinpac.process_standard_control_function
  2698. synch is NOT in progress,   NOT urgent data,   char_code=<   251>
  2699. in vir_tl there is input
  2700. end vir_tl there is input
  2701. pvirtlpac.get_input begin
  2702. in vir_tl there is input
  2703. end vir_tl there is input
  2704. input code =<     3>
  2705. pvirtlpac.get_input end
  2706. begin vir_tl.send_data
  2707. begin vir_tl.convert_service call...
  2708. virt_tl processing send call to TCP
  2709. in pvirtlpac.send_data to tcp (actual tcp call)
  2710. data code=<   255>
  2711. data code=<   254>
  2712. data code=<     3>
  2713. tl_byte_count=     2
  2714. telnet_ptr=   253
  2715. tcp_ptr=   252
  2716. end virt_tl processing send call to TCP
  2717. end of convt serv call to tl syntax
  2718. end vir_tl.send_data
  2719. begin atrinpac.process_standard_control_function
  2720. in vir_tl there is input
  2721. end vir_tl there is input
  2722. end telnet_apl.process_any_input_from_transport_level
  2723. telnet go ahead sent
  2724. begin vir_tl.send_data
  2725. begin vir_tl.convert_service call...
  2726. virt_tl processing send call to TCP
  2727. in pvirtlpac.send_data to tcp (actual tcp call)
  2728. data code=<   255>
  2729. data code=<   249>
  2730. tl_byte_count=     1
  2731. telnet_ptr=   254
  2732. tcp_ptr=   253
  2733. end virt_tl processing send call to TCP
  2734. end of convt serv call to tl syntax
  2735. end vir_tl.send_data
  2736.  
  2737. ^^^^^^^^ ^^^ ^^^ ^^^ after call #    24 to user telnet  ^^^ ^^^ ^^^ ^^^^^^^^^
  2738.  
  2739.  
  2740. .......................... dump all start ......................
  2741.  
  2742.  
  2743. PPL TRANSPORT LEVEL BUFFERS.
  2744. ----------------------------
  2745.  
  2746. TRANS TO TELNET MESSAGE BUFFER
  2747. head=   165  tail=   281
  2748. $@$ local suppress_ga option denied by local telnet $@$<<    10>><<    13>>$@$ remote suppress_ga option denied by local Telnet $@$<<    10>><<    13>>
  2749.  
  2750. TRANS TO TELNET DATA BUFFER
  2751. head=    30  tail=    31
  2752.  
  2753.  
  2754. TELNET OPTION TABLES
  2755. --------------------
  2756.  
  2757. local options desired :  
  2758.  
  2759. remote options desired :  
  2760.  
  2761. local options pending :  
  2762.  
  2763. remote options pending :  
  2764.  
  2765. local options in effect :  
  2766.  
  2767. remote options in effect :  
  2768.  
  2769. USER CONTROL BLOCK.
  2770. ------------------
  2771.  
  2772. APL partial command buffer.
  2773. length=     0
  2774.  
  2775.  
  2776. APL data buffer.
  2777. head=     4  tail=     5
  2778.  
  2779.  
  2780. STATE INFORMATION.
  2781. ------------------
  2782.  
  2783. port=     1
  2784. tl_port_number=     2
  2785. nvt_io_state = no_io_done
  2786. communication_state = connection_established
  2787. command_state = no_partial_command
  2788. ga_state = go_ahead_sent
  2789. ga_received = go_ahead_received
  2790. synch_is_in_progress = no_synch_is_in_progress
  2791. last_keybd_char_was_cmd = FALSE
  2792. rcv_data_is_urgent = FALSE
  2793. last_data_char_rcv_not_cr = TRUE
  2794.  
  2795. eeeeeeeeeeeeeeeeeeeeeeeee  dump all end   eeeeeeeeeeeeeeeeeeeeee
  2796.  
  2797.  
  2798. ********  *** *** ***  call #    25 to user telnet  *** *** *** *******
  2799.  
  2800. begin process keyboard input
  2801. end process keyboard input
  2802. begin telnet_apl.process_any_messages.
  2803. in vir_tl there is a message
  2804. end vir_tl there is a message
  2805. in vir_tl there is a message
  2806. end vir_tl there is a message
  2807. in get message
  2808. in vir_tl there is a message
  2809. end vir_tl there is a message
  2810.  at end of get message... message length =    57
  2811. in vir_tl there is a message
  2812. end vir_tl there is a message
  2813. in vir_tl there is a message
  2814. end vir_tl there is a message
  2815. in get message
  2816. in vir_tl there is a message
  2817. end vir_tl there is a message
  2818.  at end of get message... message length =    58
  2819. in vir_tl there is a message
  2820. end vir_tl there is a message
  2821. end telnet_apl.process_any_messages.
  2822. begin telnet_apl.process_any_input_from_transport_level
  2823. in vir_tl there is input
  2824. end vir_tl there is input
  2825. end telnet_apl.process_any_input_from_transport_level
  2826.  
  2827. ^^^^^^^^ ^^^ ^^^ ^^^ after call #    25 to user telnet  ^^^ ^^^ ^^^ ^^^^^^^^^
  2828.  
  2829.  
  2830. .......................... dump all start ......................
  2831.  
  2832.  
  2833. PPL TRANSPORT LEVEL BUFFERS.
  2834. ----------------------------
  2835.  
  2836. TRANS TO TELNET MESSAGE BUFFER
  2837. head=   280  tail=   281
  2838.  
  2839.  
  2840. TRANS TO TELNET DATA BUFFER
  2841. head=    30  tail=    31
  2842.  
  2843.  
  2844. TELNET OPTION TABLES
  2845. --------------------
  2846.  
  2847. local options desired :  
  2848.  
  2849. remote options desired :  
  2850.  
  2851. local options pending :  
  2852.  
  2853. remote options pending :  
  2854.  
  2855. local options in effect :  
  2856.  
  2857. remote options in effect :  
  2858.  
  2859. USER CONTROL BLOCK.
  2860. ------------------
  2861.  
  2862. APL partial command buffer.
  2863. length=     0
  2864.  
  2865.  
  2866. APL data buffer.
  2867. head=     4  tail=     5
  2868.  
  2869.  
  2870. STATE INFORMATION.
  2871. ------------------
  2872.  
  2873. port=     1
  2874. tl_port_number=     2
  2875. nvt_io_state = no_io_done
  2876. communication_state = connection_established
  2877. command_state = no_partial_command
  2878. ga_state = go_ahead_sent
  2879. ga_received = go_ahead_received
  2880. synch_is_in_progress = no_synch_is_in_progress
  2881. last_keybd_char_was_cmd = FALSE
  2882. rcv_data_is_urgent = FALSE
  2883. last_data_char_rcv_not_cr = TRUE
  2884.  
  2885. eeeeeeeeeeeeeeeeeeeeeeeee  dump all end   eeeeeeeeeeeeeeeeeeeeee
  2886.  
  2887.  
  2888. ********  *** *** ***  call #    26 to user telnet  *** *** *** *******
  2889.  
  2890. begin process keyboard input
  2891. end process keyboard input
  2892. begin telnet_apl.process_any_messages.
  2893. in vir_tl there is a message
  2894. end vir_tl there is a message
  2895. end telnet_apl.process_any_messages.
  2896. begin telnet_apl.process_any_input_from_transport_level
  2897. in vir_tl there is input
  2898. end vir_tl there is input
  2899. end telnet_apl.process_any_input_from_transport_level
  2900.  
  2901. ^^^^^^^^ ^^^ ^^^ ^^^ after call #    26 to user telnet  ^^^ ^^^ ^^^ ^^^^^^^^^
  2902.  
  2903.  
  2904. .......................... dump all start ......................
  2905.  
  2906.  
  2907. PPL TRANSPORT LEVEL BUFFERS.
  2908. ----------------------------
  2909.  
  2910. TRANS TO TELNET MESSAGE BUFFER
  2911. head=   280  tail=   281
  2912.  
  2913.  
  2914. TRANS TO TELNET DATA BUFFER
  2915. head=    30  tail=    31
  2916.  
  2917.  
  2918. TELNET OPTION TABLES
  2919. --------------------
  2920.  
  2921. local options desired :  
  2922.  
  2923. remote options desired :  
  2924.  
  2925. local options pending :  
  2926.  
  2927. remote options pending :  
  2928.  
  2929. local options in effect :  
  2930.  
  2931. remote options in effect :  
  2932.  
  2933. USER CONTROL BLOCK.
  2934. ------------------
  2935.  
  2936. APL partial command buffer.
  2937. length=     0
  2938.  
  2939.  
  2940. APL data buffer.
  2941. head=     4  tail=     5
  2942.  
  2943.  
  2944. STATE INFORMATION.
  2945. ------------------
  2946.  
  2947. port=     1
  2948. tl_port_number=     2
  2949. nvt_io_state = no_io_done
  2950. communication_state = connection_established
  2951. command_state = no_partial_command
  2952. ga_state = go_ahead_sent
  2953. ga_received = go_ahead_received
  2954. synch_is_in_progress = no_synch_is_in_progress
  2955. last_keybd_char_was_cmd = FALSE
  2956. rcv_data_is_urgent = FALSE
  2957. last_data_char_rcv_not_cr = TRUE
  2958.  
  2959. eeeeeeeeeeeeeeeeeeeeeeeee  dump all end   eeeeeeeeeeeeeeeeeeeeee
  2960.  
  2961.  
  2962. ********  *** *** ***  call #    27 to user telnet  *** *** *** *******
  2963.  
  2964. begin process keyboard input
  2965. end process keyboard input
  2966. begin telnet_apl.process_any_messages.
  2967. in vir_tl there is a message
  2968. end vir_tl there is a message
  2969. end telnet_apl.process_any_messages.
  2970. begin telnet_apl.process_any_input_from_transport_level
  2971. in vir_tl there is input
  2972. end vir_tl there is input
  2973. end telnet_apl.process_any_input_from_transport_level
  2974.  
  2975. ^^^^^^^^ ^^^ ^^^ ^^^ after call #    27 to user telnet  ^^^ ^^^ ^^^ ^^^^^^^^^
  2976.  
  2977.  
  2978. .......................... dump all start ......................
  2979.  
  2980.  
  2981. PPL TRANSPORT LEVEL BUFFERS.
  2982. ----------------------------
  2983.  
  2984. TRANS TO TELNET MESSAGE BUFFER
  2985. head=   280  tail=   281
  2986.  
  2987.  
  2988. TRANS TO TELNET DATA BUFFER
  2989. head=    30  tail=    31
  2990.  
  2991.  
  2992. TELNET OPTION TABLES
  2993. --------------------
  2994.  
  2995. local options desired :  
  2996.  
  2997. remote options desired :  
  2998.  
  2999. local options pending :  
  3000.  
  3001. remote options pending :  
  3002.  
  3003. local options in effect :  
  3004.  
  3005. remote options in effect :  
  3006.  
  3007. USER CONTROL BLOCK.
  3008. ------------------
  3009.  
  3010. APL partial command buffer.
  3011. length=     0
  3012.  
  3013.  
  3014. APL data buffer.
  3015. head=     4  tail=     5
  3016.  
  3017.  
  3018. STATE INFORMATION.
  3019. ------------------
  3020.  
  3021. port=     1
  3022. tl_port_number=     2
  3023. nvt_io_state = no_io_done
  3024. communication_state = connection_established
  3025. command_state = no_partial_command
  3026. ga_state = go_ahead_sent
  3027. ga_received = go_ahead_received
  3028. synch_is_in_progress = no_synch_is_in_progress
  3029. last_keybd_char_was_cmd = FALSE
  3030. rcv_data_is_urgent = FALSE
  3031. last_data_char_rcv_not_cr = TRUE
  3032.  
  3033. eeeeeeeeeeeeeeeeeeeeeeeee  dump all end   eeeeeeeeeeeeeeeeeeeeee
  3034.  
  3035.  
  3036. ********  *** *** ***  call #    28 to user telnet  *** *** *** *******
  3037.  
  3038. begin process keyboard input
  3039. end process keyboard input
  3040. begin telnet_apl.process_any_messages.
  3041. in vir_tl there is a message
  3042. end vir_tl there is a message
  3043. end telnet_apl.process_any_messages.
  3044. begin telnet_apl.process_any_input_from_transport_level
  3045. in vir_tl there is input
  3046. end vir_tl there is input
  3047. end telnet_apl.process_any_input_from_transport_level
  3048.  
  3049. ^^^^^^^^ ^^^ ^^^ ^^^ after call #    28 to user telnet  ^^^ ^^^ ^^^ ^^^^^^^^^
  3050.  
  3051.  
  3052. .......................... dump all start ......................
  3053.  
  3054.  
  3055. PPL TRANSPORT LEVEL BUFFERS.
  3056. ----------------------------
  3057.  
  3058. TRANS TO TELNET MESSAGE BUFFER
  3059. head=   280  tail=   281
  3060.  
  3061.  
  3062. TRANS TO TELNET DATA BUFFER
  3063. head=    30  tail=    31
  3064.  
  3065.  
  3066. TELNET OPTION TABLES
  3067. --------------------
  3068.  
  3069. local options desired :  
  3070.  
  3071. remote options desired :  
  3072.  
  3073. local options pending :  
  3074.  
  3075. remote options pending :  
  3076.  
  3077. local options in effect :  
  3078.  
  3079. remote options in effect :  
  3080.  
  3081. USER CONTROL BLOCK.
  3082. ------------------
  3083.  
  3084. APL partial command buffer.
  3085. length=     0
  3086.  
  3087.  
  3088. APL data buffer.
  3089. head=     4  tail=     5
  3090.  
  3091.  
  3092. STATE INFORMATION.
  3093. ------------------
  3094.  
  3095. port=     1
  3096. tl_port_number=     2
  3097. nvt_io_state = no_io_done
  3098. communication_state = connection_established
  3099. command_state = no_partial_command
  3100. ga_state = go_ahead_sent
  3101. ga_received = go_ahead_received
  3102. synch_is_in_progress = no_synch_is_in_progress
  3103. last_keybd_char_was_cmd = FALSE
  3104. rcv_data_is_urgent = FALSE
  3105. last_data_char_rcv_not_cr = TRUE
  3106.  
  3107. eeeeeeeeeeeeeeeeeeeeeeeee  dump all end   eeeeeeeeeeeeeeeeeeeeee
  3108.  
  3109.  
  3110. ********  *** *** ***  call #    29 to user telnet  *** *** *** *******
  3111.  
  3112. begin process keyboard input
  3113. end process keyboard input
  3114. begin telnet_apl.process_any_messages.
  3115. in vir_tl there is a message
  3116. end vir_tl there is a message
  3117. end telnet_apl.process_any_messages.
  3118. begin telnet_apl.process_any_input_from_transport_level
  3119. in vir_tl there is input
  3120. end vir_tl there is input
  3121. end telnet_apl.process_any_input_from_transport_level
  3122.  
  3123. ^^^^^^^^ ^^^ ^^^ ^^^ after call #    29 to user telnet  ^^^ ^^^ ^^^ ^^^^^^^^^
  3124.  
  3125.  
  3126. .......................... dump all start ......................
  3127.  
  3128.  
  3129. PPL TRANSPORT LEVEL BUFFERS.
  3130. ----------------------------
  3131.  
  3132. TRANS TO TELNET MESSAGE BUFFER
  3133. head=   280  tail=   281
  3134.  
  3135.  
  3136. TRANS TO TELNET DATA BUFFER
  3137. head=    30  tail=    31
  3138.  
  3139.  
  3140. TELNET OPTION TABLES
  3141. --------------------
  3142.  
  3143. local options desired :  
  3144.  
  3145. remote options desired :  
  3146.  
  3147. local options pending :  
  3148.  
  3149. remote options pending :  
  3150.  
  3151. local options in effect :  
  3152.  
  3153. remote options in effect :  
  3154.  
  3155. USER CONTROL BLOCK.
  3156. ------------------
  3157.  
  3158. APL partial command buffer.
  3159. length=     0
  3160.  
  3161.  
  3162. APL data buffer.
  3163. head=     4  tail=     5
  3164.  
  3165.  
  3166. STATE INFORMATION.
  3167. ------------------
  3168.  
  3169. port=     1
  3170. tl_port_number=     2
  3171. nvt_io_state = no_io_done
  3172. communication_state = connection_established
  3173. command_state = no_partial_command
  3174. ga_state = go_ahead_sent
  3175. ga_received = go_ahead_received
  3176. synch_is_in_progress = no_synch_is_in_progress
  3177. last_keybd_char_was_cmd = FALSE
  3178. rcv_data_is_urgent = FALSE
  3179. last_data_char_rcv_not_cr = TRUE
  3180.  
  3181. eeeeeeeeeeeeeeeeeeeeeeeee  dump all end   eeeeeeeeeeeeeeeeeeeeee
  3182.  
  3183.  
  3184. ********  *** *** ***  call #    30 to user telnet  *** *** *** *******
  3185.  
  3186. begin process keyboard input
  3187. end process keyboard input
  3188. begin telnet_apl.process_any_messages.
  3189. in vir_tl there is a message
  3190. end vir_tl there is a message
  3191. end telnet_apl.process_any_messages.
  3192. begin telnet_apl.process_any_input_from_transport_level
  3193. in vir_tl there is input
  3194. end vir_tl there is input
  3195. end telnet_apl.process_any_input_from_transport_level
  3196.  
  3197. ^^^^^^^^ ^^^ ^^^ ^^^ after call #    30 to user telnet  ^^^ ^^^ ^^^ ^^^^^^^^^
  3198.  
  3199.  
  3200. .......................... dump all start ......................
  3201.  
  3202.  
  3203. PPL TRANSPORT LEVEL BUFFERS.
  3204. ----------------------------
  3205.  
  3206. TRANS TO TELNET MESSAGE BUFFER
  3207. head=   280  tail=   281
  3208.  
  3209.  
  3210. TRANS TO TELNET DATA BUFFER
  3211. head=    30  tail=    31
  3212.  
  3213.  
  3214. TELNET OPTION TABLES
  3215. --------------------
  3216.  
  3217. local options desired :  
  3218.  
  3219. remote options desired :  
  3220.  
  3221. local options pending :  
  3222.  
  3223. remote options pending :  
  3224.  
  3225. local options in effect :  
  3226.  
  3227. remote options in effect :  
  3228.  
  3229. USER CONTROL BLOCK.
  3230. ------------------
  3231.  
  3232. APL partial command buffer.
  3233. length=     0
  3234.  
  3235.  
  3236. APL data buffer.
  3237. head=     4  tail=     5
  3238.  
  3239.  
  3240. STATE INFORMATION.
  3241. ------------------
  3242.  
  3243. port=     1
  3244. tl_port_number=     2
  3245. nvt_io_state = no_io_done
  3246. communication_state = connection_established
  3247. command_state = no_partial_command
  3248. ga_state = go_ahead_sent
  3249. ga_received = go_ahead_received
  3250. synch_is_in_progress = no_synch_is_in_progress
  3251. last_keybd_char_was_cmd = FALSE
  3252. rcv_data_is_urgent = FALSE
  3253. last_data_char_rcv_not_cr = TRUE
  3254.  
  3255. eeeeeeeeeeeeeeeeeeeeeeeee  dump all end   eeeeeeeeeeeeeeeeeeeeee
  3256.  
  3257.  
  3258. ********  *** *** ***  call #    31 to user telnet  *** *** *** *******
  3259.  
  3260. begin process keyboard input
  3261. end process keyboard input
  3262. begin telnet_apl.process_any_messages.
  3263. in vir_tl there is a message
  3264. end vir_tl there is a message
  3265. end telnet_apl.process_any_messages.
  3266. begin telnet_apl.process_any_input_from_transport_level
  3267. in vir_tl there is input
  3268. end vir_tl there is input
  3269. end telnet_apl.process_any_input_from_transport_level
  3270.  
  3271. ^^^^^^^^ ^^^ ^^^ ^^^ after call #    31 to user telnet  ^^^ ^^^ ^^^ ^^^^^^^^^
  3272.  
  3273.  
  3274. .......................... dump all start ......................
  3275.  
  3276.  
  3277. PPL TRANSPORT LEVEL BUFFERS.
  3278. ----------------------------
  3279.  
  3280. TRANS TO TELNET MESSAGE BUFFER
  3281. head=   280  tail=   281
  3282.  
  3283.  
  3284. TRANS TO TELNET DATA BUFFER
  3285. head=    30  tail=    31
  3286.  
  3287.  
  3288. TELNET OPTION TABLES
  3289. --------------------
  3290.  
  3291. local options desired :  
  3292.  
  3293. remote options desired :  
  3294.  
  3295. local options pending :  
  3296.  
  3297. remote options pending :  
  3298.  
  3299. local options in effect :  
  3300.  
  3301. remote options in effect :  
  3302.  
  3303. USER CONTROL BLOCK.
  3304. ------------------
  3305.  
  3306. APL partial command buffer.
  3307. length=     0
  3308.  
  3309.  
  3310. APL data buffer.
  3311. head=     4  tail=     5
  3312.  
  3313.  
  3314. STATE INFORMATION.
  3315. ------------------
  3316.  
  3317. port=     1
  3318. tl_port_number=     2
  3319. nvt_io_state = no_io_done
  3320. communication_state = connection_established
  3321. command_state = no_partial_command
  3322. ga_state = go_ahead_sent
  3323. ga_received = go_ahead_received
  3324. synch_is_in_progress = no_synch_is_in_progress
  3325. last_keybd_char_was_cmd = FALSE
  3326. rcv_data_is_urgent = FALSE
  3327. last_data_char_rcv_not_cr = TRUE
  3328.  
  3329. eeeeeeeeeeeeeeeeeeeeeeeee  dump all end   eeeeeeeeeeeeeeeeeeeeee
  3330.  
  3331.  
  3332. ********  *** *** ***  call #    32 to user telnet  *** *** *** *******
  3333.  
  3334. begin process keyboard input
  3335. end process keyboard input
  3336. begin telnet_apl.process_any_messages.
  3337. in vir_tl there is a message
  3338. calling get&process because there is information
  3339. in vir_tl get_and_process_information...
  3340. msg #=    24
  3341.   in pvirtlpac.store_message(s)
  3342. message ==>error: connection aborted due to user time out
  3343.   end pvirtlpac.store_message(s)
  3344. in passive open routine
  3345. end passive open
  3346. end vir_tl get_and_process_information...
  3347. end vir_tl there is a message
  3348. in vir_tl there is a message
  3349. end vir_tl there is a message
  3350. in get message
  3351. in vir_tl there is a message
  3352. end vir_tl there is a message
  3353.  at end of get message... message length =    47
  3354. in vir_tl there is a message
  3355. end vir_tl there is a message
  3356. end telnet_apl.process_any_messages.
  3357. begin telnet_apl.process_any_input_from_transport_level
  3358. in vir_tl there is input
  3359. end vir_tl there is input
  3360. end telnet_apl.process_any_input_from_transport_level
  3361.  
  3362. ^^^^^^^^ ^^^ ^^^ ^^^ after call #    32 to user telnet  ^^^ ^^^ ^^^ ^^^^^^^^^
  3363.  
  3364.  
  3365. .......................... dump all start ......................
  3366.  
  3367.  
  3368. PPL TRANSPORT LEVEL BUFFERS.
  3369. ----------------------------
  3370.  
  3371. TRANS TO TELNET MESSAGE BUFFER
  3372. head=   327  tail=   328
  3373.  
  3374.  
  3375. TRANS TO TELNET DATA BUFFER
  3376. head=    30  tail=    31
  3377.  
  3378.  
  3379. TELNET OPTION TABLES
  3380. --------------------
  3381.  
  3382. local options desired :  
  3383.  
  3384. remote options desired :  
  3385.  
  3386. local options pending :  
  3387.  
  3388. remote options pending :  
  3389.  
  3390. local options in effect :  
  3391.  
  3392. remote options in effect :  
  3393.  
  3394. USER CONTROL BLOCK.
  3395. ------------------
  3396.  
  3397. APL partial command buffer.
  3398. length=     0
  3399.  
  3400.  
  3401. APL data buffer.
  3402. head=     4  tail=     5
  3403.  
  3404.  
  3405. STATE INFORMATION.
  3406. ------------------
  3407.  
  3408. port=     1
  3409. tl_port_number=     2
  3410. nvt_io_state = io_done
  3411. communication_state = no_connection_established
  3412. command_state = no_partial_command
  3413. ga_state = no_go_ahead_sent
  3414. ga_received = no_go_ahead_received
  3415. synch_is_in_progress = no_synch_is_in_progress
  3416. last_keybd_char_was_cmd = FALSE
  3417. rcv_data_is_urgent = FALSE
  3418. last_data_char_rcv_not_cr = TRUE
  3419.  
  3420. eeeeeeeeeeeeeeeeeeeeeeeee  dump all end   eeeeeeeeeeeeeeeeeeeeee
  3421.  
  3422.  
  3423. ********  *** *** ***  call #    33 to user telnet  *** *** *** *******
  3424.  
  3425. begin process keyboard input
  3426. end process keyboard input
  3427. begin telnet_apl.process_any_messages.
  3428. in vir_tl there is a message
  3429. end vir_tl there is a message
  3430. end telnet_apl.process_any_messages.
  3431. begin telnet_apl.process_any_input_from_transport_level
  3432. in vir_tl there is input
  3433. end vir_tl there is input
  3434. end telnet_apl.process_any_input_from_transport_level
  3435.  
  3436. ^^^^^^^^ ^^^ ^^^ ^^^ after call #    33 to user telnet  ^^^ ^^^ ^^^ ^^^^^^^^^
  3437.  
  3438.  
  3439. .......................... dump all start ......................
  3440.  
  3441.  
  3442. PPL TRANSPORT LEVEL BUFFERS.
  3443. ----------------------------
  3444.  
  3445. TRANS TO TELNET MESSAGE BUFFER
  3446. head=   327  tail=   328
  3447.  
  3448.  
  3449. TRANS TO TELNET DATA BUFFER
  3450. head=    30  tail=    31
  3451.  
  3452.  
  3453. TELNET OPTION TABLES
  3454. --------------------
  3455.  
  3456. local options desired :  
  3457.  
  3458. remote options desired :  
  3459.  
  3460. local options pending :  
  3461.  
  3462. remote options pending :  
  3463.  
  3464. local options in effect :  
  3465.  
  3466. remote options in effect :  
  3467.  
  3468. USER CONTROL BLOCK.
  3469. ------------------
  3470.  
  3471. APL partial command buffer.
  3472. length=     0
  3473.  
  3474.  
  3475. APL data buffer.
  3476. head=     4  tail=     5
  3477.  
  3478.  
  3479. STATE INFORMATION.
  3480. ------------------
  3481.  
  3482. port=     1
  3483. tl_port_number=     2
  3484. nvt_io_state = no_io_done
  3485. communication_state = no_connection_established
  3486. command_state = no_partial_command
  3487. ga_state = no_go_ahead_sent
  3488. ga_received = no_go_ahead_received
  3489. synch_is_in_progress = no_synch_is_in_progress
  3490. last_keybd_char_was_cmd = FALSE
  3491. rcv_data_is_urgent = FALSE
  3492. last_data_char_rcv_not_cr = TRUE
  3493.  
  3494. eeeeeeeeeeeeeeeeeeeeeeeee  dump all end   eeeeeeeeeeeeeeeeeeeeee
  3495.  
  3496. --::::::::::::::
  3497. --ethertest.txt
  3498. --::::::::::::::
  3499. with SYSTEM ;
  3500. with TEXT_IO ;                       use TEXT_IO ;
  3501. with SUBNET_CALLS ;                  use SUBNET_CALLS ;
  3502. with BUFFER_DATA ;                    use BUFFER_DATA ;
  3503. with IP_GLOBALS ;                    use IP_GLOBALS ;
  3504. procedure ETHERNET_TESTER is
  3505. DATAGRAM : PACKED_BUFFER_PTR ;
  3506. MESSAGE_STRING : STRING(1..99) ;
  3507. LOCAL_DESTINATION : LOCAL_ADDRESS_TYPE := 2 ;
  3508. PRECEDENCE : PRECEDENCE_TYPE := ROUTINE ;
  3509. RELIABILITY : RELIABILITY_TYPE := NORMAL ;
  3510. DELAY_IP : DELAY_TYPE := NORMAL ;
  3511. THROUGHPUT : THROUGHPUT_TYPE := NORMAL ;
  3512. LENGTH : DATAGRAM_LENGTH := 99 ;
  3513. MESSAGE_HOLDER : STRING (0..255) ;
  3514. DUMMY : CHARACTER ;
  3515. a_byte : system_byte ;
  3516. ch : character ;
  3517. begin
  3518.    text_io.new_line;
  3519.    text_io.put_line("Ethernet Tester.  Rev 1.1  09-JUL-85");
  3520.   for i in 1..99 loop
  3521.      message_string (i) := '9' ;
  3522.   end loop ;
  3523.   text_io.new_line;
  3524.   text_io.put_line("Initializing...");
  3525.   INIT ;
  3526.   loop
  3527.    NEW_LINE ;
  3528.    PUT ("ready to execute one loop (Y/N) ? ") ;
  3529.    GET (DUMMY) ;
  3530.    BUFFGET (DATAGRAM, 1 ) ;
  3531.    
  3532.    text_io.new_line;
  3533.    text_io.put("Got a Buffer");
  3534.    for INDEX in 1..99 loop
  3535.     DATAGRAM.BYTE (INDEX) := CHARACTER'POS (MESSAGE_STRING (INDEX)) ;
  3536.    end loop ;
  3537.    text_io.new_line;
  3538.    text_io.put("Datagram.Byte initialized");
  3539.    DATAGRAM.subnet_ptr := 1 ;
  3540.    subnet_calls.snp.SEND (DATAGRAM,
  3541.          LOCAL_DESTINATION, -- (VAX MARS)
  3542.          PRECEDENCE,
  3543.          RELIABILITY,
  3544.          DELAY_IP,
  3545.          THROUGHPUT,
  3546.          LENGTH) ;
  3547.    text_io.new_line;
  3548.    text_io.put("Returned from SEND...");
  3549.    loop
  3550.    --NEW_LINE ;
  3551.    --PUT ("ready to read ethernet   (Y/N) ? ") ;
  3552.    --GET (DUMMY) ;
  3553.    SNP.SUBNET_GET ; --CHECK ETHERNET RECEIVE
  3554.    SNP.DELIVER (DATAGRAM) ;
  3555.    if DATAGRAM = null then 
  3556.     --text_io.PUT_LINE ("no packets from ETHER ") ;
  3557.     null ;
  3558.    else
  3559.     PUT ("Message = ") ;
  3560.     for INDEX in 0..(datagram.size - 1) loop
  3561.      if ((INDEX mod 60) = 0) then
  3562.        new_line ;
  3563.        end if ;
  3564.      a_byte := datagram.byte (datagram.ip_ptr + index) ;
  3565.     if a_byte < character'pos('z') and a_byte > character'pos (' ') then
  3566.         ch := CHARACTER'VAL (DATAGRAM.BYTE (DATAGRAM.IP_PTR + INDEX)) ;
  3567.        ELSE CH := '.' ;
  3568.        end if ;
  3569.        put (ch) ;
  3570.       end loop ;
  3571.      end if ;
  3572.      end loop ;
  3573.      NEW_LINE ;
  3574.      PUT_LINE ("Send just completed!!! ") ;
  3575.     end loop ;
  3576.     exception
  3577.       when constraint_error =>
  3578.         text_io.put_line ("constraint error in ethertest") ;
  3579.       when others =>
  3580.         text_io.put_line (" other exception in ethertest") ;
  3581.         
  3582.    end ETHERNET_TESTER ;
  3583.    
  3584. --::::::::::::::
  3585. --proc.txt
  3586. --::::::::::::::
  3587. WITH SYSTEM, TEXT_IO, sequential_io  ;
  3588. USE SYSTEM, TEXT_IO ;
  3589. PROCEDURE remove_file_garbage IS
  3590.     
  3591.   PACKAGE SIO IS NEW SEQUENTIAL_IO (INTEGER) ;
  3592.   TYPE file_name IS
  3593.     RECORD
  3594.       f_n : STRING (1..50) ;
  3595.       f_n_l : INTEGER ;
  3596.     END record ;
  3597.   input_file_name, output_file_name : file_name ;
  3598.   line_count : INTEGER := 0 ;
  3599.   word, Left_byte, Right_byte : INTEGER ; 
  3600.   word_count : long_INTEGER := 0 ;
  3601.   i_file, o_file : SIO.FILE_TYPE ;
  3602.   beginning_not_found : boolean := true ;
  3603.   BEGIN
  3604.     TEXT_IO.PUT ("SOURCE FILE NAME : ") ;
  3605.     GET_LINE (input_file_name.f_n, input_file_name.f_n_l) ;
  3606.     output_file_name.f_n(1..10) := "dummy.text" ;
  3607.     output_file_name.f_n_l := 10 ;
  3608.     
  3609.     SIO.create (o_file, SIO.out_FILE,
  3610.      output_file_name.f_n (1..output_file_name.f_n_l)) ;
  3611.     SIO.OPEN (i_file, SIO.in_FILE,
  3612.      input_file_name.f_n (1..input_file_name.f_n_l)) ;
  3613.      
  3614.      --search for beginning of program
  3615.      WHILE ((NOT (SIO.END_OF_FILE (i_file))) and beginning_not_found) LOOP
  3616.       SIO.READ (i_file, word) ;
  3617.       left_byte := word / 256 ;
  3618.       right_byte := word MOD 256 ;
  3619.       IF (left_byte = 87 or left_byte = 119) then -- 'W' or 'w'
  3620.         beginning_not_found := FALSE ;
  3621.       ELSIF (right_byte = 87 or right_byte = 119) then -- 'W' or 'w'
  3622.         left_byte := 0 ; -- null
  3623.         beginning_not_found := FALSE ;
  3624.       END IF ;
  3625.     end loop ;
  3626.     
  3627.     -- copy rest of program
  3628.     WHILE (NOT (SIO.END_OF_FILE (i_file))) LOOP
  3629.       word := 256 * left_byte  + right_byte ;
  3630.       SIO.WRITE (o_file, word) ;
  3631.       SIO.READ (i_file, word) ;
  3632.       word_count := word_count + 1 ;
  3633.       if (word_count mod 512) = 0 then
  3634.         text_io.put("                       k-byte count=") ;
  3635.         text_io.integer_io.put(integer(word_count / 512)) ;
  3636.         text_io.new_line ;
  3637.       end if ;
  3638.       left_byte := word / 256 ;
  3639.       right_byte := word MOD 256 ;
  3640.       IF left_byte = 12 THEN
  3641.         left_byte := 0 ;
  3642.       END if ;
  3643.       IF right_byte = 12 THEN
  3644.         right_byte := 0 ;
  3645.       END if ;
  3646.       if right_byte = 13 or left_byte = 13 then -- eol
  3647.         line_count := line_count + 1 ;
  3648.         if (line_count MOD 100) = 0 then
  3649.           text_io.put("line count=") ;
  3650.           text_io.integer_io.put(line_count) ;
  3651.           text_io.new_line ;
  3652.         end if ;
  3653.       end if ;
  3654.     END LOOP ;
  3655.       
  3656.     word := 256 * left_byte  + right_byte ;
  3657.     SIO.WRITE (o_file, word) ;
  3658.     
  3659.     text_io.new_line ;
  3660.     text_io.new_line ;
  3661.     text_io.put("total line count=") ;
  3662.     text_io.integer_io.put(line_count) ;
  3663.     text_io.new_line ;
  3664.     text_io.put("total k-byte count=") ;
  3665.     text_io.integer_io.put(integer(word_count / 512)) ;
  3666.     text_io.new_line ;
  3667.    SIO.CLOSE (i_file) ;
  3668.    SIO.CLOSE (o_file) ;
  3669.    text_io.new_line ;
  3670.     
  3671.   END remove_file_garbage ;
  3672.         
  3673.      
  3674. --::::::::::::::
  3675. --ul.txt
  3676. --::::::::::::::
  3677. -- modified 7/15/85 by Mike Thomas : use cr to clear vax in create
  3678. WITH SYSTEM, TEXT_IO ;
  3679. USE  SYSTEM, TEXT_IO ;
  3680. PROCEDURE upload_wicat_rosfile_to_vax_vmsfile IS
  3681.           -----------------------------------
  3682. --                            PROCEDURE
  3683. --
  3684. -- Prompt the user for all the WICAT filenames to transfer and their
  3685. -- corresponding VAX filenames.  Open the VAX port.  Enter
  3686. -- transparent mode to allow the user to logon to the VAX.
  3687. -- (user enters <control> <a> when finished with transparent mode)
  3688. -- For each filename : create the next VAX file; open the 
  3689. -- the next WICAT file; while not end of WICAT file :
  3690. -- read a character from the WICAT file and write the character to the
  3691. -- VAX file; then close the VAX and WICAT files at end of WICAT file 
  3692. -- detection.  Finally, enter transparent mode to allow the user to
  3693. -- log off and then close the vax port.  
  3694. --
  3695. -- NOTES :
  3696. --
  3697. -- PROBLEMS WITH TEXT_IO...
  3698. -- THE PACKAGE TRASHES <CR> IT ALSO APPENDS A <LF> WHEN YOU WRITE 
  3699. -- OUT A <CR>.  SO DETECT <CR>, AND WRITE A <CR> TO DESTINATION FILE.
  3700. -- WICAT FILES DON'T HAVE A <LF> READ IN AT END OF LINE.
  3701. --
  3702. --                     6/29       4:30 PM    Mike Thomas
  3703. --
  3704. ---------------------   data declarations  -------------------------
  3705.   
  3706.   max_files                   : CONSTANT INTEGER := 60 ;
  3707.   vax_name_length             : CONSTANT INTEGER := 40 ;
  3708.   wicat_name_length           : CONSTANT INTEGER := 25 ;
  3709.   char_count                  : LONG_INTEGER ; -- # of chars transferred
  3710.   SUBTYPE vax_file_name      IS STRING(1..vax_name_length) ;
  3711.   SUBTYPE wicat_file_name    IS STRING(1..wicat_name_length) ;
  3712.   TYPE vax_file_array        IS ARRAY (1..max_files) OF vax_file_name ;
  3713.   TYPE wicat_file_array      IS ARRAY (1..max_files) OF wicat_file_name ;
  3714.   TYPE name_length_array     IS ARRAY (1..max_files) OF INTEGER ;
  3715.   
  3716.   TYPE vax_file_info_record IS
  3717.     RECORD
  3718.       vax_file_name   : vax_file_array ;
  3719.       name_length     : name_length_array ;
  3720.     END RECORD ;
  3721.     
  3722.   TYPE wicat_file_info_record IS
  3723.     RECORD
  3724.       wicat_file_name   : wicat_file_array ;
  3725.       name_length       : name_length_array ;
  3726.     END RECORD ;
  3727.     
  3728.   vf_data                  : vax_file_info_record ;
  3729.   wf_data                  : wicat_file_info_record ;
  3730.       
  3731.   char                     : CHARACTER ;
  3732.   SUBTYPE file_number     IS INTEGER RANGE 1..max_files ;
  3733.   number_of_files          : file_number ;
  3734.   end_of_file_not_found    : BOOLEAN ;
  3735.   
  3736. ------------------------   file declarations  -------------------
  3737.   
  3738.   file_vax_out               : TEXT_IO.FILE_TYPE ;
  3739.   file_vax_in                : TEXT_IO.FILE_TYPE ;
  3740.   file_wicat                 : TEXT_IO.FILE_TYPE ;
  3741.   input_file                 : TEXT_IO.FILE_MODE := TEXT_IO.IN_FILE ;
  3742.   output_file                : TEXT_IO.FILE_MODE := TEXT_IO.OUT_FILE ;
  3743. ------------------------  end of data declarations -----------------
  3744.   PROCEDURE prompt_the_user_for_filenames
  3745.             -----------------------------
  3746.    (vf_data               : OUT vax_file_info_record ;
  3747.     wf_data               : OUT wicat_file_info_record ;
  3748.     number_of_files       : OUT file_number) IS
  3749.     
  3750.     more_to_input : BOOLEAN := TRUE ;
  3751.     file_number   : INTEGER := 0 ;
  3752.   BEGIN
  3753.     TEXT_IO.PUT_LINE("INPUT THE WICAT AND VAX FILENAMES.  REMEMBER") ;
  3754.     TEXT_IO.PUT_LINE("TO USE THE FULL FILENAMES WHEN READING OR WRITING") ;
  3755.     TEXT_IO.PUT_LINE("FROM A DIRECTORY OTHER THAN YOUR DEFAULT DIRECTORY.") ;
  3756.     TEXT_IO.PUT_LINE("PRESS RETURN WITH NO FILENAME ENTERED TO END THE") ;
  3757.     TEXT_IO.PUT_LINE("INPUT SESSION.") ; 
  3758.     TEXT_IO.PUT_LINE(" ") ;
  3759.     WHILE more_to_input LOOP
  3760.       
  3761.       DECLARE
  3762.         vax_file : vax_file_name RENAMES
  3763.          vf_data.vax_file_name(file_number + 1) ;
  3764.         vax_name_length : INTEGER RENAMES
  3765.          vf_data.name_length(file_number + 1) ;
  3766.         wicat_file : wicat_file_name RENAMES
  3767.          wf_data.wicat_file_name(file_number + 1) ;
  3768.         wicat_name_length : INTEGER RENAMES
  3769.          wf_data.name_length(file_number + 1) ;
  3770.       BEGIN
  3771.         TEXT_IO.PUT_LINE(" ") ;
  3772.         TEXT_IO.PUT("ENTER WICAT FILENAME -->") ;
  3773.         TEXT_IO.GET_LINE(wicat_file, wicat_name_length) ;
  3774.         IF wicat_name_length > 0 THEN
  3775.           TEXT_IO.PUT("ENTER VAX FILENAME ==>") ;
  3776.           TEXT_IO.GET_LINE(vax_file, vax_name_length) ;
  3777.           file_number := file_number + 1 ;
  3778.         ELSE
  3779.           more_to_input := FALSE ;
  3780.         END IF ;
  3781.       END ; -- BLOCK
  3782.       number_of_files := file_number ;
  3783.     END LOOP ;
  3784.     FOR I IN 1..FILE_NUMBER LOOP -- display files
  3785.       TEXT_IO.PUT_LINE(" ") ;
  3786.       TEXT_IO.PUT(WF_DATA.WICAT_FILE_NAME(I)(1..WF_DATA.NAME_LENGTH(I))) ;
  3787.       TEXT_IO.PUT(" -----> ") ;
  3788.       TEXT_IO.PUT(VF_DATA.VAX_FILE_NAME(I)(1..VF_DATA.NAME_LENGTH(I))) ;
  3789.     END LOOP ;
  3790.     TEXT_IO.PUT_LINE(" ") ;
  3791.     TEXT_IO.PUT_LINE(" ") ;
  3792.     TEXT_IO.PUT_LINE(" ") ;
  3793.     TEXT_IO.PUT_LINE(" ") ;
  3794.   
  3795.   END prompt_the_user_for_filenames ;
  3796.   
  3797.   PROCEDURE open_the_vax_port IS
  3798.             -----------------
  3799.   BEGIN
  3800.     OPEN(file_vax_in, input_file, "con2:") ; -- serial port 1 on wicat 
  3801.     OPEN(file_vax_out, output_file, "con2:") ; -- serial port 1 on wicat 
  3802.     --OPEN(file_vax_in, input_file, "console:") ;  -- console for testing (debug)***
  3803.     --OPEN(file_vax_out, output_file, "console:") ; -- console for testing (debug)***
  3804.   END open_the_vax_port ;
  3805.   
  3806.   PROCEDURE wait_for_echo (expected_char : in character) IS
  3807.     echoed_char : character ;
  3808.     ok : BOOLEAN := TRUE ;
  3809.     found : BOOLEAN := FALSE ;
  3810.     
  3811.   BEGIN
  3812.     
  3813.     while (not ok) or (not found) loop
  3814.       text_io.get (file_vax_in, echoed_char) ;
  3815.       --text_io.put_line("got character from vax: ");
  3816.       --text_io.integer_io.put(character'pos(echoed_char));
  3817.       if echoed_char = expected_char then
  3818.         found := TRUE ;
  3819.         --text_io.put_line("Matched character sent.");
  3820.       elsif echoed_char = ASCII.DC3 then
  3821.         ok := FALSE ;
  3822.         text_io.new_line;
  3823.         text_io.put_line("XOFF");
  3824.       elsif echoed_char = ASCII.DC1 then
  3825.         ok := TRUE ;
  3826.         text_io.new_line;
  3827.         text_io.put_line("XON");
  3828.       else
  3829.         if character'pos(echoed_char)=27 then
  3830.            text_io.put_line("expected character not received.  Got ");
  3831.            text_io.integer_io.put(character'pos(echoed_char));
  3832.            text_io.put(".  Expected ");
  3833.            text_io.integer_io.put(character'pos(expected_char));
  3834.            text_io.put_line(".");
  3835.         elsif echoed_char=ascii.lf then
  3836.            text_io.new_line;
  3837.         else
  3838.            text_io.put(echoed_char);
  3839.         end if;
  3840.            
  3841.       end if ;
  3842.       
  3843.     end loop ;
  3844.     
  3845.   END wait_for_echo ;
  3846.       
  3847.       
  3848.       
  3849.       
  3850.   PROCEDURE write_character_to_vax_file 
  3851.             ---------------------------
  3852.    (char : IN CHARACTER) IS
  3853.   BEGIN
  3854.      if (char /= ascii.lf) and (char /= ascii.cr) and (char /= ascii.ht)
  3855.                            and (character'pos(char) /= 26) then
  3856.        if character'pos(char) < 32 then
  3857.           text_io.put_line("bad character sent: ");
  3858.           text_io.integer_io.put(character'pos(char));
  3859.        end if;
  3860.      end if;
  3861.      if character'pos(char) /= 27 then     -- filter out <esc>'s
  3862.        TEXT_IO.PUT(file_vax_out, char) ;
  3863.      end if;
  3864.     --text_io.put(char);
  3865.     --text_io.put("character sent: ");
  3866.     --text_io.integer_io.put(character'pos(char));
  3867.     if (char /= ASCII.SUB) and (char /= ASCII.CR)  then   -- VAX EDF marker not ehoed (?)
  3868.       wait_for_echo (char) ;
  3869.     end if ;
  3870.     
  3871.     if char = ASCII.CR then
  3872.       wait_for_echo (ASCII.LF) ;
  3873.     end if ;
  3874.   END write_character_to_vax_file ;
  3875.   
  3876.   PROCEDURE write_string_to_vax_file
  3877.             ------------------------
  3878.    (item : IN STRING)  IS
  3879.   BEGIN
  3880.     FOR i IN 1..item'length LOOP
  3881.       write_character_to_vax_file(item(i)) ;
  3882.     END LOOP ;
  3883.   END write_string_to_vax_file ;
  3884.   PROCEDURE create_vax_file
  3885.             ---------------
  3886.    (vax_file        : IN vax_file_name ;
  3887.     vax_name_length : IN INTEGER) IS
  3888.     crcr : STRING (1..4) ;
  3889.   BEGIN
  3890.     crcr(1) :=  ASCII.cr ;
  3891.     crcr(2) :=  ASCII.cr ; -- clear command line
  3892.     crcr(3) :=  ASCII.cr ; -- clear command line
  3893.     crcr(4) :=  ASCII.cr ; -- clear command line
  3894.     write_string_to_vax_file(crcr) ; -- clear;
  3895.     write_string_to_vax_file("set term/nowrap") ; -- avoid crlf by vax at eol
  3896.     write_character_to_vax_file(ASCII.CR) ;
  3897.     write_string_to_vax_file("create ") ;
  3898.     write_string_to_vax_file(vax_file(1..vax_name_length)) ;
  3899.     write_character_to_vax_file(ASCII.CR) ;
  3900.   
  3901.   END create_vax_file ;
  3902.   PROCEDURE read_character_from_wicat_file 
  3903.             ------------------------------
  3904.    (char            : OUT CHARACTER;
  3905.     not_end_of_file : OUT BOOLEAN) IS
  3906.    
  3907.   BEGIN
  3908.     not_end_of_file := TRUE ;
  3909.     IF TEXT_IO.END_OF_LINE(file_wicat) THEN
  3910.       write_character_to_vax_file(ASCII.CR) ; -- TEXT_IO will append <lf>
  3911.     ELSE
  3912.       IF TEXT_IO.END_OF_PAGE(file_wicat) THEN
  3913.         write_character_to_vax_file(ASCII.FF) ;
  3914.       END IF ;
  3915.     END IF ;
  3916.     GET(file_wicat, char) ;
  3917.     
  3918.     EXCEPTION 
  3919.       WHEN TEXT_IO.END_ERROR => not_end_of_file := FALSE ;
  3920.    
  3921.   END read_character_from_wicat_file ;
  3922.   
  3923.   
  3924.   PROCEDURE close_vax_file IS
  3925.             --------------
  3926.   
  3927.   end_of_file : CHARACTER := ASCII.SUB ;
  3928.   
  3929.   BEGIN
  3930.     write_character_to_vax_file(end_of_file) ; -- send control z
  3931.   END  close_vax_file ;
  3932.   
  3933.   PROCEDURE enter_transparent_mode IS -- not implimented yet
  3934.             ----------------------
  3935.   BEGIN
  3936.     NULL ;
  3937.   END enter_transparent_mode ;
  3938.     
  3939. BEGIN --  *** MAIN PROCEDURE ***
  3940.   prompt_the_user_for_filenames(vf_data, wf_data, number_of_files) ;
  3941.   open_the_vax_port ;
  3942.   enter_transparent_mode ; -- to allow user to sign on to VAX
  3943.   IF number_of_files > 0 THEN
  3944.     FOR file_number IN 1..number_of_files LOOP
  3945.       
  3946.       DECLARE
  3947.         vax_file   : vax_file_name RENAMES
  3948.          vf_data.vax_file_name(file_number) ;
  3949.         vax_name_length : INTEGER RENAMES
  3950.          vf_data.name_length(file_number) ;
  3951.         wicat_file : wicat_file_name RENAMES
  3952.          wf_data.wicat_file_name(file_number) ;
  3953.         wicat_name_length : INTEGER RENAMES
  3954.          wf_data.name_length(file_number) ;
  3955.       
  3956.       BEGIN
  3957.         char_count := 0 ;
  3958.         create_vax_file(vax_file, vax_name_length) ;
  3959.         TEXT_IO.PUT("UPLOADING    ") ;
  3960.         TEXT_IO.PUT(wicat_file(1..wicat_name_length)) ;
  3961.         TEXT_IO.PUT(" -----> ") ;
  3962.         TEXT_IO.PUT_LINE(vax_file(1..vax_name_length)) ;
  3963.         TEXT_IO.PUT_LINE("^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^") ;
  3964.         TEXT_IO.OPEN(file_wicat, input_file, wicat_file(1..wicat_name_length)); 
  3965.         end_of_file_not_found := TRUE ;
  3966.         WHILE end_of_file_not_found LOOP
  3967.           read_character_from_wicat_file(char, end_of_file_not_found) ;
  3968.           IF end_of_file_not_found then 
  3969.             write_character_to_vax_file(char) ;
  3970.             char_count := char_count + 1 ;
  3971.             IF char_count MOD 1024 = 0 THEN TEXT_IO.PUT(".") ; END IF ;
  3972.           END IF ;
  3973.         END LOOP ;
  3974.         close_vax_file ;
  3975.         CLOSE(file_wicat) ;
  3976.         TEXT_IO.PUT(ASCII.BEL); TEXT_IO.PUT_LINE(" ");-- signal done with one file
  3977.       END ; -- block
  3978.     END LOOP ;
  3979.   END IF;
  3980.   enter_transparent_mode ; -- to allow user to log off
  3981.   CLOSE(file_vax_in) ; -- close vax port
  3982.   CLOSE(file_vax_out) ;
  3983.   TEXT_IO.PUT(ASCII.BEL) ; -- signal done with all files
  3984.   TEXT_IO.PUT(ASCII.BEL) ; 
  3985.   TEXT_IO.PUT(ASCII.BEL) ; 
  3986.   TEXT_IO.PUT_LINE(" ") ;
  3987.   TEXT_IO.PUT_LINE("UPLOAD COMPLETE.") ;
  3988.       
  3989. END upload_wicat_rosfile_to_vax_vmsfile ;
  3990.