File: README

package info (click to toggle)
grass 6.0.2-6
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 40,044 kB
  • ctags: 31,303
  • sloc: ansic: 321,125; tcl: 25,676; sh: 11,176; cpp: 10,098; makefile: 5,025; fortran: 1,846; yacc: 493; lex: 462; perl: 133; sed: 1
file content (55 lines) | stat: -rw-r--r-- 1,656 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
This library contains routines called both by client and drivers.

The low level communication is in the xdr*.c files. The routines
All the xdr*.c files create and destroy and XDRS structure.
the xdr_destroy() calls fflush() on the FILE * which is necessary
for the communication along both pipes to work properly.

The client stubs are in c_*.c files.

The driver implementation for any routine, say db_xxxx() is
to be named db_driver_xxxx().

The drivers must write the db_driver_xxxx()
For example
	db_ls()        /* client routine */
	db_driver_ls() /* driver routine */

----------------------------------------------------------	
The following variables need to be supplied by gmake

XDRLIB:
    the library which contains the xdr_int(), et al routines
	sun:        none, seems that these are in -lc
	dg aviion:  none, seems that these are in -lc
	intergraph: XDRLIB = -lbsd
	linux0.99:  XDRLIB = -lrpclib
	mips:       XDRLIB = -lrpcsvc
	sgi:        XDRLIB = -lsun

USE_DIRECT:
    #define that says to use #include <sys/dir.h> and struct direct
    instead of #include <dirent.h> and struct dirent

	mips: USE_DIRECT = -DUSE_DIRECT

USE_BUFFERED_IO:
    #define that says to not to call setbuf(fd, NULL) to force unbuffered io

	sun:    USE_BUFFERED_IO = -DUSE_BUFFERED_IO
	mips:   USE_BUFFERED_IO = -DUSE_BUFFERED_IO
    note:
	intergraph, sgi won't work unless io is unbuffered.
	sun, mips can use buffered io.

CC:
	mips: CC = /bsd43/bin/cc

---------------
The $DBMSCAP file should have the remote-shell full path in the
command and not let $PATH handle it. 

	sun: /usr/ucb/rsh
	mips: /bin/net/rsh
	intergraph: /usr/bin/rcmd
	sgi: /usr/bsd/rsh