freebsd-src/gnu/libexec/uucp/libuuconf
1999-08-27 23:37:10 +00:00
..
addblk.c $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
addstr.c $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
allblk.c $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
alloc.c $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
alloc.h Commit delta: current -> 1.06 + FreeBSD configuration 1995-08-19 21:30:30 +00:00
base.c $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
bool.c $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
callin.c $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
calout.c $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
chatc.c $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
cmdarg.c $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
cmdfil.c $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
cmdlin.c $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
COPYING.LIB Taylor UUCP 1.04 1993-08-05 18:28:27 +00:00
debfil.c $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
deblev.c $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
diacod.c $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
dial.c $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
diasub.c $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
dnams.c $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
errno.c $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
errstr.c $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
filnam.c $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
freblk.c $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
fredia.c $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
free.c $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
freprt.c $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
fresys.c $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
grdcmp.c $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
hdial.c $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
hdnams.c $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
hinit.c $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
hlocnm.c $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
hport.c $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
hrmunk.c $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
hsinfo.c $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
hsnams.c $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
hsys.c $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
hunk.c $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
iniglb.c $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
init.c $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
int.c $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
lckdir.c $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
lineno.c $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
llocnm.c $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
local.c $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
locnm.c $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
logfil.c $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
Makefile $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
MANIFEST Commit delta: current -> 1.06 + FreeBSD configuration 1995-08-19 21:30:30 +00:00
maxuxq.c $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
mrgblk.c $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
paramc.c $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
port.c $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
prtsub.c $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
pubdir.c $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
rdlocs.c $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
rdperm.c $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
README Commit delta: current -> 1.06 + FreeBSD configuration 1995-08-19 21:30:30 +00:00
reliab.c $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
remunk.c $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
runuxq.c $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
sinfo.c $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
snams.c $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
split.c $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
spool.c $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
stafil.c $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
strip.c $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
syshdr.h Commit delta: current -> 1.06 + FreeBSD configuration 1995-08-19 21:30:30 +00:00
syssub.c $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
tcalou.c $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
tdial.c $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
tdialc.c $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
tdnams.c $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
tgcmp.c $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
thread.c $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
time.c $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
tinit.c $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
tlocnm.c $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
tport.c $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
tportc.c $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
tsinfo.c $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
tsnams.c $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
tsys.c $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
tval.c $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
ugtlin.c $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
unk.c $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
uucnfi.h Commit delta: current -> 1.06 + FreeBSD configuration 1995-08-19 21:30:30 +00:00
val.c $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
vinit.c $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
vport.c $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
vsinfo.c $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
vsnams.c $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
vsys.c $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00

This is the README file for the beta release of the uuconf library.

It was written by Ian Lance Taylor.  I can be reached at ian@airs.com,
or, equivalently, uunet!cygint!airs!ian, or c/o Cygnus Support, 
48 Grove Street, Somerville, MA, 02144, USA.

This package is covered by the Gnu Library General Public License.
See the file COPYING.LIB for details.  If you would like to do
something with this package that you feel is reasonable but you feel
is prohibited by the license, contact me to see if we can work it out.

WHAT IT IS

This is a beta release of the uuconf library.  The uuconf library
provides a set of functions which can be used to read UUCP
configuration files.  V2, HDB, and Taylor UUCP configuration files are
supported.

Also included are two programs, uuchk and uuconv.  uuchk will read
configuration files and display the information it finds in a verbose
format.  This can be helpful to ensure that your configuration files
are set up as you expect.  uuconv can be used to convert configuration
files from one type to another.  This is particularly helpful for
people installing Taylor UUCP on a existing system who want to take
advantage of the additional functionality provided by the Taylor UUCP
configuration files.

This is strictly a beta release.  The library provides all the
information needed for uuchk and uuconv, but does not yet provide
everything needed for uucp or cu.  I am releasing it now to get
feedback and to provide the uuconv program to people using Taylor
UUCP.

This may well be the only time this library is release independently.
This library will be provided with Taylor UUCP, and future releases of
the library will probably only occur as part of the complete Taylor
UUCP package.

HOW TO USE IT

Configure and optionally install the package as described in INSTALL.

The functions provided by the library are described in uuconf.h.  At
the moment there is no additional documentation.

Programs which use the library should include uuconf.h, and should not
include any of the other header files.  The functions listed in
uuconf.h all begin with the string "uuconf_".  The internal library
functions all begin with the string "_uuconf_".  The internal library
functions should not be called by a program which uses the library, as
they may change in future releases.  The uuchk program is an example
of program which uses the library; uuconv is not, as it relies upon
internal data structures.

The uuchk program takes a single optional option, -I, which may be
used to specify an alternate Taylor UUCP main configuration file.  The
default configuration file is $(newconfigdir)/config ($(newconfigdir)
is defined in Makefile).  For example:
    uuchk
    uuchk -I /usr/tmp/tstuu/Config1

The uuconv program requires two options: -i to specify the input type
and -o to specify the output type.  Both options take a string
argument, which must be one of "v2", "hdb", or "taylor".  uuconv also
takes an optional -I option, which is the same as the -I option to
uuchk.  The conversion is not intended to be perfect, and the results
should be manually inspected.  In particular, the dialcode file is not
converted (as the format is the same for all three configuration file
types, it may simply be copied to the appropriate new name).  uuconv
will create new files in the current working directory.  For example:
    uuconv -i hdb -o taylor
    uuconv -i taylor -I /usr/tmp/tstuu/Config1 -o v2

NOTES

The initial underscore on the internal library functions is required
by the GNU standards.  As ANSI C reserves external identifiers with an
initial underscore for the implementation, it is possible, though
unlikely, that this will cause problems on other implementations; no
workaround is currently provided for such problems.

The library functions rely upon the following functions:

    fclose      fopen       free        fseek
    ftell       getc        isalpha     isdigit
    islower     isspace     isupper     malloc
    realloc     rewind      strchr      strcmp
    strcspn     strlen      strncmp     strspn
    tolower     toupper

and the following header files:

    ctype.h     errno.h     stdio.h

If the following functions cannot be found by the configure script,
replacements will be used (the replacement for strerror is Unix
dependent):

    getline     memcpy      strcasecmp  strdup
    strerror    strncasecmp strtol

If the following header files are found, they will be included:

    libc.h      limits.h    memory.h    stddef.h
    stdlib.h    string.h    strings.h	sys/types.h

The following functions are required on Unix only:

    fcntl       fileno

The following headers are used, if found, on Unix only:

    fcntl.h     sys/file.h