Skip to main content

Command Descriptions

User Name and Account​

      UCSB identifies users of its Simple-Minded File System by:

(1) user name --

a character string of from one to eight alphameric characters
of SP, and

(2) account --

a character string of from one to four alphameric characters
or SP.

SMFS maintains internally a pair of accumulators. One contains a user name, the other an account, each either a character string specified explicitly by the user or an SMFS-supplied default (the user's TENEX login directory name and 'l', respectively). Both accumulators are set initially to their default values.

Note: If the user's login directory name exceeds eight characters in length, the user must explicitly supply a user name; no default is available.

Whenever SMFS interacts with the server process at Santa Barbara on the user's behalf, it does so with the accounting parameters then in the accumulators.

The user sets and inspects the user name and account with the USER NAME and ACCOUNT commands:

      U[ser name]
[[currentusername]] newusername CR
SP [logindirectoryname]
CR

A[ccount]
[[currentaccount]] newaccount CR
SP [1]
CR

USER NAME and ACCOUNT display and optionally change the contents of the user name and account accumulators, respectively:

      If 'newusername' or 'newaccount' is specified, it replaces the
current contents of the appropriate accumulator.

If SP is specified, the accumulator is set to the appropriate
default.

If CR is typed, the user name or account is left unchanged.

Copy​

The COPY command effects the transfer of a copy of a file to or from UCSB. The file which is the source of the copy remains unmodified; the user must have read access to it. The syntax of the command is one of the following, depending upon the direction of transfer:

      C[opy]
[(to/from UCSB] T[o]
[(file)] localfilespec CR
[(store as file)] remotefilespec CR
[(create/replace)] C[reate]
R(eplace]

C[opy]
[to/from UCSB] F[rom]
[(file)] remotefilespec CR
[(store as file)] localfilespec CR

where 'localfilespec' and 'remotefilespec' are as defined in
Section V.

Note that a file can effectively be renamed in transit between TENEX and UCSB by specifying 'localfilespec' different from 'remotefilespec'. The more common situation is that in which the second of the two filespec's is simply ESC. In 'localfilespec', the field-defaulting algorithms of Section V are not applied; the normal TENEX defaults are applicable.

If in a copy to UCSB the user specifies 'create'; SMFS will ignore the command (and so inform the user) if a file of the same name already exists at UCSB. If 'replace' is specified, the command will be ignored if a file of the same name DOESN'T already exist at UCSB. Also, if 'replace' is specified, the user must have write access to the existing file at UCSB.

Move​

The MOVE command functions like COPY except that the source file for the operation is deleted once it has been transferred successfully. The user must have both read and write access to the source file.

Locate​

The LOCATE command verifies the existence of a file at UCSB. Its syntax is

      L[ocate (file)] filespec CR
[Archived at UCSB]
[Not Archived at UCSB]

Neither read nor write access to the designated file is required.

Note: LOCATE is the nearest thing to a TENEX DIRECTORY command available. A full DIRECTORY command cannot currently be implemented because of restrictions imposed at UCSB.

Delete​

The DELETE command deletes and releases all secondary storage assigned to a file previously copied or moved to UCSB:

      D[elete (file)] filespec CR

The user must have write access to the file at UCSB.

Rename​

The RENAME command changes the name of a file residing at UCSB as the result of a previous move or copy operation:

      R[ename (file)] filespec CR
[(new file)] newfilespec CR

The user must have write access to the file at UCSB, and no file may already exist there with the name 'newfilespec'.

Password​

While files reside at UCSB, they may be protected from unauthorized access or modification by the assignment of a read and/or write password, respectively. Each is a character string of from one to 36 alphameric characters or SP.

SMFS maintains internally a pair of accumulators. One is always either empty or containing a read password, the other empty or containing a write password (both accumulators are initially empty). Whenever a command issued by the user requires (always implicitly) a password(s), the one then contained in the appropriate accumulator is applied. An empty accumulator implies 'no password'.

The user sets and inspects the two passwords with the PASSWORD command:

      P[assword]
[(read/write)] R[ead]
W[rite]
[[currentpassword]] newpassword CR
SP [none]
CR

PASSWORD displays and optionally changes the contents of one of the two password accumulators:

      If 'new password' is specified, it replaces the current contents
of the accumulator.

If SP is specified, the accumulator is made empty.

If CR is typed, the password is left unchanged.

News​

The NEWS command prints at the user's terminal the contents of the file:

      SRI-ARC: <SYSTEM >SMFS.NEWS1

residing at UCSB. SRI-ARC maintains this file, and as necessary places in it information (e.g., command syntax changes) of concern to users of UCSB's archiving service. Should the user, for example, have difficulty with any of the commands described in this document, NEWS is a good starting point for obtaining help.

The command has the syntax:

      N[ews] CR

If the news file is long, SMFS will periodically pause and type 'Continue?'. The user may then respond 'N' to halt printout, or 'Y' or CR to continue (of course, control-O will abort printout at any time).

Quit​

The QUIT command causes SMFS to return to the EXEC:

      Q[uit] CR

[This RFC was put into machine readable form for entry]
[into the online RFC archives by Helene Morin, Via Genie 12/99]