
TITLE INFORMATION: XWatch: short installation guide 

Contents 

Chapter 1: Obtaining xwatch 
Chapter 2: Compiling xwatch 
Chapter 3: Copyright 

Chapter 1: Obtaining xwatch

    XWatch can be obtained at the ftp site ftp.icce.rug.nl, in the directory /pub/unix, as the file xwatch-X.YY.tar.gz.
    X.YY is the version number, e.g., 1.00. This site is the primary site,
    so check here for new versions.

    To unpack the archive, change-dir to your `sources' directory (e.g.,
    /usr/local/src) and type

tar xvzf /where/ever/you/put/it/xwatch-X.YY.tar.gz

    Next, change-dir to the unpacked subdirectory xwatch and check there.
    You will find a subdirectory src with the full sources.

Chapter 2: Compiling xwatch

    This file is automatically generated from doc/xwatch.yo. Please 
    also read the full docs in HTML format as doc/xwatch.html or in LaTeX 
    format as doc/xwatch.tex. A poor-mans document is doc/xwatch.txt, 
    that's plain ASCII for those who can't handle HTML or LaTeX.

    Follow these steps.

	o  You will need the XForms library and include files to compile
        xwatch.  Check the Makefile in the src subdirectory for
        two ftp sites that carry XForms for Linux. Obtain the library and
        install it.  XWatch will happily run with XForms version 0.81 or 0.88.

	o  In the src subdirectory, edit the Makefile and adjust
        some defines at the top. E.g., a make install copies the binary by
        default to /usr/local/X11/bin; adjust that if you don't like this
        behavior.

	o  Next, do a make install, followed by a make clean.

        o  Copy the file XWatch.ap from the source directory to 
        /usr/lib/X11/app-defaults/XWatch. Edit the file and state your 
        favorite settings.

        o  Next, start the program xwatch with some file arguments in 
        your logfiles directory. If you're satisfied with the appearance and 
        workings of xwatch, add the invocation to your script that starts
	an X session.

Chapter 3: Copyright

    XWatch - a tool to monitor logfiles and display new logs in an X window.  
    Copyright (C) 1995 Karel Kubat.  All rights reserved.

    This program 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.

    You may link this software with XForms (Copyright (C) by T.C. Zhao and
    Mark Overmars) and distribute the resulting binary, under the
    restrictions in clause 3 of the GPL, even though the resulting binary is
    not, as a whole, covered by the GPL. (You still need a separate license
    to do so from the owner(s) of the copyright for XForms, however).  If a
    derivative no longer requires XForms, you may use the unsupplemented GPL
    as its license by deleting this paragraph and therefore removing this
    exemption for XForms.

    This program 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 this program; if not, write to the Free Software
    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
