home *** CD-ROM | disk | FTP | other *** search
- c-tree(R) V4.3 Release C
- February 7, 1989 17:30
-
- --------
- Installation
- ---------
- Use the accompanying INSTALLATION GUIDE to create your c-tree directories.
-
- ---------
- Different Environment
- ---------
- If your environment is not one of the specific ones listed in the
- INSTALLATION GUIDE, then proceed with the closest match. The system
- specific files are:
-
- CTCLIB.C - low level file I/O and optional record locking
- CTCMPL.H - a few compiler dependent constants pertaining to
- - file permissions
- - signed or unsigned chars
- - definition of a null data pointer
- CTOPTN.H - c-tree configuration parameters
-
- The root directory of Disk 1 contains generic versions of these files under
- the names CTCLIB.D, CTCMPL.D and CTOPTN.D, respectively; and the root
- directories of Disk 1 and Disk 2 contain all of the system independent files.
-
- Note that you can compile and run CTTEST.C to help determine how to set-up
- your system. You will need to consult with your C run-time library
- documentation for the open() and creat() functions in order to specify the
- file permission parameters in CTCMPL.H.
-
- ---------
- Code Changes
- ---------
- Be sure to carefully examine the c-tree START UP GUIDE which accompanies this
- package. It may contain important source code changes which should be made
- prior to compiling and using c-tree.
-
- You can now create applications with Turbo C which use the c-tree Netbios
- Server and the c-tree Novell VAP Server. See README.TC in the "TC" subdirectory.
-
- If you are using a 32 bit system, you may extend the maximum variable length
- data record beyond 65,536 bytes by modifying CTPORT.H as described in
- Installation Section 4.2.
-
- ---------
- Installation Update
- ---------
- There is a new configuration option which controls how a c-tree automatic
- sequence number is stored in your record. Prior to Release C, the sequence
- number (see Reference Section 1.7.2) was always stored in MSB to LSB order
- (i.e., that most significant bytes first).
-
- By adding the following preprocessor command to your CTOPTN header, c-tree
- will now store the sequence number as a long integer in your record.
-
- #define NATURAL_SERIAL
-
-
- Without this new definition, c-tree stores the sequence number in reverse byte
- order on 8086/286/386 machines. For example, sequence number 1 would appear
- as 16,777,216 if printed as a long integer.
-
- This change should not affect HIGH_LOW machines (e.g., 68000) unless UNIFRMAT
- has been selected in which case the addition of NATURAL_SERIAL will cause
- the sequence number to be stored in LSB to MSB order (the natural order on
- LOW_HIGH machines).
-
- If you are changing an existing application, note that you should first
- modify existing sequence numbers to make them consistent with the new ordering.
-
- ---------
- Installation Guide Correction
- ---------
- In Installation Section 4.2.1, change CT_SERVER to CTSERVER.
-
- ---------
- "End of Set" Modification
- ---------
- In prior c-tree releases, a NXTSET (PRVSET) call made from the End (Beginning)
- of a set, caused the set to become undefined. A LSTSET (FRSSET) call was re-
- quired to return to the set. In Release C, NXTSET (PRVSET) no longer causes
- an undefined set at the End (Beginning) of a set. In such a case, your position
- remains unchanged; you stay at the End (Beginning) of the set. To restore the
- code to the previous (Release B2) behavior, simply remove the comments from the
-
- /* seqkey = -1; */
-
- statements at lines 110 and 116 of CTSSET.C.
-
- ---------
- Reference Card Additions
- ---------
- The following information is not included on your Reference Card. We
- suggest you manually add the appropriate information for your subsequent use.
- Error codes 25, 53, 55, 56, 57, 58, 59, 60 and 105 must be added (see
- Reference Section 8.1); and the low level functions DELFIL, FRCKEY, ESTKEY
- and LOADKEY must be added.
-
- ---------
- r-tree Requirements
- ---------
- Before you perform any compilations or make files, be sure to set the
- RTREE parameter appropriately in CTOPTN.H.
-
- If you do not use r-tree, then
-
- - define NO_RTREE in ctoptn.h
- - rename CTEXAM.NOR and CTVXAM.NOR to CTEXAM.P and CTVXAM.P,
- respectively.
- - skip the rest of this r-tree section.
-
-
- If you do use r-tree, be sure that RTREE is defined in CTOPTN.H.
-
- To utilize c-tree V4.3 with r-tree, follow these steps:
-
- Step 0: ensure that the r-tree source code is installed (but not
- yet compiled) in a sister directory
-
- ************************************************************************
- *** STEPS 1, 2 and 3 DO NOT APPLY TO r-tree V1.1 Release E or later. ***
- ************************************************************************
-
- Step 1: delete RTSSET.C, RTISAM.C and RTISMU.C from your r-tree
- directory
- Step 2: copy RTCTRE.H from your c-tree V4.3 Release C diskette #2
- to your r-tree directory
- Step 3: enable the FLOATKEY option in CTOPTN.H
-
- ************************************************************************
-
- Step 4: enable the RTREE option in CTOPTN.H
- Step 5: compile and make a c-tree library
- Step 6: compile and make an r-tree library
-
- ---------
- Make Files
- ---------
- There are a wide variety of make files included with the c-tree package. They
- fall into three broad categories:
-
- - UNIX-like make files which are top-down oriented (the main end-
- products come first). In addition to Unix and Xenix, the Aztec C make
- files are organized this way. If you have the PLOYTRON make file
- utility, you will want to adapt one of the existing top-down makes
- to your environment.
-
- - Microsoft make files which are bottom-up oriented (the lowest level
- components of the main end-products come first)
-
- - Project files which simply list the components of an end product. The
- LightSpeed compiler uses this form of "make" file.
-
- ---------
- Excessive Compiler Warnings
- ---------
- If, during compilation, you receive an excessive number of warning messages,
- check your definition for ct_NULL in CTCMPL.H. You may want to
- change ct_NULL from
-
- (char *) 0
- to
- 0 or 0L (depending on the size of a zero data pointer.
-
- ---------
- Start-Up Testing
- ---------
- Once you have compiled the source modules, made your libraries and created
- the four example programs: CTEXMC, CTEXMG, CTVXMG and CTIXMG, run the
- examples to determine if c-tree is performing correctly. In particular, be
- sure to add, delete, then add some more items with the examples.
-
- **** NOTE: CTEXMC must be used with the parameter files ctexam.p and
- **** ctvxam.p to create the files for the CTEXMG and CTVXMG
- **** examples, respectively. CTEXMC must be run BEFORE attempting
- **** to use CTEXMG and CTVXMG.
-
- ---------
- Macintosh Files
- ---------
- FairCom no longer ships the Apple Macintosh files for c-tree on DOS diskettes.
- If you also require the c-tree files for a Macintosh, please contact FairCom;
- and have your c-tree serial number handy.
-
- ---------
- End
- ---------
-