Commit b31c15e9 authored by nobody's avatar nobody

This commit was manufactured by cvs2svn to create branch 'isc'.

parent 1855ad84
dependencies
Topdir.make
#!/bin/sh
#
# $Id: Build,v 1.9 1992/01/05 18:20:38 ceder Exp $
# Copyright (C) 1991 Lysator Academic Computer Association.
#
# This file is part of the LysKOM server.
#
# LysKOM is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 1, or (at your option)
# any later version.
#
# LysKOM is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# for more details.
#
# You should have received a copy of the GNU General Public License
# along with LysKOM; see the file COPYING. If not, write to
# Lysator, c/o ISY, Linkoping University, S-581 83 Linkoping, SWEDEN,
# or the Free Software Foundation, Inc., 675 Mass Ave, Cambridge,
# MA 02139, USA.
#
# Please mail bug reports to bug-lyskom@lysator.liu.se.
#
# $Id: Build,v 1.9 1992/01/05 18:20:38 ceder Exp $
date
make depend \
&& echo '*** Depend ready. Making libraries. ***' \
&& make libraries \
&& echo '*** Libraries ready. Making binaries. ***' \
&& make binaries \
&& echo '*** All binaries should be built. Install manually.'
date
This diff is collapsed.
This diff is collapsed.
#!/bin/sh
#
# $Id: Config,v 1.10 1992/04/14 19:19:40 ceder Exp $
# Copyright (C) 1991 Lysator Academic Computer Association.
#
# This file is part of the LysKOM server.
#
# LysKOM is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 1, or (at your option)
# any later version.
#
# LysKOM is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# for more details.
#
# You should have received a copy of the GNU General Public License
# along with LysKOM; see the file COPYING. If not, write to
# Lysator, c/o ISY, Linkoping University, S-581 83 Linkoping, SWEDEN,
# or the Free Software Foundation, Inc., 675 Mass Ave, Cambridge,
# MA 02139, USA.
#
# Please mail bug reports to bug-lyskom@lysator.liu.se.
#
# $Id: Config,v 1.10 1992/04/14 19:19:40 ceder Exp $
x=
[ -d include ] && rm -rf include
mkdir include
case "$1" in
+help | +hel | +he | +h | -h | -H)
echo Usage: ./Config hosttype
echo where hosttype is one of
echo balance sparc;;
balance)
x=balance;;
sun3 | sun3os4 | sun4 | sun4os4 | sparc | sparcos4)
x=sun4os4;;
vax)
x=vax;;
*) echo Unsupported host type "$1".
x=error;;
esac
case "$x" in
error) false;;
*)
for i in `find . -type d -print`
do echo TOPDIR=`pwd` > $i/Topdir.make
done
rm -f scripts/import.make
ln -s ../config/${x}-defs.make scripts/import.make
( cd config; make SYSTEM=${x} config )
( cd src/include/ansi/${x} ; make SYSTEM=${x} config )
esac
(Hey, Emacs, this is a -*- Indented-text -*- file!)
* ansi-include/
Directory containing ANSI-fied header files for the standard
libraries.
* ChangeLog
Log file where the progressing work and changes are sporadically
documented. You are encouraged to add an entry in this file
whenever you change something in this directory.
* client/
Directory containing a TTY-based client for LysKOM, very similar to
the original KOM program from QZ.
* config.h
Configuration parameters for compiling. Contains among other
things all the stupid limits you really want to be without, all the
smart limits that has to be there to make it impossible to crash
the server, and lots of constants and configuration options.
* debug.h
Some #defines for debugging purposes.
* doc/
Documentation of LysKOM; both internal and external. Also some
random thoughts members of the development team wanted to write
down during development.
* FileList
This file, describing all the files.
* kom-errno.c
Defines the variable 'kom_errno' and the function 'kom_perror()'.
Used for error handling in LysKOM.
* kom-errno.h
Defines the type 'Kom_err' and declares the variable 'kom_errno'.
The server sets the value of 'kom_errno' when an error occurs.
The function 'kom_perror()' is declared.
* kom-types.h
Declares the types used by LysKOM. Here are the types that are
common to both the server and the client. Types that look
different to the server and the client, are found in
'server/server-types.h' and 'client/client-types.h' respectively.
* ldb/
Directory containing the low-level database routines for the LysKOM
server. 'ldb' stands for Lyskom DataBase.
* List-Files
Shell script to list the files in this directory not documented in
the file 'FileList' (the one you are reading now).
* Mailinglist
List of mail addresses of people who want to be informed of the
progress of LysKOM.
* Makefile
Exactly what the name says.
* misc-types.h
Miscellaneous types and constants that are useful in many places in
LysKOM, but are not very LysKOM-specific.
* s-collat-tables.c
Collating tables used for the 's_usr_strcmp()' and
's_usr_strhead()' functions in 's-string.h'
* s-collat-tables.h
Header file for 's-collat-tables.c'
* s-string.c
Routines for manipulating objects of type String as defined in
's-string.h'
* s-string.h
Header file for 's-string.c'
Definies our own string type 'String', and declares the functions
in 's-string.c'
* server/
Directory containing the LysKOM server, except for the low-level
database routines, which for historical reasons are in the separate
directory 'ldb/'.
* services.h
Declares all the services available from the LysKOM server.
* Summarize-Headers
Since we write our .h files with documentation in line, they
tend to get rather long, and it gets somewhat difficult to get
a quick overview of what functions are declared in the file.
This script cuts out all the "unnecessary" information: all
comments and all preprocessor lines (starting with #).
* TAGS
Tags table for use with Emacs.
* Template
Template for automatically generating 'Makefile'. 'Makefile' is
updated with the command 'make depend'. This should be given
whenever a change to 'Template' is done, or any new files are
added, or any dependecies are changed. Dependencies for normal C
files are generated automatically by this.
If 'Makefile' should become garbled, copy 'Template' to 'Makefile'
and do a 'make depend'.
* test-services/
Directory containing programs to test parts of the server. Used by
ceder, and should not be distributed.
This diff is collapsed.
$Id: MANIFEST,v 1.2 1991/09/13 20:00:02 linus Exp $
Filename Description
-------- -----------
Config - Script to make the configuration for different
machines
Build - Script to build the server
Makefile - The Makefile of the topdir
src/ - Source dir
src/Makefile - The Makefile
src/libraries - Source dir for the libraries
src/libraries/Makefile - The Makefile for the libraries
src/libraries/libansi - Substitutes ansi functions if necessary.
src/libraries/libcommon - LysKOM functions for both server and clients.
src/libraries/libisc - interprocess communication package
src/libraries/libmisc - mixed functions
doc - Dir with documentation files.
config - Configuration files for the different machines
scripts - Installation scripts. includes for make
src/server - The server
src/include - The include files that will be referenced
db-crypt - Initial database for server with encrypted passwords
db-nocrypt - Initial database for server without encryption
#
# $Id: Makefile,v 0.35 1992/02/10 02:53:22 linus Exp $
# Copyright (C) 1991 Lysator Academic Computer Association.
#
# This file is part of the LysKOM server.
#
# LysKOM is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 1, or (at your option)
# any later version.
#
# LysKOM is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# for more details.
#
# You should have received a copy of the GNU General Public License
# along with LysKOM; see the file COPYING. If not, write to
# Lysator, c/o ISY, Linkoping University, S-581 83 Linkoping, SWEDEN,
# or the Free Software Foundation, Inc., 675 Mass Ave, Cambridge,
# MA 02139, USA.
#
# Please mail bug reports to bug-lyskom@lysator.liu.se.
#
include Topdir.make
SCRIPTDIR = $(TOPDIR)/scripts
include $(SCRIPTDIR)/import.make
SUBDIRS = doc junk scripts src config
SERVER-VER = 1.1.0
all: msg includes libraries binaries end-msg
includes: $(INCLUDEDIR) $(INCLUDEDIR)/m-config.h
for i in $(SUBDIRS) ; \
do \
[ -d $$i ] && { echo making includes in directory $$i; \
(cd $$i; $(MAKE) $(EXPORTS) includes) } \
done
libraries: $(INCLUDEDIR) $(INCLUDEDIR)/m-config.h
-$(MKDIR) $(LIBDIR)
for i in $(SUBDIRS) ; \
do \
[ -d $$i ] && { echo making libraries in directory $$i; \
(cd $$i; $(MAKE) $(EXPORTS) libraries) } \
done
include $(SCRIPTDIR)/sub-binaries.make
include $(SCRIPTDIR)/sub-install.make
include $(SCRIPTDIR)/sub-depend.make
.PHONY: clean
clean:
$(RM) $(GENERIC-CLEAN)
-for i in $(SUBDIRS); \
do \
[ -d $$i ] && { echo making clean in directory $$i; \
(cd $$i; $(MAKE) $(EXPORTS) clean) } \
done
distcleandescend:
$(RM) $(GENERIC-DIST-CLEAN)
$(RM) -r $(INCLUDEDIR)
$(RM) -r $(LIBDIR)
-for i in $(SUBDIRS); \
do \
[ -d $$i ] && { echo making distclean in directory $$i; \
(cd $$i; $(MAKE) $(EXPORTS) distclean) } \
done
distclean: clean distcleandescend
$(RM) $(SCRIPTDIR)/import.make
depend: $(INCLUDEDIR) $(INCLUDEDIR)/m-config.h msg includes
distribution: distclean
find . -name '#*#' -print
-$(RM) -r lyskom-$(SERVER-VER)
$(MKDIR) lyskom-$(SERVER-VER)
cp README-serverrelease lyskom-$(SERVER-VER)/README
cp COPYING INSTALL Config Build Makefile lyskom-$(SERVER-VER)/
$(MKDIR) lyskom-$(SERVER-VER)/src
cp src/Makefile lyskom-$(SERVER-VER)/src/
$(MKDIR) lyskom-$(SERVER-VER)/src/libraries
cp src/libraries/Makefile lyskom-$(SERVER-VER)/src/libraries/
$(MKDIR) lyskom-$(SERVER-VER)/doc
for i in ADMINISTRATION Makefile misc_items prot-A.txt \
server-async.extend server.extend what-is-unread.swe; \
do \
cp doc/$$i lyskom-$(SERVER-VER)/doc/$i; \
done
cp -r doc/man lyskom-$(SERVER-VER)/doc/man
cp -r config lyskom-$(SERVER-VER)/config
cp -r scripts lyskom-$(SERVER-VER)/scripts
$(RM) lyskom-$(SERVER-VER)/scripts/import.make
cp -r run-support lyskom-$(SERVER-VER)/run-support
cp -r src/libraries/libansi lyskom-$(SERVER-VER)/src/libraries
cp -r src/libraries/libcommon lyskom-$(SERVER-VER)/src/libraries
cp -r src/libraries/libisc lyskom-$(SERVER-VER)/src/libraries
cp -r src/libraries/libmisc lyskom-$(SERVER-VER)/src/libraries
cp -r src/server lyskom-$(SERVER-VER)/src
cp -r src/include lyskom-$(SERVER-VER)/src/include
cp -r db-crypt lyskom-$(SERVER-VER)
cp -r db-nocrypt lyskom-$(SERVER-VER)
find lyskom-$(SERVER-VER) -name CVS.adm -print -exec rm -rf {} \; -prune
find lyskom-$(SERVER-VER) -name Topdir.make -print -exec rm -rf {} \;
tar cvf lyskom-$(SERVER-VER).tar lyskom-$(SERVER-VER)
$(RM) lyskom-$(SERVER-VER).tar.Z
compress lyskom-$(SERVER-VER).tar
$(RM) -r lyskom-$(SERVER-VER)
msg:
@echo Top-level source directory is believed to be $(TOPDIR)
@date
@echo
end-msg:
@echo
@echo Finished at
@date
$(INCLUDEDIR) $(INCLUDEDIR)/m-config.h:
@echo You must run Config before Build or make.
@exit 1
================================================================
README
-- LysKOM 1.1 --
Copyright (C) 1991 Lysator Academic Computer Association
================================================================
Contents:
What is LysKOM?
How do you set up a LysKOM server?
Changes since version 1.0.
What is LysKOM?
This is the README file for the server of the electronic conference
system LysKOM, version 1.1.
LysKOM has a lot in common with netnews, but LysKOM is intended for
local discussions (instead of worldwide). LysKOM consists of a server
process and several client programs. The server process maintains a
data base of persons, conferences and articles. The clients connect
to the server and let the users browse the database for unread
articles. Currently the only protocol available for connections is
TCP/IP, but rewriting the server and clients for using e.g. DECNET
should be trivial.
LysKOM is much faster than netnews - almost as fast as irc! - but
like in netnews the articles are saved so that you don't have to be
logged in to receive the news.
As mentioned above, you need a client to be able to do something
useful with LysKOM. As of now, there is only one client that has been
released. It is written in elisp (and thus requires GNU Emacs to run)
and its language is Swedish. It should be easy to translate to
english since all text strings are collected in one source file. The
client is available via anonymous ftp from ftp.lysator.liu.se
(130.236.23.254) in the directory pub/lyskom. Don't forget to fetch
the documentation for it at the same time - it is well worth reading
it! (If you know Swedish... :-)
A LysKOM server has been running at Lysator since July 25th 1990.
You can connect to it and test it out if you like to get a feel for
what LysKOM is. The IP address of the server is kom.lysator.liu.se.
Of course, you need a client to test it.
How do you set up a LysKOM server?
Installation instructions are in the file INSTALL. Instructions
for maintaining a LysKOM server are in the file doc/ADMINISTRATION.
Some other documentation, such as the specification for the
server-client protocol is also in the doc directory.
If you find a bug, please send your bug reports to the email address
bug-lyskom@lysator.liu.se, but before you do, please check the file
doc/known-server-bugs.
Note that we are developing a new server-client protocol called
Protocol B (the current one being named Protocol A). We have
discovered a few things which we want to do but can't since Protocol A
is too limited. Work on Protocol B has commenced, but it might well
take another year before we release a Protocol B server and clients.
We will fix bugs in programs using Protocol A, but we will probably
not do many enhancements to them.
Changes since version 1.0.
This is a short list of the more significant changes. All changes are
(or at least should be) noted in the ChangeLogs.
* New services: get_last_text, find_next_text_no,
find_previous_text_no, create_anonymous_text.
* Some memory leaks have been found.
* Some other bug fixes.
Att g|ra inf|r varje server-release: (Denna lista {r ej n|dv{ndigtvis
fullst{ndig).
Fixa versionsnumret i:
doc/ADMINISTRATION
Makefile
src/server/version.h
Skriv en rad i:
ChangeLog
Fixa till config/sun4-os4-defs.make enligt kommentarerna i den filen.
Dessutom:
Sl} av profilering
Sl} p} lagom med optimering
Kolla igenom alla config/filer.
Fixa en copyleftad vfprintf.c till vax.
G|r:
make distribution
G|r:
cvs tag lyskom server-1-1-1 ; # Eller vad det nu ska va'.
Testa tarfilen.
Flytta till ftp-arean.
Tue Apr 14 17:38:37 1992 Per Cederqvist (ceder@lysator)
* balance-defs.make: Updated.
* sunos4-defs.make (PROFILE-LIB-SUFFIX): New variable.
Sat Apr 4 19:11:53 1992 Per Cederqvist (ceder@lysator)
* sun4os4-defs.make (CC): gcc2 has been renamed to gcc.
* sun4os4-defs.make (ANSIDIR): Use new directory.
* sun4os4-defs.make (LIBIDENT): New variable.
Mon Mar 9 16:43:00 1992 Per Cederqvist (ceder@robin)
* PIPE (sun4os4-defs.make): Added note about sun3 /bin/as.
Wed Feb 26 19:53:05 1992 Per Cederqvist (ceder@lysator)
* CC (sun4os4-defs.make): Use gcc2 with a fair amount of warnings.
Mon Feb 10 03:18:20 1992 Linus Tolke Y (linus at robin)
* Makefile: new target config, called from config.
* sun4os4-defs.make: MKDIR macro added. This is not used though.
Sun Feb 9 22:20:00 1992 Linus Tolke Y (linus at robin)
* sun4os4-defs.make: New defaults. The defaults dirs are now:
for libraries /usr/local/lib/lyskom
for include files: /usr/local/include/lyskom
#
# $Id: Makefile,v 1.6 1992/02/10 02:43:36 linus Exp $
# Copyright (C) 1991 Lysator Academic Computer Association.
#
# This file is part of the LysKOM server.
#
# LysKOM is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 1, or (at your option)
# any later version.
#
# LysKOM is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# for more details.
#
# You should have received a copy of the GNU General Public License
# along with LysKOM; see the file COPYING. If not, write to
# Lysator, c/o ISY, Linkoping University, S-581 83 Linkoping, SWEDEN,
# or the Free Software Foundation, Inc., 675 Mass Ave, Cambridge,
# MA 02139, USA.
#
# Please mail bug reports to bug-lyskom@lysator.liu.se.
#
include Topdir.make
SCRIPTDIR = $(TOPDIR)/scripts
include $(SCRIPTDIR)/import.make
includes: $(INCLUDEDIR)/m-config.h
$(INCLUDEDIR)/m-config.h:
@echo You must run Config before Build or make.
false
libraries:;
binaries:;
clean:
$(RM) $(GENERIC-CLEAN)
distclean: clean
$(RM) $(GENERIC-DIST-CLEAN)
depend:;
config:
cp $(SYSTEM)-config.h $(INCLUDEDIR)/m-config.h
/*
* $Id: balance-config.h,v 1.5 1992/03/31 20:50:21 ceder Exp $
* Copyright (C) 1991 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
*
* LysKOM is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 1, or (at your option)
* any later version.
*
* LysKOM is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* for more details.
*
* You should have received a copy of the GNU General Public License
* along with LysKOM; see the file COPYING. If not, write to
* Lysator, c/o ISY, Linkoping University, S-581 83 Linkoping, SWEDEN,
* or the Free Software Foundation, Inc., 675 Mass Ave, Cambridge,
* MA 02139, USA.
*
* Please mail bug reports to bug-lyskom@lysator.liu.se.
*/
/*
* $Id: balance-config.h,v 1.5 1992/03/31 20:50:21 ceder Exp $
*
* This works on a Sequent Balance running Dynix 2.1.1.