v05i051: Xrooms -- A Rooms implementation for X, Part01/14
Kent Landfield
kent at ssbell.IMD.Sterling.COM
Mon Jan 15 17:03:55 AEST 1990
Submitted-by: wsl.dec.com!mikey (Mike Yang)
Posting-number: Volume 5, Issue 51
Archive-name: xrooms/part01
Xrooms is an implementation of rooms for X. It organizes
windows into related groups, called rooms. A room typi-
cally contains all of the windows relating to a particular
task or context; reading mail or developing a particular
application, for example. Xrooms manages the position and
state of the windows in each room, and makes it easy for
users to switch from room to room.
Xrooms is not a window manager; it cooperates with ICCCM
compliant window managers, iconfying, de-iconifying, and
reconfiguring windows whenever the user switches rooms.
Because they do not recognize the standard mechanisms for
changing windows, Xrooms may not work with some older, non-
ICCCM compliant window managers, Xrooms accepts a number of
options to use some common but non-standard methods for
reconfiguring windows, and can be made to work with any win-
dow manager that allows clients to reconfigure, iconify, and
de-iconify themselves. Xrset is an application that you
can use from another shell, a shell-script, or a window
manager menu to modify your rooms and applications.
the xrooms team: xrooms at wsl.dec.com
decwrl!xrooms
Erik Fortune
Terry Weissman
Mike Yang
DEC Western Software Lab
#! /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 14)."
# Contents: . ./Imakefile ./README ./doc ./lib ./lib/Imakefile
# ./lib/appstr.h ./lib/ashash.c ./lib/ashash.h ./lib/nameprof.h
# ./lib/profilestr.h ./lib/scanstr.h ./patchlevel.h ./utils
# ./utils/Imakefile ./utils/hashstr.h ./utils/liststr.h
# ./utils/regex.h ./utils/rooms.defs ./utils/strtbl.h
# ./utils/strtblstr.h ./wallpaper ./wallpaper/Imakefile
# ./wallpaper/Makefile ./wallpaper/README ./xrooms ./xrooms/.dbxinit
# ./xrooms/Imakefile ./xrooms/xrActions.h ./xrooms/xrDebug.h
# ./xrooms/xrNames.h ./xrooms/xrProfile.h ./xrooms/xrProto.h
# ./xrooms/xrProtoArgs.h ./xrooms/xrRoom.h ./xrooms/xrUI.h
# ./xrooms/xrXUtils.h ./xrooms/xrooms.h ./xrset ./xrset/.dbxinit
# ./xrset/Imakefile ./xrset/README ./xrset/xrReq.h
# Wrapped by kent at ssbell on Sun Jan 14 21:57:24 1990
PATH=/bin:/usr/bin:/usr/ucb ; export PATH
if test -f './Imakefile' -a "${1}" != "-c" ; then
echo shar: Will not clobber existing file \"'./Imakefile'\"
else
echo shar: Extracting \"'./Imakefile'\" \(458 characters\)
sed "s/^X//" >'./Imakefile' <<'END_OF_FILE'
X
X#define IHaveSubdirs
X#define PassCDebugFlags 'CDEBUGFLAGS=$(CDEBUGFLAGS)' 'UTIL_DEFINES=$(UTIL_DEFINES)'
X
X#include "utils/rooms.defs"
X
X#
X# Make file for font libraries
X#
X SUBDIRS = utils lib xrooms xrset
X
X#if RoomsDebugged
X CDEBUGFLAGS = -g
X#endif
X#if RoomsInstrumented
X UTIL_DEFINES = RoomsUtilDefines
X#endif
X
XMakeSubdirs($(SUBDIRS))
XDependSubdirs($(SUBDIRS))
XMakeLintLibSubdirs($(SUBDIRS))
XMakeLintSubdirs($(SUBDIRS),install.ln,install.ln)
END_OF_FILE
if test 458 -ne `wc -c <'./Imakefile'`; then
echo shar: \"'./Imakefile'\" unpacked with wrong size!
fi
# end of './Imakefile'
fi
if test -f './README' -a "${1}" != "-c" ; then
echo shar: Will not clobber existing file \"'./README'\"
else
echo shar: Extracting \"'./README'\" \(1523 characters\)
sed "s/^X//" >'./README' <<'END_OF_FILE'
XXrooms is an implementation of rooms for X. It organizes windows into
Xrelated groups, called "rooms." A room typicaly contains all the
Xwindows relating to a particular task or context; reading mail or
Xdeveloping a particular application, for example. Xrooms manages the
Xposition and state of the windows in each room, and makes it easy for
Xusers to switch from room to room.
X
XXrooms began two months ago, when we had an informal discussion of
Xwhether rooms could be implemented for X, and what changes would be
Xnecessary. Soon after this discussion, a quick prototype of xrooms
Xwas written. Since then, several people have made intermittent
Xcontributions to xrooms in their spare time, bringing it to its
Xcurrent form.
X
XXrooms should run under any ICCCM-compliant window manager, and has
Xbeen tested with mwm, gwm, and R4 twm. Additionally, xrooms works
X(though possibly, not as well) with dxwm (using the -dxwm switch) and
Xhpwm. Xrooms is shipped to be made with X11R4. If you're using
XX11R3, remove "#define X11R4 YES" from utils/rooms.defs if you're
Xusing imake, or remove VERSIONLIBS and VERSIONDEFS from
Xxrooms/Makefile.
X
XXrooms is far from being a polished utility. For instance, it has
Xbeen tested only under UWS 2.2 running on DEC machines Its user
Xinterface is also somewhat lacking, but provides enough to get by. We
Xwelcome your contributions and comments.
X
X
X the xrooms team: xrooms at wsl.dec.com
X decwrl!xrooms
X
X Erik Fortune
X Terry Weissman
X Mike Yang
X
X DEC Western Software Lab
X
END_OF_FILE
if test 1523 -ne `wc -c <'./README'`; then
echo shar: \"'./README'\" unpacked with wrong size!
fi
# end of './README'
fi
if test ! -d './doc' ; then
echo shar: Creating directory \"'./doc'\"
mkdir './doc'
fi
if test ! -d './lib' ; then
echo shar: Creating directory \"'./lib'\"
mkdir './lib'
fi
if test -f './lib/Imakefile' -a "${1}" != "-c" ; then
echo shar: Will not clobber existing file \"'./lib/Imakefile'\"
else
echo shar: Extracting \"'./lib/Imakefile'\" \(639 characters\)
sed "s/^X//" >'./lib/Imakefile' <<'END_OF_FILE'
X#include "../utils/rooms.defs"
X
X LIBSRCS = appstate.c ashash.c app.c room.c profscan.c names.c
X LIBOBJS = appstate.o ashash.o app.o room.o profscan.o names.o
X APPSRCS = apps.c rooms.c nameprof.c profile.c profparser.y
X APPOBJS = apps.o rooms.o nameprof.o profile.o profparser.o
X SRCS = $(LIBSRCS) $(APPSRCS)
X OBJS = $(LIBOBJS) $(APPOBJS)
X INCLUDES = -I../utils -I.
X#if RoomsDebugged
X CDEBUGFLAGS = -g
X#endif
X#if RoomsInstrumented
X UTIL_DEFINES = RoomsUtilDefines
X#endif
X DEFINES = $(STD_DEFINES) $(UTIL_DEFINES)
X
XNormalLibraryTarget(rooms,$(OBJS))
XDependTarget()
END_OF_FILE
if test 639 -ne `wc -c <'./lib/Imakefile'`; then
echo shar: \"'./lib/Imakefile'\" unpacked with wrong size!
fi
# end of './lib/Imakefile'
fi
if test -f './lib/appstr.h' -a "${1}" != "-c" ; then
echo shar: Will not clobber existing file \"'./lib/appstr.h'\"
else
echo shar: Extracting \"'./lib/appstr.h'\" \(1564 characters\)
sed "s/^X//" >'./lib/appstr.h' <<'END_OF_FILE'
X#ifndef APPSTR_H
X#define APPSTR_H 1
X
X /*\
X * $Header: appstr.h,v 5.0 90/01/10 06:53:21 erik Exp $
X *
X * COPYRIGHT 1990
X * DIGITAL EQUIPMENT CORPORATION
X * MAYNARD, MASSACHUSETTS
X * ALL RIGHTS RESERVED.
X *
X * THE INFORMATION IN THIS SOFTWARE IS SUBJECT TO CHANGE WITHOUT NOTICE AND
X * SHOULD NOT BE CONSTRUED AS A COMMITMENT BY DIGITAL EQUIPMENT CORPORATION.
X * DIGITAL MAKES NO REPRESENTATIONS ABOUT THE SUITABILITY OF THIS SOFTWARE
X * FOR ANY PURPOSE. IT IS SUPPLIED "AS IS" WITHOUT EXPRESS OR IMPLIED
X * WARRANTY.
X *
X * IF THE SOFTWARE IS MODIFIED IN A MANNER CREATING DERIVATIVE COPYRIGHT
X * RIGHTS, APPROPRIATE LEGENDS MAY BE PLACED ON THE DERIVATIVE WORK IN
X * ADDITION TO THAT SET FORTH ABOVE.
X *
X * Permission to use, copy, modify, and distribute this software and its
X * documentation for any purpose and without fee is hereby granted, provided
X * that the above copyright notice appear in all copies and that both that
X * copyright notice and this permission notice appear in supporting
X * documentation, and that the name of Digital Equipment Corporation not be
X * used in advertising or publicity pertaining to distribution of the
X * software without specific, written prior permission.
X \*/
X
X#include "list.h"
X#include "app.h"
X
Xtypedef struct _AppRec {
X StringToken name;
X AppStatePtr pRealState;
X AppStatePtr pDfltState;
X ListPtr roomStates;
X
X Boolean permanent;
X Opaque outputPriv;
X AppUpdateFunc updateFunc;
X} AppRec;
X
X#endif /* APPSTR_H */
END_OF_FILE
if test 1564 -ne `wc -c <'./lib/appstr.h'`; then
echo shar: \"'./lib/appstr.h'\" unpacked with wrong size!
fi
# end of './lib/appstr.h'
fi
if test -f './lib/ashash.c' -a "${1}" != "-c" ; then
echo shar: Will not clobber existing file \"'./lib/ashash.c'\"
else
echo shar: Extracting \"'./lib/ashash.c'\" \(2081 characters\)
sed "s/^X//" >'./lib/ashash.c' <<'END_OF_FILE'
X
X /*\
X * $Header: ashash.c,v 5.0 90/01/10 06:53:24 erik Exp $
X *
X * COPYRIGHT 1990
X * DIGITAL EQUIPMENT CORPORATION
X * MAYNARD, MASSACHUSETTS
X * ALL RIGHTS RESERVED.
X *
X * THE INFORMATION IN THIS SOFTWARE IS SUBJECT TO CHANGE WITHOUT NOTICE AND
X * SHOULD NOT BE CONSTRUED AS A COMMITMENT BY DIGITAL EQUIPMENT CORPORATION.
X * DIGITAL MAKES NO REPRESENTATIONS ABOUT THE SUITABILITY OF THIS SOFTWARE
X * FOR ANY PURPOSE. IT IS SUPPLIED "AS IS" WITHOUT EXPRESS OR IMPLIED
X * WARRANTY.
X *
X * IF THE SOFTWARE IS MODIFIED IN A MANNER CREATING DERIVATIVE COPYRIGHT
X * RIGHTS, APPROPRIATE LEGENDS MAY BE PLACED ON THE DERIVATIVE WORK IN
X * ADDITION TO THAT SET FORTH ABOVE.
X *
X * Permission to use, copy, modify, and distribute this software and its
X * documentation for any purpose and without fee is hereby granted, provided
X * that the above copyright notice appear in all copies and that both that
X * copyright notice and this permission notice appear in supporting
X * documentation, and that the name of Digital Equipment Corporation not be
X * used in advertising or publicity pertaining to distribution of the
X * software without specific, written prior permission.
X \*/
X
X#define DEBUG_VAR asHashDebug
X#include "utils.h"
X#include "storagestr.h"
X#include "ashash.h"
X#include "appstate.h"
X
X/***====================================================================***/
X
Xstatic GenData
XasGenDataReplace( pNew, ppOld)
XAppStatePtr pNew;
XAppStatePtr *ppOld;
X{
X uENTRY3("asGenDataReplace(%s,0x%x(%s))\n",asText(pNew),ppOld,
X asText((ppOld?*ppOld:NullAppState)));
X if ((ppOld)&&(*ppOld)) {
X (void)asDestroy(*ppOld);
X *ppOld= NULL;
X }
X uRETURN((GenData)pNew);
X}
X
X/***====================================================================***/
X
Xstatic GenDataDescRec asGenDataTypeRec = {
X (StoreDataFunc)NULL,
X (ReplaceDataFunc)asGenDataReplace,
X (RemoveDataFunc)asDestroy,
X (GenData)NULL,
X};
X
XGenDataDescPtr asGenDataType= &asGenDataTypeRec;
X
END_OF_FILE
if test 2081 -ne `wc -c <'./lib/ashash.c'`; then
echo shar: \"'./lib/ashash.c'\" unpacked with wrong size!
fi
# end of './lib/ashash.c'
fi
if test -f './lib/ashash.h' -a "${1}" != "-c" ; then
echo shar: Will not clobber existing file \"'./lib/ashash.h'\"
else
echo shar: Extracting \"'./lib/ashash.h'\" \(1410 characters\)
sed "s/^X//" >'./lib/ashash.h' <<'END_OF_FILE'
X#ifndef ASHASH_H
X#define ASHASH_H 1
X
X /*\
X * $Header: ashash.h,v 5.0 90/01/10 06:53:27 erik Exp $
X *
X * COPYRIGHT 1990
X * DIGITAL EQUIPMENT CORPORATION
X * MAYNARD, MASSACHUSETTS
X * ALL RIGHTS RESERVED.
X *
X * THE INFORMATION IN THIS SOFTWARE IS SUBJECT TO CHANGE WITHOUT NOTICE AND
X * SHOULD NOT BE CONSTRUED AS A COMMITMENT BY DIGITAL EQUIPMENT CORPORATION.
X * DIGITAL MAKES NO REPRESENTATIONS ABOUT THE SUITABILITY OF THIS SOFTWARE
X * FOR ANY PURPOSE. IT IS SUPPLIED "AS IS" WITHOUT EXPRESS OR IMPLIED
X * WARRANTY.
X *
X * IF THE SOFTWARE IS MODIFIED IN A MANNER CREATING DERIVATIVE COPYRIGHT
X * RIGHTS, APPROPRIATE LEGENDS MAY BE PLACED ON THE DERIVATIVE WORK IN
X * ADDITION TO THAT SET FORTH ABOVE.
X *
X * Permission to use, copy, modify, and distribute this software and its
X * documentation for any purpose and without fee is hereby granted, provided
X * that the above copyright notice appear in all copies and that both that
X * copyright notice and this permission notice appear in supporting
X * documentation, and that the name of Digital Equipment Corporation not be
X * used in advertising or publicity pertaining to distribution of the
X * software without specific, written prior permission.
X \*/
X
X#include "hash.h"
X
Xextern unsigned asHashDebug;
X
Xextern GenDataDescPtr asGenDataType;
X
X#endif /* ASHASH_H */
END_OF_FILE
if test 1410 -ne `wc -c <'./lib/ashash.h'`; then
echo shar: \"'./lib/ashash.h'\" unpacked with wrong size!
fi
# end of './lib/ashash.h'
fi
if test -f './lib/nameprof.h' -a "${1}" != "-c" ; then
echo shar: Will not clobber existing file \"'./lib/nameprof.h'\"
else
echo shar: Extracting \"'./lib/nameprof.h'\" \(1731 characters\)
sed "s/^X//" >'./lib/nameprof.h' <<'END_OF_FILE'
X#ifndef NAMEPROF_H
X#define NAMEPROF_H 1
X
X /*\
X * $Header: nameprof.h,v 5.0 90/01/10 06:53:33 erik Exp $
X *
X * COPYRIGHT 1990
X * DIGITAL EQUIPMENT CORPORATION
X * MAYNARD, MASSACHUSETTS
X * ALL RIGHTS RESERVED.
X *
X * THE INFORMATION IN THIS SOFTWARE IS SUBJECT TO CHANGE WITHOUT NOTICE AND
X * SHOULD NOT BE CONSTRUED AS A COMMITMENT BY DIGITAL EQUIPMENT CORPORATION.
X * DIGITAL MAKES NO REPRESENTATIONS ABOUT THE SUITABILITY OF THIS SOFTWARE
X * FOR ANY PURPOSE. IT IS SUPPLIED "AS IS" WITHOUT EXPRESS OR IMPLIED
X * WARRANTY.
X *
X * IF THE SOFTWARE IS MODIFIED IN A MANNER CREATING DERIVATIVE COPYRIGHT
X * RIGHTS, APPROPRIATE LEGENDS MAY BE PLACED ON THE DERIVATIVE WORK IN
X * ADDITION TO THAT SET FORTH ABOVE.
X *
X * Permission to use, copy, modify, and distribute this software and its
X * documentation for any purpose and without fee is hereby granted, provided
X * that the above copyright notice appear in all copies and that both that
X * copyright notice and this permission notice appear in supporting
X * documentation, and that the name of Digital Equipment Corporation not be
X * used in advertising or publicity pertaining to distribution of the
X * software without specific, written prior permission.
X \*/
X
X#include "names.h"
X
Xextern unsigned nameprofDebug;
Xextern StringToken nprDefaultName;
X
Xextern void nprSetResolver(/*pFunc*/);
Xextern void nprSetChanger(/*pFunc*/);
X
Xextern Boolean nprGetName(/*funcName,osPriv,ppName,ppClass*/);
X
Xextern Boolean nprAddFunction(/*name, pStmt, merge*/);
Xextern NPStatementPtr nprRemoveFunction(/*name, destroy*/);
Xextern NPStatementPtr nprLookupFunction(/*name*/);
X
X#endif /* NAMEPROF_H */
END_OF_FILE
if test 1731 -ne `wc -c <'./lib/nameprof.h'`; then
echo shar: \"'./lib/nameprof.h'\" unpacked with wrong size!
fi
# end of './lib/nameprof.h'
fi
if test -f './lib/profilestr.h' -a "${1}" != "-c" ; then
echo shar: Will not clobber existing file \"'./lib/profilestr.h'\"
else
echo shar: Extracting \"'./lib/profilestr.h'\" \(1687 characters\)
sed "s/^X//" >'./lib/profilestr.h' <<'END_OF_FILE'
X#ifndef PROFILESTR_H
X#define PROFILESTR_H 1
X
X /*\
X * $Header: profilestr.h,v 5.0 90/01/10 06:53:57 erik Exp $
X *
X * COPYRIGHT 1990
X * DIGITAL EQUIPMENT CORPORATION
X * MAYNARD, MASSACHUSETTS
X * ALL RIGHTS RESERVED.
X *
X * THE INFORMATION IN THIS SOFTWARE IS SUBJECT TO CHANGE WITHOUT NOTICE AND
X * SHOULD NOT BE CONSTRUED AS A COMMITMENT BY DIGITAL EQUIPMENT CORPORATION.
X * DIGITAL MAKES NO REPRESENTATIONS ABOUT THE SUITABILITY OF THIS SOFTWARE
X * FOR ANY PURPOSE. IT IS SUPPLIED "AS IS" WITHOUT EXPRESS OR IMPLIED
X * WARRANTY.
X *
X * IF THE SOFTWARE IS MODIFIED IN A MANNER CREATING DERIVATIVE COPYRIGHT
X * RIGHTS, APPROPRIATE LEGENDS MAY BE PLACED ON THE DERIVATIVE WORK IN
X * ADDITION TO THAT SET FORTH ABOVE.
X *
X * Permission to use, copy, modify, and distribute this software and its
X * documentation for any purpose and without fee is hereby granted, provided
X * that the above copyright notice appear in all copies and that both that
X * copyright notice and this permission notice appear in supporting
X * documentation, and that the name of Digital Equipment Corporation not be
X * used in advertising or publicity pertaining to distribution of the
X * software without specific, written prior permission.
X \*/
X
X#include "strtbl.h"
X#include "profile.h"
X
Xtypedef struct _ProfileRec {
X StringToken name;
X CommentPtr pComments;
X} ProfileRec,*ProfilePtr;
X#define NullProfile ((ProfilePtr)NULL)
X
Xtypedef struct _ProfilesRec {
X unsigned sizeProfiles;
X unsigned nProfiles;
X ProfilePtr pProfiles;
X} ProfilesRec,*ProfilesPtr;
X#define NullProfiles ((ProfilesPtr)NULL)
X
X#endif /* PROFILESTR_H */
END_OF_FILE
if test 1687 -ne `wc -c <'./lib/profilestr.h'`; then
echo shar: \"'./lib/profilestr.h'\" unpacked with wrong size!
fi
# end of './lib/profilestr.h'
fi
if test -f './lib/scanstr.h' -a "${1}" != "-c" ; then
echo shar: Will not clobber existing file \"'./lib/scanstr.h'\"
else
echo shar: Extracting \"'./lib/scanstr.h'\" \(1609 characters\)
sed "s/^X//" >'./lib/scanstr.h' <<'END_OF_FILE'
X#ifndef SCANSTR_H
X#define SCANSTR_H 1
X
X /*\
X * $Header: scanstr.h,v 5.0 90/01/10 06:54:34 erik Exp $
X *
X * COPYRIGHT 1990
X * DIGITAL EQUIPMENT CORPORATION
X * MAYNARD, MASSACHUSETTS
X * ALL RIGHTS RESERVED.
X *
X * THE INFORMATION IN THIS SOFTWARE IS SUBJECT TO CHANGE WITHOUT NOTICE AND
X * SHOULD NOT BE CONSTRUED AS A COMMITMENT BY DIGITAL EQUIPMENT CORPORATION.
X * DIGITAL MAKES NO REPRESENTATIONS ABOUT THE SUITABILITY OF THIS SOFTWARE
X * FOR ANY PURPOSE. IT IS SUPPLIED "AS IS" WITHOUT EXPRESS OR IMPLIED
X * WARRANTY.
X *
X * IF THE SOFTWARE IS MODIFIED IN A MANNER CREATING DERIVATIVE COPYRIGHT
X * RIGHTS, APPROPRIATE LEGENDS MAY BE PLACED ON THE DERIVATIVE WORK IN
X * ADDITION TO THAT SET FORTH ABOVE.
X *
X * Permission to use, copy, modify, and distribute this software and its
X * documentation for any purpose and without fee is hereby granted, provided
X * that the above copyright notice appear in all copies and that both that
X * copyright notice and this permission notice appear in supporting
X * documentation, and that the name of Digital Equipment Corporation not be
X * used in advertising or publicity pertaining to distribution of the
X * software without specific, written prior permission.
X \*/
X
X#include "profscan.h"
X
Xtypedef struct _ScannableRec {
X unsigned flags;
X int lineNum;
X Boolean lookingAhead;
X int token;
X char *string;
X AppStatePtr pState;
X union _ScanSource {
X char *string;
X FILE *file;
X } stream;
X} ScannableRec;
X
X#define SCANNER_STRING_LEN 256
X
X#endif /* SCANSTR_H */
END_OF_FILE
if test 1609 -ne `wc -c <'./lib/scanstr.h'`; then
echo shar: \"'./lib/scanstr.h'\" unpacked with wrong size!
fi
# end of './lib/scanstr.h'
fi
if test -f './patchlevel.h' -a "${1}" != "-c" ; then
echo shar: Will not clobber existing file \"'./patchlevel.h'\"
else
echo shar: Extracting \"'./patchlevel.h'\" \(21 characters\)
sed "s/^X//" >'./patchlevel.h' <<'END_OF_FILE'
X#define PATCHLEVEL 0
END_OF_FILE
if test 21 -ne `wc -c <'./patchlevel.h'`; then
echo shar: \"'./patchlevel.h'\" unpacked with wrong size!
fi
# end of './patchlevel.h'
fi
if test ! -d './utils' ; then
echo shar: Creating directory \"'./utils'\"
mkdir './utils'
fi
if test -f './utils/Imakefile' -a "${1}" != "-c" ; then
echo shar: Will not clobber existing file \"'./utils/Imakefile'\"
else
echo shar: Extracting \"'./utils/Imakefile'\" \(409 characters\)
sed "s/^X//" >'./utils/Imakefile' <<'END_OF_FILE'
X#include "../utils/rooms.defs"
X SRCS = storage.c hash.c list.c regex.c strtbl.c utils.c
X OBJS = storage.o hash.o list.o regex.o strtbl.o utils.o
X INCLUDES = -I.
X#ifdef RoomsInstrumented
X UTIL_DEFINES = RoomsUtilDefines
X#endif
X DEFINES = $(STD_DEFINES) $(UTIL_DEFINES)
X#ifdef RoomsDebugged
X CDEBUGFLAGS = -g
X#endif
X
XNormalLibraryTarget(utils,$(OBJS))
XDependTarget()
END_OF_FILE
if test 409 -ne `wc -c <'./utils/Imakefile'`; then
echo shar: \"'./utils/Imakefile'\" unpacked with wrong size!
fi
# end of './utils/Imakefile'
fi
if test -f './utils/hashstr.h' -a "${1}" != "-c" ; then
echo shar: Will not clobber existing file \"'./utils/hashstr.h'\"
else
echo shar: Extracting \"'./utils/hashstr.h'\" \(1669 characters\)
sed "s/^X//" >'./utils/hashstr.h' <<'END_OF_FILE'
X#ifndef HASHSTR_H
X#define HASHSTR_H 1
X
X /*\
X * $Header: hashstr.h,v 5.0 90/01/10 06:50:51 erik Exp $
X *
X * COPYRIGHT 1990
X * DIGITAL EQUIPMENT CORPORATION
X * MAYNARD, MASSACHUSETTS
X * ALL RIGHTS RESERVED.
X *
X * THE INFORMATION IN THIS SOFTWARE IS SUBJECT TO CHANGE WITHOUT NOTICE AND
X * SHOULD NOT BE CONSTRUED AS A COMMITMENT BY DIGITAL EQUIPMENT CORPORATION.
X * DIGITAL MAKES NO REPRESENTATIONS ABOUT THE SUITABILITY OF THIS SOFTWARE
X * FOR ANY PURPOSE. IT IS SUPPLIED "AS IS" WITHOUT EXPRESS OR IMPLIED
X * WARRANTY.
X *
X * IF THE SOFTWARE IS MODIFIED IN A MANNER CREATING DERIVATIVE COPYRIGHT
X * RIGHTS, APPROPRIATE LEGENDS MAY BE PLACED ON THE DERIVATIVE WORK IN
X * ADDITION TO THAT SET FORTH ABOVE.
X *
X * Permission to use, copy, modify, and distribute this software and its
X * documentation for any purpose and without fee is hereby granted, provided
X * that the above copyright notice appear in all copies and that both that
X * copyright notice and this permission notice appear in supporting
X * documentation, and that the name of Digital Equipment Corporation not be
X * used in advertising or publicity pertaining to distribution of the
X * software without specific, written prior permission.
X \*/
X
X#include "storagestr.h"
X#include "hash.h"
X
Xtypedef struct _HashBucketRec {
X GenKey key;
X GenData data;
X struct _HashBucketRec *next;
X} HashBucketRec,*HashBucketPtr;
X
Xtypedef struct _HashTableRec {
X int nBuckets;
X int nStored;
X HashBucketPtr *ppBuckets;
X HashFunc hashFunc;
X GenKeyDescPtr keyType;
X GenDataDescPtr dataType;
X} HashTableRec;
X
X#endif
END_OF_FILE
if test 1669 -ne `wc -c <'./utils/hashstr.h'`; then
echo shar: \"'./utils/hashstr.h'\" unpacked with wrong size!
fi
# end of './utils/hashstr.h'
fi
if test -f './utils/liststr.h' -a "${1}" != "-c" ; then
echo shar: Will not clobber existing file \"'./utils/liststr.h'\"
else
echo shar: Extracting \"'./utils/liststr.h'\" \(1681 characters\)
sed "s/^X//" >'./utils/liststr.h' <<'END_OF_FILE'
X#ifndef LISTSTR_H
X#define LISTSTR_H 1
X
X /*\
X * $Header: liststr.h,v 5.0 90/01/10 06:51:01 erik Exp $
X *
X * COPYRIGHT 1990
X * DIGITAL EQUIPMENT CORPORATION
X * MAYNARD, MASSACHUSETTS
X * ALL RIGHTS RESERVED.
X *
X * THE INFORMATION IN THIS SOFTWARE IS SUBJECT TO CHANGE WITHOUT NOTICE AND
X * SHOULD NOT BE CONSTRUED AS A COMMITMENT BY DIGITAL EQUIPMENT CORPORATION.
X * DIGITAL MAKES NO REPRESENTATIONS ABOUT THE SUITABILITY OF THIS SOFTWARE
X * FOR ANY PURPOSE. IT IS SUPPLIED "AS IS" WITHOUT EXPRESS OR IMPLIED
X * WARRANTY.
X *
X * IF THE SOFTWARE IS MODIFIED IN A MANNER CREATING DERIVATIVE COPYRIGHT
X * RIGHTS, APPROPRIATE LEGENDS MAY BE PLACED ON THE DERIVATIVE WORK IN
X * ADDITION TO THAT SET FORTH ABOVE.
X *
X * Permission to use, copy, modify, and distribute this software and its
X * documentation for any purpose and without fee is hereby granted, provided
X * that the above copyright notice appear in all copies and that both that
X * copyright notice and this permission notice appear in supporting
X * documentation, and that the name of Digital Equipment Corporation not be
X * used in advertising or publicity pertaining to distribution of the
X * software without specific, written prior permission.
X \*/
X
X#include "list.h"
X#include "storagestr.h"
X
Xtypedef struct _ListCellRec {
X GenKey key;
X GenData data;
X} ListCellRec, *ListCellPtr;
X#define NullListCell ((ListCellPtr)NULL)
X
Xtypedef struct _ListRec {
X int nStored;
X int nCells;
X ListCellPtr pCells;
X CompareKeyFunc pSort;
X GenKeyDescPtr keyType;
X GenDataDescPtr dataType;
X} ListRec;
X
X#endif /* LISTSTR_H */
END_OF_FILE
if test 1681 -ne `wc -c <'./utils/liststr.h'`; then
echo shar: \"'./utils/liststr.h'\" unpacked with wrong size!
fi
# end of './utils/liststr.h'
fi
if test -f './utils/regex.h' -a "${1}" != "-c" ; then
echo shar: Will not clobber existing file \"'./utils/regex.h'\"
else
echo shar: Extracting \"'./utils/regex.h'\" \(1552 characters\)
sed "s/^X//" >'./utils/regex.h' <<'END_OF_FILE'
X#ifndef REGEX_H
X#define REGEX_H 1
X
X /*\
X * $Header: regex.h,v 5.0 90/01/10 06:51:10 erik Exp $
X *
X * COPYRIGHT 1990
X * DIGITAL EQUIPMENT CORPORATION
X * MAYNARD, MASSACHUSETTS
X * ALL RIGHTS RESERVED.
X *
X * THE INFORMATION IN THIS SOFTWARE IS SUBJECT TO CHANGE WITHOUT NOTICE AND
X * SHOULD NOT BE CONSTRUED AS A COMMITMENT BY DIGITAL EQUIPMENT CORPORATION.
X * DIGITAL MAKES NO REPRESENTATIONS ABOUT THE SUITABILITY OF THIS SOFTWARE
X * FOR ANY PURPOSE. IT IS SUPPLIED "AS IS" WITHOUT EXPRESS OR IMPLIED
X * WARRANTY.
X *
X * IF THE SOFTWARE IS MODIFIED IN A MANNER CREATING DERIVATIVE COPYRIGHT
X * RIGHTS, APPROPRIATE LEGENDS MAY BE PLACED ON THE DERIVATIVE WORK IN
X * ADDITION TO THAT SET FORTH ABOVE.
X *
X * Permission to use, copy, modify, and distribute this software and its
X * documentation for any purpose and without fee is hereby granted, provided
X * that the above copyright notice appear in all copies and that both that
X * copyright notice and this permission notice appear in supporting
X * documentation, and that the name of Digital Equipment Corporation not be
X * used in advertising or publicity pertaining to distribution of the
X * software without specific, written prior permission.
X \*/
X
X#define REGEX_MAX_MATCHES 10
X
Xtypedef struct _RXMatches {
X int nMatches;
X int matchLengths[REGEX_MAX_MATCHES];
X char *matchStrings[REGEX_MAX_MATCHES];
X} RXMatchesRec,*RXMatchesPtr;
X
Xextern Boolean regexMatch(/*ptrn,str,pMatches*/);
X
X#endif
END_OF_FILE
if test 1552 -ne `wc -c <'./utils/regex.h'`; then
echo shar: \"'./utils/regex.h'\" unpacked with wrong size!
fi
# end of './utils/regex.h'
fi
if test -f './utils/rooms.defs' -a "${1}" != "-c" ; then
echo shar: Will not clobber existing file \"'./utils/rooms.defs'\"
else
echo shar: Extracting \"'./utils/rooms.defs'\" \(204 characters\)
sed "s/^X//" >'./utils/rooms.defs' <<'END_OF_FILE'
X#define RoomsInstrumented YES
X#define RoomsDebugged YES
X#define RoomsUtilDefines -DDEBUG_ON -DENTRY_TRACKING_ON -DASSERTIONS_ON
X#define UseAthenaWidgets YES
X#define X11R4 YES
X#define CompileTimeStamp YES
END_OF_FILE
if test 204 -ne `wc -c <'./utils/rooms.defs'`; then
echo shar: \"'./utils/rooms.defs'\" unpacked with wrong size!
fi
# end of './utils/rooms.defs'
fi
if test -f './utils/strtbl.h' -a "${1}" != "-c" ; then
echo shar: Will not clobber existing file \"'./utils/strtbl.h'\"
else
echo shar: Extracting \"'./utils/strtbl.h'\" \(2097 characters\)
sed "s/^X//" >'./utils/strtbl.h' <<'END_OF_FILE'
X#ifndef STRTBL_H
X#define STRTBL_H 1
X
X /*\
X * $Header: strtbl.h,v 5.0 90/01/10 06:51:27 erik Exp $
X *
X * COPYRIGHT 1990
X * DIGITAL EQUIPMENT CORPORATION
X * MAYNARD, MASSACHUSETTS
X * ALL RIGHTS RESERVED.
X *
X * THE INFORMATION IN THIS SOFTWARE IS SUBJECT TO CHANGE WITHOUT NOTICE AND
X * SHOULD NOT BE CONSTRUED AS A COMMITMENT BY DIGITAL EQUIPMENT CORPORATION.
X * DIGITAL MAKES NO REPRESENTATIONS ABOUT THE SUITABILITY OF THIS SOFTWARE
X * FOR ANY PURPOSE. IT IS SUPPLIED "AS IS" WITHOUT EXPRESS OR IMPLIED
X * WARRANTY.
X *
X * IF THE SOFTWARE IS MODIFIED IN A MANNER CREATING DERIVATIVE COPYRIGHT
X * RIGHTS, APPROPRIATE LEGENDS MAY BE PLACED ON THE DERIVATIVE WORK IN
X * ADDITION TO THAT SET FORTH ABOVE.
X *
X * Permission to use, copy, modify, and distribute this software and its
X * documentation for any purpose and without fee is hereby granted, provided
X * that the above copyright notice appear in all copies and that both that
X * copyright notice and this permission notice appear in supporting
X * documentation, and that the name of Digital Equipment Corporation not be
X * used in advertising or publicity pertaining to distribution of the
X * software without specific, written prior permission.
X \*/
X
Xtypedef unsigned long StringToken;
X
X#define NullStringToken ((StringToken)0)
X
Xextern char *stText(/* token */);
Xextern Boolean stInit(/* nStr, avgSize, needPriv, privDflt */);
Xextern void stClose();
X
Xextern StringToken stGetToken(/* str */);
Xextern Boolean stGetTokenIfExists(/* str, pToken */);
X
Xextern char *stGetString(/* token */);
Xextern Boolean stRemove(/* token */);
X
Xextern Opaque stGetPriv(/* token */);
Xextern Boolean stSetPrib(/* token, priv */);
X
Xextern Comparison _stCompare(/* token1, token2 */);
X
X#define stEqual(t1,t2) ((t1)==(t2))
X#define stCompare(t1,t2) \
X ((((unsigned)(t1)&0xff000000)>(((unsigned)(t2)&0xff000000)))?Greater:\
X ((((unsigned)(t1)&0xff000000)<(((unsigned)(t2)&0xff000000)))?Less:\
X ((t1)==(t2)?Equal:_stCompare(t1,t2))))
X
X#endif /* STRTBL_H */
END_OF_FILE
if test 2097 -ne `wc -c <'./utils/strtbl.h'`; then
echo shar: \"'./utils/strtbl.h'\" unpacked with wrong size!
fi
# end of './utils/strtbl.h'
fi
if test -f './utils/strtblstr.h' -a "${1}" != "-c" ; then
echo shar: Will not clobber existing file \"'./utils/strtblstr.h'\"
else
echo shar: Extracting \"'./utils/strtblstr.h'\" \(1639 characters\)
sed "s/^X//" >'./utils/strtblstr.h' <<'END_OF_FILE'
X#ifndef STRTBLSTR_H
X#define STRTBLSTR_H 1
X
X /*\
X * $Header: strtblstr.h,v 5.0 90/01/10 06:51:29 erik Exp $
X *
X * COPYRIGHT 1990
X * DIGITAL EQUIPMENT CORPORATION
X * MAYNARD, MASSACHUSETTS
X * ALL RIGHTS RESERVED.
X *
X * THE INFORMATION IN THIS SOFTWARE IS SUBJECT TO CHANGE WITHOUT NOTICE AND
X * SHOULD NOT BE CONSTRUED AS A COMMITMENT BY DIGITAL EQUIPMENT CORPORATION.
X * DIGITAL MAKES NO REPRESENTATIONS ABOUT THE SUITABILITY OF THIS SOFTWARE
X * FOR ANY PURPOSE. IT IS SUPPLIED "AS IS" WITHOUT EXPRESS OR IMPLIED
X * WARRANTY.
X *
X * IF THE SOFTWARE IS MODIFIED IN A MANNER CREATING DERIVATIVE COPYRIGHT
X * RIGHTS, APPROPRIATE LEGENDS MAY BE PLACED ON THE DERIVATIVE WORK IN
X * ADDITION TO THAT SET FORTH ABOVE.
X *
X * Permission to use, copy, modify, and distribute this software and its
X * documentation for any purpose and without fee is hereby granted, provided
X * that the above copyright notice appear in all copies and that both that
X * copyright notice and this permission notice appear in supporting
X * documentation, and that the name of Digital Equipment Corporation not be
X * used in advertising or publicity pertaining to distribution of the
X * software without specific, written prior permission.
X \*/
X
X#include "strtbl.h"
X
Xtypedef union _STRTBLENTRY {
X char *string;
X int next;
X} StringTableEntry;
X
X#define stCreateToken(ch,ndx) ((StringToken)(((ch&0xff)<<24)|((ndx)&0xffffff)))
X#define stTokenIndex(tok) (((unsigned)(tok))&0xffffff)
X#define stTokenChar(tok) ((((unsigned)(tok))>>24)&0xff)
X
X#endif /* STRTBLSTR_H */
END_OF_FILE
if test 1639 -ne `wc -c <'./utils/strtblstr.h'`; then
echo shar: \"'./utils/strtblstr.h'\" unpacked with wrong size!
fi
# end of './utils/strtblstr.h'
fi
if test ! -d './wallpaper' ; then
echo shar: Creating directory \"'./wallpaper'\"
mkdir './wallpaper'
fi
if test -f './wallpaper/Imakefile' -a "${1}" != "-c" ; then
echo shar: Will not clobber existing file \"'./wallpaper/Imakefile'\"
else
echo shar: Extracting \"'./wallpaper/Imakefile'\" \(185 characters\)
sed "s/^X//" >'./wallpaper/Imakefile' <<'END_OF_FILE'
X INCLUDES = -I. -I$(TOP) -I$(TOP)/X11
XLOCAL_LIBRARIES = $(XLIB)
X CDEBUGFLAGS = -g
X
X SRCS = wallpaper.c
X OBJS = wallpaper.o
X
XComplexProgramTarget(wallpaper)
END_OF_FILE
if test 185 -ne `wc -c <'./wallpaper/Imakefile'`; then
echo shar: \"'./wallpaper/Imakefile'\" unpacked with wrong size!
fi
# end of './wallpaper/Imakefile'
fi
if test -f './wallpaper/Makefile' -a "${1}" != "-c" ; then
echo shar: Will not clobber existing file \"'./wallpaper/Makefile'\"
else
echo shar: Extracting \"'./wallpaper/Makefile'\" \(94 characters\)
sed "s/^X//" >'./wallpaper/Makefile' <<'END_OF_FILE'
XCFLAGS= -g
XCC= cc
X
Xall: wallpaper
X
Xwallpaper:
X $(CC) $(CFLAGS) -o wallpaper wallpaper.c -lX11
END_OF_FILE
if test 94 -ne `wc -c <'./wallpaper/Makefile'`; then
echo shar: \"'./wallpaper/Makefile'\" unpacked with wrong size!
fi
# end of './wallpaper/Makefile'
fi
if test -f './wallpaper/README' -a "${1}" != "-c" ; then
echo shar: Will not clobber existing file \"'./wallpaper/README'\"
else
echo shar: Extracting \"'./wallpaper/README'\" \(80 characters\)
sed "s/^X//" >'./wallpaper/README' <<'END_OF_FILE'
XThis worked a month or two ago. We think it still should.
XHow tough can it be?
END_OF_FILE
if test 80 -ne `wc -c <'./wallpaper/README'`; then
echo shar: \"'./wallpaper/README'\" unpacked with wrong size!
fi
# end of './wallpaper/README'
fi
if test ! -d './xrooms' ; then
echo shar: Creating directory \"'./xrooms'\"
mkdir './xrooms'
fi
if test -f './xrooms/.dbxinit' -a "${1}" != "-c" ; then
echo shar: Will not clobber existing file \"'./xrooms/.dbxinit'\"
else
echo shar: Extracting \"'./xrooms/.dbxinit'\" \(22 characters\)
sed "s/^X//" >'./xrooms/.dbxinit' <<'END_OF_FILE'
Xuse . ../lib ../utils
END_OF_FILE
if test 22 -ne `wc -c <'./xrooms/.dbxinit'`; then
echo shar: \"'./xrooms/.dbxinit'\" unpacked with wrong size!
fi
# end of './xrooms/.dbxinit'
fi
if test -f './xrooms/Imakefile' -a "${1}" != "-c" ; then
echo shar: Will not clobber existing file \"'./xrooms/Imakefile'\"
else
echo shar: Extracting \"'./xrooms/Imakefile'\" \(1664 characters\)
sed "s/^X//" >'./xrooms/Imakefile' <<'END_OF_FILE'
X#include "../utils/rooms.defs"
X
X#if RoomsDebugged
X CDEBUGFLAGS = -g
X#endif
X#if RoomsInstrumented
X UTIL_DEFINES = RoomsUtilDefines
X#endif
X DEBUGSRC = xrDebug.c
X DEBUGOBJ = xrDebug.o
X LOCAL_LIBRARIES = ../lib/librooms.a ../utils/libutils.a
X# SRCS = xrooms.c xrGen.c xrApp.c ScrollW.c Column.c $(DEBUGSRC)
X# OBJS = xrooms.o xrGen.o xrApp.o ScrollW.o Column.o $(DEBUGOBJ)
X#if UseDWT
X UISRCS = ScrollW.c Column.c xrDwtUI.c xrDwtRoom.c
X UIOBJS = ScrollW.o Column.o xrDwtUI.o xrDwtRoom.o
X UILIBS = -ldwt
X UIDEFS = -DDWT
X#else
X#if UseAthenaWidgets
X UISRCS = xrXawUI.c xrXawRoom.c
X UIOBJS = xrXawUI.o xrXawRoom.o
X UILIBS = -lXaw -lXmu -lXt
X UIDEFS = -DXAW
X#endif
X#endif
X#if X11R4
X VERSIONLIBS = -lXext
X VERSIONDEFS = -DX11R4
X#endif
X#if CompileTimeStamp
X STAMPDEFS = -DCOMPILE_STAMP="\"`date` (`whoami`)\""
X#endif
X SRCS = xrMain.c xrSetup.c \
X xrGen.c xrApp.c $(UISRCS) xrNames.c xrProfile.c\
X xrProto.c xrProtoArgs.c xrProtoIter.c xrDoProto.c \
X xrActions.c \
X xrXUtils.c $(DEBUGSRC)
X OBJS = xrMain.o xrSetup.o \
X xrGen.o xrApp.o $(UIOBJS) xrNames.o xrProfile.o\
X xrProto.o xrProtoArgs.o xrProtoIter.o xrDoProto.o \
X xrActions.o \
X xrXUtils.o $(DEBUGOBJ)
X PROGRAMS = xrooms
X INCLUDES = -I../utils -I../lib -I. -I$(TOP) -I$(TOP)/X11
XSYSLAST_LIBRARIES = $(UILIBS) -lX11 -lm $(VERSIONLIBS)
X DEFINES = $(UTIL_DEFINES) $(STD_DEFINES) $(UIDEFS) $(VERSIONDEFS)
X
XComplexProgramTarget(xrooms)
X
XSpecialObjectRule(xrMain.o,xrMain.c,$(DEFINES) $(STAMPDEFS))
END_OF_FILE
if test 1664 -ne `wc -c <'./xrooms/Imakefile'`; then
echo shar: \"'./xrooms/Imakefile'\" unpacked with wrong size!
fi
# end of './xrooms/Imakefile'
fi
if test -f './xrooms/xrActions.h' -a "${1}" != "-c" ; then
echo shar: Will not clobber existing file \"'./xrooms/xrActions.h'\"
else
echo shar: Extracting \"'./xrooms/xrActions.h'\" \(1604 characters\)
sed "s/^X//" >'./xrooms/xrActions.h' <<'END_OF_FILE'
X#ifndef XRACTIONS_H
X#define XRACTIONS_H 1
X
X /*\
X * $Header: xrActions.h,v 5.0 90/01/10 07:00:20 erik Exp $
X *
X * COPYRIGHT 1990
X * DIGITAL EQUIPMENT CORPORATION
X * MAYNARD, MASSACHUSETTS
X * ALL RIGHTS RESERVED.
X *
X * THE INFORMATION IN THIS SOFTWARE IS SUBJECT TO CHANGE WITHOUT NOTICE AND
X * SHOULD NOT BE CONSTRUED AS A COMMITMENT BY DIGITAL EQUIPMENT CORPORATION.
X * DIGITAL MAKES NO REPRESENTATIONS ABOUT THE SUITABILITY OF THIS SOFTWARE
X * FOR ANY PURPOSE. IT IS SUPPLIED "AS IS" WITHOUT EXPRESS OR IMPLIED
X * WARRANTY.
X *
X * IF THE SOFTWARE IS MODIFIED IN A MANNER CREATING DERIVATIVE COPYRIGHT
X * RIGHTS, APPROPRIATE LEGENDS MAY BE PLACED ON THE DERIVATIVE WORK IN
X * ADDITION TO THAT SET FORTH ABOVE.
X *
X * Permission to use, copy, modify, and distribute this software and its
X * documentation for any purpose and without fee is hereby granted, provided
X * that the above copyright notice appear in all copies and that both that
X * copyright notice and this permission notice appear in supporting
X * documentation, and that the name of Digital Equipment Corporation not be
X * used in advertising or publicity pertaining to distribution of the
X * software without specific, written prior permission.
X \*/
X
Xextern void xractDoSetAll();
Xextern void xractDoSetLocalOnly();
X
Xextern void xractDoMakePermanent();
Xextern void xractDoMakeTransient();
X
Xextern void xractDoBoltGeom();
Xextern void xractDoUnboltGeom();
Xextern void xractDoBoltState();
Xextern void xractDoUnboltState();
X
X#endif /* XRACTIONS_H */
END_OF_FILE
if test 1604 -ne `wc -c <'./xrooms/xrActions.h'`; then
echo shar: \"'./xrooms/xrActions.h'\" unpacked with wrong size!
fi
# end of './xrooms/xrActions.h'
fi
if test -f './xrooms/xrDebug.h' -a "${1}" != "-c" ; then
echo shar: Will not clobber existing file \"'./xrooms/xrDebug.h'\"
else
echo shar: Extracting \"'./xrooms/xrDebug.h'\" \(1557 characters\)
sed "s/^X//" >'./xrooms/xrDebug.h' <<'END_OF_FILE'
X#ifndef XRDEBUG_H
X#define XRDEBUG_H 1
X
X /*\
X * $Header: xrDebug.h,v 5.0 90/01/10 07:00:33 erik Exp $
X *
X * COPYRIGHT 1990
X * DIGITAL EQUIPMENT CORPORATION
X * MAYNARD, MASSACHUSETTS
X * ALL RIGHTS RESERVED.
X *
X * THE INFORMATION IN THIS SOFTWARE IS SUBJECT TO CHANGE WITHOUT NOTICE AND
X * SHOULD NOT BE CONSTRUED AS A COMMITMENT BY DIGITAL EQUIPMENT CORPORATION.
X * DIGITAL MAKES NO REPRESENTATIONS ABOUT THE SUITABILITY OF THIS SOFTWARE
X * FOR ANY PURPOSE. IT IS SUPPLIED "AS IS" WITHOUT EXPRESS OR IMPLIED
X * WARRANTY.
X *
X * IF THE SOFTWARE IS MODIFIED IN A MANNER CREATING DERIVATIVE COPYRIGHT
X * RIGHTS, APPROPRIATE LEGENDS MAY BE PLACED ON THE DERIVATIVE WORK IN
X * ADDITION TO THAT SET FORTH ABOVE.
X *
X * Permission to use, copy, modify, and distribute this software and its
X * documentation for any purpose and without fee is hereby granted, provided
X * that the above copyright notice appear in all copies and that both that
X * copyright notice and this permission notice appear in supporting
X * documentation, and that the name of Digital Equipment Corporation not be
X * used in advertising or publicity pertaining to distribution of the
X * software without specific, written prior permission.
X \*/
X
X /*\
X * DEBUGGING FLAGS
X \*/
X#define WATCH_ERRORS 0x01
X#define WATCH_APPS 0x02
X#define WATCH_EVENTS 0x04
X#define WATCH_ARGS 0x08
X#define WATCH_PROFILES 0x20 /* 0x10 is ENTRY_FLAG */
X
Xextern void xrDebugSettings(/* settings */);
X
X#endif /* XRDEBUG_H */
END_OF_FILE
if test 1557 -ne `wc -c <'./xrooms/xrDebug.h'`; then
echo shar: \"'./xrooms/xrDebug.h'\" unpacked with wrong size!
fi
# end of './xrooms/xrDebug.h'
fi
if test -f './xrooms/xrNames.h' -a "${1}" != "-c" ; then
echo shar: Will not clobber existing file \"'./xrooms/xrNames.h'\"
else
echo shar: Extracting \"'./xrooms/xrNames.h'\" \(1603 characters\)
sed "s/^X//" >'./xrooms/xrNames.h' <<'END_OF_FILE'
X#ifndef XRNAMES_H
X#define XRNAMES_H 1
X
X /*\
X * $Header: xrNames.h,v 5.1 90/01/11 15:19:04 erik Exp $
X *
X * COPYRIGHT 1990
X * DIGITAL EQUIPMENT CORPORATION
X * MAYNARD, MASSACHUSETTS
X * ALL RIGHTS RESERVED.
X *
X * THE INFORMATION IN THIS SOFTWARE IS SUBJECT TO CHANGE WITHOUT NOTICE AND
X * SHOULD NOT BE CONSTRUED AS A COMMITMENT BY DIGITAL EQUIPMENT CORPORATION.
X * DIGITAL MAKES NO REPRESENTATIONS ABOUT THE SUITABILITY OF THIS SOFTWARE
X * FOR ANY PURPOSE. IT IS SUPPLIED "AS IS" WITHOUT EXPRESS OR IMPLIED
X * WARRANTY.
X *
X * IF THE SOFTWARE IS MODIFIED IN A MANNER CREATING DERIVATIVE COPYRIGHT
X * RIGHTS, APPROPRIATE LEGENDS MAY BE PLACED ON THE DERIVATIVE WORK IN
X * ADDITION TO THAT SET FORTH ABOVE.
X *
X * Permission to use, copy, modify, and distribute this software and its
X * documentation for any purpose and without fee is hereby granted, provided
X * that the above copyright notice appear in all copies and that both that
X * copyright notice and this permission notice appear in supporting
X * documentation, and that the name of Digital Equipment Corporation not be
X * used in advertising or publicity pertaining to distribution of the
X * software without specific, written prior permission.
X \*/
X
Xextern Boolean xrnUseAppNames;
Xextern Boolean xrnUseWindowNames;
Xextern StringToken xrnNameLookup;
Xextern Atom xrnAppNameAtom;
X
Xextern void xrnNoteAppName(/*win*/);
Xextern Boolean xrnGetName(/*win,ppName,ppClass*/);
Xextern Boolean xrnHaveProfile();
Xextern void xrnInit();
X
X#endif /* XRNAMES_H */
END_OF_FILE
if test 1603 -ne `wc -c <'./xrooms/xrNames.h'`; then
echo shar: \"'./xrooms/xrNames.h'\" unpacked with wrong size!
fi
# end of './xrooms/xrNames.h'
fi
if test -f './xrooms/xrProfile.h' -a "${1}" != "-c" ; then
echo shar: Will not clobber existing file \"'./xrooms/xrProfile.h'\"
else
echo shar: Extracting \"'./xrooms/xrProfile.h'\" \(1640 characters\)
sed "s/^X//" >'./xrooms/xrProfile.h' <<'END_OF_FILE'
X#ifndef XRPROFILE_H
X#define XRPROFILE_H 1
X
X /*\
X * $Header: xrProfile.h,v 5.0 90/01/10 07:01:09 erik Exp $
X *
X * COPYRIGHT 1990
X * DIGITAL EQUIPMENT CORPORATION
X * MAYNARD, MASSACHUSETTS
X * ALL RIGHTS RESERVED.
X *
X * THE INFORMATION IN THIS SOFTWARE IS SUBJECT TO CHANGE WITHOUT NOTICE AND
X * SHOULD NOT BE CONSTRUED AS A COMMITMENT BY DIGITAL EQUIPMENT CORPORATION.
X * DIGITAL MAKES NO REPRESENTATIONS ABOUT THE SUITABILITY OF THIS SOFTWARE
X * FOR ANY PURPOSE. IT IS SUPPLIED "AS IS" WITHOUT EXPRESS OR IMPLIED
X * WARRANTY.
X *
X * IF THE SOFTWARE IS MODIFIED IN A MANNER CREATING DERIVATIVE COPYRIGHT
X * RIGHTS, APPROPRIATE LEGENDS MAY BE PLACED ON THE DERIVATIVE WORK IN
X * ADDITION TO THAT SET FORTH ABOVE.
X *
X * Permission to use, copy, modify, and distribute this software and its
X * documentation for any purpose and without fee is hereby granted, provided
X * that the above copyright notice appear in all copies and that both that
X * copyright notice and this permission notice appear in supporting
X * documentation, and that the name of Digital Equipment Corporation not be
X * used in advertising or publicity pertaining to distribution of the
X * software without specific, written prior permission.
X \*/
X
Xextern unsigned xrProfileDebug;
X
Xextern Boolean xrpfAutoSaveNew;
Xextern Boolean xrpfSaveRoomProfiles;
Xextern Boolean xrpfBackupConfig;
Xextern char *xrpfConfigFile;
X
Xextern Boolean xrpfLoadFile(/*fileName*/);
Xextern Boolean xrpfLoadString(/*str*/);
Xextern void xrpfSaveProfiles(/*fileName*/);
X#endif /* XRPROFILE_H */
END_OF_FILE
if test 1640 -ne `wc -c <'./xrooms/xrProfile.h'`; then
echo shar: \"'./xrooms/xrProfile.h'\" unpacked with wrong size!
fi
# end of './xrooms/xrProfile.h'
fi
if test -f './xrooms/xrProto.h' -a "${1}" != "-c" ; then
echo shar: Will not clobber existing file \"'./xrooms/xrProto.h'\"
else
echo shar: Extracting \"'./xrooms/xrProto.h'\" \(1848 characters\)
sed "s/^X//" >'./xrooms/xrProto.h' <<'END_OF_FILE'
X#ifndef XRPROTO_H
X#define XRPROTO_H 1
X
X /*\
X * $Header: xrProto.h,v 5.0 90/01/10 07:01:17 erik Exp $
X *
X * COPYRIGHT 1990
X * DIGITAL EQUIPMENT CORPORATION
X * MAYNARD, MASSACHUSETTS
X * ALL RIGHTS RESERVED.
X *
X * THE INFORMATION IN THIS SOFTWARE IS SUBJECT TO CHANGE WITHOUT NOTICE AND
X * SHOULD NOT BE CONSTRUED AS A COMMITMENT BY DIGITAL EQUIPMENT CORPORATION.
X * DIGITAL MAKES NO REPRESENTATIONS ABOUT THE SUITABILITY OF THIS SOFTWARE
X * FOR ANY PURPOSE. IT IS SUPPLIED "AS IS" WITHOUT EXPRESS OR IMPLIED
X * WARRANTY.
X *
X * IF THE SOFTWARE IS MODIFIED IN A MANNER CREATING DERIVATIVE COPYRIGHT
X * RIGHTS, APPROPRIATE LEGENDS MAY BE PLACED ON THE DERIVATIVE WORK IN
X * ADDITION TO THAT SET FORTH ABOVE.
X *
X * Permission to use, copy, modify, and distribute this software and its
X * documentation for any purpose and without fee is hereby granted, provided
X * that the above copyright notice appear in all copies and that both that
X * copyright notice and this permission notice appear in supporting
X * documentation, and that the name of Digital Equipment Corporation not be
X * used in advertising or publicity pertaining to distribution of the
X * software without specific, written prior permission.
X \*/
X
X#include "xrGen.h"
X
Xextern unsigned xrpDfltBoltState;
X
Xextern void xrpSetCurrent(/* dpy, root, nameAtom */);
Xextern void xrpUpdateAllRooms(/* dpy, root, nRooms, pNameAtoms */);
X
Xextern void xrprReturnString(/* dpy, win, len, str*/);
Xextern void xrprHandleRequests(/* dpy, root */);
X
Xextern char *xrdpDoGetAppName(/* which, appName */);
Xextern Boolean xrdpDoRemember(/* pArgs */);
Xextern Boolean xrdpDoBolt(/* pArgs */);
Xextern Boolean xrdpDoSetState(/* pArgs */);
Xextern Boolean xrdpDoSetVisibility(/* pArgs */);
X#endif /* XRPROTO_H */
END_OF_FILE
if test 1848 -ne `wc -c <'./xrooms/xrProto.h'`; then
echo shar: \"'./xrooms/xrProto.h'\" unpacked with wrong size!
fi
# end of './xrooms/xrProto.h'
fi
if test -f './xrooms/xrProtoArgs.h' -a "${1}" != "-c" ; then
echo shar: Will not clobber existing file \"'./xrooms/xrProtoArgs.h'\"
else
echo shar: Extracting \"'./xrooms/xrProtoArgs.h'\" \(1791 characters\)
sed "s/^X//" >'./xrooms/xrProtoArgs.h' <<'END_OF_FILE'
X#ifndef XRPROTOARGS_H
X#define XRPROTOARGS_H 1
X
X /*\
X * $Header: xrProtoArgs.h,v 5.0 90/01/10 07:01:23 erik Exp $
X *
X * COPYRIGHT 1990
X * DIGITAL EQUIPMENT CORPORATION
X * MAYNARD, MASSACHUSETTS
X * ALL RIGHTS RESERVED.
X *
X * THE INFORMATION IN THIS SOFTWARE IS SUBJECT TO CHANGE WITHOUT NOTICE AND
X * SHOULD NOT BE CONSTRUED AS A COMMITMENT BY DIGITAL EQUIPMENT CORPORATION.
X * DIGITAL MAKES NO REPRESENTATIONS ABOUT THE SUITABILITY OF THIS SOFTWARE
X * FOR ANY PURPOSE. IT IS SUPPLIED "AS IS" WITHOUT EXPRESS OR IMPLIED
X * WARRANTY.
X *
X * IF THE SOFTWARE IS MODIFIED IN A MANNER CREATING DERIVATIVE COPYRIGHT
X * RIGHTS, APPROPRIATE LEGENDS MAY BE PLACED ON THE DERIVATIVE WORK IN
X * ADDITION TO THAT SET FORTH ABOVE.
X *
X * Permission to use, copy, modify, and distribute this software and its
X * documentation for any purpose and without fee is hereby granted, provided
X * that the above copyright notice appear in all copies and that both that
X * copyright notice and this permission notice appear in supporting
X * documentation, and that the name of Digital Equipment Corporation not be
X * used in advertising or publicity pertaining to distribution of the
X * software without specific, written prior permission.
X \*/
X
X#include "xrProto.h"
X
Xtypedef struct _xrpaSelectInfoRec {
X AppPtr pApp;
X int button;
X int x,y;
X int dx,dy;
X} xrpaSelectInfoRec,*xrpaSelectInfoPtr;
X#define NullSelectInfo ((xrpaSelectInfoPtr)NULL)
X
Xextern unsigned xrpaLastParts();
Xextern AppPtr xrpaSelectApp(/*pInfo*/);
Xextern AppPtr xrpaGetLastApp();
Xextern AppPtr xrpaGetApp(/*which,name*/);
Xextern RoomPtr xrpaGetRoom(/*which,name*/);
Xextern AppStatePtr xrpaGetState(/*which,pApp,pRoom*/);
X
X#endif /* XRPROTOARGS_H */
END_OF_FILE
if test 1791 -ne `wc -c <'./xrooms/xrProtoArgs.h'`; then
echo shar: \"'./xrooms/xrProtoArgs.h'\" unpacked with wrong size!
fi
# end of './xrooms/xrProtoArgs.h'
fi
if test -f './xrooms/xrRoom.h' -a "${1}" != "-c" ; then
echo shar: Will not clobber existing file \"'./xrooms/xrRoom.h'\"
else
echo shar: Extracting \"'./xrooms/xrRoom.h'\" \(1495 characters\)
sed "s/^X//" >'./xrooms/xrRoom.h' <<'END_OF_FILE'
X#ifndef XRROOM_H
X
X /*\
X * $Header: xrRoom.h,v 5.0 90/01/10 07:01:32 erik Exp $
X *
X * COPYRIGHT 1990
X * DIGITAL EQUIPMENT CORPORATION
X * MAYNARD, MASSACHUSETTS
X * ALL RIGHTS RESERVED.
X *
X * THE INFORMATION IN THIS SOFTWARE IS SUBJECT TO CHANGE WITHOUT NOTICE AND
X * SHOULD NOT BE CONSTRUED AS A COMMITMENT BY DIGITAL EQUIPMENT CORPORATION.
X * DIGITAL MAKES NO REPRESENTATIONS ABOUT THE SUITABILITY OF THIS SOFTWARE
X * FOR ANY PURPOSE. IT IS SUPPLIED "AS IS" WITHOUT EXPRESS OR IMPLIED
X * WARRANTY.
X *
X * IF THE SOFTWARE IS MODIFIED IN A MANNER CREATING DERIVATIVE COPYRIGHT
X * RIGHTS, APPROPRIATE LEGENDS MAY BE PLACED ON THE DERIVATIVE WORK IN
X * ADDITION TO THAT SET FORTH ABOVE.
X *
X * Permission to use, copy, modify, and distribute this software and its
X * documentation for any purpose and without fee is hereby granted, provided
X * that the above copyright notice appear in all copies and that both that
X * copyright notice and this permission notice appear in supporting
X * documentation, and that the name of Digital Equipment Corporation not be
X * used in advertising or publicity pertaining to distribution of the
X * software without specific, written prior permission.
X \*/
X
X#include <X11/Intrinsic.h>
X
Xtypedef struct _XRoomInfoRec {
X Atom nameAtom;
X Widget widget;
X} XRoomInfoRec, *XRoomInfoPtr;
X#define NullXRoomInfo ((XRoomInfoPtr)NULL)
X
Xextern Opaque xrrInit();
X#endif /* XRROOM_H */
END_OF_FILE
if test 1495 -ne `wc -c <'./xrooms/xrRoom.h'`; then
echo shar: \"'./xrooms/xrRoom.h'\" unpacked with wrong size!
fi
# end of './xrooms/xrRoom.h'
fi
if test -f './xrooms/xrUI.h' -a "${1}" != "-c" ; then
echo shar: Will not clobber existing file \"'./xrooms/xrUI.h'\"
else
echo shar: Extracting \"'./xrooms/xrUI.h'\" \(1738 characters\)
sed "s/^X//" >'./xrooms/xrUI.h' <<'END_OF_FILE'
X#ifndef XRUI_H
X#define XRUI_H 1
X
X /*\
X * $Header: xrUI.h,v 5.1 90/01/10 19:06:11 erik Exp $
X *
X * COPYRIGHT 1990
X * DIGITAL EQUIPMENT CORPORATION
X * MAYNARD, MASSACHUSETTS
X * ALL RIGHTS RESERVED.
X *
X * THE INFORMATION IN THIS SOFTWARE IS SUBJECT TO CHANGE WITHOUT NOTICE AND
X * SHOULD NOT BE CONSTRUED AS A COMMITMENT BY DIGITAL EQUIPMENT CORPORATION.
X * DIGITAL MAKES NO REPRESENTATIONS ABOUT THE SUITABILITY OF THIS SOFTWARE
X * FOR ANY PURPOSE. IT IS SUPPLIED "AS IS" WITHOUT EXPRESS OR IMPLIED
X * WARRANTY.
X *
X * IF THE SOFTWARE IS MODIFIED IN A MANNER CREATING DERIVATIVE COPYRIGHT
X * RIGHTS, APPROPRIATE LEGENDS MAY BE PLACED ON THE DERIVATIVE WORK IN
X * ADDITION TO THAT SET FORTH ABOVE.
X *
X * Permission to use, copy, modify, and distribute this software and its
X * documentation for any purpose and without fee is hereby granted, provided
X * that the above copyright notice appear in all copies and that both that
X * copyright notice and this permission notice appear in supporting
X * documentation, and that the name of Digital Equipment Corporation not be
X * used in advertising or publicity pertaining to distribution of the
X * software without specific, written prior permission.
X \*/
X
Xextern unsigned xruiDebug;
Xextern char *xruiDefaultRoom;
Xextern Boolean xruiConfirmExit;
X
Xextern void xruiDoSave();
Xextern void xruiDoLoad();
Xextern void xruiDoCreateRoom();
Xextern void xruiDoDestroyRoom();
Xextern void xruiDoHideRoom();
X
Xextern RoomPtr xruiFindDefaultRoom();
X
Xextern void xruiInit();
Xextern void xruiBecomeVisible();
X
X#ifdef XAW
X#include "xrXawUI.h"
X#endif
X#ifdef DWT
X#include "xrDwtUI.h"
X#endif
X
X#endif /* XRUI_H */
END_OF_FILE
if test 1738 -ne `wc -c <'./xrooms/xrUI.h'`; then
echo shar: \"'./xrooms/xrUI.h'\" unpacked with wrong size!
fi
# end of './xrooms/xrUI.h'
fi
if test -f './xrooms/xrXUtils.h' -a "${1}" != "-c" ; then
echo shar: Will not clobber existing file \"'./xrooms/xrXUtils.h'\"
else
echo shar: Extracting \"'./xrooms/xrXUtils.h'\" \(2032 characters\)
sed "s/^X//" >'./xrooms/xrXUtils.h' <<'END_OF_FILE'
X#ifndef XRXUTILS_H
X#define XRXUTILS_H 1
X
X /*\
X * $Header: xrXUtils.h,v 5.0 90/01/10 07:01:46 erik Exp $
X *
X * COPYRIGHT 1990
X * DIGITAL EQUIPMENT CORPORATION
X * MAYNARD, MASSACHUSETTS
X * ALL RIGHTS RESERVED.
X *
X * THE INFORMATION IN THIS SOFTWARE IS SUBJECT TO CHANGE WITHOUT NOTICE AND
X * SHOULD NOT BE CONSTRUED AS A COMMITMENT BY DIGITAL EQUIPMENT CORPORATION.
X * DIGITAL MAKES NO REPRESENTATIONS ABOUT THE SUITABILITY OF THIS SOFTWARE
X * FOR ANY PURPOSE. IT IS SUPPLIED "AS IS" WITHOUT EXPRESS OR IMPLIED
X * WARRANTY.
X *
X * IF THE SOFTWARE IS MODIFIED IN A MANNER CREATING DERIVATIVE COPYRIGHT
X * RIGHTS, APPROPRIATE LEGENDS MAY BE PLACED ON THE DERIVATIVE WORK IN
X * ADDITION TO THAT SET FORTH ABOVE.
X *
X * Permission to use, copy, modify, and distribute this software and its
X * documentation for any purpose and without fee is hereby granted, provided
X * that the above copyright notice appear in all copies and that both that
X * copyright notice and this permission notice appear in supporting
X * documentation, and that the name of Digital Equipment Corporation not be
X * used in advertising or publicity pertaining to distribution of the
X * software without specific, written prior permission.
X \*/
X
Xextern unsigned xrXUtilsDebug;
X
XBoolean xruFindFakeRoot;
XBoolean xruFindFakeState;
X
Xextern Boolean xruGetChildren(/*window, children, nChildren*/);
Xextern Window xruGetParent(/*window*/);
Xextern Window xruWMRoot(/*dpy, root, xdw, xdh*/);
Xextern Window xruWMRootWindow(/*dpy, screen*/);
Xextern Window xruWMRootWindowOfScreen(/*scrn*/);
Xextern Window xruFindRoot();
X
Xextern WinState xruGetState(/*window,lookForName*/);
Xextern Boolean xruIsTransient(/* window */);
Xextern Window xruFindClientWindowAbove(/*window, pState*/);
Xextern Window xruFindClientWindow(/*window, pState*/);
X
Xextern Boolean xruGetPropertyString(/* dpy, window, name, ppRtrn */);
Xextern int xruIgnoreErrors(/*dpy, event*/);
X
X#endif /* XRXUTILS_H */
END_OF_FILE
if test 2032 -ne `wc -c <'./xrooms/xrXUtils.h'`; then
echo shar: \"'./xrooms/xrXUtils.h'\" unpacked with wrong size!
fi
# end of './xrooms/xrXUtils.h'
fi
if test -f './xrooms/xrooms.h' -a "${1}" != "-c" ; then
echo shar: Will not clobber existing file \"'./xrooms/xrooms.h'\"
else
echo shar: Extracting \"'./xrooms/xrooms.h'\" \(1843 characters\)
sed "s/^X//" >'./xrooms/xrooms.h' <<'END_OF_FILE'
X#ifndef XROOMS_H
X
X /*\
X * $Header: xrooms.h,v 5.1 90/01/11 15:20:44 erik Exp $
X *
X * COPYRIGHT 1990
X * DIGITAL EQUIPMENT CORPORATION
X * MAYNARD, MASSACHUSETTS
X * ALL RIGHTS RESERVED.
X *
X * THE INFORMATION IN THIS SOFTWARE IS SUBJECT TO CHANGE WITHOUT NOTICE AND
X * SHOULD NOT BE CONSTRUED AS A COMMITMENT BY DIGITAL EQUIPMENT CORPORATION.
X * DIGITAL MAKES NO REPRESENTATIONS ABOUT THE SUITABILITY OF THIS SOFTWARE
X * FOR ANY PURPOSE. IT IS SUPPLIED "AS IS" WITHOUT EXPRESS OR IMPLIED
X * WARRANTY.
X *
X * IF THE SOFTWARE IS MODIFIED IN A MANNER CREATING DERIVATIVE COPYRIGHT
X * RIGHTS, APPROPRIATE LEGENDS MAY BE PLACED ON THE DERIVATIVE WORK IN
X * ADDITION TO THAT SET FORTH ABOVE.
X *
X * Permission to use, copy, modify, and distribute this software and its
X * documentation for any purpose and without fee is hereby granted, provided
X * that the above copyright notice appear in all copies and that both that
X * copyright notice and this permission notice appear in supporting
X * documentation, and that the name of Digital Equipment Corporation not be
X * used in advertising or publicity pertaining to distribution of the
X * software without specific, written prior permission.
X \*/
X
Xextern Boolean xroomsSetupMode;
X
Xextern Display *xroomsDpy;
Xextern Screen *xroomsScrn;
Xextern Window xroomsRoot;
Xextern Window xroomsRealRoot;
X
Xextern Window xroomsMainWindow;
X
Xextern char *xroomsCompileStamp;
Xextern unsigned xroomsMajorVersion;
Xextern unsigned xroomsMinorVersion;
Xextern unsigned xroomsLocalVersion;
X
Xextern Boolean xroomsPrintWarnings;
X
Xextern int xroomsScreenIndex;
X
Xextern Atom WM_STATE,WM_STATE,WM_CHANGE_STATE,WM_MOVED;
X
Xextern Boolean xrInitialize(/*argc, argv*/);
Xextern void DoExit(/* code, message */);
X#endif /* XROOMS_H */
END_OF_FILE
if test 1843 -ne `wc -c <'./xrooms/xrooms.h'`; then
echo shar: \"'./xrooms/xrooms.h'\" unpacked with wrong size!
fi
# end of './xrooms/xrooms.h'
fi
if test ! -d './xrset' ; then
echo shar: Creating directory \"'./xrset'\"
mkdir './xrset'
fi
if test -f './xrset/.dbxinit' -a "${1}" != "-c" ; then
echo shar: Will not clobber existing file \"'./xrset/.dbxinit'\"
else
echo shar: Extracting \"'./xrset/.dbxinit'\" \(25 characters\)
sed "s/^X//" >'./xrset/.dbxinit' <<'END_OF_FILE'
Xuse . ../utils ../xrooms
END_OF_FILE
if test 25 -ne `wc -c <'./xrset/.dbxinit'`; then
echo shar: \"'./xrset/.dbxinit'\" unpacked with wrong size!
fi
# end of './xrset/.dbxinit'
fi
if test -f './xrset/Imakefile' -a "${1}" != "-c" ; then
echo shar: Will not clobber existing file \"'./xrset/Imakefile'\"
else
echo shar: Extracting \"'./xrset/Imakefile'\" \(527 characters\)
sed "s/^X//" >'./xrset/Imakefile' <<'END_OF_FILE'
X#include "../utils/rooms.defs"
X
X#if RoomsDebugged
X CDEBUGFLAGS = -g
X#endif
X#if RoomsInstrumented
X UTIL_DEFINES = RoomsUtilDefines
X#endif
X LOCAL_LIBRARIES = ../lib/librooms.a ../utils/libutils.a
X SRCS = xrset.c xrReq.c
X OBJS = xrset.o xrReq.o ../xrooms/xrGen.o
X PROGRAMS = xrset
X INCLUDES = -I/usr/include/mit -I../utils -I../lib -I../xrooms -I. -I$(TOP) -I$(TOP)/X11
XSYSLAST_LIBRARIES = -lX11 -lm
X DEFINES = $(UTIL_DEFINES) $(STD_DEFINES)
X
XComplexProgramTarget(xrset)
X
END_OF_FILE
if test 527 -ne `wc -c <'./xrset/Imakefile'`; then
echo shar: \"'./xrset/Imakefile'\" unpacked with wrong size!
fi
# end of './xrset/Imakefile'
fi
if test -f './xrset/README' -a "${1}" != "-c" ; then
echo shar: Will not clobber existing file \"'./xrset/README'\"
else
echo shar: Extracting \"'./xrset/README'\" \(126 characters\)
sed "s/^X//" >'./xrset/README' <<'END_OF_FILE'
XUse xrset for fairly fine control over application states, etc.
Xxrset -help works, sort of.
Xxrset -load is especially useful.
END_OF_FILE
if test 126 -ne `wc -c <'./xrset/README'`; then
echo shar: \"'./xrset/README'\" unpacked with wrong size!
fi
# end of './xrset/README'
fi
if test -f './xrset/xrReq.h' -a "${1}" != "-c" ; then
echo shar: Will not clobber existing file \"'./xrset/xrReq.h'\"
else
echo shar: Extracting \"'./xrset/xrReq.h'\" \(1697 characters\)
sed "s/^X//" >'./xrset/xrReq.h' <<'END_OF_FILE'
X#ifndef XRREQ_H
X#define XRREQ_H 1
X
X /*\
X * $Header: xrReq.h,v 5.0 90/01/10 07:02:51 erik Exp $
X *
X * COPYRIGHT 1990
X * DIGITAL EQUIPMENT CORPORATION
X * MAYNARD, MASSACHUSETTS
X * ALL RIGHTS RESERVED.
X *
X * THE INFORMATION IN THIS SOFTWARE IS SUBJECT TO CHANGE WITHOUT NOTICE AND
X * SHOULD NOT BE CONSTRUED AS A COMMITMENT BY DIGITAL EQUIPMENT CORPORATION.
X * DIGITAL MAKES NO REPRESENTATIONS ABOUT THE SUITABILITY OF THIS SOFTWARE
X * FOR ANY PURPOSE. IT IS SUPPLIED "AS IS" WITHOUT EXPRESS OR IMPLIED
X * WARRANTY.
X *
X * IF THE SOFTWARE IS MODIFIED IN A MANNER CREATING DERIVATIVE COPYRIGHT
X * RIGHTS, APPROPRIATE LEGENDS MAY BE PLACED ON THE DERIVATIVE WORK IN
X * ADDITION TO THAT SET FORTH ABOVE.
X *
X * Permission to use, copy, modify, and distribute this software and its
X * documentation for any purpose and without fee is hereby granted, provided
X * that the above copyright notice appear in all copies and that both that
X * copyright notice and this permission notice appear in supporting
X * documentation, and that the name of Digital Equipment Corporation not be
X * used in advertising or publicity pertaining to distribution of the
X * software without specific, written prior permission.
X \*/
X
X#include "strtbl.h"
X#include "xrGen.h"
X
Xextern StringToken xrreqGetCurrent(/*dpy, root*/);
Xextern Boolean xrreqGetAllRooms(/*dpy, root, pNRooms, pRooms*/);
X
Xextern char *xrreqStringRequest(/*dpy,root,req, str*/);
X
Xextern Boolean xrreqIssueBolt(/* dpy, root, args */);
Xextern Boolean xrreqIssueRemember(/* dpy, root, args */);
Xextern char *xrreqIssueGetAppName(/* dpy, root, win */);
X#endif
END_OF_FILE
if test 1697 -ne `wc -c <'./xrset/xrReq.h'`; then
echo shar: \"'./xrset/xrReq.h'\" unpacked with wrong size!
fi
# end of './xrset/xrReq.h'
fi
echo shar: End of archive 1 \(of 14\).
cp /dev/null ark1isdone
MISSING=""
for I in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 ; do
if test ! -f ark${I}isdone ; then
MISSING="${MISSING} ${I}"
fi
done
if test "${MISSING}" = "" ; then
echo You have unpacked all 14 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
More information about the Comp.sources.x
mailing list