home *** CD-ROM | disk | FTP | other *** search
- This is the latest working version of !NWClient.
- ================================================
-
- NWClient allows you to access a Novell NetWare (R) fileserver from
- RiscOS as the file system NW. It also provides a file system called
- NWPrint, which you can use to print to NetWare printer queues.
-
- How to use !NWClient
- ====================
-
- Normally, double-clicking the !NWClient icon (or running it in your
- startup) should be enough to get you going. !NWClient will try to
- attach to the nearest file server, and then run !Login from the login
- directory on that server.
-
- NWPrint: filesystem for printing to network printers
- ----------------------------------------------------
- Anything you output to a file called NWPrint: or NWPrint:<options>
- will be sent to a print queue on the file server. The easiest way
- to do this is to use !Printers to set the connection of one or more
- of your printers to the file "NWPrint:". If needed, you can specify
- options in the filename. Options may be specified separated with
- commas or full stops.
- The following options are recognized:
- queue=<printqueuename> set queue
- banner=<text> set line 1 of text on banner page
- name=<text> set line 2 of text on banner page
- form=<text> set form name (ignored for now)
- server=<servername> set server name (ignored for now)
- printer=<ndsprintername> set NDS printer name (ignored for now)
- copies=<integer> number of copies to make
- tabs=<integer> tab setting (best to leave at 0)
- lines=<integer> number of lines on page (used when tabs set)
- columns=<integer> number of columns on page (used when tabs set)
- ff append form feed to job
- noff do not append form feed to job
- nobanner do not print banner
- notify notify after printing page
- nonotify do not notify
- Example:
- echo hello { > NWPrint:queue=laser,notify }
- For the moment, there is no way to change the default options. I'll
- put that in later.
-
- !NWClient provides the following commands that can be issued from the
- commandline or obey files:
-
- *NW
- ---
- This makes the NWClient file system current.
-
-
- *NW:Attach [-tree <treename>] [-server <servernamename>]
- --------------------------------------------------------
- This command attaches you to a file server, specified by name using
- -server, or by the NDS tree it belongs to using -tree. Normally
- you don't need to use this command, as you would be connected to
- your nearest server when you run the !NWClient application.
-
-
- *NW:Detach
- ----------
- This command detaches you from whatever file server you are
- attached to.
-
-
- *NW:Login [-user] <username> [-password] <password>
- ---------------------------------------------------
- This command logs you in into the bindery (for 3.x servers) or the
- NDS tree (for newer servers). You only have to log in once to be
- able to connect to any of the resources on the server. Currently,
- !NWClient does not support the full NDS, so mounting volumes on
- servers other than the one you've attached to does not work.
-
-
- *NW:Logout
- ----------
- This command logs you out from the server or NDS tree. You remain
- attached to the server you were attached to.
-
-
- *NW:Mount [[-local] <localname> [-remote] <remotename> [-0] [-1] [-nolongnames|-nl]
- -----------------------------------------------------------------------------------
- This command makes a volume or a directory on a volume available for use
- under RiscOS as a disc on the NW: file system. The remote name is the
- path (including volume name) of the directory you want to mount, and
- has to be in the format <volume>:<directory>[/<directory>...]. The
- flags -0 and -1 are user-definable flags, of which -0 is used in the
- standard front-end to make the mount invisible, i.e. no icon on the
- iconbar. The -nl or -nolongnames flag forces !NWClient not to use
- long file names on this mount, but instead to fall back on DOS-style
- filenames.
- When not given any parameters, the mount command displays a list of the
- current mounts, including the internal flags and mount count (in hex).
-
-
- *NW:Dismount [-local=-disc] <localname>
- ---------------------------------------
- This command dismounts the file server directory from the local disc name.
- If the local disc had been mounted more than once, then you need the
- same number of dismounts before the mount actually disappears. This
- facilitates the use of Mount and Dismount in obey files.
-
-
- *NW:Whoami
- ----------
- Displays some information about your connection to the file server.
-
-
- *NW:Setpass
- -----------
- Does not work yet...
-
-
- *NW:Extensions [file]
- ---------------------
- Set, clear or display list of extensions that are automatically converted
- to RiscOS file types. The command displays the current list of extensions
- when no parameter is given, and otherwise takes a filename of the same
- format with entries containing file type number, file type description
- and one or more extensions that map onto this file type.
- The command takes two file names as special: 'none' clears the extension
- mapping table (no mapping, identical to !NWClient versions before 1.52)
- and 'default' reverts to the built-in table.
-
-
- Installation notes
- ==================
-
- For everything to work, there *must* be a !Login application
- in SYS:LOGIN, this contains the front-end program that provides
- the icons on the iconbar.
-
- Prepare the file server
- -----------------------
- Make sure you have the OS2 or LONG name spaces loaded on your file
- server. If you haven't, type the following commands on the file
- server console:
-
- LOAD LONG.NAM
- ADD NAME SPACE LONG TO SYS
-
- If you have an older server, then the LONG name space is known as
- OS2 name space, and the commands to execute become
-
- LOAD OS2.NAM
- ADD NAME SPACE OS2 TO SYS
-
- You may want to add the name space to any other volumes you have as
- well.
-
- Note: You can run !NWClient without having the LONG name space
- loaded, but that way you will not be able to change file types
- on the file server. In that case all files will come out as text
- files (type FFF), except when they have the Shared flag set in
- combination with either Hidden or System. Those flags are used
- in our Linux client for soft links and executable files, and they
- come out with a type to match.
-
- Install RiscOS client
- ---------------------
- Copy the !Login and !NWClient applications onto a directory on your
- RiscOS machine, and then run !NWClient. It will try to attach to
- whatever NetWare server answers first, and then allow you to login.
- Login as Admin or as any other user with RWCEMF rights to the
- SYS:LOGIN directory on the file server.
-
- Copy software to the file server
- --------------------------------
- At this point you'll probably have the SYS volume mounted on your
- RiscOS machine. If not, try mounting it manually, by typing
-
- nw:mount SYS SYS:
-
- Copy !Boot, !Apps, !Login and !NWClient onto the LOGIN directory on
- your file server's disc. Note that !NWClient may actually be stored
- as !NWClien.%t on the file server if you haven't added long name
- space to the SYS volume.
-
-
- Finish
- ------
- Make sure you edit the !Boot file on the file server to do some
- mounts that are sensible in your environment. Try if everything
- works by restarting your machine, running !NWClient and logging
- in as a regular user, and when it does, delete the !Login directory
- from your RiscOS machine.
- For all other machines on your network you only need to copy
- the !NWClient directory onto their disc. If you want, you can
- use ShareFS to re-export the login directory on the file server
- (use the -readonly flag!) so that users can grab !NWClient using
- ShareFS.
-
- For ease of use you'll probably want to run !NWClient in your boot
- sequence. If you want to run any software that needs the file
- server then the best place to run that is in your home directory's
- !Boot file. See the !Boot file from the distribution for an example,
- including using <NW$User> in the mount command.
- If you set NW$User before you run !NWClient, then it will fill in
- the user name automatically when you log in.
-
-
- Copyright
- =========
- !NWClient is Copyright 1998-1999 by Frank A. Vorstenbosch
- (frank@falstaff.demon.co.uk) but can be redistributed freely.
- This work has been very kindly supported by my employer Eidos
- Technologies Ltd. (www.eidos.com), where we are using it all the
- time. At some point I may make the source available under GPL.
- Check http://www.falstaff.demon.co.uk/nwclient.html for frequent
- updates.
- For questions or bug reports, email nwclient@falstaff.demon.co.uk.
-
-
- Changes list
- ============
-
- Known problems in NWClient
- --------------------------
- - !Optimizer crashes when you drag a media file to a NetWare directory.
- - SparkFS doesn't work on the NW: file system (similar problem?).
-
- Changes for [1.52]
- ------------------
- - Now (slightly) optimizes access to extensions lookup table.
- - Removes duplicates in extensions lookup table.
- - Now sets File$Type_XXX variables with description if not set already.
- - Added NWClient$Version variable which contains the version*100.
-
- Changes for [1.51]
- ------------------
- - Implemented NW:Extensions command to set and read the list of
- extensions that are translated automatically into RiscOS file types.
-
- Changes for [1.50]
- ------------------
- - Implemented NW:Whoami command.
- - Added feature to NW:Mount to display mount list if no parameters are
- given.
- - Minor tidying up of code, much improved !Help files.
-
- Changes for [1.47]
- ------------------
- - Fixed problem with deleting locked files, now returns correct error.
- - Added FreeSpace64 entry point.
- - Now stores all 8 bytes of load/execute address if needed.
- - Now does not use extended attributes to store file types SoftLink
- (0xfdc) and UnixExec (0xfe6), but uses flags instead (like Linux).
-
- Changes for [1.45]
- ------------------
- - Now finally supports long file names; although short file names
- can still be used (either by choice, or automatically on volumes
- that don't have long name space loaded). You can use
- nw:mount localname remotename -nolongnames (or -nl)
- to mount a volume that has long file name space loaded without
- the file name support.
-
- Changes for [1.44]
- ------------------
- - Now can modify read-only and delete/rename-inhibit flags.
- - Added "NWClient_NCP" swi for access to NCP from user land (e.g.
- debugging or hacking)
-
- Changes for [1.43]
- ------------------
- - Now checks for existence of NWClient$Stream variable on startup.
- When this variable does not exist, NWClient will not stream on
- long file reads and writes, and will be about 50% slower. This is
- the only way to get an EtherM to work.
- - Made message from file server saying that it's shut down transient
- like all others, no longer keeps machine busy waiting in SVC mode.
- - Checked NWClient against use on an ARM710 RiscPC (works, but slow).
-
- Changes for [1.42]
- ------------------
- - Improved speed of file access, now can reach read speeds of 900KB/s
- and write speeds of 975KB/s (measured using Power-tec !Speed).
- - Fixed setting of date/time during login, now works even if Sys$Date
- is set (uses Territory_ConvertStandardDate and ~Time).
- - NWClient now logs console broadcast messages to the file NWMessages
- in <Wimp$ScrapDir>.
- - Added code in front end to check for the connection being broken
- due to the file server being shut down.
- - Improved calculations of free space so that it no longer causes
- so many carry overflows (the new code breaks at the 2TB mark).
-
- Changes for [1.38]
- ------------------
- - Added date stamp handling
-