Lanman_MH 5.37 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
; Copyright 1998 Acorn Computers Ltd
;
; Licensed under the Apache License, Version 2.0 (the "License");
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
;     http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by applicable law or agreed to in writing, software
; distributed under the License is distributed on an "AS IS" BASIS,
; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
; See the License for the specific language governing permissions and
; limitations under the License.
;
; cmhg control file for Lan Man filing system
;
; <module-is-runnable:> - NO

#include "VersionNum"

; Title string
title-string: LanManFS

; Version information
help-string: LanManFS Module_MajorVersion_CMHG Module_MinorVersion_CMHG

; Build date information
date-string: Module_Date_CMHG

initialisation-code: LM_Initialise

finalisation-code: LM_Finalise

; Service calls: FSRedeclare; ResourceFSStarting; DCIDriverStatus; OmniAction
Stewart Brodie's avatar
Stewart Brodie committed
35 36
; InternetStatus
service-call-handler: LM_Service &40 &60 &9D &A0 &B0
37 38 39 40 41 42 43 44 45

swi-handler-code:      LM_Swi

swi-chunk-base-number: 0x49240

swi-decoding-table:    LanMan,
   OmniOp, FreeOp, NameOp, Transact, LogonOp


Stewart Brodie's avatar
Stewart Brodie committed
46 47 48 49 50 51
generic-veneers: callback_entry/callback_handler,	; for anti-idleout callback
                 callevery_entry/callevery_handler

vector-handlers: ReceiveFn TickerFn LLC_CallbackFn,
	NBIP_CallbackFn/NBIP_CallbackFn_handler_ctrl,
 	EventFn
52 53 54 55 56 57 58 59 60


command-keyword-table: LM_Command

        LanMan(min-args:0, max-args:0,
    help-text: "*LanMan selects Lan Manager as the current filing system\r"
               "Syntax:\t*LanMan\r",
                invalid-syntax: "Syntax:\t*LanMan\r" ),

Stewart Brodie's avatar
Stewart Brodie committed
61 62 63 64 65
        LMConnect(min-args:3, max-args:5,
    help-text: "*LMConnect sets up a connection to a file server\r"
      "Syntax:\t*LMConnect <name> <server> <dir-name> [<user-name> <password>]\r",
    fs-command:,
    invalid-syntax: "Syntax:\t*LMConnect <name> <server> <dir-name> <user>"
66 67
                                " <password>\r", ),

Stewart Brodie's avatar
Stewart Brodie committed
68 69 70 71 72
        LMDisconnect(min-args:1, max-args:1,
    help-text: "*LMDisconnect disconnects from a file server\r"
               "Syntax:\t*LMDisconnect <name>\r",
    fs-command:,
    invalid-syntax: "Syntax:\t*LMDisconnect <name>\r", ),
73 74 75 76

        LMLogon(min-args:2, max-args:3,
    help-text: "*LMLogon sets default information about the network\r"
               "Syntax:\t*LMLogon <workgroup> <username> <password>\r",
Stewart Brodie's avatar
Stewart Brodie committed
77
    fs-command:,
78 79 80 81 82
    invalid-syntax: "Syntax:\t*LMLogon <workgroup> <username> <password>\r", ),

        LMInfo(min-args:0, max-args:0,
    help-text: "*LMInfo displays debugging information\r"
               "Syntax:\t*LMInfo\r",
Stewart Brodie's avatar
Stewart Brodie committed
83
    fs-command:,
84 85 86
    invalid-syntax: "Syntax:\t*LMInfo\r", ),

        LMNameMode(min-args:1, max-args:1,
Stewart Brodie's avatar
Stewart Brodie committed
87 88
    help-text: "*LMNameMode sets the way LanManFS capitalises names on DOS shares\r"
               "It does not affect long filename shares\r"
89
               "Syntax:\t*LMNameMode  [0|1|2]\r",
Stewart Brodie's avatar
Stewart Brodie committed
90
    fs-command:,
91 92 93 94 95
    invalid-syntax: "Syntax:\t*LMNameMode  [0|1|2]\r", ),

        LMLogoff(min-args:0, max-args:0,
    help-text: "*LMLogoff clears the workgroup and default user settings "
               "and disables network browsing\rSyntax:\t*LMLogoff\r",
Stewart Brodie's avatar
Stewart Brodie committed
96
    fs-command:,
97 98 99 100 101
    invalid-syntax: "Syntax:\t*LMLogoff\r" ),

        LMServer(min-args:1, max-args:17,
    help-text: "*LMserver adds a server name and list of shared drives\r"
               "Syntax:\t*LMServer server [sharename] [sharename] ...\r",
Stewart Brodie's avatar
Stewart Brodie committed
102
    fs-command:,
103 104 105 106 107
    invalid-syntax: "Syntax:\t*LMServer server [sharename] [sharename] ...\r", ),

        LMPrinters(min-args:1, max-args:17,
    help-text: "*LMPrinters adds a server name and list of printers\r"
               "Syntax:\t*LMPrinters server [printername] [printername] ...\r",
Stewart Brodie's avatar
Stewart Brodie committed
108
    fs-command:,
109 110 111 112 113 114
    invalid-syntax: "Syntax:\t*LMPrinters server [printername] [printername] ...\r",
                 ),

        LMStats(min-args:0, max-args:0,
    help-text: "*LMStats shows network statistics\r"
               "Syntax:\t*LMStats\r",
Stewart Brodie's avatar
Stewart Brodie committed
115
    fs-command:,
116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140
    invalid-syntax: "Syntax:\t*LMStats",
                 ),

        FS(min-args:0, max-args:1,
    help-text: "*Configure FS <name> sets the file server or domain name from "
               "which LanManFS will attempt to boot\r",
    invalid-syntax: "Syntax:\t*Configure FS file-server-name\r",
    configure:,
    status:,
                 ),

        LMTransport(min-args:0, max-args:1,
    help-text: "*Configure LMTransport sets whether LanManFS should use "
               "NetBEUI or TCP/IP as transport protocol\r",
    invalid-syntax: "Syntax:\t*Configure LMTransport [IP|NetBEUI]\r",
    configure:,
    status:,
                 ),

        LMNameServer(min-args:0, max-args:1,
    help-text: "*Configure LMNameServer <IP address> sets the address of a"
               "NetBIOS over IP nameserver for LanManFS to use\r",
    invalid-syntax: "Syntax:\t*Configure LMNameServer [IP address]\r",
    configure:,
    status:,
Stewart Brodie's avatar
Stewart Brodie committed
141 142 143 144 145 146
                 ),


        Free(min-args:0, max-args:1,
    help-text: "*Free displays the total free space on a LanManFS share",
    invalid-syntax: "Syntax:\t*Free [<disc spec.>]\r",
Stewart Brodie's avatar
Stewart Brodie committed
147 148 149 150 151 152 153
    fs-command:,
                 ),

        LMls(min-args:0, max-args:1,
    help-text: "*LMls displays the servers in the current workgroup or\r"
               "the shares on the given server",
    invalid-syntax: "Syntax:\t*LMls [server]\r",
Stewart Brodie's avatar
Stewart Brodie committed
154 155
    fs-command:,
                  )
156