v00i002: Ardent Window Manager(X11), Part01/13
Mike Wexler
mikew at wyse.wyse.com
Tue Aug 9 06:23:02 AEST 1988
Submitted-by: jkh at ardent (Jordan Hubbard)
Posting-number: Volume 0, Issue 2
Archive-name: awm/part01
#! /bin/sh
# This is a shell archive. Remove anything before this line, then unpack
# it by saving it into a file and typing "sh file". To overwrite existing
# files, type "sh file -c". You can also feed this as standard input via
# unshar, or by typing "sh <file", e.g.. If this archive is complete, you
# will see the following message at the end:
# "End of archive 1 (of 13)."
# Contents: awm awm/Grab.c awm/MENUS awm/bitmaps awm/bitmaps/README
# awm/bitmaps/blank.bm awm/bitmaps/destroy.bm awm/bitmaps/die.bm
# awm/bitmaps/foc.bm awm/bitmaps/hilite.bm awm/bitmaps/ic.bm
# awm/bitmaps/mac_close.bm awm/bitmaps/raise.bm awm/bitmaps/res.bm
# awm/bitmaps/resize.bm awm/bitmaps/titlehilite.bm
# awm/bitmaps/twm.focus.bm awm/bitmaps/twm.gray.bm
# awm/bitmaps/twm.hilite.bm awm/bitmaps/twm.iconify.bm
# awm/bitmaps/twm.pull.bm awm/bitmaps/twm.resize.bm awm/def.awmrc
# awm/menus awm/menus/Makefile awm/menus/README
# awm/menus/arrow_icon.h awm/menus/eventstack.h awm/menus/gray1.h
# awm/menus/menu.ext.h awm/menus/null_icon.h awm/menus/rtlmenu.h
# awm/menus/rtlmnu.opt.h awm/neaten.def.h awm/neaten.ext.h
# awm/support.c awm/support.h awm/system.awmrc awm/twm.Xdefaults
# awm/twm.awmrc
# Wrapped by mikew at wyse on Mon Aug 8 12:01:39 1988
PATH=/bin:/usr/bin:/usr/ucb ; export PATH
if test ! -d awm ; then
echo shar: Creating directory \"awm\"
mkdir awm
fi
if test -f awm/Grab.c -a "${1}" != "-c" ; then
echo shar: Will not over-write existing file \"awm/Grab.c\"
else
echo shar: Extracting \"awm/Grab.c\" \(1435 characters\)
sed "s/^X//" >awm/Grab.c <<'END_OF_awm/Grab.c'
X#ident "%W% %G%"
X
X
X
X#ifndef lint
Xstatic char *rcsid_Grab_c = "$Header: Grab.c,v 1.1 88/06/15 15:26:00 jkh Exp $";
X#endif lint
X
X#include "X11/copyright.h"
X/*
X *
X * Copyright 1987, 1988 by Ardent Computer Corporation, Sunnyvale, Ca.
X *
X * Copyright 1987 by Jordan Hubbard.
X *
X *
X * All Rights Reserved
X *
X * Permission to use, copy, modify, and distribute this software and its
X * documentation for any purpose and without fee is hereby granted,
X * provided that the above copyright notice appear in all copies and that
X * both that copyright notice and this permission notice appear in
X * supporting documentation, and that the name of Ardent Computer
X * Corporation or Jordan Hubbard not be used in advertising or publicity
X * pertaining to distribution of the software without specific, written
X * prior permission.
X *
X */
X
X/*
X * MODIFICATION HISTORY
X *
X * 002 -- Jordan Hubbard, Ardent Computer
X * Modifications for addition contexts.
X */
X
X#include "X11/Xlib.h"
X#include "awm.h"
X
Xvoid grab_pointer()
X{
X Entry("grab_pointer")
X
X if (XGrabPointer( dpy, RootWindow(dpy, scr),
X TRUE, EVENTMASK, GrabModeAsync,
X GrabModeAsync, None,
X ArrowCrossCursor, CurrentTime )
X != GrabSuccess )
X fprintf(stderr, "awm (grab_pointer): Can't grab the mouse.");
X Leave_void
X}
X
Xvoid ungrab_pointer()
X{
X Entry("ungrab_pointer")
X
X XUngrabPointer(dpy, CurrentTime);
X Leave_void
X}
END_OF_awm/Grab.c
if test 1435 -ne `wc -c <awm/Grab.c`; then
echo shar: \"awm/Grab.c\" unpacked with wrong size!
fi
# end of overwriting check
fi
if test -f awm/MENUS -a "${1}" != "-c" ; then
echo shar: Will not over-write existing file \"awm/MENUS\"
else
echo shar: Extracting \"awm/MENUS\" \(2087 characters\)
sed "s/^X//" >awm/MENUS <<'END_OF_awm/MENUS'
XThe menu package you'll find in this release is derived from the RTL
Xmenu package, version 2.0. RTL is currently at revision level 3, which
Xno doubt fixes many of the bugs in version 2, but I cannot easily update
Xto it. Here's why:
X
XThe RTL menus, as they come "out of the box" give you the ability
Xto create hierarchical walking menus. Each pane is in a fixed font
Xand can have, in addition to text, a check mark (denoting some boolean
Xcondition), an arrow (denoting an adjacent pull-right menu) or grey-stippled
Xtext (denoting a disabled item). This was almost ideal for my purposes
Xsince I needed checkmarks for boolean variables and arrows for pull-right
Xmenus (not to mention the pull-right menus themselves). However, since
Xawm tries hard to present a pictoral interface (with gadget boxes and
Xthe like), it was necessary to make modifications to the menu package
Xto support:
X
Xo Arbitrary pixmaps in menus panes, rather than just text.
X
Xo A "bold" font for panes that is used for menu titles (which users
X of uwm, awm's predecessor, had come to expect).
X
Xo The removal of the "all menu panes must be the same height" restriction
X to accomodate the two features mentioned above.
X
X
XThere were also a number of internel changes, such as the removal of
Xthe AssocTable code that forced a dependence on the X10 compatability
Xlibrary. The positioning of the pointer within windows and the positioning
Xof the pull-right menus themselves was also changed somewhat, since
Xusing the menu package from a window manager required that the menu
Xpackage be a little less exacting about things and give the user more
Xroom for error.
X
XFinally, there were a few changes made for the window manager itself,
Xsuch as support for the "AutoSelect" mode people had come to know
Xand love(?) from uwm.
X
X
XIf anyone feels ambitious enough to reverse-engineer these changes into
XRTL's version 3 package, or to author a totally new menu package with
Xthe features I need, I'll be more than happy to adopt it. In the mean
Xtime, I have other issues which are, unfortunately, more pressing.
X
X
X Jordan Hubbard
END_OF_awm/MENUS
if test 2087 -ne `wc -c <awm/MENUS`; then
echo shar: \"awm/MENUS\" unpacked with wrong size!
fi
# end of overwriting check
fi
if test ! -d awm/bitmaps ; then
echo shar: Creating directory \"awm/bitmaps\"
mkdir awm/bitmaps
fi
if test -f awm/bitmaps/README -a "${1}" != "-c" ; then
echo shar: Will not over-write existing file \"awm/bitmaps/README\"
else
echo shar: Extracting \"awm/bitmaps/README\" \(545 characters\)
sed "s/^X//" >awm/bitmaps/README <<'END_OF_awm/bitmaps/README'
XHere are a few contributed bitmaps (as well as some of my own) that
Xmight be useful to people designing interfaces with awm. As noted
Xin the man page, care should be taken when constructing menu panes
Xwith these as they are not all the same size. Your contributions
Xto this collections are welcomed.
X
XIt should be noted that hackers don't usually make very good artists.
XIf someone more artistically inclined (and willing to work within the
Xlimits of a 16x16 or 32x32 frame) is interested in adding to this
Xcollection, please do!
X
X - Jordan
END_OF_awm/bitmaps/README
if test 545 -ne `wc -c <awm/bitmaps/README`; then
echo shar: \"awm/bitmaps/README\" unpacked with wrong size!
fi
# end of overwriting check
fi
if test -f awm/bitmaps/blank.bm -a "${1}" != "-c" ; then
echo shar: Will not over-write existing file \"awm/bitmaps/blank.bm\"
else
echo shar: Extracting \"awm/bitmaps/blank.bm\" \(278 characters\)
sed "s/^X//" >awm/bitmaps/blank.bm <<'END_OF_awm/bitmaps/blank.bm'
X#define blank_width 16
X#define blank_height 16
Xstatic char blank_bits[] = {
X 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
X 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
X 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
END_OF_awm/bitmaps/blank.bm
if test 278 -ne `wc -c <awm/bitmaps/blank.bm`; then
echo shar: \"awm/bitmaps/blank.bm\" unpacked with wrong size!
fi
# end of overwriting check
fi
if test -f awm/bitmaps/destroy.bm -a "${1}" != "-c" ; then
echo shar: Will not over-write existing file \"awm/bitmaps/destroy.bm\"
else
echo shar: Extracting \"awm/bitmaps/destroy.bm\" \(284 characters\)
sed "s/^X//" >awm/bitmaps/destroy.bm <<'END_OF_awm/bitmaps/destroy.bm'
X#define destroy_width 16
X#define destroy_height 16
Xstatic char destroy_bits[] = {
X 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0x00, 0xe0, 0x7f,
X 0x20, 0x02, 0xf0, 0x01, 0x78, 0x00, 0x1c, 0x00, 0x1c, 0x00, 0x1c, 0x00,
X 0x1c, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00};
END_OF_awm/bitmaps/destroy.bm
if test 284 -ne `wc -c <awm/bitmaps/destroy.bm`; then
echo shar: \"awm/bitmaps/destroy.bm\" unpacked with wrong size!
fi
# end of overwriting check
fi
if test -f awm/bitmaps/die.bm -a "${1}" != "-c" ; then
echo shar: Will not over-write existing file \"awm/bitmaps/die.bm\"
else
echo shar: Extracting \"awm/bitmaps/die.bm\" \(260 characters\)
sed "s/^X//" >awm/bitmaps/die.bm <<'END_OF_awm/bitmaps/die.bm'
X#define die_width 15
X#define die_height 15
Xstatic char die_bits[] = {
X 0x00, 0x00, 0x2e, 0x3d, 0x22, 0x15, 0xc2, 0x14, 0xc6, 0x14, 0x22, 0x15,
X 0x22, 0x15, 0x2e, 0x15, 0x00, 0x00, 0x00, 0x02, 0x00, 0x0c, 0xfe, 0x3f,
X 0xfe, 0x3f, 0x00, 0x0c, 0x00, 0x02};
END_OF_awm/bitmaps/die.bm
if test 260 -ne `wc -c <awm/bitmaps/die.bm`; then
echo shar: \"awm/bitmaps/die.bm\" unpacked with wrong size!
fi
# end of overwriting check
fi
if test -f awm/bitmaps/foc.bm -a "${1}" != "-c" ; then
echo shar: Will not over-write existing file \"awm/bitmaps/foc.bm\"
else
echo shar: Extracting \"awm/bitmaps/foc.bm\" \(260 characters\)
sed "s/^X//" >awm/bitmaps/foc.bm <<'END_OF_awm/bitmaps/foc.bm'
X#define foc_width 15
X#define foc_height 15
Xstatic char foc_bits[] = {
X 0x00, 0x80, 0x00, 0x80, 0x00, 0x80, 0x00, 0x80, 0xfc, 0x9f, 0x54, 0x95,
X 0xfc, 0x9f, 0x54, 0x95, 0xfc, 0x9f, 0x04, 0x90, 0xfc, 0x9f, 0x00, 0x80,
X 0x00, 0x80, 0x00, 0x80, 0x00, 0x80};
END_OF_awm/bitmaps/foc.bm
if test 260 -ne `wc -c <awm/bitmaps/foc.bm`; then
echo shar: \"awm/bitmaps/foc.bm\" unpacked with wrong size!
fi
# end of overwriting check
fi
if test -f awm/bitmaps/hilite.bm -a "${1}" != "-c" ; then
echo shar: Will not over-write existing file \"awm/bitmaps/hilite.bm\"
else
echo shar: Extracting \"awm/bitmaps/hilite.bm\" \(2202 characters\)
sed "s/^X//" >awm/bitmaps/hilite.bm <<'END_OF_awm/bitmaps/hilite.bm'
X/*****************************************************************************/
X/** Copyright 1988 by Evans & Sutherland Computer Corporation, **/
X/** Salt Lake City, Utah **/
X/** **/
X/** All Rights Reserved **/
X/** **/
X/** Permission to use, copy, modify, and distribute this software and **/
X/** its documentation for any purpose and without fee is hereby **/
X/** granted, provided that the above copyright notice appear in all **/
X/** copies and that both that copyright notice and this permis- **/
X/** sion notice appear in supporting documentation, and that the **/
X/** name of Evans & Sutherland not be used in advertising or publi- **/
X/** city pertaining to distribution of the software without specif- **/
X/** ic, written prior permission. **/
X/** **/
X/** EVANS & SUTHERLAND DISCLAIMS ALL WARRANTIES WITH REGARD TO **/
X/** THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILI- **/
X/** TY AND FITNESS, IN NO EVENT SHALL EVANS & SUTHERLAND BE LIABLE **/
X/** FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAM- **/
X/** AGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, **/
X/** WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS **/
X/** ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PER- **/
X/** FORMANCE OF THIS SOFTWARE. **/
X/*****************************************************************************/
X
X#define hilite_width 16
X#define hilite_height 16
Xstatic char hilite_bits[] = {
X 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00,
X 0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00,
X 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
END_OF_awm/bitmaps/hilite.bm
if test 2202 -ne `wc -c <awm/bitmaps/hilite.bm`; then
echo shar: \"awm/bitmaps/hilite.bm\" unpacked with wrong size!
fi
# end of overwriting check
fi
if test -f awm/bitmaps/ic.bm -a "${1}" != "-c" ; then
echo shar: Will not over-write existing file \"awm/bitmaps/ic.bm\"
else
echo shar: Extracting \"awm/bitmaps/ic.bm\" \(257 characters\)
sed "s/^X//" >awm/bitmaps/ic.bm <<'END_OF_awm/bitmaps/ic.bm'
X#define ic_width 15
X#define ic_height 15
Xstatic char ic_bits[] = {
X 0x00, 0x80, 0x00, 0x80, 0x7c, 0x9f, 0x7c, 0x9f, 0x7c, 0x9f, 0x7c, 0x9f,
X 0x7c, 0x9f, 0x00, 0x80, 0x7c, 0x9f, 0x7c, 0x9f, 0x7c, 0x9f, 0x7c, 0x9f,
X 0x7c, 0x9f, 0x00, 0x80, 0x00, 0x80};
END_OF_awm/bitmaps/ic.bm
if test 257 -ne `wc -c <awm/bitmaps/ic.bm`; then
echo shar: \"awm/bitmaps/ic.bm\" unpacked with wrong size!
fi
# end of overwriting check
fi
if test -f awm/bitmaps/mac_close.bm -a "${1}" != "-c" ; then
echo shar: Will not over-write existing file \"awm/bitmaps/mac_close.bm\"
else
echo shar: Extracting \"awm/bitmaps/mac_close.bm\" \(215 characters\)
sed "s/^X//" >awm/bitmaps/mac_close.bm <<'END_OF_awm/bitmaps/mac_close.bm'
X#define mac_close_width 10
X#define mac_close_height 10
Xstatic char mac_close_bits[] = {
X 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
X 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
END_OF_awm/bitmaps/mac_close.bm
if test 215 -ne `wc -c <awm/bitmaps/mac_close.bm`; then
echo shar: \"awm/bitmaps/mac_close.bm\" unpacked with wrong size!
fi
# end of overwriting check
fi
if test -f awm/bitmaps/raise.bm -a "${1}" != "-c" ; then
echo shar: Will not over-write existing file \"awm/bitmaps/raise.bm\"
else
echo shar: Extracting \"awm/bitmaps/raise.bm\" \(269 characters\)
sed "s/^X//" >awm/bitmaps/raise.bm <<'END_OF_awm/bitmaps/raise.bm'
X#define g1_width 16
X#define g1_height 16
Xstatic char g1_bits[] = {
X 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0xc0, 0x01, 0xe0, 0x03, 0x80, 0x00,
X 0x80, 0x00, 0x9e, 0x3c, 0x9e, 0x3c, 0x80, 0x00, 0x80, 0x00, 0xe0, 0x03,
X 0xc0, 0x01, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00};
END_OF_awm/bitmaps/raise.bm
if test 269 -ne `wc -c <awm/bitmaps/raise.bm`; then
echo shar: \"awm/bitmaps/raise.bm\" unpacked with wrong size!
fi
# end of overwriting check
fi
if test -f awm/bitmaps/res.bm -a "${1}" != "-c" ; then
echo shar: Will not over-write existing file \"awm/bitmaps/res.bm\"
else
echo shar: Extracting \"awm/bitmaps/res.bm\" \(260 characters\)
sed "s/^X//" >awm/bitmaps/res.bm <<'END_OF_awm/bitmaps/res.bm'
X#define res_width 15
X#define res_height 15
Xstatic char res_bits[] = {
X 0x00, 0x80, 0xfe, 0xbf, 0x00, 0xa0, 0x00, 0xa0, 0xaa, 0xa6, 0x00, 0xa4,
X 0x00, 0xa0, 0x00, 0xa4, 0x7e, 0xa0, 0x40, 0xa4, 0x40, 0xa0, 0x40, 0xa4,
X 0x40, 0xa0, 0x40, 0xa4, 0x00, 0x80};
END_OF_awm/bitmaps/res.bm
if test 260 -ne `wc -c <awm/bitmaps/res.bm`; then
echo shar: \"awm/bitmaps/res.bm\" unpacked with wrong size!
fi
# end of overwriting check
fi
if test -f awm/bitmaps/resize.bm -a "${1}" != "-c" ; then
echo shar: Will not over-write existing file \"awm/bitmaps/resize.bm\"
else
echo shar: Extracting \"awm/bitmaps/resize.bm\" \(281 characters\)
sed "s/^X//" >awm/bitmaps/resize.bm <<'END_OF_awm/bitmaps/resize.bm'
X#define resize_width 16
X#define resize_height 16
Xstatic char resize_bits[] = {
X 0x00, 0x00, 0x00, 0x00, 0x00, 0x3c, 0x00, 0x38, 0x00, 0x38, 0x00, 0x24,
X 0x00, 0x02, 0x00, 0x01, 0x80, 0x00, 0x40, 0x00, 0x20, 0x00, 0x12, 0x00,
X 0x0e, 0x00, 0x0e, 0x00, 0x1e, 0x00, 0x00, 0x00};
END_OF_awm/bitmaps/resize.bm
if test 281 -ne `wc -c <awm/bitmaps/resize.bm`; then
echo shar: \"awm/bitmaps/resize.bm\" unpacked with wrong size!
fi
# end of overwriting check
fi
if test -f awm/bitmaps/titlehilite.bm -a "${1}" != "-c" ; then
echo shar: Will not over-write existing file \"awm/bitmaps/titlehilite.bm\"
else
echo shar: Extracting \"awm/bitmaps/titlehilite.bm\" \(290 characters\)
sed "s/^X//" >awm/bitmaps/titlehilite.bm <<'END_OF_awm/bitmaps/titlehilite.bm'
X#define titlebold_width 16
X#define titlebold_height 16
Xstatic char titlebold_bits[] = {
X 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00,
X 0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00,
X 0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00};
END_OF_awm/bitmaps/titlehilite.bm
if test 290 -ne `wc -c <awm/bitmaps/titlehilite.bm`; then
echo shar: \"awm/bitmaps/titlehilite.bm\" unpacked with wrong size!
fi
# end of overwriting check
fi
if test -f awm/bitmaps/twm.focus.bm -a "${1}" != "-c" ; then
echo shar: Will not over-write existing file \"awm/bitmaps/twm.focus.bm\"
else
echo shar: Extracting \"awm/bitmaps/twm.focus.bm\" \(2188 characters\)
sed "s/^X//" >awm/bitmaps/twm.focus.bm <<'END_OF_awm/bitmaps/twm.focus.bm'
X
X/*****************************************************************************/
X/** Copyright 1988 by Evans & Sutherland Computer Corporation, **/
X/** Salt Lake City, Utah **/
X/** **/
X/** All Rights Reserved **/
X/** **/
X/** Permission to use, copy, modify, and distribute this software and **/
X/** its documentation for any purpose and without fee is hereby **/
X/** granted, provided that the above copyright notice appear in all **/
X/** copies and that both that copyright notice and this permis- **/
X/** sion notice appear in supporting documentation, and that the **/
X/** name of Evans & Sutherland not be used in advertising or publi- **/
X/** city pertaining to distribution of the software without specif- **/
X/** ic, written prior permission. **/
X/** **/
X/** EVANS & SUTHERLAND DISCLAIMS ALL WARRANTIES WITH REGARD TO **/
X/** THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILI- **/
X/** TY AND FITNESS, IN NO EVENT SHALL EVANS & SUTHERLAND BE LIABLE **/
X/** FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAM- **/
X/** AGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, **/
X/** WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS **/
X/** ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PER- **/
X/** FORMANCE OF THIS SOFTWARE. **/
X/*****************************************************************************/
X
X#define focus_width 16
X#define focus_height 15
Xstatic char focus_bits[] = {
X 0xff, 0x7f, 0x01, 0x40, 0x01, 0x40, 0x01, 0x40, 0xfd, 0x5f, 0x55, 0x55,
X 0xfd, 0x5f, 0x55, 0x55, 0xfd, 0x5f, 0x05, 0x50, 0xfd, 0x5f, 0x01, 0x40,
X 0x01, 0x40, 0x01, 0x40, 0xff, 0x7f};
END_OF_awm/bitmaps/twm.focus.bm
if test 2188 -ne `wc -c <awm/bitmaps/twm.focus.bm`; then
echo shar: \"awm/bitmaps/twm.focus.bm\" unpacked with wrong size!
fi
# end of overwriting check
fi
if test -f awm/bitmaps/twm.gray.bm -a "${1}" != "-c" ; then
echo shar: Will not over-write existing file \"awm/bitmaps/twm.gray.bm\"
else
echo shar: Extracting \"awm/bitmaps/twm.gray.bm\" \(312 characters\)
sed "s/^X//" >awm/bitmaps/twm.gray.bm <<'END_OF_awm/bitmaps/twm.gray.bm'
X/* @(#)gray.ic X10/6.6 11/3/86 */
X#define gray_width 16
X#define gray_height 16
Xstatic char gray_bits[] = {
X 0x55, 0x55, 0xaa, 0xaa, 0x55, 0x55, 0xaa, 0xaa,
X 0x55, 0x55, 0xaa, 0xaa, 0x55, 0x55, 0xaa, 0xaa,
X 0x55, 0x55, 0xaa, 0xaa, 0x55, 0x55, 0xaa, 0xaa,
X 0x55, 0x55, 0xaa, 0xaa, 0x55, 0x55, 0xaa, 0xaa};
END_OF_awm/bitmaps/twm.gray.bm
if test 312 -ne `wc -c <awm/bitmaps/twm.gray.bm`; then
echo shar: \"awm/bitmaps/twm.gray.bm\" unpacked with wrong size!
fi
# end of overwriting check
fi
if test -f awm/bitmaps/twm.hilite.bm -a "${1}" != "-c" ; then
echo shar: Will not over-write existing file \"awm/bitmaps/twm.hilite.bm\"
else
echo shar: Extracting \"awm/bitmaps/twm.hilite.bm\" \(2202 characters\)
sed "s/^X//" >awm/bitmaps/twm.hilite.bm <<'END_OF_awm/bitmaps/twm.hilite.bm'
X/*****************************************************************************/
X/** Copyright 1988 by Evans & Sutherland Computer Corporation, **/
X/** Salt Lake City, Utah **/
X/** **/
X/** All Rights Reserved **/
X/** **/
X/** Permission to use, copy, modify, and distribute this software and **/
X/** its documentation for any purpose and without fee is hereby **/
X/** granted, provided that the above copyright notice appear in all **/
X/** copies and that both that copyright notice and this permis- **/
X/** sion notice appear in supporting documentation, and that the **/
X/** name of Evans & Sutherland not be used in advertising or publi- **/
X/** city pertaining to distribution of the software without specif- **/
X/** ic, written prior permission. **/
X/** **/
X/** EVANS & SUTHERLAND DISCLAIMS ALL WARRANTIES WITH REGARD TO **/
X/** THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILI- **/
X/** TY AND FITNESS, IN NO EVENT SHALL EVANS & SUTHERLAND BE LIABLE **/
X/** FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAM- **/
X/** AGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, **/
X/** WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS **/
X/** ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PER- **/
X/** FORMANCE OF THIS SOFTWARE. **/
X/*****************************************************************************/
X
X#define hilite_width 16
X#define hilite_height 16
Xstatic char hilite_bits[] = {
X 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00,
X 0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00,
X 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
END_OF_awm/bitmaps/twm.hilite.bm
if test 2202 -ne `wc -c <awm/bitmaps/twm.hilite.bm`; then
echo shar: \"awm/bitmaps/twm.hilite.bm\" unpacked with wrong size!
fi
# end of overwriting check
fi
if test -f awm/bitmaps/twm.iconify.bm -a "${1}" != "-c" ; then
echo shar: Will not over-write existing file \"awm/bitmaps/twm.iconify.bm\"
else
echo shar: Extracting \"awm/bitmaps/twm.iconify.bm\" \(2194 characters\)
sed "s/^X//" >awm/bitmaps/twm.iconify.bm <<'END_OF_awm/bitmaps/twm.iconify.bm'
X
X/*****************************************************************************/
X/** Copyright 1988 by Evans & Sutherland Computer Corporation, **/
X/** Salt Lake City, Utah **/
X/** **/
X/** All Rights Reserved **/
X/** **/
X/** Permission to use, copy, modify, and distribute this software and **/
X/** its documentation for any purpose and without fee is hereby **/
X/** granted, provided that the above copyright notice appear in all **/
X/** copies and that both that copyright notice and this permis- **/
X/** sion notice appear in supporting documentation, and that the **/
X/** name of Evans & Sutherland not be used in advertising or publi- **/
X/** city pertaining to distribution of the software without specif- **/
X/** ic, written prior permission. **/
X/** **/
X/** EVANS & SUTHERLAND DISCLAIMS ALL WARRANTIES WITH REGARD TO **/
X/** THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILI- **/
X/** TY AND FITNESS, IN NO EVENT SHALL EVANS & SUTHERLAND BE LIABLE **/
X/** FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAM- **/
X/** AGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, **/
X/** WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS **/
X/** ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PER- **/
X/** FORMANCE OF THIS SOFTWARE. **/
X/*****************************************************************************/
X
X#define iconify_width 16
X#define iconify_height 15
Xstatic char iconify_bits[] = {
X 0xff, 0x7f, 0x01, 0x40, 0x7d, 0x5f, 0x7d, 0x5f, 0x7d, 0x5f, 0x7d, 0x5f,
X 0x7d, 0x5f, 0x01, 0x40, 0x7d, 0x5f, 0x7d, 0x5f, 0x7d, 0x5f, 0x7d, 0x5f,
X 0x7d, 0x5f, 0x01, 0x40, 0xff, 0x7f};
END_OF_awm/bitmaps/twm.iconify.bm
if test 2194 -ne `wc -c <awm/bitmaps/twm.iconify.bm`; then
echo shar: \"awm/bitmaps/twm.iconify.bm\" unpacked with wrong size!
fi
# end of overwriting check
fi
if test -f awm/bitmaps/twm.pull.bm -a "${1}" != "-c" ; then
echo shar: Will not over-write existing file \"awm/bitmaps/twm.pull.bm\"
else
echo shar: Extracting \"awm/bitmaps/twm.pull.bm\" \(2197 characters\)
sed "s/^X//" >awm/bitmaps/twm.pull.bm <<'END_OF_awm/bitmaps/twm.pull.bm'
X
X/*****************************************************************************/
X/** Copyright 1988 by Evans & Sutherland Computer Corporation, **/
X/** Salt Lake City, Utah **/
X/** **/
X/** All Rights Reserved **/
X/** **/
X/** Permission to use, copy, modify, and distribute this software and **/
X/** its documentation for any purpose and without fee is hereby **/
X/** granted, provided that the above copyright notice appear in all **/
X/** copies and that both that copyright notice and this permis- **/
X/** sion notice appear in supporting documentation, and that the **/
X/** name of Evans & Sutherland not be used in advertising or publi- **/
X/** city pertaining to distribution of the software without specif- **/
X/** ic, written prior permission. **/
X/** **/
X/** EVANS & SUTHERLAND DISCLAIMS ALL WARRANTIES WITH REGARD TO **/
X/** THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILI- **/
X/** TY AND FITNESS, IN NO EVENT SHALL EVANS & SUTHERLAND BE LIABLE **/
X/** FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAM- **/
X/** AGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, **/
X/** WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS **/
X/** ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PER- **/
X/** FORMANCE OF THIS SOFTWARE. **/
X/*****************************************************************************/
X
X#define pull_width 16
X#define pull_height 16
Xstatic char pull_bits[] = {
X 0x00, 0x00, 0x00, 0x00, 0x00, 0x04, 0x00, 0x0c, 0x00, 0x1c, 0xff, 0x3f,
X 0xff, 0x7f, 0xff, 0xff, 0xff, 0x7f, 0xff, 0x3f, 0x00, 0x1c, 0x00, 0x0c,
X 0x00, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
END_OF_awm/bitmaps/twm.pull.bm
if test 2197 -ne `wc -c <awm/bitmaps/twm.pull.bm`; then
echo shar: \"awm/bitmaps/twm.pull.bm\" unpacked with wrong size!
fi
# end of overwriting check
fi
if test -f awm/bitmaps/twm.resize.bm -a "${1}" != "-c" ; then
echo shar: Will not over-write existing file \"awm/bitmaps/twm.resize.bm\"
else
echo shar: Extracting \"awm/bitmaps/twm.resize.bm\" \(2191 characters\)
sed "s/^X//" >awm/bitmaps/twm.resize.bm <<'END_OF_awm/bitmaps/twm.resize.bm'
X
X/*****************************************************************************/
X/** Copyright 1988 by Evans & Sutherland Computer Corporation, **/
X/** Salt Lake City, Utah **/
X/** **/
X/** All Rights Reserved **/
X/** **/
X/** Permission to use, copy, modify, and distribute this software and **/
X/** its documentation for any purpose and without fee is hereby **/
X/** granted, provided that the above copyright notice appear in all **/
X/** copies and that both that copyright notice and this permis- **/
X/** sion notice appear in supporting documentation, and that the **/
X/** name of Evans & Sutherland not be used in advertising or publi- **/
X/** city pertaining to distribution of the software without specif- **/
X/** ic, written prior permission. **/
X/** **/
X/** EVANS & SUTHERLAND DISCLAIMS ALL WARRANTIES WITH REGARD TO **/
X/** THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILI- **/
X/** TY AND FITNESS, IN NO EVENT SHALL EVANS & SUTHERLAND BE LIABLE **/
X/** FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAM- **/
X/** AGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, **/
X/** WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS **/
X/** ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PER- **/
X/** FORMANCE OF THIS SOFTWARE. **/
X/*****************************************************************************/
X
X#define resize_width 16
X#define resize_height 15
Xstatic char resize_bits[] = {
X 0xff, 0x7f, 0x01, 0x40, 0x01, 0x40, 0x01, 0x40, 0xff, 0x47, 0x01, 0x44,
X 0x01, 0x44, 0x01, 0x44, 0x7f, 0x44, 0x41, 0x44, 0x41, 0x44, 0x41, 0x44,
X 0x41, 0x44, 0x41, 0x44, 0xff, 0x7f};
END_OF_awm/bitmaps/twm.resize.bm
if test 2191 -ne `wc -c <awm/bitmaps/twm.resize.bm`; then
echo shar: \"awm/bitmaps/twm.resize.bm\" unpacked with wrong size!
fi
# end of overwriting check
fi
if test -f awm/def.awmrc -a "${1}" != "-c" ; then
echo shar: Will not over-write existing file \"awm/def.awmrc\"
else
echo shar: Extracting \"awm/def.awmrc\" \(1960 characters\)
sed "s/^X//" >awm/def.awmrc <<'END_OF_awm/def.awmrc'
X# $Source $
X# $Author $
X# $Header $
X# Copyright (c) 1987 by the Massachusetts Institute of Technology.
X#
X# This is a startup file for uwm that produces an xwm lookalike,
X# but adds two useful menus. It is patterned on the public
X# distribution ../lib/X/uwm/jg.uwmrc file by Jim Gettys.
X#
Xresetbindings
Xresetmenus
Xresetgadgets
X
X# FUNCTION KEYS CONTEXT MOUSE BUTTON ACTIONS
Xf.newiconify= meta :window|icon: delta left
Xf.raise= meta :window|icon: delta left
Xf.lower= meta :window|icon: left up
Xf.raise= meta :window: middle down
Xf.resize= meta :window: delta middle
Xf.iconify= meta :icon: middle up
Xf.raise= meta :window|icon: right down
Xf.move= meta :window|icon: delta right
Xf.circledown= meta :root: left down
Xf.circleup= meta :root: right down
Xf.circledown= m|s :: left down
Xf.menu= :root: middle down : "WindowOps"
Xf.menu= m|s :: middle down : "WindowOps"
Xf.menu= m|s :root: left down : "Preferences"
Xf.menu= m|s :: left down : "Preferences"
Xf.circleup= m|s :: right down
Xf.iconify= m|c :window|icon: left down
Xf.newiconify= m|l :window|icon: left down
Xf.raise= m|l :window|icon: left up
Xf.pushright= m|l :window|icon: right down
Xf.pushleft= m|c :window|icon: right down
Xf.pushup= m|l :window|icon: middle down
Xf.pushdown= m|c :window|icon: middle down
X
Xmenu = "Preferences" {
XBell Loud: !"xset b 7&"
XBell Normal: !"xset b 3&"
XBell Off: !"xset b off&"
XClick Loud: !"xset c 8&"
XClick Soft: !"xset c on&"
XClick Off: !"xset c off&"
XLock On: !"xset l on&"
XLock Off: !"xset l off&"
XMouse Fast: !"xset m 4 2&"
XMouse Normal: !"xset m 2 5&"
XMouse Slow: !"xset m 1 1&"
X}
X
Xmenu = "WindowOps" {
XPreferences: f.menu: "Preferences"
XNew Window: !"xterm&"
XRefreshScreen: f.refresh
XRedraw: f.redraw
XMove: f.move
XResize: f.resize
XLower: f.lower
XRaise: f.raise
XCircUp: f.circleup
XCircDown: f.circledown
XAutoIconify: f.iconify
XLowerIconify: f.newiconify
XNewIconify: f.newiconify
XFocus: f.focus
XFreeze: f.pause
XUnFreeze: f.continue
XRestart: f.restart
X}
END_OF_awm/def.awmrc
if test 1960 -ne `wc -c <awm/def.awmrc`; then
echo shar: \"awm/def.awmrc\" unpacked with wrong size!
fi
# end of overwriting check
fi
if test ! -d awm/menus ; then
echo shar: Creating directory \"awm/menus\"
mkdir awm/menus
fi
if test -f awm/menus/Makefile -a "${1}" != "-c" ; then
echo shar: Will not over-write existing file \"awm/menus/Makefile\"
else
echo shar: Extracting \"awm/menus/Makefile\" \(1635 characters\)
sed "s/^X//" >awm/menus/Makefile <<'END_OF_awm/menus/Makefile'
X# makefile for example menu program
X# This should be generated by imake, but it's not.
X# sometime "soon". In the meantime, change the directories
X# to suite your system.
X
X# if using DBUG package, point this to the object files
X# DBUGDIR =
X
X# Point this to the top of your source tree
XTOP = /usr/src/X.V11R2
X
XOBJS = rtlmenu.o track_menu.o eventsave.o eventstack.o menu.o
XSRCS = rtlmenu.c track_menu.c eventsave.c eventstack.c menu.c
XINCS = menu.h menu.def.h menu.ext.h rtlmenu.h std_defs.h eventstack.h \
X arrow_icon.h dbug.h gray1.h null_icon.h dbug.h rtlmnu.ext.h \
X rtlmnu.opt.h
X
X# compiler flags
XFLAGS = -g $(CFLAGS) -I$(TOP)
X
X# if you want to use the DBUG package (and you have it around), define
X# DBUGFLAG to be empty
XDBUGFLAG = DBUG_OFF
X
Xrtlmenu.a : $(OBJS)
X rm -f rtlmenu.a
X ar clq rtlmenu.a $(OBJS)
X ranlib rtlmenu.a
X
Xrtlmenu.o : rtlmenu.c menu.h menu.def.h menu.ext.h rtlmenu.h std_defs.h
X $(CC) $(FLAGS) -D$(DBUGFLAG) -c rtlmenu.c
X
Xtrack_menu.o : track_menu.c eventstack.h dbug.h \
X menu.def.h menu.h menu.ext.h null_icon.h \
X arrow_icon.h std_defs.h
X $(CC) $(FLAGS) -D$(DBUGFLAG) -c track_menu.c
X
Xeventsave.o : eventsave.c eventstack.h dbug.h std_defs.h
X $(CC) $(FLAGS) -D$(DBUGFLAG) -c eventsave.c
X
Xeventstack.o : eventstack.c eventstack.h dbug.h std_defs.h
X $(CC) $(FLAGS) -D$(DBUGFLAG) -c eventstack.c
X
Xmenu.o : menu.c arrow_icon.h gray1.h menu.def.h menu.h std_defs.h dbug.h
X $(CC) $(FLAGS) -D$(DBUGFLAG) -c menu.c
X
Xclean:
X rm -f *.o *.a core *~ #*
X
Xnoident:
X @echo Removing ident lines from menus...
X @for i in $(SRCS) $(INCS); do \
X sed -e '/#ident/D' < $$i > /tmp/x.$$i && \
X mv /tmp/x.$$i $$i ; \
X done
END_OF_awm/menus/Makefile
if test 1635 -ne `wc -c <awm/menus/Makefile`; then
echo shar: \"awm/menus/Makefile\" unpacked with wrong size!
fi
# end of overwriting check
fi
if test -f awm/menus/README -a "${1}" != "-c" ; then
echo shar: Will not over-write existing file \"awm/menus/README\"
else
echo shar: Extracting \"awm/menus/README\" \(1570 characters\)
sed "s/^X//" >awm/menus/README <<'END_OF_awm/menus/README'
XRTLMenus Version 1.0 Release 2.1
X
XThis menu package was written at Siemens Research and
XTechnologies Laboratory, Princeton, NJ, in the second half
Xkof 1987.
X
XThe original basis for the source file menu.c was the menu
Xpackage for version X10/6.6 of xterm (misc.c). We thank the
Xprogrammers who gave us this basis from which to expand.
X
XWe wrote this package to meet the needs of the RTL Tiled
XWindows window manager which is under development here.
XWe have simulated much of the functionality of the SunWindows
XToolkit menus. The package has been tested only on Suns.
XWe welcome enhancements and changes, and we would appreciate
Xhearing about them. We'll be glad to accept bug reports, but
Xwe can't support this package beyond our own needs. We are
Xmaking it available because you 1) may be able to use it,
Xand 2) may learn some tricks from it.
X
XWe found the DBUG C Program Debugging Package by Fred Fish to
Xbe useful in debugging track_menu.c. The DBUG macros remain,
Xso you can use them to trace the code if you have DBUG
Xavailable. The Makefile assumes you do NOT have DBUG, and
Xturns it off.
X
XAdam J. Richter of UC Berkeley wrote an initial version of the
Xmenus while he was here last summer. Joe Camaratta and Mike
XBerman designed and built the present version. This work was
Xperformed with the guidance of Ellis Cohen and the assistance
Xof Mark Biggers.
X
XWe thank those who beta-tested the menus; in particular,
Xthanks to George Sherouse and Mark Baushke for their useful
Xsuggestions.
X
X--Mike Berman
X berman%siemens at princeton.edu
X (609)734-6500 x2293
X
END_OF_awm/menus/README
if test 1570 -ne `wc -c <awm/menus/README`; then
echo shar: \"awm/menus/README\" unpacked with wrong size!
fi
# end of overwriting check
fi
if test -f awm/menus/arrow_icon.h -a "${1}" != "-c" ; then
echo shar: Will not over-write existing file \"awm/menus/arrow_icon.h\"
else
echo shar: Extracting \"awm/menus/arrow_icon.h\" \(210 characters\)
sed "s/^X//" >awm/menus/arrow_icon.h <<'END_OF_awm/menus/arrow_icon.h'
X#ident "%W% %G%"
X
X#define arrow_width 10
X#define arrow_height 9
Xstatic char arrow_bits[] = {
X 0x30, 0x00, 0x60, 0x00, 0xff, 0x00, 0xc0, 0x01, 0x9e, 0x03, 0xc0, 0x01,
X 0xff, 0x00, 0x60, 0x00, 0x30, 0x00};
END_OF_awm/menus/arrow_icon.h
if test 210 -ne `wc -c <awm/menus/arrow_icon.h`; then
echo shar: \"awm/menus/arrow_icon.h\" unpacked with wrong size!
fi
# end of overwriting check
fi
if test -f awm/menus/eventstack.h -a "${1}" != "-c" ; then
echo shar: Will not over-write existing file \"awm/menus/eventstack.h\"
else
echo shar: Extracting \"awm/menus/eventstack.h\" \(1616 characters\)
sed "s/^X//" >awm/menus/eventstack.h <<'END_OF_awm/menus/eventstack.h'
X#ident "%W% %G%"
X
X/*
X#ifndef lint
Xstatic char sccs_id[] = "@(#)eventstack.h 2.1 12/16/87 Siemens Corporate Research and Support, Inc.";
X#endif
X*/
X
X
X/*
X * RTL Menu Package Version 1.0
X * by Joe Camaratta and Mike Berman, Siemens RTL, Princeton NJ, 1987
X *
X * eventstack.h: data structure definitions for eventstack package.
X * rewritten almost entirely by Jordan Hubbard, Ardent Computer corp.
X * Previous version did not agree with many compilers.
X *
X */
X
X#include "X11/copyright.h"
X/*
X *
X * Copyright 1987, 1988 by Ardent Computer Corporation, Sunnyvale, Ca.
X *
X * Copyright 1987 by Jordan Hubbard.
X *
X *
X * All Rights Reserved
X *
X * Permission to use, copy, modify, and distribute this software and its
X * documentation for any purpose and without fee is hereby granted,
X * provided that the above copyright notice appear in all copies and that
X * both that copyright notice and this permission notice appear in
X * supporting documentation, and that the name of Ardent Computer
X * Corporation or Jordan Hubbard not be used in advertising or publicity
X * pertaining to distribution of the software without specific, written
X * prior permission.
X *
X */
X
X#ifndef _XLIB_H_
X#include "X11/Xlib.h"
X#endif
X
X#ifndef STD_DEFS
X#include "std_defs.h"
X#endif
X
X#define EventStackIsEmpty(stk) (*stk == (struct Ev_q *)0)
X
Xstruct Ev_q {
X struct Ev_q *prev;
X XEvent *event;
X};
X
X
Xextern void SaveEvents(), RestoreEvents(), DisposeEvents(),
X DiscardEventStore(), AddEventToStore(), RemoveEventFromStore();
X
Xextern bool EventStoreIsEmpty();
Xextern void PushEvent();
Xextern XEvent *PopEvent();
X
X
X
END_OF_awm/menus/eventstack.h
if test 1616 -ne `wc -c <awm/menus/eventstack.h`; then
echo shar: \"awm/menus/eventstack.h\" unpacked with wrong size!
fi
# end of overwriting check
fi
if test -f awm/menus/gray1.h -a "${1}" != "-c" ; then
echo shar: Will not over-write existing file \"awm/menus/gray1.h\"
else
echo shar: Extracting \"awm/menus/gray1.h\" \(298 characters\)
sed "s/^X//" >awm/menus/gray1.h <<'END_OF_awm/menus/gray1.h'
X#ident "%W% %G%"
X
X#define gray1_width 16
X#define gray1_height 16
Xstatic char gray1_bits[] = {
X 0x55, 0x55, 0xaa, 0xaa, 0x55, 0x55, 0xaa, 0xaa, 0x55, 0x55, 0xaa, 0xaa,
X 0x55, 0x55, 0xaa, 0xaa, 0x55, 0x55, 0xaa, 0xaa, 0x55, 0x55, 0xaa, 0xaa,
X 0x55, 0x55, 0xaa, 0xaa, 0x55, 0x55, 0xaa, 0xaa};
END_OF_awm/menus/gray1.h
if test 298 -ne `wc -c <awm/menus/gray1.h`; then
echo shar: \"awm/menus/gray1.h\" unpacked with wrong size!
fi
# end of overwriting check
fi
if test -f awm/menus/menu.ext.h -a "${1}" != "-c" ; then
echo shar: Will not over-write existing file \"awm/menus/menu.ext.h\"
else
echo shar: Extracting \"awm/menus/menu.ext.h\" \(1796 characters\)
sed "s/^X//" >awm/menus/menu.ext.h <<'END_OF_awm/menus/menu.ext.h'
X#ident "%W% %G%"
X
X/*
X#ifndef lint
Xstatic char sccs_id[] = "@(#)menu.extern.h 2.1 12/16/87 Siemens Corporate Research and Support, Inc.";
X#endif
X*/
X
X
X/*
X RTL Menu Package Version 1.0
X by Joe Camaratta and Mike Berman, Siemens RTL, Princeton NJ, 1987
X
X menu.extern.h: external function declarations for menu package
X*/
X
X#include "X11/copyright.h"
X/*
X *
X * Copyright 1987, 1988 by Ardent Computer Corporation, Sunnyvale, Ca.
X *
X * Copyright 1987 by Jordan Hubbard.
X *
X *
X * All Rights Reserved
X *
X * Permission to use, copy, modify, and distribute this software and its
X * documentation for any purpose and without fee is hereby granted,
X * provided that the above copyright notice appear in all copies and that
X * both that copyright notice and this permission notice appear in
X * supporting documentation, and that the name of Ardent Computer
X * Corporation or Jordan Hubbard not be used in advertising or publicity
X * pertaining to distribution of the software without specific, written
X * prior permission.
X *
X */
X
Xextern MenuItem *AddMenuItem();
Xextern bool DisposeItem();
Xextern void DisposeMenu();
Xextern void InitMenu();
Xextern bool SetItemText();
Xextern Menu *NewMenu();
Xextern bool SetItemCheck();
Xextern bool SetItemDisable();
Xextern MenuItem *Display_Menu();
Xextern void Undisplay_Menu();
Xextern void MenuInvert();
Xextern void PlacePointer();
Xextern void Draw_Menu();
Xextern void Draw_Item();
X
Xextern MenuItem *MenuGetItem();
Xextern MenuItem *MenuItemByName();
Xextern MenuItem *MenuItemByData();
Xextern Menu *MenuGetMenu();
Xextern int ItemGetMiddleY();
Xextern void SetInitialItem();
Xextern void ClearInitialItem();
Xextern MenuItem *GetInitialItem();
X
Xextern MenuItem *TrackMenu();
X
X
X
X
X
X
X
X
X
X
END_OF_awm/menus/menu.ext.h
if test 1796 -ne `wc -c <awm/menus/menu.ext.h`; then
echo shar: \"awm/menus/menu.ext.h\" unpacked with wrong size!
fi
# end of overwriting check
fi
if test -f awm/menus/null_icon.h -a "${1}" != "-c" ; then
echo shar: Will not over-write existing file \"awm/menus/null_icon.h\"
else
echo shar: Extracting \"awm/menus/null_icon.h\" \(122 characters\)
sed "s/^X//" >awm/menus/null_icon.h <<'END_OF_awm/menus/null_icon.h'
X#ident "%W% %G%"
X
X#define null_icon_width 1
X#define null_icon_height 1
Xstatic char null_icon_bits[] =
X{
X 0x00
X};
X
X
X
END_OF_awm/menus/null_icon.h
if test 122 -ne `wc -c <awm/menus/null_icon.h`; then
echo shar: \"awm/menus/null_icon.h\" unpacked with wrong size!
fi
# end of overwriting check
fi
if test -f awm/menus/rtlmenu.h -a "${1}" != "-c" ; then
echo shar: Will not over-write existing file \"awm/menus/rtlmenu.h\"
else
echo shar: Extracting \"awm/menus/rtlmenu.h\" \(2087 characters\)
sed "s/^X//" >awm/menus/rtlmenu.h <<'END_OF_awm/menus/rtlmenu.h'
X#ident "%W% %G%"
X
X/*
X#ifndef lint
Xstatic char sccs_id[] = "@(#)rtlmenu.h 2.1 12/16/87 Siemens Corporate Research and Support, Inc.";
X#endif
X*/
X
X
X/*
X RTL Menu Package Version 1.0
X by Joe Camaratta and Mike Berman, Siemens RTL, Princeton NJ, 1987
X
X rtlmenu.h: definitions for rtlmenu user
X*/
X
X#include "X11/copyright.h"
X/*
X *
X * Copyright 1987, 1988 by Ardent Computer Corporation, Sunnyvale, Ca.
X *
X * Copyright 1987 by Jordan Hubbard.
X *
X *
X * All Rights Reserved
X *
X * Permission to use, copy, modify, and distribute this software and its
X * documentation for any purpose and without fee is hereby granted,
X * provided that the above copyright notice appear in all copies and that
X * both that copyright notice and this permission notice appear in
X * supporting documentation, and that the name of Ardent Computer
X * Corporation or Jordan Hubbard not be used in advertising or publicity
X * pertaining to distribution of the software without specific, written
X * prior permission.
X *
X */
X
X/*
X
XCopyright 1987 by
X Siemens Corporate Research and Support, Inc., Princeton, New Jersey
X
XPermission to use, copy, modify, and distribute this software
Xand its documentation for any purpose and without fee is
Xhereby granted, provided that the above copyright notice
Xappear in all copies and that both that copyright notice and
Xthis permission notice appear in supporting documentation, and
Xthat the name of Siemens not be used in advertising or
Xpublicity pertaining to distribution of the software without
Xspecific, written prior permission. Siemens makes no
Xrepresentations about the suitability of this software for any
Xpurpose. It is provided "as is" without express or implied
Xwarranty.
X
X*/
X
X#ifndef STD_DEFS
X#include "std_defs.h"
X#endif
X
Xstruct _RTLPoint
X{
X int x, y;
X};
X
Xtypedef struct _RTLPoint RTLPoint;
Xtypedef pointer RTLMenu;
Xtypedef pointer RTLMenuItem;
X
XRTLMenu RTLMenu_Create();
XRTLMenuItem RTLMenu_Append_Call();
XRTLMenuItem RTLMenu_Append_Checkback();
XRTLMenuItem RTLMenu_Append_Submenu();
X
X#ifndef OPTION_FLAGS
X#include "rtlmnu.opt.h"
X#endif
END_OF_awm/menus/rtlmenu.h
if test 2087 -ne `wc -c <awm/menus/rtlmenu.h`; then
echo shar: \"awm/menus/rtlmenu.h\" unpacked with wrong size!
fi
# end of overwriting check
fi
if test -f awm/menus/rtlmnu.opt.h -a "${1}" != "-c" ; then
echo shar: Will not over-write existing file \"awm/menus/rtlmnu.opt.h\"
else
echo shar: Extracting \"awm/menus/rtlmnu.opt.h\" \(1847 characters\)
sed "s/^X//" >awm/menus/rtlmnu.opt.h <<'END_OF_awm/menus/rtlmnu.opt.h'
X#ident "%W% %G%"
X
X/*
X#ifndef lint
Xstatic char sccs_id[] = "@(#)rtlmenu.options.h 2.1 12/16/87 Siemens Corporate Research and Support, Inc.";
X#endif
X*/
X
X
X/*
X RTL Menu Package Version 1.0
X by Joe Camaratta and Mike Berman, Siemens RTL, Princeton NJ, 1987
X
X rtlmenu.options.h: option flags for rtlmenu user
X*/
X
X/*
X
XCopyright 1987 by
X Siemens Corporate Research and Support, Inc., Princeton, New Jersey
X
XPermission to use, copy, modify, and distribute this software
Xand its documentation for any purpose and without fee is
Xhereby granted, provided that the above copyright notice
Xappear in all copies and that both that copyright notice and
Xthis permission notice appear in supporting documentation, and
Xthat the name of Siemens not be used in advertising or
Xpublicity pertaining to distribution of the software without
Xspecific, written prior permission. Siemens makes no
Xrepresentations about the suitability of this software for any
Xpurpose. It is provided "as is" without express or implied
Xwarranty.
X
X*/
X
X#define OPTION_FLAGS
X
X/* flags for menu operation */
X
Xtypedef unsigned int MenuOptionsMask;
X
X#define clickokay (1L<<0) /* accept click-click as equivalent to press-release */
X#define savebits (1L<<1) /* attempt to save/restore area under menu */
X#define fixedchild (1L<<2) /* pull up child in fixed position relative to parent */
X#define rightoffset (1L<<3) /* when pulling up on right edge, should child be */
X /* offset to left, allowing parent to remain visible */
X#define bigoffset (1L<<4) /* valid only when rightoffset=1. if bigoffset=1, */
X /* offset child far enough to see most of parent; */
X /* else, just far enough to get back to parent. */
X
X#define RTLMenu_Option_Set(mask, option) (mask |= option)
END_OF_awm/menus/rtlmnu.opt.h
if test 1847 -ne `wc -c <awm/menus/rtlmnu.opt.h`; then
echo shar: \"awm/menus/rtlmnu.opt.h\" unpacked with wrong size!
fi
# end of overwriting check
fi
if test -f awm/neaten.def.h -a "${1}" != "-c" ; then
echo shar: Will not over-write existing file \"awm/neaten.def.h\"
else
echo shar: Extracting \"awm/neaten.def.h\" \(1115 characters\)
sed "s/^X//" >awm/neaten.def.h <<'END_OF_awm/neaten.def.h'
X#ident "%W% %G%"
X
X
X
X#ifndef lint
Xstatic char *rcsid_neaten_def_h = "$Header: neaten.def.h,v 1.1 88/06/15 15:26:00 jkh Exp $";
X#endif lint
X
X#include "X11/copyright.h"
X/*
X *
X * Copyright 1987, 1988 by Ardent Computer Corporation, Sunnyvale, Ca.
X *
X * Copyright 1987 by Jordan Hubbard.
X *
X *
X * All Rights Reserved
X *
X * Permission to use, copy, modify, and distribute this software and its
X * documentation for any purpose and without fee is hereby granted,
X * provided that the above copyright notice appear in all copies and that
X * both that copyright notice and this permission notice appear in
X * supporting documentation, and that the name of Ardent Computer
X * Corporation or Jordan Hubbard not be used in advertising or publicity
X * pertaining to distribution of the software without specific, written
X * prior permission.
X *
X */
X
X#define NEATEN_DEFINE
X
Xtypedef enum {
X Place_Closest,
X Place_Top,
X Place_Bottom,
X Place_Left,
X Place_Right,
X Place_Center
X} Placement;
X
X#define NEATEN_TRUE 1
X#define NEATEN_FALSE 0
X
X#define MAX_PRIORITY 100
X#define MIN_PRIORITY -100
END_OF_awm/neaten.def.h
if test 1115 -ne `wc -c <awm/neaten.def.h`; then
echo shar: \"awm/neaten.def.h\" unpacked with wrong size!
fi
# end of overwriting check
fi
if test -f awm/neaten.ext.h -a "${1}" != "-c" ; then
echo shar: Will not over-write existing file \"awm/neaten.ext.h\"
else
echo shar: Extracting \"awm/neaten.ext.h\" \(1275 characters\)
sed "s/^X//" >awm/neaten.ext.h <<'END_OF_awm/neaten.ext.h'
X#ident "%W% %G%"
X
X
X
X#ifndef lint
Xstatic char *rcsid_neaten_ext_h = "$Header: neaten.ext.h,v 1.1 88/06/15 15:26:00 jkh Exp $";
X#endif lint
X
X#include "X11/copyright.h"
X/*
X *
X * Copyright 1987, 1988 by Ardent Computer Corporation, Sunnyvale, Ca.
X *
X * Copyright 1987 by Jordan Hubbard.
X *
X *
X * All Rights Reserved
X *
X * Permission to use, copy, modify, and distribute this software and its
X * documentation for any purpose and without fee is hereby granted,
X * provided that the above copyright notice appear in all copies and that
X * both that copyright notice and this permission notice appear in
X * supporting documentation, and that the name of Ardent Computer
X * Corporation or Jordan Hubbard not be used in advertising or publicity
X * pertaining to distribution of the software without specific, written
X * prior permission.
X *
X */
X
X#ifndef NEATEN_DEFINE
X#include "neaten.def.h"
X#endif
X
Xextern void Neaten_Desktop();
Xextern void Neaten_Initialize();
Xextern void Neaten_Icon_Placement();
Xextern void Neaten_Identify();
Xextern int Neaten_Set_Desired();
Xextern int Neaten_Set_Min();
Xextern int Neaten_Set_Max();
Xextern void Neaten_Prorate();
Xextern int Neaten_Get_Geometry();
Xextern void Neaten_Set_Priorities();
Xextern void Neaten_Set_Options();
END_OF_awm/neaten.ext.h
if test 1275 -ne `wc -c <awm/neaten.ext.h`; then
echo shar: \"awm/neaten.ext.h\" unpacked with wrong size!
fi
# end of overwriting check
fi
if test -f awm/support.c -a "${1}" != "-c" ; then
echo shar: Will not over-write existing file \"awm/support.c\"
else
echo shar: Extracting \"awm/support.c\" \(2010 characters\)
sed "s/^X//" >awm/support.c <<'END_OF_awm/support.c'
X#ident "%W% %G%"
X
X
X
X#ifndef lint
Xstatic char *rcsid_support_c = "$Header: support.c,v 1.1 88/06/15 15:26:00 jkh Exp $";
X#endif lint
X
X#include "X11/copyright.h"
X/*
X *
X * Copyright 1987, 1988 by Ardent Computer Corporation, Sunnyvale, Ca.
X *
X * Copyright 1987 by Jordan Hubbard.
X *
X *
X * All Rights Reserved
X *
X * Permission to use, copy, modify, and distribute this software and its
X * documentation for any purpose and without fee is hereby granted,
X * provided that the above copyright notice appear in all copies and that
X * both that copyright notice and this permission notice appear in
X * supporting documentation, and that the name of Ardent Computer
X * Corporation or Jordan Hubbard not be used in advertising or publicity
X * pertaining to distribution of the software without specific, written
X * prior permission.
X *
X */
X
X#include "support.h"
X#include <stdio.h>
X
X int _rtn_level;
Xint _rtn_trace;
X
Xstatic struct func_stack {
X char *rtn_name;
X struct func_stack *next;
X} *Head;
X
Xchar *curr_rtn()
X{
X if (!Head)
X return((char *)0);
X else
X return(Head->rtn_name);
X}
X
Xvoid push_rtn(s)
Xregister char *s;
X{
X if (!Head) {
X Head = (struct func_stack *)malloc(sizeof(struct func_stack));
X if (!Head) {
X fprintf(stderr, "Couldn't malloc new func_stack entry!\n");
X exit(1);
X }
X Head->rtn_name = s;
X Head->next = 0;
X }
X else {
X struct func_stack *ptr;
X
X ptr = (struct func_stack *)malloc(sizeof(struct func_stack));
X if (!ptr) {
X fprintf(stderr, "Couldn't malloc new func_stack entry!\n");
X exit(1);
X }
X ptr->rtn_name = s;
X ptr->next = Head;
X Head = ptr;
X }
X _rtn_level++;
X if (_rtn_trace) {
X int i;
X
X for (i = 0; i < _rtn_level; i++)
X putchar('\t');
X printf("%s(%d)\n", Head->rtn_name, _rtn_level);
X }
X}
X
Xvoid pop_rtn()
X{
X struct func_stack *ptr;
X
X if (!Head)
X return;
X ptr = Head;
X Head = Head->next;
X free(ptr);
X _rtn_level--;
X}
END_OF_awm/support.c
if test 2010 -ne `wc -c <awm/support.c`; then
echo shar: \"awm/support.c\" unpacked with wrong size!
fi
# end of overwriting check
fi
if test -f awm/support.h -a "${1}" != "-c" ; then
echo shar: Will not over-write existing file \"awm/support.h\"
else
echo shar: Extracting \"awm/support.h\" \(1755 characters\)
sed "s/^X//" >awm/support.h <<'END_OF_awm/support.h'
X#ident "%W% %G%"
X
X#ifndef lint
Xstatic char *rcsid_support_h = "$Header: support.h,v 1.2 88/07/23 17:26:00 jkh Exp $";
X#endif lint
X
X#include "X11/copyright.h"
X/*
X *
X * Copyright 1987, 1988 by Ardent Computer Corporation, Sunnyvale, Ca.
X *
X * Copyright 1987 by Jordan Hubbard.
X *
X *
X * All Rights Reserved
X *
X * Permission to use, copy, modify, and distribute this software and its
X * documentation for any purpose and without fee is hereby granted,
X * provided that the above copyright notice appear in all copies and that
X * both that copyright notice and this permission notice appear in
X * supporting documentation, and that the name of Ardent Computer
X * Corporation or Jordan Hubbard not be used in advertising or publicity
X * pertaining to distribution of the software without specific, written
X * prior permission.
X *
X */
X
X#undef STACK_RTNAMES
X#undef TRACE
X
X#ifdef TRACE
X#define Entry(woo) { printf("Pushing to %s\n", woo); push_rtn(woo); }
X#define Leave(woo) { printf("Pop from %s with %x\n", curr_rtn(), woo); pop_rtn(); return(woo); }
X#define Leave_void { printf("Pop from %s (void)\n", curr_rtn()); pop_rtn(); return; }
X#define Trace_on _rtn_trace = 1;
X#define Trace_off _rtn_trace = 0;
Xextern char *curr_rtn();
Xextern int _rtn_level;
Xextern int _rtn_trace;
X#else
X#ifdef SAVERTNAME
X#define Entry(woo) push_rtn(woo);
X#define Leave(woo) { pop_rtn(); return(woo); }
X#define Leave_void { pop_rtn(); return; }
X#define Trace_on _rtn_trace = 1;
X#define Trace_off _rtn_trace = 0;
Xextern char *curr_rtn();
Xextern int _rtn_level;
Xextern int _rtn_trace;
X#else
X#define Entry(s)
X#define Leave(s) return(s);
X#define Leave_void return;
X#define Trace_on
X#define Trace_off
X#define Curr_rtn()
X#endif /* SAVERTNAME */
X#endif /* TRACE */
END_OF_awm/support.h
if test 1755 -ne `wc -c <awm/support.h`; then
echo shar: \"awm/support.h\" unpacked with wrong size!
fi
# end of overwriting check
fi
if test -f awm/system.awmrc -a "${1}" != "-c" ; then
echo shar: Will not over-write existing file \"awm/system.awmrc\"
else
echo shar: Extracting \"awm/system.awmrc\" \(1960 characters\)
sed "s/^X//" >awm/system.awmrc <<'END_OF_awm/system.awmrc'
X# $Source $
X# $Author $
X# $Header $
X# Copyright (c) 1987 by the Massachusetts Institute of Technology.
X#
X# This is a startup file for uwm that produces an xwm lookalike,
X# but adds two useful menus. It is patterned on the public
X# distribution ../lib/X/uwm/jg.uwmrc file by Jim Gettys.
X#
Xresetbindings
Xresetmenus
Xresetgadgets
X
X# FUNCTION KEYS CONTEXT MOUSE BUTTON ACTIONS
Xf.newiconify= meta :window|icon: delta left
Xf.raise= meta :window|icon: delta left
Xf.lower= meta :window|icon: left up
Xf.raise= meta :window: middle down
Xf.resize= meta :window: delta middle
Xf.iconify= meta :icon: middle up
Xf.raise= meta :window|icon: right down
Xf.move= meta :window|icon: delta right
Xf.circledown= meta :root: left down
Xf.circleup= meta :root: right down
Xf.circledown= m|s :: left down
Xf.menu= :root: middle down : "WindowOps"
Xf.menu= m|s :: middle down : "WindowOps"
Xf.menu= m|s :root: left down : "Preferences"
Xf.menu= m|s :: left down : "Preferences"
Xf.circleup= m|s :: right down
Xf.iconify= m|c :window|icon: left down
Xf.newiconify= m|l :window|icon: left down
Xf.raise= m|l :window|icon: left up
Xf.pushright= m|l :window|icon: right down
Xf.pushleft= m|c :window|icon: right down
Xf.pushup= m|l :window|icon: middle down
Xf.pushdown= m|c :window|icon: middle down
X
Xmenu = "Preferences" {
XBell Loud: !"xset b 7&"
XBell Normal: !"xset b 3&"
XBell Off: !"xset b off&"
XClick Loud: !"xset c 8&"
XClick Soft: !"xset c on&"
XClick Off: !"xset c off&"
XLock On: !"xset l on&"
XLock Off: !"xset l off&"
XMouse Fast: !"xset m 4 2&"
XMouse Normal: !"xset m 2 5&"
XMouse Slow: !"xset m 1 1&"
X}
X
Xmenu = "WindowOps" {
XPreferences: f.menu: "Preferences"
XNew Window: !"xterm&"
XRefreshScreen: f.refresh
XRedraw: f.redraw
XMove: f.move
XResize: f.resize
XLower: f.lower
XRaise: f.raise
XCircUp: f.circleup
XCircDown: f.circledown
XAutoIconify: f.iconify
XLowerIconify: f.newiconify
XNewIconify: f.newiconify
XFocus: f.focus
XFreeze: f.pause
XUnFreeze: f.continue
XRestart: f.restart
X}
END_OF_awm/system.awmrc
if test 1960 -ne `wc -c <awm/system.awmrc`; then
echo shar: \"awm/system.awmrc\" unpacked with wrong size!
fi
# end of overwriting check
fi
if test -f awm/twm.Xdefaults -a "${1}" != "-c" ; then
echo shar: Will not over-write existing file \"awm/twm.Xdefaults\"
else
echo shar: Extracting \"awm/twm.Xdefaults\" \(613 characters\)
sed "s/^X//" >awm/twm.Xdefaults <<'END_OF_awm/twm.Xdefaults'
Xawm.icon.font: vtsingle
Xawm.icon.pixmap: blank.bm
Xawm.popup.font: fg-22
Xawm.windowName.offset: 16
Xawm.title.height: 16
Xawm.title.font: vtsingle
Xawm.title.boldFont: vtsingle
Xawm.title.boldPixmap: twm.hilite.bm
Xawm.title.push: false
Xawm.path: /usr/src/X.V11R2/clients/awm/bitmaps
Xawm.delta: 3
Xawm.freeze: on
Xawm.grid: on
Xawm.zap: off
Xawm.autoraise: off
Xawm.hilite: on
Xawm.titles: on
Xawm.gadgets: on
Xawm.wall: off
Xawm.warpOnRaise: off
Xawm.warpOnDeIconify: off
Xawm.warpOnIconify: off
Xawm.frameFocus: on
Xawm.rootResizeBox: on
Xawm.border.hilite: off
Xawm.gadget.border: 0
Xawm.icon.hPad: 2
Xawm.icon.vPad: 5
Xawm.volume: 4
END_OF_awm/twm.Xdefaults
if test 613 -ne `wc -c <awm/twm.Xdefaults`; then
echo shar: \"awm/twm.Xdefaults\" unpacked with wrong size!
fi
# end of overwriting check
fi
if test -f awm/twm.awmrc -a "${1}" != "-c" ; then
echo shar: Will not over-write existing file \"awm/twm.awmrc\"
else
echo shar: Extracting \"awm/twm.awmrc\" \(1378 characters\)
sed "s/^X//" >awm/twm.awmrc <<'END_OF_awm/twm.awmrc'
X# $Source $
X# $Author $
X# $Header $
X#
X# This is a startup file for awm that produces a twm (using defaults)
X# lookalike (sort of) at the top level. Some semantics of resize and the icon
X# appearances are incompatable but will change in the near future.
X# The major difference in appearance you'll notice is the "bold"
X# appearance of the window. This is due to the fact that I use the "bold"
X# pixmap to tile the title window, I don't draw it on. I have to do this
X# since, unlike twm, any arbitrary number of gadgets (of any arbitrary size)
X# might be defined and it would be far too much trouble to try and draw
X# a tile in between all/some of them.
X#
X# Don't forget that you need to use twm.Xdefaults as well as this file.
X#
X
Xresetbindings
Xresetmenus
Xresetgadgets
X
Xgadget[0] = (twm.iconify.bm) ^ 1 | LeftGravity
Xgadget[1] = (twm.resize.bm) ^ 1 | RightGravity
Xgadget[2] = (twm.focus.bm) ^ 2 | RightGravity
X
X# FUNCTION KEYS CONTEXT MOUSE BUTTON ACTIONS
Xf.move= :title|icon: middle motion
Xf.raise= :title: left down
Xf.raise= :title: left up
Xf.lower= :title: right down
Xf.iconify= :g[0]: left down
Xf.iconify= :g[0]: middle down
Xf.iconify= :g[0]: right down
Xf.iconify= :icon: left down
Xf.resize= :g[1]: left down
Xf.resize= :g[1]: middle down
Xf.resize= :g[1]: right down
Xf.focus= :g[2]: left down
Xf.focus= :g[2]: middle down
Xf.focus= :g[2]: right down
END_OF_awm/twm.awmrc
if test 1378 -ne `wc -c <awm/twm.awmrc`; then
echo shar: \"awm/twm.awmrc\" unpacked with wrong size!
fi
# end of overwriting check
fi
echo shar: End of archive 1 \(of 13\).
cp /dev/null ark1isdone
MISSING=""
for I in 1 2 3 4 5 6 7 8 9 10 11 12 13 ; do
if test ! -f ark${I}isdone ; then
MISSING="${MISSING} ${I}"
fi
done
if test "${MISSING}" = "" ; then
echo You have unpacked all 13 archives.
rm -f ark[1-9]isdone ark[1-9][0-9]isdone
else
echo You still need to unpack the following archives:
echo " " ${MISSING}
fi
## End of shell archive.
exit 0
Mike Wexler(wyse!mikew) Phone: (408)433-1000 x1330
More information about the Comp.sources.x
mailing list