User Tools

Site Tools


cdc:nos2.source:nam5871:cssrhr

CSSRHR

Table Of Contents

  • [00005] PROC CSSRHR
  • [00006] CSSRHR - RESPOND TO HISTORY REQUEST.
  • [00010] RESPOND TO HISTORY REQUEST.
  • [00033] PROC SSTAQE
  • [00034] PROC SSTRQE

Source Code

CSSRHR.txt
  1. *DECK CSSRHR
  2. USETEXT TEXTCS
  3. USETEXT TEXTSS
  4. USETEXT TXTAPSS
  5. PROC CSSRHR;
  6. # TITLE CSSRHR - RESPOND TO HISTORY REQUEST. #
  7.  
  8. BEGIN # CSSRHR #
  9. #
  10. ** CSSRHR - RESPOND TO HISTORY REQUEST.
  11. *
  12. * D. G. DEPEW. 82/03/22.
  13. *
  14. * THIS IS A STUB ROUTINE THAT IS NEEDED TO GET THE HOP C-LAYER
  15. * WORKING. IT WORKS FOR NOP'S, ALSO.
  16. *
  17. * PROC CSSRHR
  18. *
  19. * ENTRY THE HISTORY REQUEST QUEUE (*HRQ*) CONTAINS ONE OR MORE
  20. * ENTRIES.
  21. *
  22. * EXIT 1. THE *HRQ* IS EMPTY.
  23. * 2. FOR EACH ENTRY THAT WAS IN THE *HRQ* UPON ENTRY, A
  24. * TERMINAL TEXT ENTRY HAS BEEN PLACED IN THE CONNECTION
  25. * TRAFFIC QUEUE (*CNQ*).
  26. #
  27.  
  28. #
  29. **** PROC CSSRHR - XREF LIST.
  30. #
  31. XREF
  32. BEGIN
  33. PROC SSTAQE; # ACCEPT QUEUE ENTRY #
  34. PROC SSTRQE; # REMOVE QUEUE ENTRY #
  35. END
  36. #
  37. ****
  38. #
  39.  
  40.  
  41. ITEM I; # LOOP INDUCTION VARIABLE #
  42.  
  43.  
  44. ARRAY HISTWC [00:00] S(1);
  45. BEGIN
  46. ITEM HWC$SMID U(00,00,12) = [SMID"TTEXT"];
  47. ITEM HWC$IAF B(00,12,01) = [TRUE];
  48. ITEM HWC$WC U(00,48,12) = [6];
  49. END
  50.  
  51. ARRAY HISTABH [00:00] S(1);
  52. BEGIN
  53. ITEM HH$OPER U(00,06,12);
  54. ITEM HH$TLC U(00,48,12) = [40];
  55. END
  56.  
  57. ARRAY HISTMSG [00:00] S(4);
  58. BEGIN
  59. ITEM HM$TEXT C(00,00,37) =
  60. ["WELCOME TO THE WONDERFUL WORLD OF CS."];
  61. ITEM HM$ZERO U(03,42,18) = [0];
  62. END
  63.  
  64.  
  65.  
  66.  
  67.  
  68. FOR I=0 WHILE HRQL NQ 0
  69. DO
  70. BEGIN
  71. SSTRQE (P<HRQ>, WCBUF[0], ABHBUF[0], MSGBUF[0]);
  72. HH$OPER[0] = ABHADR[0];
  73. SSTAQE (P<CNQ>, HISTWC[0], HISTABH[0], HISTMSG[0]);
  74. END
  75.  
  76. END # CSSRHR #
  77.  
  78.  
  79. TERM
cdc/nos2.source/nam5871/cssrhr.txt ยท Last modified: 2023/08/05 17:22 by Site Administrator