APMs "Connect" to the filestores then access files as required, either by explicit reference to the file name by the user or by implicit reference by the system dictionaries. Files may be "remembered" i.e. cached in store if necessary.
Some files may require user-specific access permissions before they can be read or altered. This is achieved by the user Logging on to a filestore directory (at which point he may claim total control over its files) and maybe quoting the password of another directory in order to claim control over its files.
A user therefore accesses the file stores on three levels..
In the simplest case..
1) His APM establishes a connection to the required filestore.
2) Within this connection (it may last for days) he may log off and on to
various directories.
3) Within each logged-on session he may move files around.
A connection is completely described by the Ethernet Station (DTE) addresses and ports (LSAPs) of the two ends. The DTE addresses are permanently assigned to the stations and the LSAPs are negotiated during the connection setup procedure.
The APM needs to establish a connection in order to bootstrap itself so the DTE address of a preferred filestore is held in the ROM of each APM. This connection is referred to as the default connection. The LSAP at the filestore end is sometimes referred to as the "Context".
A Logged-on session is completely described by the connection and a filestore user number (UNO). The user issues a filestore Login primitive down the connection, quoting his username and password and receives back the UNO. If he is not logged on he may use UNO 0, permanently assigned to the mythical user ANON for those activities which do not require accrediting.
A file access is described by the UNO and a file access transaction number or XNO. The user quotes the UNO in a filestore Open primitive and receives back the XNO. He then quotes the XNO while reading or writing to & from the file.
Declarations for most of the IMP routines to do with communications live in I:fs.inc.
"The Filestore" (H.Dewar,V.Eachus,K.Humphry,P.McLellan)
[1977]
"The new filestores" (G.Ross)
[1984]
"A Programmer's Guide to the EUCSD Ethernet" (R. Thonnes)
If a name begins with `::`, then the part immediately following, up to but excluding the next `:`, which is discarded, denotes the NODE, i.e. the file server on which the file resides. The following node names are accepted (and may be abbreviated). Node names not found in the list are interpreted (in hex) directly as ethernet addresses.
The remainder of the filename is subject to system-dependent interpretation. It may or may not contain a (directory) pathname part. Wildcards are allowed in filenames, but not in pathnames or nodenames.
Examples:
::vax:dra1:[bloggs.project]test.pas
(Node=vax, directory=dra1:[bloggs.project], file=test.pas)
::70:fmacs:frame
{Node=70, directory=fmacs, file=frame)
New Name Ether Address
Vax 72 (ECSVAX)
Alpha 14 (Originally known as "WEE". 160Mb)
Bravo 15 (Originally known as "BIG". 320Mb)
Charlie 1B (320Mb)
Demo 35
Met
Portable 3F (the mini-filestore)
The names may be abbreviated to just one letter, e.g. B is the same as Bravo,
V is the same as Vax, etc.
JHB
Filestores "A" and "D" have the new filestore software supporting hierarchic
directories.
Examples:
Login ::vax:cs4test Login ::70:pub lic
Examples:
Transfer ::vax:opsys.asm ::old Transfer ::wee:guest:xyz* ::vax:[xyz.test]*
The detailed behaviour of the APMs while transmitting or receiving characters asynchronously is described in the note
"APM Asynchronous Character I/O from the local terminal" (J.Butler)
[1984]
You are also referred to the Visual 200 Reference Manual (DEC)
Authors: J. Butler
R. Thonnes (EFTP)
Last Updated: 31/8/84
view:comms printed on 17/02/89 at 13.14