home *** CD-ROM | disk | FTP | other *** search
- c-tree(R) V4.3 Release C
- February 7, 1989 17:30
-
- ---------
- General
- ---------
-
- Two of the c-tree netbios servers are TSR's which reside in the background
- on a non-dedicated node. This node may also be used for other foreground
- activities (but the performance of the server and the foreground
- task will clearly be mutually degraded).
-
-
- There are three netbios oriented servers:
-
- - two servers run in a naked Netbios environment and DO NOT
- require any network software; except, of course, that netbios
- be operational. One of these servers (ctsrvr.exe) is a TSR which
- operates as a non-dedicated server. The other of these servers
- (ctsrvrfg.exe) is a dedicated server. It is suitable in environments
- which cannot support the TSR and/or for which heavy demand on the
- server necessitates improved performance. (The dedicated server
- does not perform task switching and is more efficient.)
-
- The netbios software (which we mentioned above and which
- we DO NOT distribute) supports background message handling
- between connected nodes. ARCNET cards are frequently used to
- interconnect the nodes using Netbios.
-
- Use MAKESRV {S or C} to create two naked netbios c-tree servers in
- the small or compact memory model (ctsrvr.exe & ctsrvrfg.exe).
-
- MAKEAPP {S or C or M or L} creates the c-tree library and
- examples for use with these servers (e.g., ctexmg.exe).
-
-
- - the third server runs in IBM PC-NET or compatible (e.g., CBIS
- Network-OS) environments as a TSR non-dedicated server.
- This environment places a layer above Netbios in which
- more tightly coupled communication takes place as well
- as providing services such as mapping directories over the net.
-
- Use MAKESRVX {S or C} to create a network based c-tree server in the
- small or compact memory model (ctsrvrx.exe).
-
- MAKEAPPX {S or C or M or L} creates the c-tree library and
- examples for use with this server (e.g., ctexmgx.exe).
-
- NOTE: MAKEAPPX CREATES EXECUTABLE MODULES WITH NAMES THE SAME
- AS MAKEAPP EXCEPT THAT AN x IS APPENDED TO THE NAME.
-
- When starting your network, you can specify the size of
- the message buffers with the /RQB:n parameter (which may default
- to 8192 bytes). Make sure n is at least as large as the c-tree
- server message size (controlled with the Z command line
- argument). Check your network documentation if you wish to use
- a value other than the system default.
-
- DO NOT USE /TSI:00 time slice setting when starting your
- network. Other values are OK. Check your network documentation
- if you wish to use a time slice ratio different than the system
- default.
-
- Make sure that the c-tree TSR (ctsrvr.exe or ctsrvrx.exe) is the
- last TSR loaded if you wish to run ctstop(x).exe to stop the c-tree
- server and release its memory.
-
-
- ---------
- Novell Netbios Emulation
- ---------
-
- If you use the c-tree server with Novell's Advanced Netware 2.0 (or earlier)
- under their Netbios emulation, you must use the c-tree (naked) Netbios
- server. With Advanced Netware 2.1 or later, you may c-tree as a
- VAP (see \ctree\novell\readme.nov); or may may use the c-tree Netbios
- server under Netbios emulation.
-
- Release C corrects a problem which caused jobs running in the foreground
- to close files maintained by the background (TSR) c-tree server. Now you
- do not need to dedicate a node to the c-tree server in a Novell network
- using Netbios emulation.
-
-
- ---------
- CONTROL-C and DOS CRITICAL ERRORS
- ---------
-
- The following information is important to MS-DOS developers that use special
- control-c (interrupt 23) or critical error (interrupt 24) handlers.
- The handlers may be explicitly coded or embedded, for example, in a
- your console i/o library. As shipped, c-tree installs interrupt 23 & 24
- handlers which cleanup the c-tree environment. To change this default,
- change the contents of CTAXIT.H for CBRKmode and CERRmode as outlined
- in README.CUP.
-
-
- ---------
- Compiler
- ---------
-
- The Microsoft compiler and macro assembler were chosen for this
- development. Use of another compiler will require changes to the
- assembly code which is compatible with the Microsoft segment
- conventions.
-
- Also, the make files are set up for the Microsoft compiler.
-
-
- ---------
- Tuning
- ---------
-
- For the net bios version, increase SRV_RNCBS and SRV_SNCBS in ctnbcfg.h
- as the number of users increases.
-
- For the network version, set /REQ:n (NET START or NWSTART switch) as high
- as possible or to the maximum number of users. Check your network
- documentation for details.
-
-
- ---------
- Full pathname construction
- ---------
-
- When the c-tree server receives a filename from a user, a fully
- qualified path is constructed as follows:
-
- - User name has no drive prefix and no leading slash delimiter.
- The current drive/directory that the server was started in
- is added to the user name.
-
- - User name has no drive prefix but has leading slash.
- The current drive is added to the user name.
-
- - User name has a drive prefix but no leading slash.
- If the drive is the server's startup current drive, then
- the startup current directory is added to the user name
- If the drive is not the server's startup drive, then a
- leading slash is added.
-
- The following examples assume the server was started in C:\CT.
-
- User name Full Path
- ------------------ -------------------
- CUST.IDX C:\CT\CUST.IDX
- DATA/CUST.IDX C:\CT\DATA\CUST.IDX
- D:CUST.IDX D:\CUST.IDX
- D:DATA\CUST.IDX D:\DATA\CUST.IDX
- ../CUST.IDX C:\CUST.IDX
- \CT\CUST.IDX C:\CT\CUST.IDX
-
-
- ---------
- Starting c-tree file server network version
- ---------
-
- CTSRVRX must be run on a machine that is configured as a network server.
- The server must share a resource named CTREE. For a user to access the
- server, network commands should be used to first establish a connection
- to the server (except for the user at the non-dedicated server).
- Following are example startups for servers.
-
- IBM PC Networks CBIS Network-OS
- ------------------------ ------------------------
- net start srv servername nwstart ns servername
- net share ctree=c:\ nwshare ctree c:\
- ctsrvrx ctsrvrx
- your-application (optional) your-application (optional)
-
- Example startups for workstations:
-
- IBM PC Networks CBIS Network-OS
- ------------------------ ------------------------
- net start rdr username nwstart ws username
- net use e: \\servername\ctree nwuse e: \\servername\ctree
- your-application (optional) your-application (optional)
-
-
- ---------
- Math Chip
- ---------
-
- Only one process at a server should use the math chip. Unless you modify
- the
-
- #define NO_FPLIB
-
- in the CTCOMP.C module, the c-tree server will not use any floating point
- operations.
-
-
- ----------
- Make files
- ----------
-
- The following batch files can be used to build libraries, servers and
- applications:
-
-
- Network Netbios
- version version
- ------------ ------------
- MAKESRVX.BAT MAKESRV.BAT Make c-tree server
- MAKEAPPX.BAT MAKEAPP.BAT Make application library and examples
-
- The syntax of the make commands, which are set up for the Microsoft C
- environment, are
-
- MAKESRV(X) {C or S} C=compact model
- S=small model
- MAKEAPP(X) {S, C, M or L} M=medium model
- L=large
-
- ----------
- Special switch in ctoptn.h
- ----------
-
- For the server extension version of the c-tree server, CTS_CPLD must
- be defined. For the net bios version, define either CTS_INDP or
- CTS_CPLD.
-
-
- ------------
- Special Source files
- ------------
-
- Used for both versions:
-
- DOS H 8086 register structures (Supplied with C Compiler)
-
- CTAXIT H configuration definitions for aborted applications
- CTNBIO H netbios data strutures, cmd codes, etc
- CTNBIOS C call netbios functions
- CTSPRTF C printf for tsr program
- CTFULNAM C convert user file name to full path
- ASM INC asm lang for c model definitions, macros, etc
- CTAXIT ASM error handler for aborted applications
-
- Used for Net bios version:
-
- CTNBCFG H user changable config parms
- CTSMSG C sys-dependent for server
- CTAMSG C sys-dependent for application
- CTSFG ASM dedicated server front-end
- CTSTSR ASM task-switch
-
- Used for file server extension version:
-
- CTSXCFG H user changable config parms
- CTSMSGX C sys-dependent for server
- CTSRVX ASM file-server linkage, tsr support
- CTAMSGX C sys-dependent for application
- CTAMSGXA ASM sys-dependent asm for application
-
- ---------
- end
- ---------
-