# Top level Makefile for Email gateway.
# Europagate, 1994-1995.
#
-# $Id: Makefile,v 1.12 1995/02/21 13:59:54 adam Exp $
+# Makefile,v 1.12 1995/02/21 13:59:54 adam Exp
#
SHELL=/bin/sh
MAKE=make
CFLAGS=-Wall -g -pedantic -ansi
#CC=gcc
CPP=$(CC) -E
-ZPRE=/home/proj/zdist/zdist102b1-1/libz3950
-#NETLIB=-lnsl -lsocket
+ZPRE=/usr/local/emailgw/src/zdist102b1-1/libz3950
+NETLIB=-lnsl -lsocket
all:
for i in $(SUBDIR); do cd $$i; if $(MAKE) CFLAGS="$(CFLAGS)" CC="$(CC)" ZPRE="$(ZPRE)" CPP="$(CPP)" NETLIB="$(NETLIB)"; then cd ..; else exit 1; fi; done
dep depend:
- for i in $(SUBDIR); do cd $$i; if $(MAKE) depend; then cd ..; else exit 1; fi; done
+ for i in $(SUBDIR); do cd $$i; if $(MAKE) CFLAGS="$(CFLAGS)" CC="$(CC)" ZPRE="$(ZPRE)" CPP="$(CPP)" depend; then cd ..; else exit 1; fi; done
clean:
-rm -f lib/*.a
# Makefile for Email gateway CCL
# Europagate, 1995
#
-# $Log: Makefile,v $
-# Revision 1.4 1995/02/22 08:50:28 adam
+# Makefile,v
+# Revision 1.4 1995/02/22 08:50:28 adam
# Definition of CPP changed.
#
# Revision 1.3 1995/02/14 10:25:55 adam
-# $Id: bib1,v 1.1 1995/02/14 16:20:53 adam Exp $
+# bib1,v 1.1 1995/02/14 16:20:53 adam Exp
# CCL qualifiers and their mapping to a bib-1 subset
#
term s=pw t=l,r
/*
* Europagate, 1995
*
- * $Log: cclerrms.c,v $
- * Revision 1.4 1995/02/14 16:20:54 adam
+ * cclerrms.c,v
+ * Revision 1.4 1995/02/14 16:20:54 adam
* Qualifiers are read from a file now.
*
* Revision 1.3 1995/02/14 10:25:56 adam
/* CCL find (to rpn conversion)
* Europagate, 1995
*
- * $Log: cclfind.c,v $
- * Revision 1.9 1995/02/16 13:20:06 adam
+ * cclfind.c,v
+ * Revision 1.9 1995/02/16 13:20:06 adam
* Spell fix.
*
* Revision 1.8 1995/02/14 19:59:42 adam
/* CCL print rpn tree - infix notation
* Europagate, 1995
*
- * $Log: cclptree.c,v $
- * Revision 1.3 1995/02/15 17:42:16 adam
+ * cclptree.c,v
+ * Revision 1.3 1995/02/15 17:42:16 adam
* Minor changes of the api of this module. FILE* argument added
* to ccl_pr_tree.
*
/* CCL qualifiers
* Europagate, 1995
*
- * $Log: cclqual.c,v $
- * Revision 1.4 1995/02/14 19:55:12 adam
+ * cclqual.c,v
+ * Revision 1.4 1995/02/14 19:55:12 adam
* Header files ccl.h/cclp.h are gone! They have been merged an
* moved to ../include/ccl.h.
* Node kind(s) in ccl_rpn_node have changed names.
/* CCL shell.
* Europagate 1995
*
- * $Log: cclsh.c,v $
- * Revision 1.7 1995/02/15 17:42:16 adam
+ * cclsh.c,v
+ * Revision 1.7 1995/02/15 17:42:16 adam
* Minor changes of the api of this module. FILE* argument added
* to ccl_pr_tree.
*
/* CCL - lexical analysis
* Europagate, 1995
*
- * $Log: ccltoken.c,v $
- * Revision 1.3 1995/02/15 17:42:16 adam
+ * ccltoken.c,v
+ * Revision 1.3 1995/02/15 17:42:16 adam
* Minor changes of the api of this module. FILE* argument added
* to ccl_pr_tree.
*
# FML interpreter. Europagate, 1995
#
-# $Id: Makefile,v 1.9 1995/02/22 08:50:48 adam Exp $
+# Makefile,v 1.9 1995/02/22 08:50:48 adam Exp
SHELL=/bin/sh
INCLUDE=-I../include -I.
/*
* FML interpreter. Europagate, 1995
*
- * $Log: fml.c,v $
- * Revision 1.12 1995/02/22 15:20:13 adam
+ * fml.c,v
+ * Revision 1.12 1995/02/22 15:20:13 adam
* Bug fix in fml_exec_space.
*
* Revision 1.11 1995/02/22 08:50:49 adam
/*
* FML interpreter. Europagate, 1995
*
- * $Log: fmlarit.c,v $
- * Revision 1.1 1995/02/09 14:33:36 adam
+ * fmlarit.c,v
+ * Revision 1.1 1995/02/09 14:33:36 adam
* Split source fml.c and define relevant build-in functions in separate
* files. New operators mult, div, not, llen implemented.
*
/*
* FML interpreter. Europagate, 1995
*
- * $Log: fmlcall.c,v $
- * Revision 1.1 1995/02/09 16:06:07 adam
+ * fmlcall.c,v
+ * Revision 1.1 1995/02/09 16:06:07 adam
* FML can be called from the outside multiple times by the functions:
* fml_exec_call and fml_exec_call_str.
* An interactive parameter (-i) to fmltest starts a shell-like
/*
* FML interpreter. Europagate, 1995
*
- * $Log: fmlcalls.c,v $
- * Revision 1.2 1995/02/10 15:50:55 adam
+ * fmlcalls.c,v
+ * Revision 1.2 1995/02/10 15:50:55 adam
* MARC interface implemented. Minor bugs fixed. fmltest can
* be used to format single MARC records. New function '\list'
* implemented.
/*
* FML interpreter. Europagate, 1995
*
- * $Log: fmllist.c,v $
- * Revision 1.2 1995/02/10 15:50:55 adam
+ * fmllist.c,v
+ * Revision 1.2 1995/02/10 15:50:55 adam
* MARC interface implemented. Minor bugs fixed. fmltest can
* be used to format single MARC records. New function '\list'
* implemented.
/*
* FML interpreter. Europagate, 1995
*
- * $Log: fmlmarc.c,v $
- * Revision 1.2 1995/02/10 16:52:08 adam
+ * fmlmarc.c,v
+ * Revision 1.2 1995/02/10 16:52:08 adam
* Indicator field moved in MARC structure. The FML list representation
* of a MARC record has changed.
*
/*
* FML interpreter. Europagate, 1995
*
- * $Log: fmlmem.c,v $
- * Revision 1.6 1995/02/10 18:15:52 adam
+ * fmlmem.c,v
+ * Revision 1.6 1995/02/10 18:15:52 adam
* FML function 'strcmp' implemented. This function can be used to
* test for existence of MARC fields.
*
/*
* FML interpreter. Europagate, 1995
*
- * $Log: fmlp.h,v $
- * Revision 1.8 1995/02/10 18:15:52 adam
+ * fmlp.h,v
+ * Revision 1.8 1995/02/10 18:15:52 adam
* FML function 'strcmp' implemented. This function can be used to
* test for existence of MARC fields.
*
/*
* FML interpreter. Europagate, 1995
*
- * $Log: fmlrel.c,v $
- * Revision 1.1 1995/02/09 14:33:37 adam
+ * fmlrel.c,v
+ * Revision 1.1 1995/02/09 14:33:37 adam
* Split source fml.c and define relevant build-in functions in separate
* files. New operators mult, div, not, llen implemented.
*
/*
* FML interpreter. Europagate, 1995
*
- * $Log: fmlstr.c,v $
- * Revision 1.1 1995/02/10 18:15:53 adam
+ * fmlstr.c,v
+ * Revision 1.1 1995/02/10 18:15:53 adam
* FML function 'strcmp' implemented. This function can be used to
* test for existence of MARC fields.
*
/*
* FML interpreter. Europagate, 1995
*
- * $Log: fmlsym.c,v $
- * Revision 1.1 1995/02/06 13:48:09 adam
- * Initial revision
+ * fmlsym.c,v
+ * Revision 1.1.1.1 1995/02/06 13:48:10 adam
+ * First version of the FML interpreter. It's slow and memory isn't
+ * freed properly. In particular, the FML nodes aren't released yet.
*
*/
#include <stdio.h>
/*
* FML interpreter. Europagate, 1995
*
- * $Log: fmltest.c,v $
- * Revision 1.5 1995/02/10 15:50:56 adam
+ * fmltest.c,v
+ * Revision 1.5 1995/02/10 15:50:56 adam
* MARC interface implemented. Minor bugs fixed. fmltest can
* be used to format single MARC records. New function '\list'
* implemented.
/*
* FML interpreter. Europagate, 1995
*
- * $Log: fmltoken.c,v $
- * Revision 1.4 1995/02/10 18:15:53 adam
+ * fmltoken.c,v
+ * Revision 1.4 1995/02/10 18:15:53 adam
* FML function 'strcmp' implemented. This function can be used to
* test for existence of MARC fields.
*
# FML list inspection
#
-# $Id: lists.fml,v 1.3 1995/02/09 14:33:38 adam Exp $
+# lists.fml,v 1.3 1995/02/09 14:33:38 adam Exp
\set months {Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec}
\set days {31 28 31 30 31 30 31 31 30 31 30 31}
Number of months:
# Fml scripts to display MARC records
-# $Id: marc.fml,v 1.3 1995/02/10 18:15:53 adam Exp $
+# marc.fml,v 1.3 1995/02/10 18:15:53 adam Exp
\func f0 rec {
\foreach line {\rec} {
\line \index 1 \
# FML power and multiplication.
#
-# $Id: power.fml,v 1.1 1995/02/06 13:48:09 adam Exp $
+# power.fml,v 1.1.1.1 1995/02/06 13:48:10 adam Exp
\bin Mult a b {
\set val 0
# FML tempo test
#
-# $Id: tempo.fml,v 1.2 1995/02/09 13:07:16 adam Exp $
+# tempo.fml,v 1.2 1995/02/09 13:07:16 adam Exp
\set x 1
\set max 10000
\while {\x \lt \max} {\incr \x}
/* CCL - header file
* Europagate, 1995
*
- * $Log: ccl.h,v $
- * Revision 1.3 1995/02/16 13:20:10 adam
+ * ccl.h,v
+ * Revision 1.3 1995/02/16 13:20:10 adam
* Spell fix.
*
* Revision 1.2 1995/02/15 17:43:08 adam
/*
* FML interpreter. Europagate, 1995
*
- * $Log: fml.h,v $
- * Revision 1.2 1995/02/22 08:51:02 adam
+ * fml.h,v
+ * Revision 1.2 1995/02/22 08:51:02 adam
* Output function can be customized.
*
* Revision 1.1 1995/02/20 21:15:46 adam
/*
* FML interpreter. Europagate, 1995
*
- * $Log: fmlmarc.h,v $
- * Revision 1.1 1995/02/20 21:15:47 adam
+ * fmlmarc.h,v
+ * Revision 1.1 1995/02/20 21:15:47 adam
* Moved files to include.
*
* Revision 1.1 1995/02/10 15:50:56 adam
Europagate, 1994-1995.
- $Log: gw-log.h,v $
- Revision 1.1 1995/02/09 17:27:11 adam
- Initial revision
-
+ gw-log.h,v
+ * Revision 1.1.1.1 1995/02/09 17:27:12 adam
+ * Initial version of email gateway under CVS control.
+ *
Initial: Dec 7, 94 (Adam Dickmeiss)
Last update: Dec 13, 94 (Adam Dickmeiss)
Europagate, 1994-1995.
- $Log: gw-res.h,v $
- Revision 1.1 1995/02/09 17:27:11 adam
- Initial revision
-
+ gw-res.h,v
+ * Revision 1.1.1.1 1995/02/09 17:27:12 adam
+ * Initial version of email gateway under CVS control.
+ *
Initial: Dec 7, 94 (Adam Dickmeiss)
Last update: Dec 13, 94 (Adam Dickmeiss)
Europagate, 1994-1995.
- $Log: iso2709.h,v $
- Revision 1.3 1995/02/10 17:05:14 adam
- New function iso2709_display to display MARC records in a
- line-by-line format. The iso2709_cvt function no longer
- prints the record to stderr.
-
+ iso2709.h,v
+ * Revision 1.3 1995/02/10 17:05:14 adam
+ * New function iso2709_display to display MARC records in a
+ * line-by-line format. The iso2709_cvt function no longer
+ * prints the record to stderr.
+ *
* Revision 1.2 1995/02/10 16:50:25 adam
* Indicator field moved to 'struct iso2709_dir' from 'struct
* iso2709_field'.
Europagate, 1994-1995.
- $Log: iso2709p.h,v $
- Revision 1.3 1995/02/15 17:43:08 adam
- Minor changes to the ccl interface. Bug fix in iso2709 module.
-
+ iso2709p.h,v
+ * Revision 1.3 1995/02/15 17:43:08 adam
+ * Minor changes to the ccl interface. Bug fix in iso2709 module.
+ *
* Revision 1.2 1995/02/10 16:50:26 adam
* Indicator field moved to 'struct iso2709_dir' from 'struct
* iso2709_field'.
/*
* Europagate, 1995
*
- * $Log: zaccess.h,v $
- * Revision 1.7 1995/02/17 13:59:06 quinn
+ * zaccess.h,v
+ * Revision 1.7 1995/02/17 13:59:06 quinn
* Added header.
*
*/
# Makefile for Email gateway CCL
# Europagate, 1995
#
-# $Log: Makefile,v $
-# Revision 1.7 1995/02/22 08:51:34 adam
+# Makefile,v
+# Revision 1.7 1995/02/22 08:51:34 adam
# Output function can be customized in fml, which is used to print
# the reply to reply_fd.
#
# Subset of bib-1 attributes map to CCL qualifiers
-# $Id: default.bib,v 1.3 1995/02/20 21:16:17 adam Exp $
+# default.bib,v 1.3 1995/02/20 21:16:17 adam Exp
#
term t=l,r,b s=pw
clean t=l,r,b
# Fml scripts to display MARC records
-# $Id: default.fml,v 1.1 1995/02/20 21:17:08 adam Exp $
+# default.fml,v 1.1 1995/02/20 21:17:08 adam Exp
\func f0 rec {
\foreach line {\rec} {
\line \index 1 \
# Email gateway - general kernel resources
-# $Id: default.res,v 1.8 1995/02/22 15:22:32 adam Exp $
+# default.res,v 1.8 1995/02/22 15:22:32 adam Exp
#
# Important directories, programs, etc.
gw.reply.mta: /usr/lib/sendmail
# Email gateway - resource for a specific target
-# $Id: drewdb.res,v 1.1 1995/02/20 21:16:18 adam Exp $
+# drewdb.res,v 1.1 1995/02/20 21:16:18 adam Exp
# See p. 17 in Europagate, Background Study, Part II
gw.portno: 210
gw.hostname: dranet.dra.com
/* Gateway kernel
* Europagate, 1995
*
- * $Log: kernel.h,v $
- * Revision 1.5 1995/02/22 15:22:32 adam
+ * kernel.h,v
+ * Revision 1.5 1995/02/22 15:22:32 adam
* Much more checking of run-time state. Show command never retrieves
* more records than indicated by the previous search request. Help
* command available. The maximum number of records retrieved can be
# Email gateway - resources for danish conversation
-# $Id: lang.dk.res,v 1.3 1995/02/20 21:16:18 adam Exp $
+# lang.dk.res,v 1.3 1995/02/20 21:16:18 adam Exp
#
# Beskeder
gw.msg.subject: Din forespørgsel
# Email gateway - resources for english conversation
-# $Id: lang.uk.res,v 1.2 1995/02/22 15:22:33 adam Exp $
+# lang.uk.res,v 1.2 1995/02/22 15:22:33 adam Exp
#
# Messages
gw.msg.subject: Your Z39.50 Query
# Subset of bib-1 attributes map to CCL qualifiers for a target
-# $Id: loc.bib,v 1.2 1995/02/22 16:54:42 adam Exp $
+# loc.bib,v 1.2 1995/02/22 16:54:42 adam Exp
#
term s=pw
au u=1 s=pw
pn u=1 s=pw
cn u=2 s=pw
-ti u=3 s=pw
+ti u=4 s=pw
ts u=5 s=pw
isbn u=7 t=l,r,b,n
issn u=8 t=l,r,b,n
# Email gateway - resource for a specific target
-# $Id: loc.res,v 1.2 1995/02/16 18:35:09 adam Exp $
+# loc.res,v 1.2 1995/02/16 18:35:09 adam Exp
# See p. 40-43 in Europagate, Background Study, Part II
gw.portno: 210
gw.hostname: IBM2.LOC.gov
/* Gateway kernel
* Europagate, 1995
*
- * $Log: main.c,v $
- * Revision 1.7 1995/02/22 15:22:33 adam
+ * main.c,v
+ * Revision 1.7 1995/02/22 15:22:33 adam
* Much more checking of run-time state. Show command never retrieves
* more records than indicated by the previous search request. Help
* command available. The maximum number of records retrieved can be
/* Gateway kernel
* Europagate, 1995
*
- * $Log: urp.c,v $
- * Revision 1.13 1995/02/22 16:54:42 adam
+ * urp.c,v
+ * Revision 1.13 1995/02/22 16:54:42 adam
* Qualifiers of LOC target updated. More logging messages.
*
* Revision 1.12 1995/02/22 15:51:51 adam
-#$Log: ChangeLog,v $
-#Revision 1.1 1995/02/09 17:27:10 adam
-#Initial revision
+#ChangeLog,v
+# Revision 1.1.1.1 1995/02/09 17:27:11 adam
+# Initial version of email gateway under CVS control.
#
#
Dec 19 1994
# Makefile for resource management/logging facilities.
# Europagate, 1994-1995.
#
-# $Log: Makefile,v $
-# Revision 1.2 1995/02/22 08:51:44 adam
+# Makefile,v
+# Revision 1.2 1995/02/22 08:51:44 adam
# Definition of CPP changed.
#
# Revision 1.1.1.1 1995/02/09 17:27:11 adam
-# $Id: adam.res,v 1.1 1995/02/09 17:27:11 adam Exp $
+# adam.res,v 1.1.1.1 1995/02/09 17:27:12 adam Exp
a: 3
c: 45
# Personal X setup : ~/.Xdefaults, ~/.Xresources
# Adam Dickmeiss
-# $Id: big.res,v 1.1 1995/02/09 17:27:11 adam Exp $
+# big.res,v 1.1.1.1 1995/02/09 17:27:12 adam Exp
# This file specifies the default resources used by Emacs.
# Colors and backgrounds.
# This is default.res
-# $Log: default.res,v $
-# Revision 1.1 1995/02/09 17:27:11 adam
-# Initial revision
+# default.res,v
+# Revision 1.1.1.1 1995/02/09 17:27:12 adam
+# Initial version of email gateway under CVS control.
#
a: 1
Europagate, 1994-1995.
- $Log: gw-log-test.c,v $
- Revision 1.1 1995/02/09 17:27:11 adam
- Initial revision
-
+ gw-log-test.c,v
+ * Revision 1.1.1.1 1995/02/09 17:27:12 adam
+ * Initial version of email gateway under CVS control.
+ *
Initial: Dec 7, 94 (Adam Dickmeiss)
Last update: Dec 13, 94 (Adam Dickmeiss)
Europagate, 1994-1995.
- $Log: gw-log.c,v $
- Revision 1.2 1995/02/17 17:06:56 adam
- Remove everything before '/' in app_name. Use compact date format.
-
+ gw-log.c,v
+ * Revision 1.2 1995/02/17 17:06:56 adam
+ * Remove everything before '/' in app_name. Use compact date format.
+ *
* Revision 1.1.1.1 1995/02/09 17:27:12 adam
* Initial version of email gateway under CVS control.
*
Europagate, 1994-1995.
- $Log: gw-res-test.c,v $
- Revision 1.1 1995/02/09 17:27:11 adam
- Initial revision
-
+ gw-res-test.c,v
+ * Revision 1.1.1.1 1995/02/09 17:27:12 adam
+ * Initial version of email gateway under CVS control.
+ *
Initial: Dec 7, 94 (Adam Dickmeiss)
Last update: Dec 13, 94 (Adam Dickmeiss)
Europagate, 1994-1995.
- $Log: gw-res.c,v $
- Revision 1.3 1995/02/21 14:00:11 adam
- Minor changes.
-
+ gw-res.c,v
+ * Revision 1.3 1995/02/21 14:00:11 adam
+ * Minor changes.
+ *
* Revision 1.2 1995/02/16 13:21:30 adam
* A few logging messages added.
*
Europagate, 1994-1995.
- $Log: gw-resp.h,v $
- Revision 1.1 1995/02/09 17:27:11 adam
- Initial revision
-
+ gw-resp.h,v
+ * Revision 1.1.1.1 1995/02/09 17:27:12 adam
+ * Initial version of email gateway under CVS control.
+ *
Initial: Dec 7, 94 (Adam Dickmeiss)
Last update: Dec 13, 94 (Adam Dickmeiss)
# Makefile for Email gateway utilities
# Europagate, 1995
#
-# $Log: Makefile,v $
-# Revision 1.5 1995/02/22 08:51:46 adam
+# Makefile,v
+# Revision 1.5 1995/02/22 08:51:46 adam
# Definition of CPP changed.
#
# Revision 1.4 1995/02/20 21:16:32 adam
Europagate, 1994-1995.
- $Log: iso2709.c,v $
- Revision 1.5 1995/02/22 15:24:14 adam
- Function iso2709_cvt makes a litte check for the format. It returns
- NULL if the buffer parameter can never be a MARC record.
-
+ iso2709.c,v
+ * Revision 1.5 1995/02/22 15:24:14 adam
+ * Function iso2709_cvt makes a litte check for the format. It returns
+ * NULL if the buffer parameter can never be a MARC record.
+ *
* Revision 1.4 1995/02/15 17:45:44 adam
* Bug fix in iso2709 module.
*
Europagate, 1994-1995.
- $Log: iso2709dump.c,v $
- Revision 1.3 1995/02/10 17:05:18 adam
- New function iso2709_display to display MARC records in a
- line-by-line format. The iso2709_cvt function no longer
- prints the record to stderr.
-
+ iso2709dump.c,v
+ * Revision 1.3 1995/02/10 17:05:18 adam
+ * New function iso2709_display to display MARC records in a
+ * line-by-line format. The iso2709_cvt function no longer
+ * prints the record to stderr.
+ *
* Revision 1.2 1995/02/10 16:50:33 adam
* Indicator field moved to 'struct iso2709_dir' from 'struct
* iso2709_field'.
Europagate, 1994-1995.
- $Log: iso27dis.c,v $
- Revision 1.1 1995/02/10 17:05:18 adam
- New function iso2709_display to display MARC records in a
- line-by-line format. The iso2709_cvt function no longer
- prints the record to stderr.
-
+ iso27dis.c,v
+ * Revision 1.1 1995/02/10 17:05:18 adam
+ * New function iso2709_display to display MARC records in a
+ * line-by-line format. The iso2709_cvt function no longer
+ * prints the record to stderr.
+ *
*/
#include <stdlib.h>
# Makefile for Email gateway utilities
# Europagate, 1995
#
-# $Log: Makefile,v $
-# Revision 1.3 1995/02/22 08:51:49 adam
+# Makefile,v
+# Revision 1.3 1995/02/22 08:51:49 adam
# Definition of CPP changed.
#
# Revision 1.2 1995/02/16 15:01:38 quinn
PO=zaccess.o
CPP=$(CC) -E
DEFS=$(INCLUDE)
-ZDEFS=-DLOW_TO_HIGH -Dfar=
+ZDEFS=-DHIGH_TO_LOW -Dfar=
all: $(LIB)
/*
* Europagate, 1995
*
- * $Log: zaccess.c,v $
- * Revision 1.12 1995/02/20 20:35:37 quinn
+ * zaccess.c,v
+ * Revision 1.12 1995/02/20 20:35:37 quinn
* Pull present status from presresp.
*
* Revision 1.11 1995/02/20 18:58:05 quinn