chiark / gitweb /
Expunge revision histories in files.
authormdw <mdw>
Thu, 8 Apr 2004 01:52:19 +0000 (01:52 +0000)
committermdw <mdw>
Thu, 8 Apr 2004 01:52:19 +0000 (01:52 +0000)
41 files changed:
Makefile.am
acconfig.h
archtab.5
configure.in
perl/Info.pm
perl/Makefile.am
perl/SW.pm
perl/SWCGI.pm
perl/SWConfig.pm.in
perl/SWDoc.pm
perl/SWInfo.pm
perl/SWList.pm
perl/SWMan.pm
perl/sw-cgi.1
perl/sw-tidy.1
perl/sw-tidy.in
perl/sw.in
src/Makefile.am
src/pres_curses.c
src/pres_curses.h
src/pres_plain.c
src/pres_plain.h
src/sw.c
src/sw.h
src/sw_arch.c
src/sw_arch.h
src/sw_build.c
src/sw_build.h
src/sw_env.c
src/sw_env.h
src/sw_info.c
src/sw_info.h
src/sw_links.c
src/sw_links.h
src/sw_rsh.c
src/sw_rsh.h
sw-env.5
sw-info.5
sw-share.1
sw.1
sw.in

index 33b49eb4a33c8b1a71226e7460f25c320b63dadf..ec616f1079312d254f14069b8a1ce35902b37641 100644 (file)
@@ -1,6 +1,6 @@
 ## -*-makefile-*-
 ##
-## $Id: Makefile.am,v 1.6 1999/11/11 20:24:37 mdw Exp $
+## $Id: Makefile.am,v 1.7 2004/04/08 01:52:18 mdw Exp $
 ##
 ## Makefile for sw-tools
 ##
 ## along with sw-tools; if not, write to the Free Software Foundation,
 ## Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
-##----- Revision history ----------------------------------------------------
-##
-## $Log: Makefile.am,v $
-## Revision 1.6  1999/11/11 20:24:37  mdw
-## Build separately from mLib.
-##
-## Revision 1.5  1999/07/30 18:45:23  mdw
-## Build and install the Perl bits.
-##
-## Revision 1.4  1999/06/18 18:59:51  mdw
-## Add sw-share script.
-##
-## Revision 1.3  1999/06/04 14:02:56  mdw
-## Stupid thing doesn't automatically distribute manpages.
-##
-## Revision 1.2  1999/06/04 13:56:30  mdw
-## Install and distribute the manuals.
-##
-## Revision 1.1.1.1  1999/06/02 16:53:33  mdw
-## Initial import.
-##
-
 AUTOMAKE_OPTIONS = foreign
 
 SUBDIRS = src perl
index 692ae2a00e4e56fc62fdefcbd32ba20fcef91d42..69a53ef37dc4f9badcf8f6e76f9ab376537e8278 100644 (file)
@@ -1,6 +1,6 @@
 /* -*-c-*-
  *
- * $Id: acconfig.h,v 1.1 1999/06/02 16:53:33 mdw Exp $
+ * $Id: acconfig.h,v 1.2 2004/04/08 01:52:18 mdw Exp $
  *
  * Configuration skeleton
  *
  * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  */
 
-/*----- Revision history --------------------------------------------------* 
- *
- * $Log: acconfig.h,v $
- * Revision 1.1  1999/06/02 16:53:33  mdw
- * Initial revision
- *
- */
-
 #ifndef ACCONFIG_H
 #define ACCONFIG_H
 
index eab7a7339d64b925c202b8a537c8f6a33aa48031..33aff87dda5b2174ff735a76e65b5ae887bb0a16 100644 (file)
--- a/archtab.5
+++ b/archtab.5
@@ -1,6 +1,6 @@
 .\" -*-nroff-*-
 .\"
-.\" $Id: archtab.5,v 1.3 1999/07/30 18:44:32 mdw Exp $
+.\" $Id: archtab.5,v 1.4 2004/04/08 01:52:18 mdw Exp $
 .\"
 .\" Manual page for `archtab' files.
 .\"
 .\" along with sw-tools; if not, write to the Free Software Foundation,
 .\" Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 .
-.\"----- Revision history ---------------------------------------------------
-.\"
-.\" $Log: archtab.5,v $
-.\" Revision 1.3  1999/07/30 18:44:32  mdw
-.\" Improve cross-references and tidy up formatting.
-.\"
-.\" Revision 1.2  1999/07/16 12:45:36  mdw
-.\" Internal formatting improvements.
-.\"
-.\" Revision 1.1  1999/06/04 13:56:18  mdw
-.\" New manual page.
-.\"
-.
-.\"----- Style hacking ------------------------------------------------------
-.
-.de VS \" Start a sort-of verbatim block
-.sp 1
-.in +5n
-.nf
-.ft B
-..
-.de VE \" Stop a sort-of verbatim block
-.ft R
-.fi
-.in -5n
-.sp 1
-..
-.de hP \" Start an indented paragraph with a bold right-aligned label
-.IP
-\fB\h'-\w'\\$1\ 'u'\\$1\ \fP\c
-..
-.
-.ie \n(.g \{\
-.      fam P
-.      ds mw \fR[\f(BImdw\fR]
-.\}
-.el    .ds mw \fR[\fBmdw\fR]
-.ie t   .ds o \(bu
-.el     .ds o o
-.ds sw \fBsw\fP
-.ds se \fBsw\-env\fP
-.
-.\"----- Main manual text ---------------------------------------------------
-.
-.TH archtab 5 "25 May 1999" sw-tools
-.PD 1
-.
-.\"--------------------------------------------------------------------------
-.
-.SH "NAME"
-.
-archtab \- mapping from architecture names to hosts
-.
-.\"--------------------------------------------------------------------------
-.
-.SH "DESCRIPTION"
-.
-The
-.B archtab
-file is a sequence of lines.  A line may be blank, a comment, or a table
-entry.  Blank lines contain only whitespace; comments have a
-.RB ` # '
-as their first non-whitespace character: both are ignored.  Table
-entries consist an architecture name and a hostname, separated by
-whitespace.  Each architecture should only appear once.  The hostname
-should be the preferred host for building software on that architecture.
-.
-.\"--------------------------------------------------------------------------
-.
-.SH "SEE ALSO"
-.
-.BR sw (1).
-.
-.SH "AUTHOR"
-.
-The \*(sw program, and this manual, are \*(mw productions, in association
-with the European Bioinformatics Institute.  They were written by Mark
-Wooding <mdw@nsict.org>.  Go and ask him if you have problems.
-.
-.\"----- That's all, folks --------------------------------------------------
index ee36d35af76093b223202c80fb4f76fac7e962d5..77bfe46edf8f5823917848973c5184b604941a95 100644 (file)
@@ -1,12 +1,3 @@
-dnl -*-fundamental-*-
-dnl
-dnl $Id: configure.in,v 1.10 1999/11/11 20:24:37 mdw Exp $
-dnl
-dnl Configuration for sw-tools
-dnl
-dnl (c) 1999 EBI
-dnl
-
 dnl ----- Licensing notice --------------------------------------------------
 dnl
 dnl This file is part of sw-tools.
@@ -25,31 +16,6 @@ dnl You should have received a copy of the GNU General Public License
 dnl along with sw-tools; if not, write to the Free Software Foundation,
 dnl Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
-dnl ----- Revision history --------------------------------------------------
-dnl
-dnl $Log: configure.in,v $
-dnl Revision 1.10  1999/11/11 20:24:37  mdw
-dnl Build separately from mLib.
-dnl
-dnl Revision 1.9  1999/09/24 13:17:53  mdw
-dnl Version bump.
-dnl
-dnl Revision 1.7  1999/07/30 18:45:36  mdw
-dnl Configure the Perl bits.
-dnl
-dnl Revision 1.6  1999/07/28 09:31:49  mdw
-dnl Small amounts of tidying.
-dnl
-dnl Revision 1.5  1999/07/16 12:46:04  mdw
-dnl First proper release version.
-dnl
-dnl Revision 1.3  1999/06/18 18:59:39  mdw
-dnl Preliminary work for Perl scripts.
-dnl
-dnl Revision 1.1.1.1  1999/06/02 16:53:33  mdw
-dnl Initial import.
-dnl
-
 dnl --- Boring boilerplate ---
 
 AC_INIT(src/sw.c)
index c9d926d73be1e057d85437dc59a3f9233bae0225..f6d22540613763665509f980075dcb4141c76cf6 100644 (file)
@@ -1,6 +1,6 @@
 # -*-perl-*-
 #
-# $Id: Info.pm,v 1.1 1999/07/30 18:46:36 mdw Exp $
+# $Id: Info.pm,v 1.2 2004/04/08 01:52:19 mdw Exp $
 #
 # Manipulation and reading of Info files
 #
 # along with sw-tools; if not, write to the Free Software Foundation,
 # Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
-#----- Revision history -----------------------------------------------------
-#
-# $Log: Info.pm,v $
-# Revision 1.1  1999/07/30 18:46:36  mdw
-# New CGI script for browsing installed software and documentation.
-#
-
 #----- Package preamble -----------------------------------------------------
 
 package Info;
index 69cffb54b5de8d0b3621bde3d8d43f7d7d262470..67d10a708898dcb4d14cf6a6098678aac9f372de 100644 (file)
@@ -1,6 +1,6 @@
 ## -*-makefile-*-
 ##
-## $Id: Makefile.am,v 1.1 1999/07/30 18:46:36 mdw Exp $
+## $Id: Makefile.am,v 1.2 2004/04/08 01:52:19 mdw Exp $
 ##
 ## Build and install Perl bits of `sw'.
 ##
 ## along with sw-tools; if not, write to the Free Software Foundation,
 ## Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
-##----- Revision history ----------------------------------------------------
-##
-## $Log: Makefile.am,v $
-## Revision 1.1  1999/07/30 18:46:36  mdw
-## New CGI script for browsing installed software and documentation.
-##
-
 AUTOMAKE_OPTIONS = foreign
 
 cgidir = ${exec_prefix}/cgi-bin
index 474c621df3bd03cab66a4683c4d1f1594ef69447..16854b7a3cb366d2103c02c1554068d300b35dd7 100644 (file)
@@ -1,6 +1,6 @@
 # -*-perl-*-
 #
-# $Id: SW.pm,v 1.1 1999/07/30 18:48:05 mdw Exp $
+# $Id: SW.pm,v 1.2 2004/04/08 01:52:19 mdw Exp $
 #
 # Handling for the `sw' index file
 #
 # along with sw-tools; if not, write to the Free Software Foundation,
 # Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
-#----- Revision history -----------------------------------------------------
-#
-# $Log: SW.pm,v $
-# Revision 1.1  1999/07/30 18:48:05  mdw
-# Useful bits for the Perl support code.
-#
-
 #----- Package preamble -----------------------------------------------------
 
 package SW;
index d092a0f3dc7b57de0e0a5090ec64cbab7ee95c70..513fb54005088b2e945f7d6e12018928f104cf62 100644 (file)
@@ -1,6 +1,6 @@
 # -*-perl-*-
 #
-# $Id: SWCGI.pm,v 1.2 1999/08/24 12:15:33 mdw Exp $
+# $Id: SWCGI.pm,v 1.3 2004/04/08 01:52:19 mdw Exp $
 #
 # Miscellaneous CGI support functions
 #
 # along with sw-tools; if not, write to the Free Software Foundation,
 # Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
-#----- Revision history -----------------------------------------------------
-#
-# $Log: SWCGI.pm,v $
-# Revision 1.2  1999/08/24 12:15:33  mdw
-# Properly sanitize CGI arguments (like `gtk+').
-#
-# Revision 1.1  1999/07/30 18:46:37  mdw
-# New CGI script for browsing installed software and documentation.
-#
-
 #----- Package header -------------------------------------------------------
 
 package SWCGI;
index 73a9713ca105d389bee6e176a2b0088c8bab3ccc..f12abc492f4b76a52c74783fb0448a99f3002c96 100644 (file)
@@ -1,6 +1,6 @@
 # -*-perl-*-
 #
-# $Id: SWConfig.pm.in,v 1.1 1999/07/30 18:48:05 mdw Exp $
+# $Id: SWConfig.pm.in,v 1.2 2004/04/08 01:52:19 mdw Exp $
 #
 # Exports configuration variables
 #
 # along with sw-tools; if not, write to the Free Software Foundation,
 # Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
-#----- Revision history -----------------------------------------------------
-#
-# $Log: SWConfig.pm.in,v $
-# Revision 1.1  1999/07/30 18:48:05  mdw
-# Useful bits for the Perl support code.
-#
-
 #----- Package preamble -----------------------------------------------------
 
 package SWConfig;
index aeedb04aee4252d0ab735d91b98fcc67158b56b9..8278552dac2dcad9e02bf605571cacccd3e02e3d 100644 (file)
@@ -1,6 +1,6 @@
 # -*-perl-*-
 #
-# $Id: SWDoc.pm,v 1.3 1999/08/19 12:11:09 mdw Exp $
+# $Id: SWDoc.pm,v 1.4 2004/04/08 01:52:19 mdw Exp $
 #
 # Display documentation files
 #
 # along with sw-tools; if not, write to the Free Software Foundation,
 # Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
-#----- Revision history -----------------------------------------------------
-#
-# $Log: SWDoc.pm,v $
-# Revision 1.3  1999/08/19 12:11:09  mdw
-# More improvements to URL recognizer.
-#
-# Revision 1.2  1999/08/18 17:10:07  mdw
-# Slight improvements to URL and email address parsing.
-#
-# Revision 1.1  1999/07/30 18:46:37  mdw
-# New CGI script for browsing installed software and documentation.
-#
-
 #----- Package preamble -----------------------------------------------------
 
 package SWDoc;
index c4cf7bb9401bca54e332a8880064ea6be473d424..4ff6e2c7386a841fcd6982a7f97a8d569b9f73d7 100644 (file)
@@ -1,6 +1,6 @@
 # -*-perl-*-
 #
-# $Id: SWInfo.pm,v 1.4 1999/08/24 12:15:33 mdw Exp $
+# $Id: SWInfo.pm,v 1.5 2004/04/08 01:52:19 mdw Exp $
 #
 # Read and output GNU Info files
 #
 # along with sw-tools; if not, write to the Free Software Foundation,
 # Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
-#----- Revision history -----------------------------------------------------
-#
-# $Log: SWInfo.pm,v $
-# Revision 1.4  1999/08/24 12:15:33  mdw
-# Properly sanitize CGI arguments (like `gtk+').
-#
-# Revision 1.3  1999/08/19 12:11:10  mdw
-# More improvements to URL recognizer.
-#
-# Revision 1.2  1999/08/18 17:10:07  mdw
-# Slight improvements to URL and email address parsing.
-#
-# Revision 1.1  1999/07/30 18:46:37  mdw
-# New CGI script for browsing installed software and documentation.
-#
-
 #----- Package preamble -----------------------------------------------------
 
 package SWInfo;
index 579665bc006a27d68ddfa7e1436ff252f97ca6b9..d69d51ed50083890673216f5dcd690b83a0747f2 100644 (file)
@@ -1,6 +1,6 @@
 # -*-perl-*-
 #
-# $Id: SWList.pm,v 1.2 1999/08/24 12:15:34 mdw Exp $
+# $Id: SWList.pm,v 1.3 2004/04/08 01:52:19 mdw Exp $
 #
 # Create the main list of installed packages
 #
 # along with sw-tools; if not, write to the Free Software Foundation,
 # Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
-#----- Revision history -----------------------------------------------------
-#
-# $Log: SWList.pm,v $
-# Revision 1.2  1999/08/24 12:15:34  mdw
-# Properly sanitize CGI arguments (like `gtk+').
-#
-# Revision 1.1  1999/07/30 18:46:37  mdw
-# New CGI script for browsing installed software and documentation.
-#
-
 #----- Package header -------------------------------------------------------
 
 package SWList;
index 4a48eb52224fbcb57140777be177a321712f24f4..439a13311d97d73b2aaccc853899287f73b3e1a8 100644 (file)
@@ -1,6 +1,6 @@
 # -*-perl-*-
 #
-# $Id: SWMan.pm,v 1.4 1999/08/24 12:15:34 mdw Exp $
+# $Id: SWMan.pm,v 1.5 2004/04/08 01:52:19 mdw Exp $
 #
 # Display and other fiddling of manual pages
 #
 # along with sw-tools; if not, write to the Free Software Foundation,
 # Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
-#----- Revision history -----------------------------------------------------
-#
-# $Log: SWMan.pm,v $
-# Revision 1.4  1999/08/24 12:15:34  mdw
-# Properly sanitize CGI arguments (like `gtk+').
-#
-# Revision 1.3  1999/08/19 12:11:10  mdw
-# More improvements to URL recognizer.
-#
-# Revision 1.2  1999/08/18 17:10:07  mdw
-# Slight improvements to URL and email address parsing.
-#
-# Revision 1.1  1999/07/30 18:46:37  mdw
-# New CGI script for browsing installed software and documentation.
-#
-
 #----- Package preamble -----------------------------------------------------
 
 package SWMan;
index 244ee5b53113c4b948d674e3ab507396704afdb3..f5f50122e70f57ca3fdc87edca93c970ad2f9bca 100644 (file)
@@ -1,6 +1,6 @@
 .\" -*-nroff-*-
 .\"
-.\" $Id: sw-cgi.1,v 1.1 1999/07/30 18:46:38 mdw Exp $
+.\" $Id: sw-cgi.1,v 1.2 2004/04/08 01:52:19 mdw Exp $
 .\"
 .\" Man page for `sw' CGI script
 .\"
 .\" along with sw-tools; if not, write to the Free Software Foundation,
 .\" Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 .
-.\"----- Revision history ---------------------------------------------------
-.\"
-.\" $Log: sw-cgi.1,v $
-.\" Revision 1.1  1999/07/30 18:46:38  mdw
-.\" New CGI script for browsing installed software and documentation.
-.\"
-.
-.\"----- Style hacking ------------------------------------------------------
-.
-.de VS \" Start a sort-of verbatim block
-.sp 1
-.in +5n
-.nf
-.ft B
-..
-.de VE \" Stop a sort-of verbatim block
-.ft R
-.fi
-.in -5n
-.sp 1
-..
-.ie \n(.g \{\
-. fam P
-. ds mw \fR[\f(BImdw\fR]
-.\}
-.el .ds mw \fR[\fBmdw\fR]
-.ie t .ds o \(bu
-.el .ds o o
-.ds sw \fBsw\fP
-.
-.\"----- Main manual text ---------------------------------------------------
-.
-.TH sw-cgi 1 "30 July 1999" sw-tools
-.PD 1
-.
-.\"--------------------------------------------------------------------------
-.
-.SH "NAME"
-.
-sw-cgi \- CGI script for browsing installed software and documentation
-.
-.\"--------------------------------------------------------------------------
-.
-.SH "SYNOPSIS"
-.
-.IB prefix /cgi-bin/sw
-.RI [ key = value ]...
-.
-.\"--------------------------------------------------------------------------
-.
-.SH "DESCRIPTION"
-.
-The
-.B sw
-CGI script provides users with a pleasant-ish interface for browsing the
-list of locally installed software and its documentation.
-.PP
-The script picks up arguments from HTTP
-.B GET
-or
-.B POST
-requests, or from the command line (which is useful when debugging).
-Given no arguments, it emits a table of installed software read from the
-index file in
-.IB prefix /sw-index
-together with links to documentation.
-.PP
-The program assumes that any
-.I package
-has documentation stashed in
-.IB prefix /doc/ package
-in plain text format.  You can require your installers to do this by
-putting this code in a
-.B sw-precommit
-script (see the
-.B "Command reference"
-in
-.BR sw (1)
-for details):
-.VS
-# --- Ensure the documentation file exists ---
-
 if [ ! -r "$SW_PREFIX/doc/$SW_PACKAGE" ]; then
   echo >&2 "no documentation file \`$SW_PREFIX/doc/$SW_PACKAGE'"
   exit 1
index 0e0ebe6d997fbc621a51709682dd684290112da8..f7ffeb8c9ac57273a7622f1e2c489b793217abab 100644 (file)
@@ -1,6 +1,6 @@
 .\" -*-nroff-*-
 .\"
-.\" $Id: sw-tidy.1,v 1.1 1999/07/30 18:48:16 mdw Exp $
+.\" $Id: sw-tidy.1,v 1.2 2004/04/08 01:52:19 mdw Exp $
 .\"
 .\" Manual page for `sw-tidy'
 .\"
 .\" along with sw-tools; if not, write to the Free Software Foundation,
 .\" Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 .
-.\"----- Revision history ---------------------------------------------------
-.\"
-.\" $Log: sw-tidy.1,v $
-.\" Revision 1.1  1999/07/30 18:48:16  mdw
-.\" Tidy up the software index file.
-.\"
-.
-.ie \n(.g \{\
-. fam P
-. ds mw \fR[\f(BImdw\fR]
-.\}
-.el .ds mw \fR[\fBmdw\fR]
-.ds sw \fBsw\fP
-.
-.\"----- Main manual text ---------------------------------------------------
-.
-.TH sw-tidy 1 "30 July 1999" sw-tools
-.
-.\"--------------------------------------------------------------------------
-.
-.SH NAME
-.
-sw-tidy \- tidy \fBsw\fP's index file
-.
-.\"--------------------------------------------------------------------------
-.
-.SH "SYNOPSIS"
-.
-.B sw-tidy
-.
-.\"--------------------------------------------------------------------------
-.
-.SH "DESCRIPTION"
-.
-The
-.B sw-tidy
-command reads
-.BR sw (1)'s
-index file
-.IB prefix /sw-index
-and writes out a new version with duplicate packages removed.  This
-makes it take less space, and lets programs read it faster.  Also, as a
-side-effect, the new version is written out in alphabetical order of
-package-name, although that's not very important.
-.PP
-The program copes (a bit) if the index file is written to while it's
-being tidied.
-.
-.\"--------------------------------------------------------------------------
-.
-.SH "BUGS"
-.
-Perhaps there ought to be a locking convention for the index file.
-However, it's nice that people can update it using
-.BR cat (1)
-and text editors.
-.
-.\"--------------------------------------------------------------------------
-.
-.SH "SEE ALSO"
-.
-.BR sw (1),
-.BR sw-info (5).
-.
-.SH "AUTHOR"
-.
-The \*(sw program, and this manual, are \*(mw productions, in association
-with the European Bioinformatics Institute.  They were written by Mark
-Wooding <mdw@nsict.org>.  Go and ask him if you have problems.
-.
-.\"----- That's all, folks --------------------------------------------------
index dac7fa5c5cd1206d9db81c1e5b9cdaca9b5c8d31..3cd6ad652fc7dc492a47bff3fb331e468ae01b42 100644 (file)
@@ -1,13 +1,3 @@
-#! @PERL@
-# -*-perl-*-
-#
-# $Id: sw-tidy.in,v 1.1 1999/07/30 18:48:17 mdw Exp $
-#
-# Tidy the `sw' index file
-#
-# (c) 1999 EBI
-#
-
 #----- Licensing notice -----------------------------------------------------
 #
 # This file is part of sw-tools.
 # along with sw-tools; if not, write to the Free Software Foundation,
 # Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
-#----- Revision history -----------------------------------------------------
-#
-# $Log: sw-tidy.in,v $
-# Revision 1.1  1999/07/30 18:48:17  mdw
-# Tidy up the software index file.
-#
-
 use lib "@pkgdatadir@";
 use SWConfig;
 use SW;
index deeba4ecd2feef40441b1009031d687036a2434b..bc189e485364a96ed1e3d21595978b9bb038afab 100644 (file)
@@ -1,7 +1,7 @@
 #! @PERL@
 # -*-perl-*-
 #
-# $Id: sw.in,v 1.2 1999/07/30 20:24:02 mdw Exp $
+# $Id: sw.in,v 1.3 2004/04/08 01:52:19 mdw Exp $
 #
 # CGI interface for software installations
 #
 # along with sw-tools; if not, write to the Free Software Foundation,
 # Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
-#----- Revision history -----------------------------------------------------
-#
-# $Log: sw.in,v $
-# Revision 1.2  1999/07/30 20:24:02  mdw
-# Fix titles for debugging actions.
-#
-# Revision 1.1  1999/07/30 18:46:38  mdw
-# New CGI script for browsing installed software and documentation.
-#
-
 #----- Required packages ----------------------------------------------------
 
 use lib qw(@pkgdatadir@);
index 7bdb48efb9923c3665d608315970597b7516c2a9..d91f5e9b227b8160d16ffe4e72f3ef29142c4aec 100644 (file)
@@ -1,6 +1,6 @@
 ## -*-makefile-*-
 ##
-## $Id: Makefile.am,v 1.2 1999/11/11 20:24:37 mdw Exp $
+## $Id: Makefile.am,v 1.3 2004/04/08 01:52:19 mdw Exp $
 ##
 ## Build the main tool
 ##
 ## along with sw-tools; if not, write to the Free Software Foundation,
 ## Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
-##----- Revision history ----------------------------------------------------
-##
-## $Log: Makefile.am,v $
-## Revision 1.2  1999/11/11 20:24:37  mdw
-## Build separately from mLib.
-##
-## Revision 1.1.1.1  1999/06/02 16:53:33  mdw
-## Initial import.
-##
-
 AUTOMAKE_OPTIONS = foreign
 
 arch=@arch@
index 7ed1b7286dfebddf735e5a78ce2a0123c4821d57..38876e8b3527ad78a4fc6265e8d95f7e001d4505 100644 (file)
@@ -1,6 +1,6 @@
 /* -*-c-*-
  *
- * $Id: pres_curses.c,v 1.6 1999/07/27 14:04:19 mdw Exp $
+ * $Id: pres_curses.c,v 1.7 2004/04/08 01:52:19 mdw Exp $
  *
  * Curses-based output presentation
  *
  * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  */
 
-/*----- Revision history --------------------------------------------------* 
- *
- * $Log: pres_curses.c,v $
- * Revision 1.6  1999/07/27 14:04:19  mdw
- * (Bug fix) Include the SIGWINCH handler even if `wresize' isn't known.
- *
- * Revision 1.5  1999/07/27  12:49:16  mdw
- * Slight tidying of resizing terminal handling.
- *
- * Revision 1.4  1999/07/16  16:52:28  mdw
- * `wbkdset' doesn't work so well.  Use `wbkgd' instead.
- *
- * Revision 1.3  1999/07/16 12:49:58  mdw
- * Improve exit status display.  New interface from `doto' project.
- *
- * Revision 1.2  1999/06/24 15:51:16  mdw
- * Fix signal handlers so they don't corrupt `errno'.
- *
- * Revision 1.1.1.1  1999/06/02 16:53:35  mdw
- * Initial import.
- *
- */
-
 /*----- Header files ------------------------------------------------------*/
 
 #include "config.h"
index fcea5d6e6731517c959bc906984a00ae73cbe4a5..105ed8c5f4c9330a61bb96b219cfbcda1c62d07f 100644 (file)
@@ -1,6 +1,6 @@
 /* -*-c-*-
  *
- * $Id: pres_curses.h,v 1.2 1999/07/16 12:49:58 mdw Exp $
+ * $Id: pres_curses.h,v 1.3 2004/04/08 01:52:19 mdw Exp $
  *
  * Curses-based output presentation
  *
  * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  */
 
-/*----- Revision history --------------------------------------------------* 
- *
- * $Log: pres_curses.h,v $
- * Revision 1.2  1999/07/16 12:49:58  mdw
- * Improve exit status display.  New interface from `doto' project.
- *
- * Revision 1.1.1.1  1999/06/02 16:53:36  mdw
- * Initial import.
- *
- */
-
 #ifndef PRES_CURSES_H
 #define PRES_CURSES_H
 
index 60a0793b2d22cbeb474f29f1d006ffc0ee579b01..9c1e275740dffd09616b44104a925c47cb95499e 100644 (file)
@@ -1,6 +1,6 @@
 /* -*-c-*-
  *
- * $Id: pres_plain.c,v 1.2 1999/07/16 12:49:59 mdw Exp $
+ * $Id: pres_plain.c,v 1.3 2004/04/08 01:52:19 mdw Exp $
  *
  * Plain output style for remote builds
  *
  * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  */
 
-/*----- Revision history --------------------------------------------------* 
- *
- * $Log: pres_plain.c,v $
- * Revision 1.2  1999/07/16 12:49:59  mdw
- * Improve exit status display.  New interface from `doto' project.
- *
- * Revision 1.1.1.1  1999/06/02 16:53:35  mdw
- * Initial import.
- *
- */
-
 /*----- Header files ------------------------------------------------------*/
 
 #include <errno.h>
index df78955857edc596a546d2fa68f2de4cbacfa294..270059311226c6fd93a040b1b3f020e7f9c27519 100644 (file)
@@ -1,6 +1,6 @@
 /* -*-c-*-
  *
- * $Id: pres_plain.h,v 1.2 1999/07/16 12:49:59 mdw Exp $
+ * $Id: pres_plain.h,v 1.3 2004/04/08 01:52:19 mdw Exp $
  *
  * Plain output style for remote builds
  *
  * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  */
 
-/*----- Revision history --------------------------------------------------* 
- *
- * $Log: pres_plain.h,v $
- * Revision 1.2  1999/07/16 12:49:59  mdw
- * Improve exit status display.  New interface from `doto' project.
- *
- * Revision 1.1.1.1  1999/06/02 16:53:35  mdw
- * Initial import.
- *
- */
-
 #ifndef PRES_PLAIN_H
 #define PRES_PLAIN_H
 
index 743c426d58b8569fe42aa58b1cfa6bed109b8986..8423e647cca0bf5767c307317036d2fafdf75b06 100644 (file)
--- a/src/sw.c
+++ b/src/sw.c
@@ -1,6 +1,6 @@
 /* -*-c-*-
  *
- * $Id: sw.c,v 1.3 1999/09/10 15:27:32 mdw Exp $
+ * $Id: sw.c,v 1.4 2004/04/08 01:52:19 mdw Exp $
  *
  * Main driver code for sw-tools
  *
  * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  */
 
-/*----- Revision history --------------------------------------------------* 
- *
- * $Log: sw.c,v $
- * Revision 1.3  1999/09/10 15:27:32  mdw
- * Include `%'-escape substitution.
- *
- * Revision 1.2  1999/07/16 12:50:43  mdw
- * Replace deprecated `mdwopt' flag name with new version.
- *
- * Revision 1.1.1.1  1999/06/02 16:53:33  mdw
- * Initial import.
- *
- */
-
 /*----- Header files ------------------------------------------------------*/
 
 #include "config.h"
index 13fa5a2403e61a7ed5c73fff239fbaa6ffa7a9f1..764fab3cb583202f84aacb38d01fba51b0e60f29 100644 (file)
--- a/src/sw.h
+++ b/src/sw.h
@@ -1,6 +1,6 @@
 /* -*-c-*-
  *
- * $Id: sw.h,v 1.2 1999/09/10 15:27:33 mdw Exp $
+ * $Id: sw.h,v 1.3 2004/04/08 01:52:19 mdw Exp $
  *
  * Interface to main options parser
  *
  * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  */
 
-/*----- Revision history --------------------------------------------------* 
- *
- * $Log: sw.h,v $
- * Revision 1.2  1999/09/10 15:27:33  mdw
- * Include `%'-escape substitution.
- *
- * Revision 1.1.1.1  1999/06/02 16:53:35  mdw
- * Initial import.
- *
- */
-
 #ifndef SW_H
 #define SW_H
 
index 5eecd31a70993cb2d6d48eece1b7ff2c64514781..ecaf373e41516d3fc3456ba4c732d8189f2ce5df 100644 (file)
@@ -1,6 +1,6 @@
 /* -*-c-*-
  *
- * $Id: sw_arch.c,v 1.1 1999/06/02 16:53:34 mdw Exp $
+ * $Id: sw_arch.c,v 1.2 2004/04/08 01:52:19 mdw Exp $
  *
  * Messing with architectures
  *
  * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  */
 
-/*----- Revision history --------------------------------------------------* 
- *
- * $Log: sw_arch.c,v $
- * Revision 1.1  1999/06/02 16:53:34  mdw
- * Initial revision
- *
- */
-
 /*----- Header files ------------------------------------------------------*/
 
 #include "config.h"
index c301e6e3507c6bd832bc297caf423163641b768e..608128b8e767dbd75b38cdde5594eb5ee7b03eb8 100644 (file)
@@ -1,6 +1,6 @@
 /* -*-c-*-
  *
- * $Id: sw_arch.h,v 1.1 1999/06/02 16:53:35 mdw Exp $
+ * $Id: sw_arch.h,v 1.2 2004/04/08 01:52:19 mdw Exp $
  *
  * Messing with architectures
  *
  * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  */
 
-/*----- Revision history --------------------------------------------------* 
- *
- * $Log: sw_arch.h,v $
- * Revision 1.1  1999/06/02 16:53:35  mdw
- * Initial revision
- *
- */
-
 #ifndef SW_ARCH_H
 #define SW_ARCH_H
 
index 3ce3f7c91ae95933d7237d069f0de2bcbd51b3c8..9a3026042dacda4bf990eac9a6b6f77ae36cb3ae 100644 (file)
@@ -1,6 +1,6 @@
 /* -*-c-*-
  *
- * $Id: sw_build.c,v 1.4 1999/09/16 12:53:46 mdw Exp $
+ * $Id: sw_build.c,v 1.5 2004/04/08 01:52:19 mdw Exp $
  *
  * Management of build processes
  *
  * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  */
 
-/*----- Revision history --------------------------------------------------* 
- *
- * $Log: sw_build.c,v $
- * Revision 1.4  1999/09/16 12:53:46  mdw
- * Some systems have uname(2) return > 0.
- *
- * Revision 1.3  1999/09/10 15:27:33  mdw
- * Include `%'-escape substitution.
- *
- * Revision 1.2  1999/07/16 12:50:24  mdw
- * Improve exit status display.  New interface from `doto' project.
- *
- * Revision 1.1.1.1  1999/06/02 16:53:34  mdw
- * Initial import.
- *
- */
-
 /*----- Header files ------------------------------------------------------*/
 
 #include "config.h"
index e83e97ead56ec4d7449d9332e2da85e9618410c7..4925ea4cac7dcfd93edcd786661b8e39f329344d 100644 (file)
@@ -1,6 +1,6 @@
 /* -*-c-*-
  *
- * $Id: sw_build.h,v 1.2 1999/07/16 12:50:24 mdw Exp $
+ * $Id: sw_build.h,v 1.3 2004/04/08 01:52:19 mdw Exp $
  *
  * Management of build processes
  *
  * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  */
 
-/*----- Revision history --------------------------------------------------* 
- *
- * $Log: sw_build.h,v $
- * Revision 1.2  1999/07/16 12:50:24  mdw
- * Improve exit status display.  New interface from `doto' project.
- *
- * Revision 1.1.1.1  1999/06/02 16:53:35  mdw
- * Initial import.
- *
- */
-
 #ifndef SW_BUILD_H
 #define SW_BUILD_H
 
index 7580a247d349ba3889aae8074f440e851befddd3..9ba0b929f0eb5b53628b6078af5bbed2fc3ede5c 100644 (file)
@@ -1,6 +1,6 @@
 /* -*-c-*-
  *
- * $Id: sw_env.c,v 1.2 1999/07/27 13:38:27 mdw Exp $
+ * $Id: sw_env.c,v 1.3 2004/04/08 01:52:19 mdw Exp $
  *
  * Mangling of environment variables
  *
  * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  */
 
-/*----- Revision history --------------------------------------------------* 
- *
- * $Log: sw_env.c,v $
- * Revision 1.2  1999/07/27 13:38:27  mdw
- * Cauterized out the low-level environment operations and put them in
- * mLib.
- *
- * Revision 1.1.1.1  1999/06/02  16:53:35  mdw
- * Initial import.
- *
- */
-
 /*----- Header files ------------------------------------------------------*/
 
 #include "config.h"
index 9aa207e30e6321b91ee199cf57982f9c8ed8d49b..377bf2114f4a17bf01d704e2557d9871314ee47d 100644 (file)
@@ -1,6 +1,6 @@
 /* -*-c-*-
  *
- * $Id: sw_env.h,v 1.2 1999/07/27 13:38:27 mdw Exp $
+ * $Id: sw_env.h,v 1.3 2004/04/08 01:52:19 mdw Exp $
  *
  * Mangling of environment variables
  *
  * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  */
 
-/*----- Revision history --------------------------------------------------* 
- *
- * $Log: sw_env.h,v $
- * Revision 1.2  1999/07/27 13:38:27  mdw
- * Cauterized out the low-level environment operations and put them in
- * mLib.
- *
- * Revision 1.1.1.1  1999/06/02  16:53:35  mdw
- * Initial import.
- *
- */
-
 #ifndef SW_ENV_H
 #define SW_ENV_H
 
index a6edb4c5ba94974f961a84f4f0ca06f90f6c6314..2dad0ca1f684b8305164897b707a3bee7970724e 100644 (file)
@@ -1,6 +1,6 @@
 /* -*-c-*-
  *
- * $Id: sw_info.c,v 1.5 1999/06/24 16:02:12 mdw Exp $
+ * $Id: sw_info.c,v 1.6 2004/04/08 01:52:19 mdw Exp $
  *
  * Maintenance of `.sw-info' files
  *
  * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  */
 
-/*----- Revision history --------------------------------------------------* 
- *
- * $Log: sw_info.c,v $
- * Revision 1.5  1999/06/24 16:02:12  mdw
- * Fix call to `execl'.
- *
- * Revision 1.4  1999/06/24 15:57:07  mdw
- * Stupid bug fix.  Code wouldn't even compile.  Tut.
- *
- * Revision 1.3  1999/06/24 15:51:59  mdw
- * Add support for the `sw-precommit' script.
- *
- * Revision 1.2  1999/06/18 18:58:45  mdw
- * Various tidyings.
- *
- * Revision 1.1.1.1  1999/06/02 16:53:35  mdw
- * Initial import.
- *
- */
-
 /*----- Header files ------------------------------------------------------*/
 
 #include "config.h"
index 1d3587d91b1d07aeeb0b4e94fe3435cc4b273818..e7ee19af424ca6ffe23987ad3eebffe5bbbd8486 100644 (file)
@@ -1,6 +1,6 @@
 /* -*-c-*-
  *
- * $Id: sw_info.h,v 1.1 1999/06/02 16:53:35 mdw Exp $
+ * $Id: sw_info.h,v 1.2 2004/04/08 01:52:19 mdw Exp $
  *
  * Maintenance of `.sw-info' files
  *
  * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  */
 
-/*----- Revision history --------------------------------------------------* 
- *
- * $Log: sw_info.h,v $
- * Revision 1.1  1999/06/02 16:53:35  mdw
- * Initial revision
- *
- */
-
 #ifndef SW_INFO_H
 #define SW_INFO_H
 
index 17eec9cb55bc1d8d954d7cc13e3899da0b7e2da2..ab47ba5876fc9faef55e57dafcdf3a85d45c71d2 100644 (file)
@@ -1,6 +1,6 @@
 /* -*-c-*-
  *
- * $Id: sw_links.c,v 1.1 1999/06/02 16:53:36 mdw Exp $
+ * $Id: sw_links.c,v 1.2 2004/04/08 01:52:19 mdw Exp $
  *
  * Messing with symlink trees
  *
  * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  */
 
-/*----- Revision history --------------------------------------------------* 
- *
- * $Log: sw_links.c,v $
- * Revision 1.1  1999/06/02 16:53:36  mdw
- * Initial revision
- *
- */
-
 /*----- Header files ------------------------------------------------------*/
 
 #include <errno.h>
index 52348c48e4aa09a3d1ee5489fa5714f658fe1e44..6b517c33a9f3de383d1a3bd28ee542eb199074a1 100644 (file)
@@ -1,6 +1,6 @@
 /* -*-c-*-
  *
- * $Id: sw_links.h,v 1.1 1999/06/02 16:53:36 mdw Exp $
+ * $Id: sw_links.h,v 1.2 2004/04/08 01:52:19 mdw Exp $
  *
  * Messing with symlink trees
  *
  * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  */
 
-/*----- Revision history --------------------------------------------------* 
- *
- * $Log: sw_links.h,v $
- * Revision 1.1  1999/06/02 16:53:36  mdw
- * Initial revision
- *
- */
-
 #ifndef SW_LINKS_H
 #define SW_LINKS_H
 
index 8720551c724468878e1d657db1e3b1728b6465bb..45815f8d046af5aad0718415ec24891efccf3293 100644 (file)
@@ -1,6 +1,6 @@
 /* -*-c-*-
  *
- * $Id: sw_rsh.c,v 1.7 1999/09/24 13:16:22 mdw Exp $
+ * $Id: sw_rsh.c,v 1.8 2004/04/08 01:52:19 mdw Exp $
  *
  * Run remote commands
  *
  * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  */
 
-/*----- Revision history --------------------------------------------------* 
- *
- * $Log: sw_rsh.c,v $
- * Revision 1.7  1999/09/24 13:16:22  mdw
- * Fix typo in comment.
- *
- * Revision 1.6  1999/09/24 13:15:57  mdw
- * Remove unnecessary assumptions about structure layouts.  (The `pkhead'
- * structure is no more.)
- *
- * Revision 1.5  1999/06/24 16:02:22  mdw
- * Fix signal handling some more.
- *
- * Revision 1.4  1999/06/24 15:51:17  mdw
- * Fix signal handlers so they don't corrupt `errno'.
- *
- * Revision 1.3  1999/06/18 18:58:54  mdw
- * Signal handling fixes.
- *
- * Revision 1.2  1999/06/02 17:03:29  mdw
- * Fix use of `octet' now that mLib includes `bits.h' (as of version 1.3.5
- * release).  Also use the mLib load and store macros rather than doing it
- * by hand.
- *
- * Revision 1.1.1.1  1999/06/02  16:53:34  mdw
- * Initial import.
- *
- */
-
 /*----- Header files ------------------------------------------------------*/
 
 #include "config.h"
index 2e38816c577bb9a6261a524dca283aa3c8f23c7a..52a4a5409c5d6246efe642ad40702d7f0055b58a 100644 (file)
@@ -1,6 +1,6 @@
 /* -*-c-*-
  *
- * $Id: sw_rsh.h,v 1.2 1999/09/24 13:16:39 mdw Exp $
+ * $Id: sw_rsh.h,v 1.3 2004/04/08 01:52:19 mdw Exp $
  *
  * [Run remote commands *
  * (c) 1999 EBI
  * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  */
 
-/*----- Revision history --------------------------------------------------* 
- *
- * $Log: sw_rsh.h,v $
- * Revision 1.2  1999/09/24 13:16:39  mdw
- * Fix typo in comment.
- *
- * Revision 1.1.1.1  1999/06/02 16:53:33  mdw
- * Initial import.
- *
- */
-
 #ifndef SW_RSH_H
 #define SW_RSH_H
 
index 02a91ffa28d3b2e9e191707f6f79e0003b01f3db..84a5bca9676f3919665b94586b3664e782059031 100644 (file)
--- a/sw-env.5
+++ b/sw-env.5
@@ -1,6 +1,6 @@
 .\" -*-nroff-*-
 .\"
-.\" $Id: sw-env.5,v 1.3 1999/07/30 18:44:32 mdw Exp $
+.\" $Id: sw-env.5,v 1.4 2004/04/08 01:52:18 mdw Exp $
 .\"
 .\" Manual page for `sw-env' files
 .\"
 .\" along with sw-tools; if not, write to the Free Software Foundation,
 .\" Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 .
-.\"----- Revision history ---------------------------------------------------
-.\"
-.\" $Log: sw-env.5,v $
-.\" Revision 1.3  1999/07/30 18:44:32  mdw
-.\" Improve cross-references and tidy up formatting.
-.\"
-.\" Revision 1.2  1999/07/16 12:45:37  mdw
-.\" Internal formatting improvements.
-.\"
-.\" Revision 1.1  1999/06/04 13:56:18  mdw
-.\" New manual page.
-.\"
-.
-.\" --- Useful macro definitions ---
-.
-.de VS \" Start a sort-of verbatim block
-.sp 1
-.in +5n
-.nf
-.ft B
-..
-.de VE \" Stop a sort-of verbatim block
-.ft R
-.fi
-.in -5n
-.sp 1
-..
-.de hP \" Start an indented paragraph with a bold right-aligned label
-.IP
-\fB\h'-\w'\\$1\ 'u'\\$1\ \fP\c
-..
-.\"
-.\" --- Style hacking ---
-.\"
-.ie \n(.g \{\
-.  fam P
-.  ds mw \fR[\f(BImdw\fR]
-.\}
-.el .ds mw \fR[\fBmdw\fR]
-.ie t .ds o \(bu
-.el .ds o o
-.ds sw \fBsw\fP
-.ds se \fBsw\-env\fP
-.
-.\"----- Main manual text ---------------------------------------------------
-.
-.TH sw-env 5 "25 May 1999" sw-tools
-.PD 1
-.
-.\"--------------------------------------------------------------------------
-.
-.SH NAME
-.
-sw\-env \- environment variable assignment files for \*(sw.
-.
-.\"--------------------------------------------------------------------------
-.
-.SH "DESCRIPTION"
-.
-A \*(se file is a sequence of statements.  The following statements are
-supported:
-.sp 1
-.in +5n
-.B :
-.I value
-.RB [ ; ]
-.br
-.B include
-.I value
-.RB [ ; ]
-.br
-.B arch
-.I value
-.B {
-.IR statement ...
-.B }
-.RB [ ; ]
-.br
-.RB [ set ]
-.I name
-.RB [ = ]
-.I value
-.RB [ ; ]
-.br
-.B unset
-.I name
-.RB [ ; ]
-.in -5n
-.sp 1
-Whitespace serves to separate tokens but is otherwise ignored except
-when it occurs quoted within a
-.IR value .
-The file may also contain comments, which begin with a
-.RB ` # '
-character and extend to the end of the line.  The start of a comment
-must appear where a new statement is expected.  Apart from its behaviour
-of terminating comments, newlines behave the same way as other
-whitespace characters.  Keywords are not reserved words.
-.PP
-A
-.I name
-is a sequence of digits, letters and underscores which does not start
-with a digit.
-.PP
-A
-.I value
-may contain any non-null character, although some characters are special
-and must be quoted.  The syntax of
-.IR value s
-is loosely based on the Bourne
-shell, although there are differences and irregularities due to the
-quick and dirty nature of the parser.  The various quoting and
-substitution operations are described below.
-.
-.SS "Statements"
-.
-The statements behave as follows:
-.TP
-.B :
-The following
-.I value
-is read and discarded.  This is not useless: reading a
-.I value
-may cause variables to be assigned as a result of
-`\c
-.BI ${ name = value }\c
-\&' substitutions.
-.TP
-.B include
-A
-.I value
-is read, and further assignments are read from the file so named, if it
-exists.  Conventionally, the last statement in the global \*(se file is
-.VS
-include ".sw-env";
-.VE
-to read in package-specific settings.
-.TP
-.B arch
-The following
-.I value
-is read.  If it matches the name of the host's architecture, then the
-brace-enclosed statements are executed; otherwise they're ignored.  It's
-possible, though not useful, to nest
-.B arch
-statements.
-.TP
-.B set
-A
-.I name
-and
-.I value
-are read, optionally separated by an
-.RB ` = '
-character.  The variable named is assigned the value, replacing any
-previously assigned value, if any.  The
-.RB ` set '
-keyword is optional.  It's only useful so that you can assign values to
-variables whose names are also statement keywords.
-.TP
-.B unset
-A
-.I name
-is read.  Any value assigned to the variable named is discarded, and the
-variable is forgotten.
-.
-.SS "Value syntax"
-.
-The parser usually reads a
-.I value
-a character by character, until it finds a delimiter.  Delimiter
-characters are
-.RB ` ( ',
-.RB ` ) ',
-.RB ` { ',
-.RB ` } ',
-and
-.RB ` ; ';
-whitespace also acts as a delimiter.  Delimiter characters can only
-appear in a value if quoted.
-.PP
-There are three types of quoting understood by the value reader.  A
-backslash
-.RB (` \e ')
-character causes the following character to be stripped of its special
-meaning.  Hence
-.RB ` \e\e '
-inserts a literal backslash.  Text between single quotes
-.RB ` \' ... \' '
-is read
-entirely as-is, including all whitespace, newlines, backslashes,
-everything.  To include a single quote in a piece of single-quoted text,
-use the sequence
-.RB ` \'\e\'\' ',
-as in the shell.  (This drops out of single-quoting, inserts an escaped
-single quote, and resumes quoting.)  Text between double quotes
-.BR """" ... """"
-is partially quoted: delimiters and whitespace are read as normal
-characters, but substitutions using the
-.RB ` $ '
-and
-.RB ` \` '
-characters are still made, and the backslash retains its behaviour of
-escaping the following character.
-.PP
-Two sorts of substitutions are available in values:
-.I "variable substitution"
-examines a variable and substitutes some text based on its value, and
-.I "command substitution"
-runs a command and substitutes its output.
-.PP
-The simplest variable substitution takes the form
-.RB ` $\c
-.IR name ':
-this is replaced by the value of the variable called
-.IR name ,
-or the empty string if there is no such variable defined.  The name may
-be enclosed in braces should it be necessary to clearly disambiguate the
-end of the name.
-.PP
-More complex variable substitutions are permitted:
-.TP
-.BI ${ name \- text }
-Expands to the value of the variable called
-.I name
-if it's defined, or
-.I text
-if not.
-.TP
-.BI ${ name + text }
-Expands to
-.I text
-if there is a variable called
-.I name
-defined, or nothing.
-.TP
-.BI ${ name = text }
-If there is no variable called
-.I name
-then create one with the value
-.IR text ;
-then expands to the variable's value.
-.PP
-In each of the above, prefixing the operator character
-.RB ` \- ',
-.RB ` + '
-or
-.RB ` = '
-with a colon
-.RB (` : ')
-changes the variable existence test, such that it will believe that a
-variable whose value is the empty string is not defined.  Each
-.I text
-part in the above forms is syntactically a
-.IR value ,
-and may itself contain quoting and substitutions.  It may also contain
-unescaped whitespace.
-.PP
-There are two forms for command substitution: the backtick form, where a
-command is enclosed in backquotes
-.RB ` \` ... \` ';
-and the parenthesized form
-.RB ` $( ... ) '.
-The only difference between these two forms is syntactic: it's easy to
-make the parenthesized version nest, although that's not actually very
-useful.  The text between the backquotes or parentheses is broken into
-words and executed as a command.  It is not passed through the shell:
-the author suspects that this would be too confusing.  The standard
-output of the command, with trailing newlines (but not internal or
-leading newlines) removed, is the result of the substitution.
-.
-.\"--------------------------------------------------------------------------
-.
-.SH "AUTHOR"
-.
-The \*(sw program, and this manual, are \*(mw productions, in association
-with the European Bioinformatics Institute.  They were written by Mark
-Wooding <mdw@nsict.org>.  Go and ask him if you have problems.
-.
-.\"----- That's all, folks --------------------------------------------------
index a51a62eff342e1f2e9aaea477945cf92bc2d7f35..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
--- a/sw-info.5
+++ b/sw-info.5
@@ -1,152 +0,0 @@
-.\" -*-nroff-*-
-.\"
-.\" $Id: sw-info.5,v 1.4 1999/08/19 12:11:32 mdw Exp $
-.\"
-.\" Manual page for `sw-info' files.
-.\"
-.\" (c) 1999 EBI
-.\"
-.
-.\"----- Licensing notice ---------------------------------------------------
-.\"
-.\" This file is part of sw-tools.
-.\"
-.\" sw-tools 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 2 of the License, or
-.\" (at your option) any later version.
-.\" 
-.\" sw-tools 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 sw-tools; if not, write to the Free Software Foundation,
-.\" Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-.
-.\"----- Revision history ---------------------------------------------------
-.\"
-.\" $Log: sw-info.5,v $
-.\" Revision 1.4  1999/08/19 12:11:32  mdw
-.\" Change a tab to spaces for slightly-less-wonderful nroffs.
-.\"
-.\" Revision 1.3  1999/07/30 18:44:33  mdw
-.\" Improve cross-references and tidy up formatting.
-.\"
-.\" Revision 1.2  1999/07/16 12:45:37  mdw
-.\" Internal formatting improvements.
-.\"
-.\" Revision 1.1  1999/06/04 13:56:18  mdw
-.\" New manual page.
-.\"
-.
-.\"----- Style hacking ------------------------------------------------------
-.
-.de VS \" Start a sort-of verbatim block
-.sp 1
-.in +5n
-.nf
-.ft B
-..
-.de VE \" Stop a sort-of verbatim block
-.ft R
-.fi
-.in -5n
-.sp 1
-..
-.de hP \" Start an indented paragraph with a bold right-aligned label
-.IP
-\fB\h'-\w'\\$1\ 'u'\\$1\ \fP\c
-..
-.
-.ie \n(.g \{\
-.      fam P
-.      ds mw \fR[\f(BImdw\fR]
-.\}
-.el     .ds mw \fR[\fBmdw\fR]
-.ie t   .ds o \(bu
-.el     .ds o o
-.ds sw \fBsw\fP
-.ds se \fBsw\-env\fP
-.
-.\"----- Main manual text ---------------------------------------------------
-.
-.TH sw-info 5 "25 May 1999" sw-tools
-.PD 1
-.
-.\"--------------------------------------------------------------------------
-.
-.SH "NAME"
-.
-sw-info \- description of sw data files
-.
-.\"--------------------------------------------------------------------------
-.
-.SH "DESCRIPTION"
-.
-The
-.B .sw\-info
-file contains blank lines, comment lines, and assignments.  A blank line
-contains only whitespace; a comment line has a
-.RB ` # '
-as its first non-whitespace character: both are ignored.  An assignment
-has the form
-.sp 1
-.in +5n
-.I name
-.RB [ = ]
-.I value
-.in -5in
-.sp 1
-where
-.I name
-is one of the field names described below, and
-.I value
-is any text which doesn't contain newlines, semicolons or null bytes.
-Any leading whitespace is stripped; trailing and internal space is
-preserved.
-.PP
-The fields available are:
-.TP
-.B package
-The package's name.
-.TP
-.B version
-The version number of the package.
-.TP
-.B maintainer
-The user name of the package's local maintainer.
-.TP
-.B date
-The date at which this package was last modified by \*(sw, in the form
-.IB YYYY \- MM \- DD\fR.
-.TP
-.B only\-arch
-The current architecture restriction.  The architecture names are
-separated by commas or spaces (or both).  This field is omitted if there
-is no restriction in force.
-.TP
-.B arch
-Successfully built architectures.  The architecture names are separated
-by commas or spaces (or both).
-.PP
-The
-.B sw\-index
-file consists of a number of entries, one per line.  Comments and blank
-lines are not allowed.  Each line contains assignments for a particular
-package, separated by semicolons rather than newlines.
-.
-.\"--------------------------------------------------------------------------
-.
-.SH "SEE ALSO"
-.
-.BR sw (1).
-.
-.SH "AUTHOR"
-.
-The \*(sw program, and this manual, are \*(mw productions, in association
-with the European Bioinformatics Institute.  They were written by Mark
-Wooding <mdw@nsict.org>.  Go and ask him if you have problems.
-.
-.\"----- That's all, folks --------------------------------------------------
index 90980736cbcd8b163ee024c869efc0b5e51a630c..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,90 +0,0 @@
-.\" -*-nroff-*-
-.\"
-.\" $Id: sw-share.1,v 1.1 1999/07/30 18:44:09 mdw Exp $
-.\"
-.\" Manual page for `sw-share'
-.\"
-.\" (c) 1999 EBI
-.\"
-.
-.\"----- Licensing notice ---------------------------------------------------
-.\"
-.\" This file is part of sw-tools.
-.\"
-.\" sw-tools 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 2 of the License, or
-.\" (at your option) any later version.
-.\" 
-.\" sw-tools 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 sw-tools; if not, write to the Free Software Foundation,
-.\" Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-.
-.\"----- Revision history ---------------------------------------------------
-.\"
-.\" $Log: sw-share.1,v $
-.\" Revision 1.1  1999/07/30 18:44:09  mdw
-.\" Manual page added.
-.\"
-.
-.ie \n(.g \{\
-. fam P
-. ds mw \fR[\f(BImdw\fR]
-.\}
-.el .ds mw \fR[\fBmdw\fR]
-.ds sw \fBsw\fP
-.
-.\"----- Main manual text ---------------------------------------------------
-.
-.TH sw-share 1 "30 July 1999" sw-tools
-.
-.\"--------------------------------------------------------------------------
-.
-.SH "NAME"
-.
-sw-share \- propagate links to architecture-neutral directories
-.
-.\"--------------------------------------------------------------------------
-.
-.SH "SYNOPSIS"
-.
-.B sw-share
-.
-.\"--------------------------------------------------------------------------
-.
-.SH "DESCRIPTION"
-.
-The
-.B sw-tidy
-program works on software repositories like ours (described in the
-.B "Local quirks"
-section of the
-.BR sw (1)
-manpage).  It trundles through the architecture neutral directories in
-.I prefix
-(the chosen install prefix for \*(sw) and makes symbolic links to them
-in all of the architecture specific directories lying in
-.IB prefix /arch/ \c
-.IR arch .
-This is a good thing to put in a
-.BR cron (8)
-job.
-.
-.\"--------------------------------------------------------------------------
-.
-.SH "SEE ALSO"
-.
-.BR sw (1).
-.
-.SH "AUTHOR"
-.
-The \*(sw program, and this manual, are \*(mw productions, in association
-with the European Bioinformatics Institute.  They were written by Mark
-Wooding <mdw@nsict.org>.  Go and ask him if you have problems.
-.
-.\"----- That's all, folks --------------------------------------------------
diff --git a/sw.1 b/sw.1
index 80af91d661ec39ae2cdd4d3ca8bd740cf212aa88..9ed09caee23f40462780e630197138e3b752c36b 100644 (file)
--- a/sw.1
+++ b/sw.1
@@ -1,111 +1,3 @@
-.\" -*-nroff-*-
-.\"
-.\" $Id: sw.1,v 1.9 1999/09/16 12:34:13 mdw Exp $
-.\"
-.\" Manual page for `sw'
-.\"
-.\" (c) 1999 EBI
-.\"
-.
-.\"----- Licensing notice ---------------------------------------------------
-.\"
-.\" This file is part of sw-tools.
-.\"
-.\" sw-tools 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 2 of the License, or
-.\" (at your option) any later version.
-.\" 
-.\" sw-tools 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 sw-tools; if not, write to the Free Software Foundation,
-.\" Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-.
-.\"----- Revision history ---------------------------------------------------
-.\"
-.\" $Log: sw.1,v $
-.\" Revision 1.9  1999/09/16 12:34:13  mdw
-.\" Fix stupid typo.
-.\"
-.\" Revision 1.8  1999/09/10 15:27:40  mdw
-.\" Include `%'-escape substitution.
-.\"
-.\" Revision 1.7  1999/07/30 18:44:33  mdw
-.\" Improve cross-references and tidy up formatting.
-.\"
-.\" Revision 1.6  1999/07/30 08:18:23  mdw
-.\" Sweep with ispell and fix some typos.
-.\"
-.\" Revision 1.5  1999/07/16 12:45:37  mdw
-.\" Internal formatting improvements.
-.\"
-.\" Revision 1.4  1999/06/24 15:52:12  mdw
-.\" Add documentation for the `sw-precommit' script.
-.\"
-.\" Revision 1.3  1999/06/18 18:58:25  mdw
-.\" Various tidyings.
-.\"
-.\" Revision 1.2  1999/06/04 13:56:09  mdw
-.\" Changes, extensions, polishings, spelling fixes...
-.\"
-.\" Revision 1.1.1.1  1999/06/02 16:53:33  mdw
-.\" Initial import.
-.\"
-.
-.\"----- Style hacking ------------------------------------------------------
-.
-.de VS \" Start a sort-of verbatim block
-.sp 1
-.in +5n
-.nf
-.ft B
-..
-.de VE \" Stop a sort-of verbatim block
-.ft R
-.fi
-.in -5n
-.sp 1
-..
-.de hP \" Start an indented paragraph with a bold right-aligned label
-.IP
-\fB\h'-\w'\\$1\ 'u'\\$1\ \fP\c
-..
-.
-.ie \n(.g \{\
-. fam P
-. ds mw \fR[\f(BImdw\fR]
-.\}
-.el .ds mw \fR[\fBmdw\fR]
-.ie t .ds o \(bu
-.el .ds o o
-.ds sw \fBsw\fP
-.
-.\"----- Main manual text ---------------------------------------------------
-.
-.TH sw 1 "25 May 1999" sw-tools
-.PD 1
-.
-.\"--------------------------------------------------------------------------
-.
-.SH "NAME"
-.
-sw \- tool for convenient software installation
-.
-.\"--------------------------------------------------------------------------
-.
-.SH "SYNOPSIS"
-.
-.nf
-\fBsw \-\-help
-\fBsw \-\-help-full
-\fBsw \-\-version
-\fBsw \-\-archname
-\fBsw \-\-remote \fIcommand
-
 \fBsw all\-arch
 \fBsw arch
 \fBsw commit
diff --git a/sw.in b/sw.in
index 756d9cb31472b55b689aa2c0f2b1d1bde81e2f79..36a2e37d8091da3651d55e4702e8615cfbf7c9c6 100755 (executable)
--- a/sw.in
+++ b/sw.in
@@ -2,7 +2,7 @@
 
 # -*-sh-*-
 #
-# $Id: sw.in,v 1.1 1999/06/02 16:53:32 mdw Exp $
+# $Id: sw.in,v 1.2 2004/04/08 01:52:19 mdw Exp $
 #
 # Determine a canonical `sw' architecture name
 #
 # along with sw-tools; if not, write to the Free Software Foundation,
 # Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
-#----- Revision history -----------------------------------------------------
-#
-# $Log: sw.in,v $
-# Revision 1.1  1999/06/02 16:53:32  mdw
-# Initial revision
-#
-
 # --- Commentary ---
 #
 # This is deliberately *not* the same as Autoconf's `config.guess'.  The GNU