home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / pdp11 / k11dfh.mac < prev    next >
Text File  |  2020-01-01  |  4KB  |  177 lines

  1.     .title    k11dfh    default help for kermit-11
  2.     .ident    /1.0.01/
  3.  
  4.  
  5.     .if ndf, K11INC
  6.     .ift
  7.     .include    /IN:K11MAC.MAC/
  8.     .endc
  9.  
  10.     .psect
  11.  
  12.  
  13. ;    13-Jan-84  12:33:55  Brian Nelson
  14. ;
  15.  
  16.  
  17.  
  18.  
  19.  
  20.     .sbttl    print minimal help out for KERMIT-11
  21.     
  22.  
  23. defhlp::message
  24.     message    <Default Kermit-11 help text>,cr
  25.     message
  26.     mov    #khelp    ,r1        ; point to the text
  27.     strlen    r1            ; get the total string length
  28. 10$:    mov    r0    ,r2        ; amount left to print
  29.     cmp    r2    ,#100        ; dump 64 bytes at a time
  30.     blo    20$            ; almost done
  31.     mov    #100    ,r2        ; not yet done, dump 64 bytes
  32. 20$:    print    r1    ,r2        ; dump it
  33.     add    #100    ,r1        ; address := address + 100
  34.     sub    #100    ,r0        ; leftover := leftover - 100
  35.     bgt    10$            ; next
  36.     message                ; a last cr/lf
  37.     return
  38.  
  39.  
  40.  
  41.  
  42.  
  43.     .sbttl    minimal help text
  44.  
  45.  
  46.     .nlist    bin
  47.     .macro    txt    str
  48.     .ascii    #str#
  49.     .byte    cr,lf
  50.     .endm    txt
  51.     .psect    $pdata
  52.  
  53. khelp:
  54. txt    <    BYE>
  55. txt    <    CONNECT>
  56. txt    <    COPY>
  57. txt    <    CWD>
  58. txt    <    DELETE>
  59. txt    <    DIRECT>
  60. txt    <    DISCONNECT>
  61. txt    <    DISPLAY>
  62. txt    <    ERASE>
  63. txt    <    EXIT>
  64. txt    <    FINISH>
  65. txt    <    GET>
  66. txt    <    HANGUP>
  67. txt    <    HOST>
  68. txt    <    LOCAL>
  69. txt    <    LOGFILE>
  70. txt    <    QUIT>
  71. txt    <    PRINT>
  72. txt    <    RECEIVE>
  73. txt    <    REMOTE            Send a command to a remote server>
  74. txt    <       BYE               Remote logout>
  75. txt    <       COPY               Copy file1 file2>
  76. txt    <       CWD               Change working directory>
  77. txt    <       DIRECT           Remote directory listing>
  78. txt    <       ERASE           Remote file deletion>
  79. txt    <       FINISH           Exit remote Kermit>
  80. txt    <       GET               Get file(s) from server (see GET)>
  81. txt    <       HELP               Ask server for HELP>
  82. txt    <       HOST               Ask server to execute opsys command>
  83. txt    <       RENAME           Rename file1 file2>
  84. txt    <       SPACE           Inquire about disk space and usage>
  85. txt    <       TYPE               Ask server to type a file>
  86. txt    <       WHO               Request a list of who's logged in>
  87. txt    <    RENAME>
  88. txt    <    SEND>
  89. txt    <    SERVER>
  90. txt    <    SET            Set parameters. See K11USR.DOC>
  91. txt    <       ATTRIBUTES>
  92. txt    <       BAUD>
  93. txt    <       BINARY-TYPE>
  94. txt    <       BLOCK-CHECK>
  95. txt    <       CONSOLE>
  96. txt    <       DEBUG>
  97. txt    <          ALL>
  98. txt    <          CONSOLE>
  99. txt    <          CONNECT>
  100. txt    <          FILE>
  101. txt    <          HELP>
  102. txt    <          NONE>
  103. txt    <          OFF>
  104. txt    <          ON>
  105. txt    <          PACKET>
  106. txt    <          STATE>
  107. txt    <       DELAY>
  108. txt    <       DEFAULT>
  109. txt    <       DUPLEX>
  110. txt    <       END-OF-LINE>
  111. txt    <       ESCAPE>
  112. txt    <       FILETYPE>
  113. txt    <          ASCII>
  114. txt    <          AUTO>
  115. txt    <          BINARY>
  116. txt    <          FIXED>
  117. txt    <          NOAUTO>
  118. txt    <          PROTECT>
  119. txt    <          SUPERCEDE>
  120. txt    <          TEXT>
  121. txt    <          TYPE>
  122. txt    <       HANGUP>
  123. txt    <       HOME>
  124. txt    <       IBM-MODE>
  125. txt    <       LINE>
  126. txt    <       LOGFILE>
  127. txt    <       PACKET-LENGTH>
  128. txt    <       PARITY>
  129. txt    <       PAUSE>
  130. txt    <       PROMPT>
  131. txt    <       RANDOM>
  132. txt    <       RECEIVE>
  133. txt    <          END-OF-LINE>
  134. txt    <          START-OF-PACKET>
  135. txt    <       RECORD-FORMAT>
  136. txt    <       RETRY>
  137. txt    <       RSX>
  138. txt    <       RT11>
  139. txt    <          CREATE-SIZE>
  140. txt    <          FLOW-CONTROL>
  141. txt    <          VOLUME-VERIFY>
  142. txt    <       SEND>
  143. txt    <       SPEED>
  144. txt    <       START-OF-PACKET>
  145. txt    <       TIMEOUT>
  146. txt    <       TERMINAL>
  147. txt    <       UPDATE>
  148. txt    <    SHOW            Display current parameters>
  149. txt    <       ALL>
  150. txt    <       BLOCK-CHECK-TYPE>
  151. txt    <       DEBUG>
  152. txt    <       DEFAULT>
  153. txt    <       ESCAPE>
  154. txt    <       FILE-TYPE>
  155. txt    <       LINE>
  156. txt    <       PACKET>
  157. txt    <       PARAMETERS>
  158. txt    <       RECORD-FORMAT>
  159. txt    <       TIME>
  160. txt    <       VERSION>
  161. txt    <    SYSTEM            Execute local operating system command>
  162. txt    <    TAKE            Execute an indirect command file>
  163. txt    <    TYPE            Type a local file>
  164. txt    <    WHO            Display user's on local system>
  165.  
  166. txt    <Note  that KERMIT-11  will accept wildcard  file specifications for>
  167. txt    <both the SEND command and the Server GET command,  as in SEND *.MAC>
  168. txt    <or, from a local Kermit talking to Kermit-11 as a server, GET *.MAC>
  169.     .byte    0
  170.     .even
  171.  
  172.     .list    bin
  173.  
  174.  
  175.  
  176.     .end
  177.