home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / b / vmsgen.mar < prev    next >
Text File  |  2020-01-01  |  4KB  |  136 lines

  1.     .TITLE    KERGEN - Text for generic commands
  2.     .IDENT    '3.0.045'
  3.  
  4. ;++
  5. ; FACILITY:    VMS Kermit
  6. ;
  7. ; ABSTRACT:    This file contains the definitions of the command strings
  8. ;        used for generic server commands.
  9. ;        This is a separate Macro-32 file so that sites without
  10. ;        BLISS can easily customize the commands passed to the
  11. ;        sub-process to perform generic server commands.
  12. ;
  13. ; AUTHOR:    Nick Bush,    Creation Date: 8-March-1984
  14. ;
  15. ; MODIFIED BY:
  16. ;--
  17.     .SBTTL    Revision History
  18.  
  19. ;
  20. ; 2.0.036    Create this module
  21. ;
  22. ; 3.0.045    Start of version 3.
  23.     .SBTTL    Commands
  24.  
  25.     .PSECT  $PLIT$,NOWRT,NOEXE,2
  26.  
  27. ; The following are the commands used for the generic server commands.
  28. ;They are passed to a sub-process by use of LIB$SPAWN, and the results
  29. ;are returned to the user.  The output of the sub-process is captured
  30. ;by using a mailbox as its output device, with Kermit reading the other
  31. ;end of the mailbox.  Because of the way most applications under VMS
  32. ;perform output (using LIB$OUTPUT or RMS), the data passed through the
  33. ;mailbox does not contain any line terminators - the line terminators
  34. ;are implied between messages.  Therefore, VMS Kermit will insert a
  35. ;carriage return, line feed sequence between messages when reading from
  36. ;the mailbox.  This works fine except for those programs which perform
  37. ;unformatted I/O, and therefore include their own line terminators.  VMS
  38. ;has no mechanism for indicating this with a mailbox, so VMS Kermit will
  39. ;continue to insert the CRLF's, producing either double spacing, or
  40. ;random line breaks.  Therefore, (at least until VMS is fixed), it
  41. ;is good idea to only use commands which run utilities which do
  42. ;formatted (record) output.
  43. ;
  44. ; Note that for most commands a space should be the final character so
  45. ;that arguments can be concatenated directly onto the string.
  46.  
  47. ; Copy command.
  48. ; Format:
  49. ;    Command-text input-file output-file.
  50. ;
  51. GEN_COPY_CMD::
  52.     .ASCID    'COPY/LOG '
  53.  
  54. ; Delete command.
  55. ; Format:
  56. ;    Command-text file-specification
  57. GEN_DELETE_CMD::
  58.     .ASCID    'DELETE/LOG '
  59.  
  60. ; Directory command.
  61. ; Format:
  62. ;    Command-text file-specification
  63. GEN_DIR_CMD::
  64.     .ASCID    'DIRECTORY '
  65.  
  66. ; Disk usage command.
  67. ; Format if no argument supplied:
  68. ;    Command-text
  69. GEN_USG_CMD::
  70.     .ASCID    'SHOW QUOTA'
  71. ;
  72. ; Format if argument supplied:
  73. ;    Command-text argument
  74. GEN_USG_ARG_CMD::
  75.     .ASCID    'SHOW QUOTA/USER='
  76.  
  77. ; Rename command
  78. ; Format:
  79. ;    Command-text old-file-spec new-file-spec
  80. GEN_REN_CMD::
  81.     .ASCID    'RENAME/LOG '
  82.  
  83. ; Send message command
  84. ; Format:
  85. ;    Command-text destination-address "message"
  86. GEN_SEND_CMD::
  87.     .ASCID    'REPLY/TERMINAL='
  88.  
  89. ; Who command
  90. ; Format:
  91. ;    Command-text user-id options
  92. GEN_WHO_CMD::
  93.     .ASCID    'SHOW SYSTEM'
  94.     .SBTTL    Help text for generic commands
  95.  
  96. ; This is the help text that is returned in reponse to the generic help
  97. ;command.
  98.     .MACRO    LINE TEXT
  99.     .ASCII    |TEXT|<13><10>
  100.     .ENDM    LINE
  101.  
  102. GEN_HELP_TEXT::
  103.     .LONG    2$-1$        ; Length of text
  104.     .LONG    1$        ; Address of text
  105.  
  106. 1$:    LINE <VMS Kermit Server handles the following functions:>
  107.     LINE <>
  108.     LINE <Function                    Standard command>
  109.     LINE <--------                    ---------------->
  110.     LINE <>
  111.     LINE <Send a file                 SEND file-spec>
  112.     LINE <Retrieve a file             GET file-spec>
  113.     LINE <Log out from system         BYE or LOGOUT>
  114.     LINE <Exit from Kermit server     FINISH>
  115.     LINE <Type a file                 REMOTE TYPE file-spec>
  116.     LINE <List directory              REMOTE DIRECTORY file-spec>
  117.     LINE <Delete a file               REMOTE DELETE file-spec>
  118.     LINE <Change default directory    REMOTE CWD new-device/directory>
  119.     LINE <Reset default directory     REMOTE CWD>
  120.     LINE <Show disk usage             REMOTE DISK>
  121.     LINE <Show disk usage for UIC     REMOTE DISK [uic]>
  122.     LINE <Copy a file                 REMOTE COPY old-file-spec>
  123.     LINE <                                        New-file-spec>
  124.     LINE <Rename a file               REMOTE RENAME old-file-spec>
  125.     LINE <                                          New-file-spec>
  126.     LINE <Send message to user        REMOTE SEND terminal-name>
  127.     LINE <                                        message text>
  128.     LINE <Show who's logged in        REMOTE WHO>
  129.     LINE <Perform DCL command         REMOTE HOST DCL-command>
  130.     LINE <Type this text              REMOTE HELP>
  131. 2$:
  132.     .SBTTL    End of KERGEN.MAR
  133.  
  134.     .END
  135.  
  136.