From 0ff20006c7deb71ac0869bc2cc01ee79f0eb6635 Mon Sep 17 00:00:00 2001 From: dfs Date: Thu, 15 Jan 1998 02:49:26 +0000 Subject: [PATCH] -- Rearranged directory structure; starting conversion to autoconf. --- README | 11 ++ configure.in | 33 ++++ README.AMIGA => docs/README.AMIGA | 2 +- README.BCC => docs/README.BCC | 2 +- README.DOS => docs/README.DOS | 2 +- README.OS2 => docs/README.OS2 | 2 +- README.UNIX => docs/README.UNIX | 2 +- README_QDOS => docs/README_QDOS | 2 +- WHATSNEW.30 => docs/WHATSNEW.30 | 0 defs.rem => examples/defs.rem | 2 +- install-sh | 238 +++++++++++++++++++++++ kall.1 => man/kall.1 | 2 +- rem.1 => man/rem.1 | 2 +- rem2ps.1 => man/rem2ps.1 | 2 +- remind.1 => man/remind.1 | 2 +- tkremind.1 => man/tkremind.1 | 2 +- remind.LSM => remind.lsm | 0 scripts/README | 10 + kall => scripts/kall | 2 +- rem => scripts/rem | 2 +- remind-all.csh => scripts/remind-all.csh | 2 +- remind-all.sh => scripts/remind-all.sh | 2 +- tkremind => scripts/tkremind | 2 +- Makefile => src/Makefile | 2 +- Makefile_QDOS => src/Makefile_QDOS | 2 +- amiga-SCOPTIONS => src/amiga-SCOPTIONS | 0 amiga.c => src/amiga.c | 2 +- calendar.c => src/calendar.c | 2 +- src/config.h.in | 54 +++++ config.h => src/custom.h | 89 ++------- dorem.c => src/dorem.c | 2 +- dosubst.c => src/dosubst.c | 2 +- err.h => src/err.h | 2 +- expr.c => src/expr.c | 2 +- expr.h => src/expr.h | 2 +- files.c => src/files.c | 2 +- funcs.c => src/funcs.c | 2 +- globals.c => src/globals.c | 2 +- globals.h => src/globals.h | 2 +- hbcal.c => src/hbcal.c | 2 +- init.c => src/init.c | 2 +- lang.h => src/lang.h | 26 +-- danish.h => src/langs/danish.h | 2 +- dutch.h => src/langs/dutch.h | 2 +- english.h => src/langs/english.h | 2 +- finnish.h => src/langs/finnish.h | 2 +- french.h => src/langs/french.h | 2 +- german.h => src/langs/german.h | 2 +- italian.h => src/langs/italian.h | 2 +- norwgian.h => src/langs/norwgian.h | 2 +- polish.h => src/langs/polish.h | 2 +- portbr.h => src/langs/portbr.h | 2 +- romanian.h => src/langs/romanian.h | 2 +- lnk.bcc => src/lnk.bcc | 0 lnk.msc => src/lnk.msc | 0 lnk.tc => src/lnk.tc | 0 main.c => src/main.c | 2 +- makefile.bcc => src/makefile.bcc | 2 +- makefile.msc => src/makefile.msc | 2 +- makefile.os2 => src/makefile.os2 | 2 +- makefile.tc => src/makefile.tc | 2 +- moon.c => src/moon.c | 2 +- omit.c => src/omit.c | 2 +- os2func.c => src/os2func.c | 2 +- protos.h => src/protos.h | 2 +- queue.c => src/queue.c | 2 +- rem2ps.c => src/rem2ps.c | 2 +- rem2ps.h => src/rem2ps.h | 2 +- remind.def => src/remind.def | 0 smakefile => src/smakefile | 2 +- sort.c => src/sort.c | 2 +- token.c => src/token.c | 2 +- trigger.c => src/trigger.c | 2 +- types.h => src/types.h | 2 +- userfns.c => src/userfns.c | 2 +- utils.c => src/utils.c | 2 +- var.c => src/var.c | 2 +- version.h => src/version.h | 2 +- test-rem => tests/test-rem | 2 +- test-rem.ami => tests/test-rem.ami | 0 test-rem.bat => tests/test-rem.bat | 2 +- test-rem.cmd => tests/test-rem.cmd | 2 +- test-rem.rexx => tests/test-rem.rexx | 2 +- test.cmp => tests/test.cmp | 0 test.rem => tests/test.rem | 0 test1.cmp => tests/test1.cmp | 2 +- test2.cmp => tests/test2.cmp | 2 +- tstlang.rem => tests/tstlang.rem | 2 +- 88 files changed, 443 insertions(+), 160 deletions(-) create mode 100644 README create mode 100644 configure.in rename README.AMIGA => docs/README.AMIGA (97%) rename README.BCC => docs/README.BCC (97%) rename README.DOS => docs/README.DOS (97%) rename README.OS2 => docs/README.OS2 (98%) rename README.UNIX => docs/README.UNIX (99%) rename README_QDOS => docs/README_QDOS (98%) rename WHATSNEW.30 => docs/WHATSNEW.30 (100%) rename defs.rem => examples/defs.rem (99%) create mode 100755 install-sh rename kall.1 => man/kall.1 (92%) rename rem.1 => man/rem.1 (93%) rename rem2ps.1 => man/rem2ps.1 (99%) rename remind.1 => man/remind.1 (99%) rename tkremind.1 => man/tkremind.1 (99%) rename remind.LSM => remind.lsm (100%) create mode 100644 scripts/README rename kall => scripts/kall (94%) rename rem => scripts/rem (94%) rename remind-all.csh => scripts/remind-all.csh (96%) rename remind-all.sh => scripts/remind-all.sh (96%) rename tkremind => scripts/tkremind (99%) rename Makefile => src/Makefile (99%) rename Makefile_QDOS => src/Makefile_QDOS (98%) rename amiga-SCOPTIONS => src/amiga-SCOPTIONS (100%) rename amiga.c => src/amiga.c (95%) rename calendar.c => src/calendar.c (99%) create mode 100644 src/config.h.in rename config.h => src/custom.h (72%) rename dorem.c => src/dorem.c (99%) rename dosubst.c => src/dosubst.c (99%) rename err.h => src/err.h (99%) rename expr.c => src/expr.c (99%) rename expr.h => src/expr.h (96%) rename files.c => src/files.c (99%) rename funcs.c => src/funcs.c (99%) rename globals.c => src/globals.c (92%) rename globals.h => src/globals.h (98%) rename hbcal.c => src/hbcal.c (99%) rename init.c => src/init.c (99%) rename lang.h => src/lang.h (88%) rename danish.h => src/langs/danish.h (98%) rename dutch.h => src/langs/dutch.h (98%) rename english.h => src/langs/english.h (97%) rename finnish.h => src/langs/finnish.h (99%) rename french.h => src/langs/french.h (99%) rename german.h => src/langs/german.h (98%) rename italian.h => src/langs/italian.h (98%) rename norwgian.h => src/langs/norwgian.h (98%) rename polish.h => src/langs/polish.h (99%) rename portbr.h => src/langs/portbr.h (99%) rename romanian.h => src/langs/romanian.h (98%) rename lnk.bcc => src/lnk.bcc (100%) rename lnk.msc => src/lnk.msc (100%) rename lnk.tc => src/lnk.tc (100%) rename main.c => src/main.c (99%) rename makefile.bcc => src/makefile.bcc (97%) rename makefile.msc => src/makefile.msc (96%) rename makefile.os2 => src/makefile.os2 (98%) rename makefile.tc => src/makefile.tc (96%) rename moon.c => src/moon.c (99%) rename omit.c => src/omit.c (99%) rename os2func.c => src/os2func.c (97%) rename protos.h => src/protos.h (99%) rename queue.c => src/queue.c (99%) rename rem2ps.c => src/rem2ps.c (99%) rename rem2ps.h => src/rem2ps.h (99%) rename remind.def => src/remind.def (100%) rename smakefile => src/smakefile (98%) rename sort.c => src/sort.c (98%) rename token.c => src/token.c (99%) rename trigger.c => src/trigger.c (99%) rename types.h => src/types.h (98%) rename userfns.c => src/userfns.c (99%) rename utils.c => src/utils.c (98%) rename var.c => src/var.c (99%) rename version.h => src/version.h (92%) rename test-rem => tests/test-rem (93%) rename test-rem.ami => tests/test-rem.ami (100%) rename test-rem.bat => tests/test-rem.bat (93%) rename test-rem.cmd => tests/test-rem.cmd (93%) rename test-rem.rexx => tests/test-rem.rexx (91%) rename test.cmp => tests/test.cmp (100%) rename test.rem => tests/test.rem (100%) rename test1.cmp => tests/test1.cmp (99%) rename test2.cmp => tests/test2.cmp (99%) rename tstlang.rem => tests/tstlang.rem (98%) diff --git a/README b/README new file mode 100644 index 00000000..14bee8fb --- /dev/null +++ b/README @@ -0,0 +1,11 @@ + REMIND + +Remind is a full-featured calendar/alarm program. Copying policy is +in the file "COPYRIGHT" in this directory. + +Installation notes for various operating systems are in "docs". See +the appropriate README file for installation on your system. + +Manual pages are in "man". + +$Id: README,v 1.1 1998-01-15 02:49:27 dfs Exp $ \ No newline at end of file diff --git a/configure.in b/configure.in new file mode 100644 index 00000000..9aca79c6 --- /dev/null +++ b/configure.in @@ -0,0 +1,33 @@ +dnl Process this file with autoconf to produce a configure script. +dnl $Id: configure.in,v 1.1 1998-01-15 02:49:30 dfs Exp $ + +AC_INIT(src/amiga.c) +AC_CONFIG_HEADER(src/config.h) + +dnl Checks for programs. +AC_PROG_AWK +AC_PROG_CC +AC_PROG_INSTALL +AC_PROG_LN_S +AC_PROG_MAKE_SET + +dnl Checks for libraries. +dnl Replace `main' with a function in -lm: + +AC_CHECK_LIB(m, sqrt) + +dnl Checks for header files. +AC_HEADER_STDC +AC_CHECK_HEADERS(sys/file.h sys/time.h unistd.h malloc.h stdarg.h) + +dnl Checks for typedefs, structures, and compiler characteristics. +AC_C_CONST +AC_STRUCT_TM + +dnl Checks for library functions. +AC_TYPE_SIGNAL +AC_FUNC_UTIME_NULL +AC_FUNC_VPRINTF +AC_CHECK_FUNCS(mktime putenv strstr) + +AC_OUTPUT() diff --git a/README.AMIGA b/docs/README.AMIGA similarity index 97% rename from README.AMIGA rename to docs/README.AMIGA index a033db33..aa8736a2 100644 --- a/README.AMIGA +++ b/docs/README.AMIGA @@ -1,4 +1,4 @@ -$Id: README.AMIGA,v 1.1 1996-03-31 04:01:52 dfs Exp $ +$Id: README.AMIGA,v 1.1 1998-01-15 02:50:12 dfs Exp $ REMIND version 3.0 for AmigaDOS REMIND is a sophisticated alarm/calendar program. Details are given diff --git a/README.BCC b/docs/README.BCC similarity index 97% rename from README.BCC rename to docs/README.BCC index d2d80fbe..1ff67408 100644 --- a/README.BCC +++ b/docs/README.BCC @@ -1,4 +1,4 @@ -$Id: README.BCC,v 1.1 1996-03-27 03:25:48 dfs Exp $ +$Id: README.BCC,v 1.1 1998-01-15 02:50:13 dfs Exp $ REMIND version 3.0 for Borland C++ 1 - Read the file COPYRIGHT. (This may be called COPYRIGH on your diff --git a/README.DOS b/docs/README.DOS similarity index 97% rename from README.DOS rename to docs/README.DOS index d76e288d..2ec1ad8c 100644 --- a/README.DOS +++ b/docs/README.DOS @@ -1,4 +1,4 @@ -$Id: README.DOS,v 1.2 1996-10-12 02:59:06 dfs Exp $ +$Id: README.DOS,v 1.1 1998-01-15 02:50:13 dfs Exp $ REMIND version 3.0 for MS-DOS IMPORTANT NOTE: I'm no longer officially supporting Remind under diff --git a/README.OS2 b/docs/README.OS2 similarity index 98% rename from README.OS2 rename to docs/README.OS2 index a1753edb..8a358db3 100644 --- a/README.OS2 +++ b/docs/README.OS2 @@ -1,4 +1,4 @@ -$Id: README.OS2,v 1.1 1996-03-27 03:25:49 dfs Exp $ +$Id: README.OS2,v 1.1 1998-01-15 02:50:14 dfs Exp $ REMIND version 3.0 for OS/2 This file contains instructions for compiling Remind under OS/2 with diff --git a/README.UNIX b/docs/README.UNIX similarity index 99% rename from README.UNIX rename to docs/README.UNIX index 5786a377..c1e0040e 100644 --- a/README.UNIX +++ b/docs/README.UNIX @@ -1,4 +1,4 @@ -$Id: README.UNIX,v 1.3 1997-01-16 04:14:18 dfs Exp $ +$Id: README.UNIX,v 1.1 1998-01-15 02:50:14 dfs Exp $ REMIND version 3.0 for UNIX REMIND is a sophisticated alarm/calendar program. Details are given diff --git a/README_QDOS b/docs/README_QDOS similarity index 98% rename from README_QDOS rename to docs/README_QDOS index 78f62978..a81d8a2c 100644 --- a/README_QDOS +++ b/docs/README_QDOS @@ -1,4 +1,4 @@ -$Id: README_QDOS,v 1.6 1997-09-16 03:16:30 dfs Exp $ +$Id: README_QDOS,v 1.1 1998-01-15 02:50:14 dfs Exp $ REMIND version 3.0.18 for QDOS / SMSQ REMIND is a sophisticated alarm/calendar program. Details are given diff --git a/WHATSNEW.30 b/docs/WHATSNEW.30 similarity index 100% rename from WHATSNEW.30 rename to docs/WHATSNEW.30 diff --git a/defs.rem b/examples/defs.rem similarity index 99% rename from defs.rem rename to examples/defs.rem index de6c401b..179cf4a7 100644 --- a/defs.rem +++ b/examples/defs.rem @@ -22,7 +22,7 @@ ############################################################################# # -# $Id: defs.rem,v 1.4 1997-03-31 22:13:08 dfs Exp $ +# $Id: defs.rem,v 1.1 1998-01-15 02:50:16 dfs Exp $ # RUN OFF diff --git a/install-sh b/install-sh new file mode 100755 index 00000000..58719246 --- /dev/null +++ b/install-sh @@ -0,0 +1,238 @@ +#! /bin/sh +# +# install - install a program, script, or datafile +# This comes from X11R5. +# +# Calling this script install-sh is preferred over install.sh, to prevent +# `make' implicit rules from creating a file called install from it +# when there is no Makefile. +# +# This script is compatible with the BSD install script, but was written +# from scratch. +# + + +# set DOITPROG to echo to test this script + +# Don't use :- since 4.3BSD and earlier shells don't like it. +doit="${DOITPROG-}" + + +# put in absolute paths if you don't have them in your path; or use env. vars. + +mvprog="${MVPROG-mv}" +cpprog="${CPPROG-cp}" +chmodprog="${CHMODPROG-chmod}" +chownprog="${CHOWNPROG-chown}" +chgrpprog="${CHGRPPROG-chgrp}" +stripprog="${STRIPPROG-strip}" +rmprog="${RMPROG-rm}" +mkdirprog="${MKDIRPROG-mkdir}" + +transformbasename="" +transform_arg="" +instcmd="$mvprog" +chmodcmd="$chmodprog 0755" +chowncmd="" +chgrpcmd="" +stripcmd="" +rmcmd="$rmprog -f" +mvcmd="$mvprog" +src="" +dst="" +dir_arg="" + +while [ x"$1" != x ]; do + case $1 in + -c) instcmd="$cpprog" + shift + continue;; + + -d) dir_arg=true + shift + continue;; + + -m) chmodcmd="$chmodprog $2" + shift + shift + continue;; + + -o) chowncmd="$chownprog $2" + shift + shift + continue;; + + -g) chgrpcmd="$chgrpprog $2" + shift + shift + continue;; + + -s) stripcmd="$stripprog" + shift + continue;; + + -t=*) transformarg=`echo $1 | sed 's/-t=//'` + shift + continue;; + + -b=*) transformbasename=`echo $1 | sed 's/-b=//'` + shift + continue;; + + *) if [ x"$src" = x ] + then + src=$1 + else + # this colon is to work around a 386BSD /bin/sh bug + : + dst=$1 + fi + shift + continue;; + esac +done + +if [ x"$src" = x ] +then + echo "install: no input file specified" + exit 1 +else + true +fi + +if [ x"$dir_arg" != x ]; then + dst=$src + src="" + + if [ -d $dst ]; then + instcmd=: + else + instcmd=mkdir + fi +else + +# Waiting for this to be detected by the "$instcmd $src $dsttmp" command +# might cause directories to be created, which would be especially bad +# if $src (and thus $dsttmp) contains '*'. + + if [ -f $src -o -d $src ] + then + true + else + echo "install: $src does not exist" + exit 1 + fi + + if [ x"$dst" = x ] + then + echo "install: no destination specified" + exit 1 + else + true + fi + +# If destination is a directory, append the input filename; if your system +# does not like double slashes in filenames, you may need to add some logic + + if [ -d $dst ] + then + dst="$dst"/`basename $src` + else + true + fi +fi + +## this sed command emulates the dirname command +dstdir=`echo $dst | sed -e 's,[^/]*$,,;s,/$,,;s,^$,.,'` + +# Make sure that the destination directory exists. +# this part is taken from Noah Friedman's mkinstalldirs script + +# Skip lots of stat calls in the usual case. +if [ ! -d "$dstdir" ]; then +defaultIFS=' +' +IFS="${IFS-${defaultIFS}}" + +oIFS="${IFS}" +# Some sh's can't handle IFS=/ for some reason. +IFS='%' +set - `echo ${dstdir} | sed -e 's@/@%@g' -e 's@^%@/@'` +IFS="${oIFS}" + +pathcomp='' + +while [ $# -ne 0 ] ; do + pathcomp="${pathcomp}${1}" + shift + + if [ ! -d "${pathcomp}" ] ; + then + $mkdirprog "${pathcomp}" + else + true + fi + + pathcomp="${pathcomp}/" +done +fi + +if [ x"$dir_arg" != x ] +then + $doit $instcmd $dst && + + if [ x"$chowncmd" != x ]; then $doit $chowncmd $dst; else true ; fi && + if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dst; else true ; fi && + if [ x"$stripcmd" != x ]; then $doit $stripcmd $dst; else true ; fi && + if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dst; else true ; fi +else + +# If we're going to rename the final executable, determine the name now. + + if [ x"$transformarg" = x ] + then + dstfile=`basename $dst` + else + dstfile=`basename $dst $transformbasename | + sed $transformarg`$transformbasename + fi + +# don't allow the sed command to completely eliminate the filename + + if [ x"$dstfile" = x ] + then + dstfile=`basename $dst` + else + true + fi + +# Make a temp file name in the proper directory. + + dsttmp=$dstdir/#inst.$$# + +# Move or copy the file name to the temp name + + $doit $instcmd $src $dsttmp && + + trap "rm -f ${dsttmp}" 0 && + +# and set any options; do chmod last to preserve setuid bits + +# If any of these fail, we abort the whole thing. If we want to +# ignore errors from any of these, just make sure not to ignore +# errors from the above "$doit $instcmd $src $dsttmp" command. + + if [ x"$chowncmd" != x ]; then $doit $chowncmd $dsttmp; else true;fi && + if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dsttmp; else true;fi && + if [ x"$stripcmd" != x ]; then $doit $stripcmd $dsttmp; else true;fi && + if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dsttmp; else true;fi && + +# Now rename the file to the real destination. + + $doit $rmcmd -f $dstdir/$dstfile && + $doit $mvcmd $dsttmp $dstdir/$dstfile + +fi && + + +exit 0 diff --git a/kall.1 b/man/kall.1 similarity index 92% rename from kall.1 rename to man/kall.1 index 2e4ad38d..7e405159 100644 --- a/kall.1 +++ b/man/kall.1 @@ -1,4 +1,4 @@ -.\" $Id: kall.1,v 1.2 1996-04-28 02:01:58 dfs Exp $ +.\" $Id: kall.1,v 1.1 1998-01-15 02:50:17 dfs Exp $ .TH KALL 1 "26 February 1991" .UC 4 .SH NAME diff --git a/rem.1 b/man/rem.1 similarity index 93% rename from rem.1 rename to man/rem.1 index 710d6187..413de28e 100644 --- a/rem.1 +++ b/man/rem.1 @@ -1,4 +1,4 @@ -.\" $Id: rem.1,v 1.2 1996-04-28 02:02:01 dfs Exp $ +.\" $Id: rem.1,v 1.1 1998-01-15 02:50:17 dfs Exp $ .TH REM 1 "26 February 1991" .UC 4 .SH NAME diff --git a/rem2ps.1 b/man/rem2ps.1 similarity index 99% rename from rem2ps.1 rename to man/rem2ps.1 index 5afc5860..c61b44a0 100644 --- a/rem2ps.1 +++ b/man/rem2ps.1 @@ -1,4 +1,4 @@ -.\" $Id: rem2ps.1,v 1.2 1996-04-28 02:02:01 dfs Exp $ +.\" $Id: rem2ps.1,v 1.1 1998-01-15 02:50:18 dfs Exp $ .TH REM2PS 1 "27 April 1996" .UC4 .SH NAME diff --git a/remind.1 b/man/remind.1 similarity index 99% rename from remind.1 rename to man/remind.1 index 15ec8f44..beca3262 100644 --- a/remind.1 +++ b/man/remind.1 @@ -1,4 +1,4 @@ -.\" $Id: remind.1,v 1.10 1997-08-31 17:03:26 dfs Exp $ +.\" $Id: remind.1,v 1.1 1998-01-15 02:50:18 dfs Exp $ .TH REMIND 1 "31 July 1997" .UC 4 .SH NAME diff --git a/tkremind.1 b/man/tkremind.1 similarity index 99% rename from tkremind.1 rename to man/tkremind.1 index 57dc45e0..1dc463f1 100644 --- a/tkremind.1 +++ b/man/tkremind.1 @@ -1,4 +1,4 @@ -.\" $Id: tkremind.1,v 1.4 1996-09-28 18:46:57 dfs Exp $ " +.\" $Id: tkremind.1,v 1.1 1998-01-15 02:50:19 dfs Exp $ " .TH TKREMIND 1 "7 July 1996" .UC 4 .SH NAME diff --git a/remind.LSM b/remind.lsm similarity index 100% rename from remind.LSM rename to remind.lsm diff --git a/scripts/README b/scripts/README new file mode 100644 index 00000000..dac9f9d3 --- /dev/null +++ b/scripts/README @@ -0,0 +1,10 @@ +Files in this directory: + +kall -- Kills a program by command name, as in "kall remind" +rem -- Starts Remind with a default file of $HOME/.reminders +remind-all.csh -- Mails reminders to all users (C-Shell version) +remind-all.sh -- Mails reminders to all users (Bourne Shell version) +tkremind* -- Tcl/Tk graphical calendar using Remind as engine + +$Id: README,v 1.1 1998-01-15 02:50:20 dfs Exp $ + diff --git a/kall b/scripts/kall similarity index 94% rename from kall rename to scripts/kall index 1e4144e0..d59cb122 100644 --- a/kall +++ b/scripts/kall @@ -1,6 +1,6 @@ #!/bin/sh # -# $Id: kall,v 1.1 1996-03-27 03:25:59 dfs Exp $ +# $Id: kall,v 1.1 1998-01-15 02:50:20 dfs Exp $ # # kall - kill all processes belonging to this user that match # specified string. diff --git a/rem b/scripts/rem similarity index 94% rename from rem rename to scripts/rem index 4f37dd2d..d51b665b 100644 --- a/rem +++ b/scripts/rem @@ -2,7 +2,7 @@ # # rem - by David Skoll - 26 February 1991 # -# $Id: rem,v 1.1 1996-03-27 03:26:06 dfs Exp $ +# $Id: rem,v 1.1 1998-01-15 02:50:21 dfs Exp $ # # This script runs 'remind' with a default reminder file assumed. You # can override the default by using "rem -F newfile ..." (But why would diff --git a/remind-all.csh b/scripts/remind-all.csh similarity index 96% rename from remind-all.csh rename to scripts/remind-all.csh index da69d66b..974035e8 100644 --- a/remind-all.csh +++ b/scripts/remind-all.csh @@ -2,7 +2,7 @@ # Shell script to mail all users reminders. -# $Id: remind-all.csh,v 1.1 1996-03-27 03:26:08 dfs Exp $ +# $Id: remind-all.csh,v 1.1 1998-01-15 02:50:21 dfs Exp $ # Run it AFTER MIDNIGHT so that date is correct! # On our system, we have the following in our crontab: diff --git a/remind-all.sh b/scripts/remind-all.sh similarity index 96% rename from remind-all.sh rename to scripts/remind-all.sh index 5cea2349..99efae0d 100644 --- a/remind-all.sh +++ b/scripts/remind-all.sh @@ -3,7 +3,7 @@ # This file is part of REMIND # -# $Id: remind-all.sh,v 1.2 1997-01-16 04:14:30 dfs Exp $ +# $Id: remind-all.sh,v 1.1 1998-01-15 02:50:21 dfs Exp $ # # REMIND is Copyright (C) 1992-1997 by David F. Skoll # This file is Copyright (C) 1990 by Bill Aten diff --git a/tkremind b/scripts/tkremind similarity index 99% rename from tkremind rename to scripts/tkremind index 92a5cf57..e8cf034b 100755 --- a/tkremind +++ b/scripts/tkremind @@ -11,7 +11,7 @@ # #-------------------------------------------------------------- -# $Id: tkremind,v 1.13 1997-09-21 23:23:37 dfs Exp $ +# $Id: tkremind,v 1.1 1998-01-15 02:50:21 dfs Exp $ # the next line restarts using wish \ exec wish "$0" "$@" diff --git a/Makefile b/src/Makefile similarity index 99% rename from Makefile rename to src/Makefile index 3b74f1da..7b150cc3 100644 --- a/Makefile +++ b/src/Makefile @@ -1,5 +1,5 @@ # Makefile for REMIND -# $Id: Makefile,v 1.21 1997-09-16 03:16:30 dfs Exp $ +# $Id: Makefile,v 1.1 1998-01-15 02:50:24 dfs Exp $ #----------------------------------------------------------------------------- # THINGS FOR YOU TO EDIT START BELOW diff --git a/Makefile_QDOS b/src/Makefile_QDOS similarity index 98% rename from Makefile_QDOS rename to src/Makefile_QDOS index 87427a4f..5f391107 100644 --- a/Makefile_QDOS +++ b/src/Makefile_QDOS @@ -1,4 +1,4 @@ -#$Id: Makefile_QDOS,v 1.6 1997-09-16 03:16:30 dfs Exp $ +#$Id: Makefile_QDOS,v 1.1 1998-01-15 02:50:24 dfs Exp $ # Makefile for REMIND for QDOS / SMSQ #----------------------------------------------------------------------------- diff --git a/amiga-SCOPTIONS b/src/amiga-SCOPTIONS similarity index 100% rename from amiga-SCOPTIONS rename to src/amiga-SCOPTIONS diff --git a/amiga.c b/src/amiga.c similarity index 95% rename from amiga.c rename to src/amiga.c index 2c733132..555c1a34 100644 --- a/amiga.c +++ b/src/amiga.c @@ -11,7 +11,7 @@ /* */ /***************************************************************/ #include "config.h" -static char const RCSID[] = "$Id: amiga.c,v 1.3 1997-03-30 19:07:36 dfs Exp $"; +static char const RCSID[] = "$Id: amiga.c,v 1.1 1998-01-15 02:50:25 dfs Exp $"; #include #include diff --git a/calendar.c b/src/calendar.c similarity index 99% rename from calendar.c rename to src/calendar.c index 31a5498d..d847690c 100644 --- a/calendar.c +++ b/src/calendar.c @@ -10,7 +10,7 @@ /***************************************************************/ #include "config.h" -static char const RCSID[] = "$Id: calendar.c,v 1.6 1997-09-21 23:23:35 dfs Exp $"; +static char const RCSID[] = "$Id: calendar.c,v 1.1 1998-01-15 02:50:25 dfs Exp $"; #include #include diff --git a/src/config.h.in b/src/config.h.in new file mode 100644 index 00000000..0efa3fde --- /dev/null +++ b/src/config.h.in @@ -0,0 +1,54 @@ +/* config.h.in. Generated automatically from configure.in by autoheader. */ +/* Edited by running "configure" to create config.h automagically */ + +/* $Id: config.h.in,v 1.1 1998-01-15 02:50:25 dfs Exp $ */ + +/* Define to empty if the keyword does not work. */ +#undef const + +/* Define if you don't have vprintf but do have _doprnt. */ +#undef HAVE_DOPRNT + +/* Define if utime(file, NULL) sets file's timestamp to the present. */ +#undef HAVE_UTIME_NULL + +/* Define if you have the vprintf function. */ +#undef HAVE_VPRINTF + +/* Define as the return type of signal handlers (int or void). */ +#undef RETSIGTYPE + +/* Define if you have the ANSI C header files. */ +#undef STDC_HEADERS + +/* Define if your declares struct tm. */ +#undef TM_IN_SYS_TIME + +/* Define if you have the mktime function. */ +#undef HAVE_MKTIME + +/* Define if you have the putenv function. */ +#undef HAVE_PUTENV + +/* Define if you have the strstr function. */ +#undef HAVE_STRSTR + +/* Define if you have the header file. */ +#undef HAVE_MALLOC_H + +/* Define if you have the header file. */ +#undef HAVE_STDARG_H + +/* Define if you have the header file. */ +#undef HAVE_SYS_FILE_H + +/* Define if you have the header file. */ +#undef HAVE_SYS_TIME_H + +/* Define if you have the header file. */ +#undef HAVE_UNISTD_H + +/* Define if you have the m library (-lm). */ +#undef HAVE_LIBM + +#include "custom.h" diff --git a/config.h b/src/custom.h similarity index 72% rename from config.h rename to src/custom.h index 374e25f1..69768f42 100644 --- a/config.h +++ b/src/custom.h @@ -1,17 +1,16 @@ /***************************************************************/ /* */ -/* CONFIG.H */ +/* CUSTOM.H */ /* */ -/* Contains various configuration parameters for Remind. */ -/* You may have to edit this file to tweak parameters or take */ -/* care of certain system dependencies. */ +/* Contains various configuration parameters for Remind */ +/* which you can customize. */ /* */ /* This file is part of REMIND. */ -/* Copyright (C) 1992-1997 by David F. Skoll */ +/* Copyright (C) 1992-1998 by David F. Skoll */ /* */ /***************************************************************/ -/* $Id: config.h,v 1.11 1998-01-12 02:19:21 dfs Exp $ */ +/* $Id: custom.h,v 1.1 1998-01-15 02:50:25 dfs Exp $ */ /*---------------------------------------------------------------------*/ /* LAT_DEG, LAT_MIN and LAT_SEC: Latitude of your location */ @@ -32,21 +31,6 @@ #define LON_SEC 0 #define LOCATION "Ottawa" -/*---------------------------------------------------------------------*/ -/* HAVE_MKTIME: Define this if your C library includes the mktime() */ -/* function. Otherwise, will attempt to use the Unix */ -/* style time manipulations. */ -/*---------------------------------------------------------------------*/ -#define HAVE_MKTIME 1 - -/*---------------------------------------------------------------------*/ -/* NEED_TIMEGM: If your C library does not have mktime() and it ALSO */ -/* does not have timelocal() or timegm(), uncomment the */ -/* next line. If HAVE_MKTIME is defined, NEED_TIMEGM is */ -/* ignored. Very few systems should require NEED_TIMEGM. */ -/*---------------------------------------------------------------------*/ -/* #define NEED_TIMEGM 1 */ - /*---------------------------------------------------------------------*/ /* DEFAULT_PAGE: The default page size to use for Rem2PS. */ /* The Letter version is appropriate for North America; the A4 version */ @@ -76,12 +60,12 @@ #define ISOLATIN1 1 /*---------------------------------------------------------------------*/ -/* IBMEXTENDED: uncomment the following line if you want to use the */ -/* IBM extended character set. NOT ALL LANGUAGE MODULES SUPPORT THIS. */ +/* IBMEXTENDED: define as 1 if your system uses the IBM extended */ +/* character set. NOT ALL LANGUAGE MODULES SUPPORT THIS. */ /* Note that at most one of ISOLATIN1 or IBMEXTENDED should be */ -/* defined; if both are defined, the results are unspecified. */ +/* 1; if both are defined as 1, the results are unspecified. */ /*---------------------------------------------------------------------*/ -/* #define IBMEXTENDED 1 */ +#define IBMEXTENDED 0 /*---------------------------------------------------------------------*/ /* WANT_U_OPTION: Comment out the next define to permanently disable */ @@ -90,6 +74,10 @@ /*---------------------------------------------------------------------*/ #define WANT_U_OPTION 1 +/**********************************************************************/ +/* You most likely do NOT have to tweak anything after this! */ +/**********************************************************************/ + /*---------------------------------------------------------------------*/ /* WANT_SHELL_ESCAPING: Define this if you want special shell */ /* characters to be escaped with a backslash for the -k option. */ @@ -98,12 +86,6 @@ #define WANT_SHELL_ESCAPING 1 #endif -/*---------------------------------------------------------------------*/ -/* STRSTR: If your system does not have the "strstr" function, */ -/* uncomment the following line. */ -/*---------------------------------------------------------------------*/ -/* #define NO_STRSTR 1 */ - /*---------------------------------------------------------------------*/ /* Some implementations have a broken 'putc' and 'putchar'. */ /*---------------------------------------------------------------------*/ @@ -111,20 +93,6 @@ #define BROKEN_PUTC #endif -/*---------------------------------------------------------------------*/ -/* STDLIB: If you don't have the header file, comment the */ -/* following line. */ -/*---------------------------------------------------------------------*/ -#define HAVE_STDLIB_H 1 - -/*---------------------------------------------------------------------*/ -/* MALLOC: If you do not have the header file, */ -/* comment out the next 3 lines. */ -/*---------------------------------------------------------------------*/ -#ifdef UNIX -#define HAVE_MALLOC_H 1 -#endif - /*---------------------------------------------------------------------*/ /* BASE: The base year for date calculation. NOTE! January 1 of the */ /* base year MUST be a Monday, else Remind will not work! */ @@ -198,37 +166,6 @@ #define HAVE_PROTOS 1 #endif -/*---------------------------------------------------------------------*/ -/* Does our C compiler understand "const"? If not, define it as empty */ -/* You may want to change the test -- it's very conservative. */ -/*---------------------------------------------------------------------*/ -#if !defined(__STDC__) && !defined(__TURBOC__) && !defined(__BORLANDC__) -#define const -#endif - -/*---------------------------------------------------------------------*/ -/* Do we use the scheme for functions with variable number */ -/* of parameters? If not, the scheme is assumed. */ -/*---------------------------------------------------------------------*/ -#if defined(__STDC__) || defined(__TURBOC__) || defined(__BORLANDC__) -#define HAVE_STDARG 1 -#endif - -/*---------------------------------------------------------------------*/ -/* Does the function argument to the signal() function take an INT */ -/* argument? If yes, uncomment the next line. If you get it wrong, */ -/* the only bad side effect is a compiler warning, so don't worry too */ -/* much about it. */ -/*---------------------------------------------------------------------*/ -#define SIGHANDLER_INT_ARG 1 - -/*---------------------------------------------------------------------*/ -/* Do we have the header? If not, use sys/files.h */ -/*---------------------------------------------------------------------*/ -#ifdef UNIX -#define HAVE_UNISTD 1 -#endif - /*---------------------------------------------------------------------*/ /* How many attempts to resolve a weird date spec? */ /*---------------------------------------------------------------------*/ diff --git a/dorem.c b/src/dorem.c similarity index 99% rename from dorem.c rename to src/dorem.c index ceb6d775..e81c4037 100644 --- a/dorem.c +++ b/src/dorem.c @@ -12,7 +12,7 @@ /***************************************************************/ #include "config.h" -static char const RCSID[] = "$Id: dorem.c,v 1.6 1997-09-16 03:16:31 dfs Exp $"; +static char const RCSID[] = "$Id: dorem.c,v 1.1 1998-01-15 02:50:26 dfs Exp $"; #include #include diff --git a/dosubst.c b/src/dosubst.c similarity index 99% rename from dosubst.c rename to src/dosubst.c index 3af60799..cffa5996 100644 --- a/dosubst.c +++ b/src/dosubst.c @@ -11,7 +11,7 @@ /***************************************************************/ #include "config.h" -static char const RCSID[] = "$Id: dosubst.c,v 1.5 1997-03-30 19:07:38 dfs Exp $"; +static char const RCSID[] = "$Id: dosubst.c,v 1.1 1998-01-15 02:50:26 dfs Exp $"; #define L_IN_DOSUBST #include diff --git a/err.h b/src/err.h similarity index 99% rename from err.h rename to src/err.h index 4ab89e3c..4daf9bc5 100644 --- a/err.h +++ b/src/err.h @@ -9,7 +9,7 @@ /* */ /***************************************************************/ -/* $Id: err.h,v 1.3 1997-01-16 04:14:22 dfs Exp $ */ +/* $Id: err.h,v 1.1 1998-01-15 02:50:26 dfs Exp $ */ /* Note that not all of the "errors" are really errors - some are just messages for information purposes. Constants beginning with M_ should diff --git a/expr.c b/src/expr.c similarity index 99% rename from expr.c rename to src/expr.c index 89d6cded..90931cb1 100644 --- a/expr.c +++ b/src/expr.c @@ -10,7 +10,7 @@ /***************************************************************/ #include "config.h" -static char const RCSID[] = "$Id: expr.c,v 1.6 1997-03-30 19:07:38 dfs Exp $"; +static char const RCSID[] = "$Id: expr.c,v 1.1 1998-01-15 02:50:27 dfs Exp $"; #include #include diff --git a/expr.h b/src/expr.h similarity index 96% rename from expr.h rename to src/expr.h index 87ecbdc4..3d5ac25d 100644 --- a/expr.h +++ b/src/expr.h @@ -9,7 +9,7 @@ /* */ /***************************************************************/ -/* $Id: expr.h,v 1.2 1997-01-16 04:14:22 dfs Exp $ */ +/* $Id: expr.h,v 1.1 1998-01-15 02:50:27 dfs Exp $ */ /* Define the types of values */ #define ERR_TYPE 0 diff --git a/files.c b/src/files.c similarity index 99% rename from files.c rename to src/files.c index d3803bc0..40db59c9 100644 --- a/files.c +++ b/src/files.c @@ -12,7 +12,7 @@ /***************************************************************/ #include "config.h" -static char const RCSID[] = "$Id: files.c,v 1.9 1997-08-31 17:03:25 dfs Exp $"; +static char const RCSID[] = "$Id: files.c,v 1.1 1998-01-15 02:50:27 dfs Exp $"; #include #ifdef HAVE_STDLIB_H diff --git a/funcs.c b/src/funcs.c similarity index 99% rename from funcs.c rename to src/funcs.c index d3c78361..961a0e69 100644 --- a/funcs.c +++ b/src/funcs.c @@ -11,7 +11,7 @@ /***************************************************************/ #include "config.h" -static char const RCSID[] = "$Id: funcs.c,v 1.7 1997-03-30 19:07:39 dfs Exp $"; +static char const RCSID[] = "$Id: funcs.c,v 1.1 1998-01-15 02:50:28 dfs Exp $"; #include #ifdef HAVE_STDLIB_H diff --git a/globals.c b/src/globals.c similarity index 92% rename from globals.c rename to src/globals.c index 4f54e447..85e41ab0 100644 --- a/globals.c +++ b/src/globals.c @@ -13,7 +13,7 @@ /***************************************************************/ #include "config.h" -static char const RCSID[] = "$Id: globals.c,v 1.3 1997-03-30 19:07:39 dfs Exp $"; +static char const RCSID[] = "$Id: globals.c,v 1.1 1998-01-15 02:50:29 dfs Exp $"; #include /* For defintion of FILE - sigh! */ #include "types.h" diff --git a/globals.h b/src/globals.h similarity index 98% rename from globals.h rename to src/globals.h index 837d8c62..865dc0aa 100644 --- a/globals.h +++ b/src/globals.h @@ -11,7 +11,7 @@ /* */ /***************************************************************/ -/* $Id: globals.h,v 1.2 1997-01-16 04:14:24 dfs Exp $ */ +/* $Id: globals.h,v 1.1 1998-01-15 02:50:29 dfs Exp $ */ #ifdef MK_GLOBALS #undef EXTERN diff --git a/hbcal.c b/src/hbcal.c similarity index 99% rename from hbcal.c rename to src/hbcal.c index dbd774b4..f66ed9c1 100644 --- a/hbcal.c +++ b/src/hbcal.c @@ -13,7 +13,7 @@ /***************************************************************/ #include "config.h" -static char const RCSID[] = "$Id: hbcal.c,v 1.3 1997-03-30 19:07:40 dfs Exp $"; +static char const RCSID[] = "$Id: hbcal.c,v 1.1 1998-01-15 02:50:29 dfs Exp $"; #include /* For FILE used by protos.h - sigh. */ #include "types.h" diff --git a/init.c b/src/init.c similarity index 99% rename from init.c rename to src/init.c index b479432e..807a1996 100644 --- a/init.c +++ b/src/init.c @@ -12,7 +12,7 @@ /***************************************************************/ #include "config.h" -static char const RCSID[] = "$Id: init.c,v 1.7 1997-08-31 17:03:26 dfs Exp $"; +static char const RCSID[] = "$Id: init.c,v 1.1 1998-01-15 02:50:30 dfs Exp $"; #define L_IN_INIT 1 #include diff --git a/lang.h b/src/lang.h similarity index 88% rename from lang.h rename to src/lang.h index d991dea3..5c39ca0e 100644 --- a/lang.h +++ b/src/lang.h @@ -9,7 +9,7 @@ /* */ /***************************************************************/ -/* $Id: lang.h,v 1.6 1997-01-16 04:14:26 dfs Exp $ */ +/* $Id: lang.h,v 1.1 1998-01-15 02:50:30 dfs Exp $ */ /* I'm chauvinistic and name each language with its English name... */ @@ -44,30 +44,30 @@ /* Pick up the appropriate header file */ #if LANG == ENGLISH -#include "english.h" +#include "langs/english.h" #elif LANG == GERMAN -#include "german.h" +#include "langs/german.h" #elif LANG == DUTCH -#include "dutch.h" +#include "langs/dutch.h" #elif LANG == FINNISH -#include "finnish.h" +#include "langs/finnish.h" #elif LANG == FRENCH -#include "french.h" +#include "langs/french.h" #elif LANG == NORWEGIAN -#include "norwgian.h" +#include "langs/norwgian.h" #elif LANG == DANISH -#include "danish.h" +#include "langs/danish.h" #elif LANG == POLISH -#include "polish.h" +#include "langs/polish.h" #elif LANG == BRAZPORT -#include "portbr.h" +#include "langs/portbr.h" #elif LANG == ITALIAN -#include "italian.h" +#include "langs/italian.h" #elif LANG == ROMANIAN -#include "romanian.h" +#include "langs/romanian.h" /* If no sensible language, choose English. I intended to use the #error directive here, but some C compilers barf. */ #else -#include "english.h" +#include "langs/english.h" #endif diff --git a/danish.h b/src/langs/danish.h similarity index 98% rename from danish.h rename to src/langs/danish.h index f8ac1bb2..89aebc63 100644 --- a/danish.h +++ b/src/langs/danish.h @@ -11,7 +11,7 @@ /* */ /***************************************************************/ -/* $Id: danish.h,v 1.2 1997-01-16 04:14:20 dfs Exp $ */ +/* $Id: danish.h,v 1.1 1998-01-15 02:50:44 dfs Exp $ */ /* The very first define in a language support file must be L_LANGNAME: */ #define L_LANGNAME "Danish" diff --git a/dutch.h b/src/langs/dutch.h similarity index 98% rename from dutch.h rename to src/langs/dutch.h index c4b98291..d7ee2109 100644 --- a/dutch.h +++ b/src/langs/dutch.h @@ -15,7 +15,7 @@ /* */ /***************************************************************/ -/* $Id: dutch.h,v 1.2 1997-01-16 04:14:21 dfs Exp $ */ +/* $Id: dutch.h,v 1.1 1998-01-15 02:50:44 dfs Exp $ */ /* The very first define in a language support file must be L_LANGNAME: */ #define L_LANGNAME "Dutch" diff --git a/english.h b/src/langs/english.h similarity index 97% rename from english.h rename to src/langs/english.h index 9b172512..a26bbe95 100644 --- a/english.h +++ b/src/langs/english.h @@ -9,7 +9,7 @@ /* */ /***************************************************************/ -/* $Id: english.h,v 1.2 1997-01-16 04:14:21 dfs Exp $ */ +/* $Id: english.h,v 1.1 1998-01-15 02:50:45 dfs Exp $ */ /* The very first define in a language support file must be L_LANGNAME: */ #define L_LANGNAME "English" diff --git a/finnish.h b/src/langs/finnish.h similarity index 99% rename from finnish.h rename to src/langs/finnish.h index 9cd0753b..6968fdc8 100644 --- a/finnish.h +++ b/src/langs/finnish.h @@ -15,7 +15,7 @@ /* */ /***************************************************************/ -/* $Id: finnish.h,v 1.6 1998-01-12 02:19:21 dfs Exp $ */ +/* $Id: finnish.h,v 1.1 1998-01-15 02:50:45 dfs Exp $ */ /* The very first define in a language support file must be L_LANGNAME: */ #define L_LANGNAME "Finnish" diff --git a/french.h b/src/langs/french.h similarity index 99% rename from french.h rename to src/langs/french.h index c7a80aa9..8d9e8dd1 100644 --- a/french.h +++ b/src/langs/french.h @@ -14,7 +14,7 @@ /* */ /***************************************************************/ -/* $Id: french.h,v 1.5 1997-08-31 17:03:25 dfs Exp $ */ +/* $Id: french.h,v 1.1 1998-01-15 02:50:45 dfs Exp $ */ /* The very first define in a language support file must be L_LANGNAME: */ #define L_LANGNAME "French" diff --git a/german.h b/src/langs/german.h similarity index 98% rename from german.h rename to src/langs/german.h index 1f21e341..eeee43c1 100644 --- a/german.h +++ b/src/langs/german.h @@ -13,7 +13,7 @@ /* */ /***************************************************************/ -/* $Id: german.h,v 1.2 1997-01-16 04:14:24 dfs Exp $ */ +/* $Id: german.h,v 1.1 1998-01-15 02:50:46 dfs Exp $ */ /* The very first define in a language support file must be L_LANGNAME: */ #define L_LANGNAME "German" diff --git a/italian.h b/src/langs/italian.h similarity index 98% rename from italian.h rename to src/langs/italian.h index 1b689d83..18ea4bcf 100644 --- a/italian.h +++ b/src/langs/italian.h @@ -11,7 +11,7 @@ /* */ /***************************************************************/ -/* $Id: italian.h,v 1.2 1997-01-16 04:14:26 dfs Exp $ */ +/* $Id: italian.h,v 1.1 1998-01-15 02:50:46 dfs Exp $ */ /* The very first define in a language support file must be L_LANGNAME: */ #define L_LANGNAME "Italian" diff --git a/norwgian.h b/src/langs/norwgian.h similarity index 98% rename from norwgian.h rename to src/langs/norwgian.h index 0d4124e4..af7a6319 100644 --- a/norwgian.h +++ b/src/langs/norwgian.h @@ -10,7 +10,7 @@ /* */ /***************************************************************/ -/* $Id: norwgian.h,v 1.2 1997-01-16 04:14:27 dfs Exp $ */ +/* $Id: norwgian.h,v 1.1 1998-01-15 02:50:46 dfs Exp $ */ /* The very first define in a language support file must be L_LANGNAME: */ #define L_LANGNAME "Norwegian" diff --git a/polish.h b/src/langs/polish.h similarity index 99% rename from polish.h rename to src/langs/polish.h index b0c11aae..a0352940 100644 --- a/polish.h +++ b/src/langs/polish.h @@ -13,7 +13,7 @@ /* */ /***************************************************************/ -/* $Id: polish.h,v 1.4 1997-01-16 04:14:28 dfs Exp $ */ +/* $Id: polish.h,v 1.1 1998-01-15 02:50:46 dfs Exp $ */ /* The very first define in a language support file must be L_LANGNAME: */ #define L_LANGNAME "Polish" diff --git a/portbr.h b/src/langs/portbr.h similarity index 99% rename from portbr.h rename to src/langs/portbr.h index 04c97ef1..0779379d 100644 --- a/portbr.h +++ b/src/langs/portbr.h @@ -14,7 +14,7 @@ /* */ /***************************************************************/ -/* $Id: portbr.h,v 1.2 1997-01-16 04:14:29 dfs Exp $ */ +/* $Id: portbr.h,v 1.1 1998-01-15 02:50:47 dfs Exp $ */ /* The very first define in a language support file must be L_LANGNAME: */ #define L_LANGNAME "Brazilian Portuguese" diff --git a/romanian.h b/src/langs/romanian.h similarity index 98% rename from romanian.h rename to src/langs/romanian.h index c220de39..779fdadd 100644 --- a/romanian.h +++ b/src/langs/romanian.h @@ -13,7 +13,7 @@ /* */ /***************************************************************/ -/* $Id: romanian.h,v 1.2 1997-01-16 04:14:31 dfs Exp $ */ +/* $Id: romanian.h,v 1.1 1998-01-15 02:50:47 dfs Exp $ */ /* The very first define in a language support file must be L_LANGNAME: */ #define L_LANGNAME "Romanian" diff --git a/lnk.bcc b/src/lnk.bcc similarity index 100% rename from lnk.bcc rename to src/lnk.bcc diff --git a/lnk.msc b/src/lnk.msc similarity index 100% rename from lnk.msc rename to src/lnk.msc diff --git a/lnk.tc b/src/lnk.tc similarity index 100% rename from lnk.tc rename to src/lnk.tc diff --git a/main.c b/src/main.c similarity index 99% rename from main.c rename to src/main.c index 43d8ec9d..a851dbae 100644 --- a/main.c +++ b/src/main.c @@ -11,7 +11,7 @@ /***************************************************************/ #include "config.h" -static char const RCSID[] = "$Id: main.c,v 1.9 1997-09-07 19:19:11 dfs Exp $"; +static char const RCSID[] = "$Id: main.c,v 1.1 1998-01-15 02:50:31 dfs Exp $"; #ifdef HAVE_STDLIB_H #include diff --git a/makefile.bcc b/src/makefile.bcc similarity index 97% rename from makefile.bcc rename to src/makefile.bcc index 5751c260..1cd4c789 100644 --- a/makefile.bcc +++ b/src/makefile.bcc @@ -1,5 +1,5 @@ # Makefile for REMIND for Borland C++ -# $Id: makefile.bcc,v 1.6 1997-09-16 03:16:32 dfs Exp $ +# $Id: makefile.bcc,v 1.1 1998-01-15 02:50:32 dfs Exp $ VERSION= 03.00.18 diff --git a/makefile.msc b/src/makefile.msc similarity index 96% rename from makefile.msc rename to src/makefile.msc index 5d87e5cb..79e77e2e 100644 --- a/makefile.msc +++ b/src/makefile.msc @@ -1,5 +1,5 @@ # Makefile for REMIND for Microsoft C for MSDOS -# $Id: makefile.msc,v 1.1 1996-03-27 03:26:01 dfs Exp $ +# $Id: makefile.msc,v 1.1 1998-01-15 02:50:32 dfs Exp $ OBJS= calendar.obj dorem.obj dosubst.obj expr.obj files.obj funcs.obj \ globals.obj init.obj main.obj omit.obj token.obj trigger.obj userfns.obj \ diff --git a/makefile.os2 b/src/makefile.os2 similarity index 98% rename from makefile.os2 rename to src/makefile.os2 index 29453ba5..e0b251d5 100644 --- a/makefile.os2 +++ b/src/makefile.os2 @@ -1,6 +1,6 @@ # Makefile for REMIND # -# $Id: makefile.os2,v 1.3 1997-03-31 22:13:09 dfs Exp $ +# $Id: makefile.os2,v 1.1 1998-01-15 02:50:32 dfs Exp $ # # THIS IS OUT OF DATE! # diff --git a/makefile.tc b/src/makefile.tc similarity index 96% rename from makefile.tc rename to src/makefile.tc index ca38b5aa..59d54dc8 100644 --- a/makefile.tc +++ b/src/makefile.tc @@ -1,5 +1,5 @@ # Makefile for REMIND for Turbo C for MSDOS -# $Id: makefile.tc,v 1.6 1997-09-16 03:16:32 dfs Exp $ +# $Id: makefile.tc,v 1.1 1998-01-15 02:50:33 dfs Exp $ CC= tcc VERSION= 03.00.18 diff --git a/moon.c b/src/moon.c similarity index 99% rename from moon.c rename to src/moon.c index c01ce4c0..1d83ef31 100644 --- a/moon.c +++ b/src/moon.c @@ -10,7 +10,7 @@ /***************************************************************/ #include "config.h" -static char const RCSID[] = "$Id: moon.c,v 1.3 1997-03-30 19:07:42 dfs Exp $"; +static char const RCSID[] = "$Id: moon.c,v 1.1 1998-01-15 02:50:33 dfs Exp $"; /* All of these routines were adapted from the program "moontool" by John Walker, February 1988. Here's the blurb from moontool: diff --git a/omit.c b/src/omit.c similarity index 99% rename from omit.c rename to src/omit.c index 5b1b5ef3..3091753d 100644 --- a/omit.c +++ b/src/omit.c @@ -11,7 +11,7 @@ /***************************************************************/ #include "config.h" -static char const RCSID[] = "$Id: omit.c,v 1.5 1997-09-16 03:16:32 dfs Exp $"; +static char const RCSID[] = "$Id: omit.c,v 1.1 1998-01-15 02:50:34 dfs Exp $"; #include #ifdef HAVE_STDLIB_H diff --git a/os2func.c b/src/os2func.c similarity index 97% rename from os2func.c rename to src/os2func.c index 9e3906fc..df795e4a 100644 --- a/os2func.c +++ b/src/os2func.c @@ -12,7 +12,7 @@ /***************************************************************/ #include "config.h" -static char const RCSID[] = "$Id: os2func.c,v 1.3 1997-03-30 19:07:42 dfs Exp $"; +static char const RCSID[] = "$Id: os2func.c,v 1.1 1998-01-15 02:50:34 dfs Exp $"; #ifdef OS2_POPUP #define INCL_VIO diff --git a/protos.h b/src/protos.h similarity index 99% rename from protos.h rename to src/protos.h index 839561d1..41fcc355 100644 --- a/protos.h +++ b/src/protos.h @@ -9,7 +9,7 @@ /* */ /***************************************************************/ -/* $Id: protos.h,v 1.3 1997-01-16 04:14:29 dfs Exp $ */ +/* $Id: protos.h,v 1.1 1998-01-15 02:50:34 dfs Exp $ */ #ifdef HAVE_PROTOS #define ARGS(x) x diff --git a/queue.c b/src/queue.c similarity index 99% rename from queue.c rename to src/queue.c index 950e95d1..e7e5f05b 100644 --- a/queue.c +++ b/src/queue.c @@ -10,7 +10,7 @@ /***************************************************************/ #include "config.h" -static char const RCSID[] = "$Id: queue.c,v 1.4 1997-03-30 19:07:44 dfs Exp $"; +static char const RCSID[] = "$Id: queue.c,v 1.1 1998-01-15 02:50:34 dfs Exp $"; /* We only want object code generated if we have queued reminders */ #ifdef HAVE_QUEUED diff --git a/rem2ps.c b/src/rem2ps.c similarity index 99% rename from rem2ps.c rename to src/rem2ps.c index 34353ae1..005d0fc8 100644 --- a/rem2ps.c +++ b/src/rem2ps.c @@ -10,7 +10,7 @@ /***************************************************************/ #include "config.h" -static char const RCSID[] = "$Id: rem2ps.c,v 1.9 1997-09-21 23:23:36 dfs Exp $"; +static char const RCSID[] = "$Id: rem2ps.c,v 1.1 1998-01-15 02:50:35 dfs Exp $"; #include "lang.h" #include diff --git a/rem2ps.h b/src/rem2ps.h similarity index 99% rename from rem2ps.h rename to src/rem2ps.h index 25eb2900..ab44376c 100644 --- a/rem2ps.h +++ b/src/rem2ps.h @@ -9,7 +9,7 @@ /* */ /***************************************************************/ -/* $Id: rem2ps.h,v 1.2 1997-01-16 04:14:30 dfs Exp $ */ +/* $Id: rem2ps.h,v 1.1 1998-01-15 02:50:35 dfs Exp $ */ char *PSProlog1[] = { diff --git a/remind.def b/src/remind.def similarity index 100% rename from remind.def rename to src/remind.def diff --git a/smakefile b/src/smakefile similarity index 98% rename from smakefile rename to src/smakefile index 5b965dae..7eedb2ac 100644 --- a/smakefile +++ b/src/smakefile @@ -1,4 +1,4 @@ -# $Id: smakefile,v 1.3 1996-10-12 02:49:35 dfs Exp $ +# $Id: smakefile,v 1.1 1998-01-15 02:50:36 dfs Exp $ # Makefile for REMIND, suitable for SAS/C 6.50 under AmigaDOS # English version # THIS IS OUT OF DATE! diff --git a/sort.c b/src/sort.c similarity index 98% rename from sort.c rename to src/sort.c index 988dd85c..36882416 100644 --- a/sort.c +++ b/src/sort.c @@ -10,7 +10,7 @@ /***************************************************************/ #include "config.h" -static char const RCSID[] = "$Id: sort.c,v 1.3 1997-03-30 19:07:47 dfs Exp $"; +static char const RCSID[] = "$Id: sort.c,v 1.1 1998-01-15 02:50:36 dfs Exp $"; #ifdef HAVE_STDLIB_H #include diff --git a/token.c b/src/token.c similarity index 99% rename from token.c rename to src/token.c index 0448d557..7e6a5169 100644 --- a/token.c +++ b/src/token.c @@ -11,7 +11,7 @@ /***************************************************************/ #include "config.h" -static char const RCSID[] = "$Id: token.c,v 1.6 1997-09-16 03:16:35 dfs Exp $"; +static char const RCSID[] = "$Id: token.c,v 1.1 1998-01-15 02:50:36 dfs Exp $"; #include #include diff --git a/trigger.c b/src/trigger.c similarity index 99% rename from trigger.c rename to src/trigger.c index fb2a7d53..f1254415 100644 --- a/trigger.c +++ b/src/trigger.c @@ -10,7 +10,7 @@ /***************************************************************/ #include "config.h" -static char const RCSID[] = "$Id: trigger.c,v 1.4 1997-03-30 19:07:50 dfs Exp $"; +static char const RCSID[] = "$Id: trigger.c,v 1.1 1998-01-15 02:50:37 dfs Exp $"; #include #ifdef HAVE_STDLIB_H diff --git a/types.h b/src/types.h similarity index 98% rename from types.h rename to src/types.h index 6af52a59..8b85729e 100644 --- a/types.h +++ b/src/types.h @@ -9,7 +9,7 @@ /* */ /***************************************************************/ -/* $Id: types.h,v 1.5 1997-09-16 03:16:35 dfs Exp $ */ +/* $Id: types.h,v 1.1 1998-01-15 02:50:37 dfs Exp $ */ /* Values */ typedef struct { diff --git a/userfns.c b/src/userfns.c similarity index 99% rename from userfns.c rename to src/userfns.c index 65e7526f..535800a3 100644 --- a/userfns.c +++ b/src/userfns.c @@ -11,7 +11,7 @@ /***************************************************************/ #include "config.h" -static char const RCSID[] = "$Id: userfns.c,v 1.4 1997-03-30 19:07:51 dfs Exp $"; +static char const RCSID[] = "$Id: userfns.c,v 1.1 1998-01-15 02:50:37 dfs Exp $"; #include #ifdef HAVE_STDLIB_H diff --git a/utils.c b/src/utils.c similarity index 98% rename from utils.c rename to src/utils.c index f843e9ab..fd7c68cd 100644 --- a/utils.c +++ b/src/utils.c @@ -10,7 +10,7 @@ /***************************************************************/ #include "config.h" -static char const RCSID[] = "$Id: utils.c,v 1.4 1997-03-30 19:07:51 dfs Exp $"; +static char const RCSID[] = "$Id: utils.c,v 1.1 1998-01-15 02:50:37 dfs Exp $"; #include #include diff --git a/var.c b/src/var.c similarity index 99% rename from var.c rename to src/var.c index b6afc2cb..9251b5f5 100644 --- a/var.c +++ b/src/var.c @@ -11,7 +11,7 @@ /***************************************************************/ #include "config.h" -static char const RCSID[] = "$Id: var.c,v 1.5 1997-03-30 19:07:51 dfs Exp $"; +static char const RCSID[] = "$Id: var.c,v 1.1 1998-01-15 02:50:38 dfs Exp $"; #include #include diff --git a/version.h b/src/version.h similarity index 92% rename from version.h rename to src/version.h index 8dbbe0df..723cec0c 100644 --- a/version.h +++ b/src/version.h @@ -9,5 +9,5 @@ /* */ /***************************************************************/ -/* $Id: version.h,v 1.7 1997-09-16 03:16:35 dfs Exp $ */ +/* $Id: version.h,v 1.1 1998-01-15 02:50:39 dfs Exp $ */ #define VERSION "03.00.18" diff --git a/test-rem b/tests/test-rem similarity index 93% rename from test-rem rename to tests/test-rem index e9a27a0b..b24a92a5 100644 --- a/test-rem +++ b/tests/test-rem @@ -2,7 +2,7 @@ # --------------------------------------------------------------------------- # TEST-REM # -# $Id: test-rem,v 1.2 1997-01-16 04:14:31 dfs Exp $ +# $Id: test-rem,v 1.1 1998-01-15 02:50:49 dfs Exp $ # # This file runs an acceptance test for Remind. To use it, type: # sh test-rem OR make test diff --git a/test-rem.ami b/tests/test-rem.ami similarity index 100% rename from test-rem.ami rename to tests/test-rem.ami diff --git a/test-rem.bat b/tests/test-rem.bat similarity index 93% rename from test-rem.bat rename to tests/test-rem.bat index 39e100f3..ef404cf5 100644 --- a/test-rem.bat +++ b/tests/test-rem.bat @@ -2,7 +2,7 @@ rem --------------------------------------------------------------------------- rem TEST-REM rem -rem $Id: test-rem.bat,v 1.2 1997-01-16 04:14:31 dfs Exp $ +rem $Id: test-rem.bat,v 1.1 1998-01-15 02:50:50 dfs Exp $ rem rem This file runs an MSDOS acceptance test for Remind. To use it, type: rem test-rem diff --git a/test-rem.cmd b/tests/test-rem.cmd similarity index 93% rename from test-rem.cmd rename to tests/test-rem.cmd index b341fa1d..7d54876e 100644 --- a/test-rem.cmd +++ b/tests/test-rem.cmd @@ -2,7 +2,7 @@ rem --------------------------------------------------------------------------- rem TEST-REM rem -rem $Id: test-rem.cmd,v 1.2 1997-01-16 04:14:32 dfs Exp $ +rem $Id: test-rem.cmd,v 1.1 1998-01-15 02:50:50 dfs Exp $ rem rem This file runs an OS/2 acceptance test for Remind. To use it, type: rem test-rem diff --git a/test-rem.rexx b/tests/test-rem.rexx similarity index 91% rename from test-rem.rexx rename to tests/test-rem.rexx index f8ce1f8b..7123c0ca 100644 --- a/test-rem.rexx +++ b/tests/test-rem.rexx @@ -1,5 +1,5 @@ /* --------------------------------------------------------------------------- - $Id: test-rem.rexx,v 1.1 1996-03-31 04:02:00 dfs Exp $ + $Id: test-rem.rexx,v 1.1 1998-01-15 02:50:50 dfs Exp $ TEST-REM This file runs an AmigaDOS acceptance test for Remind. To use it, type: rx test-rem diff --git a/test.cmp b/tests/test.cmp similarity index 100% rename from test.cmp rename to tests/test.cmp diff --git a/test.rem b/tests/test.rem similarity index 100% rename from test.rem rename to tests/test.rem diff --git a/test1.cmp b/tests/test1.cmp similarity index 99% rename from test1.cmp rename to tests/test1.cmp index ed07b6a4..b8853742 100644 --- a/test1.cmp +++ b/tests/test1.cmp @@ -1,6 +1,6 @@ # Test file for REMIND # -# $Id: test1.cmp,v 1.7 1997-09-16 03:16:34 dfs Exp $ +# $Id: test1.cmp,v 1.1 1998-01-15 02:50:51 dfs Exp $ # # Use this file to test the date calculation routines # of the REMIND program by typing: diff --git a/test2.cmp b/tests/test2.cmp similarity index 99% rename from test2.cmp rename to tests/test2.cmp index f62bd9f9..77e300da 100644 --- a/test2.cmp +++ b/tests/test2.cmp @@ -1,6 +1,6 @@ # Test file for REMIND # -# $Id: test2.cmp,v 1.7 1997-09-16 03:16:34 dfs Exp $ +# $Id: test2.cmp,v 1.1 1998-01-15 02:50:51 dfs Exp $ # # Use this file to test the date calculation routines # of the REMIND program by typing: diff --git a/tstlang.rem b/tests/tstlang.rem similarity index 98% rename from tstlang.rem rename to tests/tstlang.rem index 04846be2..175e54bd 100644 --- a/tstlang.rem +++ b/tests/tstlang.rem @@ -3,7 +3,7 @@ # # TSTLANG.REM # -# $Id: tstlang.rem,v 1.2 1997-01-16 04:14:33 dfs Exp $ +# $Id: tstlang.rem,v 1.1 1998-01-15 02:50:52 dfs Exp $ # # Use this file to test new language headers you may want to create. # Usage: remind -rq tstlang.rem