Path: utzoo!mnetor!tmsoft!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!rutgers!bellcore-2!dino!dana From: dana@dino.bellcore.com (Dana A. Chee) Newsgroups: comp.windows.x Subject: Re: Attetion XCard users (Patch Included) Message-ID: <1990Sep14.083140@dino.bellcore.com> Date: 14 Sep 90 12:31:40 GMT References: <8375@jarthur.Claremont.EDU> Sender: usenet@bellcore-2.bellcore.com (Poster of News) Reply-To: dana@thumper.bellcore.com Organization: Packet Communications Research Group (Bellcore) Lines: 190 Since Ken sent my patch out, I thought I'd send out the remainder of the stuff, especially the XCard.ad file, since after removing the hardcoded resources, you will want it. The following shar contains the Imakefiles for xcard and dynobj, and the XCard.ad file. #! /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 'Imakefile' <<'END_OF_FILE' X#define IHaveSubdirs X#define PassCDebugFlags 'CDEBUGFLAGS=$(CDEBUGFLAGS)' X X DIST = 1.0 X DYNOBJ = dynobj X EXTRA_INCLUDES = -I$(DYNOBJ) X LOCAL_LIBRARIES = $(DYNOBJ)/libdyn.a $(XAWLIB) $(XMULIB) $(XTOOLLIB) $(XLIB) X DEPLIBS = $(DYNOBJ)/libdyn.a X SUBDIRS = $(DYNOBJ) X X OBJS = cards.o xcard.o strdup.o strtrim.o xui.o menu.o headers.o \ X editbody.o xmisc.o search.o strstr.o xmsg.o editor.o X SRCS = cards.c xcard.c strdup.c strtrim.c xui.c menu.c headers.c \ X editbody.c xmisc.c search.c strstr.c xmsg.c editor.c X XMakeSubdirs($(SUBDIRS)) XDependSubdirs($(SUBDIRS)) X XComplexProgramTarget(xcard) X XInstallAppDefaults(XCard) X Xdist: X cp *.c ../xcard$(DIST)/ X cp *.h ../xcard$(DIST)/ X cp Makefile.noIm ../xcard$(DIST)/ X cp xcard.icon ../xcard$(DIST)/ X cp xcard.man ../xcard$(DIST)/ X cp README ../xcard$(DIST)/ X cp COPYRIGHT ../xcard$(DIST)/ X cp ToDo.cf ../xcard$(DIST)/ X cp -r dynobj ../xcard$(DIST)/ END_OF_FILE if test 997 -ne `wc -c <'Imakefile'`; then echo shar: \"'Imakefile'\" unpacked with wrong size! fi # end of 'Imakefile' fi if test -f 'XCard.ad' -a "${1}" != "-c" ; then echo shar: Will not clobber existing file \"'XCard.ad'\" else echo shar: Extracting \"'XCard.ad'\" \(1445 characters\) sed "s/^X//" >'XCard.ad' <<'END_OF_FILE' X*ShapeStyle: ShapeEllipse X*bigPane.width: 563 X*subPane.width: 563 X*subPane.showGrip: TRUE X*dismissButton.label: Dismiss X*dialogPopupText.width: 400 X*cancelDialogButton.label: Cancel X*okayDialogButton.label: Ok X*searchLabel.label: Search For: X*searchTextWidget.width: 400 X*inHeader.label: In Header X*inBody.label: In Body X*goBack.label: Backward X*goForward.label: Forward X*cancelSearch.label: Cancel X*doTheSearch.label: Search X*headerTitleArea.width: 390 X*bodyEditor.height: 300 X*okEditor.label: Okay X*cancelEditor.label: Cancel X*editorTextWidget.width: X*editorTextWidget.height: X*headerList.height: 200 X*about.label: about X*file.label: file X*file.width: 60 X*save.label: Save the CardFile X*load.label: Load New CardFile X*merge.label: Merge in another CardFile X*template.label: Edit Template X*aboutCardfile.label: About Cardfile X*quit.label: Quit XCard X*searchMenu.label: Search X*searchMenu.width: 60 X*newsearch.label: Start New Search X*nextsearch.label: Search For Next X*cardMenu.label: Card X*cardMenu.width: 60 X*nextcard.label: Next Card X*prevcard.label: Previous Card X*firstcard.label: First Card X*lastcard.label: Last Card X*addcard.label: Add New Card X*deletecard.label: Delete Selected Card X*saveAscii.label: Save Card to ASCII file. X*savecard.label: Load Card from ASCII file. X*sortMenu.label: Sort X*sortMenu.width: 60 X*ascendingOrder.label: Ascending Order X*descendingOrder.label: Descending Order X*prevCard.label: <- X*nextCard.label: -> END_OF_FILE if test 1445 -ne `wc -c <'XCard.ad'`; then echo shar: \"'XCard.ad'\" unpacked with wrong size! fi # end of 'XCard.ad' fi if test -f 'dynobj/Imakefile' -a "${1}" != "-c" ; then echo shar: Will not clobber existing file \"'dynobj/Imakefile'\" else echo shar: Extracting \"'dynobj/Imakefile'\" \(1183 characters\) sed "s/^X//" >'dynobj/Imakefile' <<'END_OF_FILE' X/**/# This file is part of libdyn.a, the C Dynamic Object library. It X/**/# contains the Imakefile. X/**/# X/**/# There are no restrictions on this code; however, if you make any X/**/# changes, I request that you document them so that I do not get X/**/# credit or blame for your modifications. X/**/# X/**/# Written by Barr3y Jaspan, Student Information Processing Board (SIPB) X/**/# and MIT-Project Athena, 1989. X/**/# X/**/# This Imakefile was written by Dana Chee, Bellcore, Morristown NJ X X STD_DEFINES = LibraryDefines X CDEBUGFLAGS = LibraryCDebugFlags X INSTALLFLAGS = $(INSTINCFLAGS) X LINTLIBS = $(LINTXLIB) X X SRCS = dyn_create.c dyn_put.c dyn_debug.c dyn_delete.c dyn_size.c \ X dyn_append.c dyn_realloc.c dyn_paranoid.c dyn_insert.c X OBJS = dyn_create.o dyn_put.o dyn_debug.o dyn_delete.o dyn_size.o \ X dyn_append.o dyn_realloc.o dyn_paranoid.o dyn_insert.o X HDRS = dyn.h dynP.h X XNormalLibraryTarget(dyn,$(OBJS)) XLintLibraryTarget(dyn,$(SRCS)) XInstallLibrary(dyn,$(USRLIBDIR)) XInstallLintLibrary(dyn,$(LINTLIBDIR)) XInstallMultiple($(HDRS),$(INCDIR)) XDependTarget() X Xtest: $(DEST) test.o X $(CC) -o test test.o $(DEST) END_OF_FILE if test 1183 -ne `wc -c <'dynobj/Imakefile'`; then echo shar: \"'dynobj/Imakefile'\" unpacked with wrong size! fi # end of 'dynobj/Imakefile' fi echo shar: End of archive 1 \(of 1\). cp /dev/null ark1isdone MISSING="" for I in 1 ; do if test ! -f ark${I}isdone ; then MISSING="${MISSING} ${I}" fi done if test "${MISSING}" = "" ; then echo You have the archive. rm -f ark[1-9]isdone else echo You still need to unpack the following archives: echo " " ${MISSING} fi ## End of shell archive. exit 0