Release 1.1 of xzap

xzap is an X Athena widget  version of the zap command described in
Kernighan & Pike's "The Unix Programming Environment". It provides an
easy way to send signals to Unix processes, typically, but not
necessarily, to kill them.  It also provides a convenient way to run
ps, or other process displayer such as sps. It allows common option
combinations for the process displayer to be selected from a  user
defined menu, and the output to be viewed in a window that resizes
automatically with a vertical scrollbar if necessary.

See the CHANGES file  for a list of new features/bug fixes.

xzap 1.1 was developed   on  a Sun-4, SunOS 4.1.1  X11R5
and has successfully  been built & run on 

  Encore Multimax Umax 4.3 X11R5
  Acorn R260 RiSCIX 1.21 X11R4
  Sony NEWS 1750 X11R5
  Apple A/UX 3.0 X11R5
  DECstation 5000 ULTRIX V4.2 X11R5


To build xzap:

First look in Imakefile and adjust any installation parameters if you
don't want to install into the standard locations (as well as an
executable and application resource file xzap now needs a help file and
some bitmap files, and a shell script (xzf) for filtering the output
of ps/sps is included in the distribution),

then type:

xmkmf
make depend
make

then

XFILESEARCHPATH=Xzap.ad ./xzap&

or

(setenv XFILESEARCHPATH Xzap.ad; ./xzap)&

depending on your shell, to  try it out.

If you have sps you may also like to try  
xzap -command sps -pidColumn Proc#

Before installing:

If you changed the value of Bitmapdir in the Imakefile then you will
have to edit Xzap.ad so that bitmapFilePath matches it.  The bitmap for
the "zap" command button  changes when you select a menu item and is
specified in the signalList resource.  Please send me any nice bitmaps
you design and I'll include them in the next release.

You may like to change the default menu of signals offered by editing the
signalList resource.  

You should also check the psOptionsList resource to ensure that the
options are valid for the version of ps on your system, and you may
like to replace and/or add some more entries. If you are using System V
or sps then it definitely needs changing.

To check what will be installed type:

make -n install

and if ok, type:

make install

and

make install.man

for the manual pages.

If you want to change the locations where some of the files
will be installed remember to run xmkmf after changing the Imakefile.

Make sure the new application defaults file is installed correctly.
You may not want, or have permission, to install the application
defaults file in the standard location.  However you should only change
its location to either your home directory or the directory specified
by the environment variable XAPPLRESDIR (unless you are familiar with 
XFILESEARCHPATH).

Thanks to Brian Totty <totty@cs.uiuc.edu> for the Free Widget
Foundation Multilist widget (a version of which I have hacked slightly),
and  all who sent fixes/comments/suggestions etc. for xzap 1.0. Further
comments welcome.

gerry.tomlinson@ncl.ac.uk	June 1993