home *** CD-ROM | disk | FTP | other *** search
/ Source Code 1994 March / Source_Code_CD-ROM_Walnut_Creek_March_1994.iso / compsrcs / x / volume20 / kdrill / part02 < prev    next >
Encoding:
Text File  |  1993-09-07  |  3.1 KB  |  97 lines

  1. Newsgroups: comp.sources.x
  2. From: philb@cats.UCSC.EDU (Philip Brown)
  3. Subject: v20i135:  kdrill - A program to quiz folks on kanji, Part02/02
  4. Message-ID: <1993Sep7.115616.26367@sparky.sterling.com>
  5. X-Md4-Signature: 9aab5e938dfb70948361750ad9561427
  6. Sender: chris@sparky.sterling.com (Chris Olson)
  7. Organization: Sterling Software
  8. Date: Tue, 7 Sep 1993 11:56:16 GMT
  9. Approved: chris@sterling.com
  10.  
  11. Submitted-by: philb@cats.UCSC.EDU (Philip Brown)
  12. Posting-number: Volume 20, Issue 135
  13. Archive-name: kdrill/part02
  14. Environment: X11
  15. Supersedes: kdrill: Volume 20, Issue 95
  16.  
  17. #! /bin/sh
  18. # This is a shell archive.  Remove anything before this line, then feed it
  19. # into a shell via "sh file" or similar.  To overwrite existing files,
  20. # type "sh file -c".
  21. # Contents:  KDrill PATCHLIST patchlevel.h
  22. # Wrapped by chris@sparky on Tue Sep  7 06:40:50 1993
  23. PATH=/bin:/usr/bin:/usr/ucb:/usr/local/bin:/usr/lbin ; export PATH
  24. echo If this archive is complete, you will see the following message:
  25. echo '          "shar: End of archive 2 (of 2)."'
  26. if test -f 'KDrill' -a "${1}" != "-c" ; then 
  27.   echo shar: Will not clobber existing file \"'KDrill'\"
  28. else
  29.   echo shar: Extracting \"'KDrill'\" \(125 characters\)
  30.   sed "s/^X//" >'KDrill' <<'END_OF_FILE'
  31. X!This resource file is NOT CHECKED (I think),
  32. X!But try it anyways if it works for you.
  33. XKDrill*width:    400
  34. XKDrill*height:    300
  35. X
  36. END_OF_FILE
  37.   if test 125 -ne `wc -c <'KDrill'`; then
  38.     echo shar: \"'KDrill'\" unpacked with wrong size!
  39.   fi
  40.   # end of 'KDrill'
  41. fi
  42. if test -f 'PATCHLIST' -a "${1}" != "-c" ; then 
  43.   echo shar: Will not clobber existing file \"'PATCHLIST'\"
  44. else
  45.   echo shar: Extracting \"'PATCHLIST'\" \(183 characters\)
  46.   sed "s/^X//" >'PATCHLIST' <<'END_OF_FILE'
  47. Xkdrill v1.1:
  48. X    - Patched so initstuff gets passed argc and argv!!
  49. X    - Now actually checks for depth of window. QUITE important, when
  50. X      creating a pixmap, eh?! (hardcoding, bad. Bad!)
  51. X
  52. END_OF_FILE
  53.   if test 183 -ne `wc -c <'PATCHLIST'`; then
  54.     echo shar: \"'PATCHLIST'\" unpacked with wrong size!
  55.   fi
  56.   # end of 'PATCHLIST'
  57. fi
  58. if test -f 'patchlevel.h' -a "${1}" != "-c" ; then 
  59.   echo shar: Will not clobber existing file \"'patchlevel.h'\"
  60. else
  61.   echo shar: Extracting \"'patchlevel.h'\" \(76 characters\)
  62.   sed "s/^X//" >'patchlevel.h' <<'END_OF_FILE'
  63. X#ifndef _PATCHLEVEL_H
  64. X#define _PATCHLEVEL_H
  65. X
  66. X#define VERSION    "v1.1"
  67. X
  68. X#endif
  69. END_OF_FILE
  70.   if test 76 -ne `wc -c <'patchlevel.h'`; then
  71.     echo shar: \"'patchlevel.h'\" unpacked with wrong size!
  72.   fi
  73.   # end of 'patchlevel.h'
  74. fi
  75. echo shar: End of archive 2 \(of 2\).
  76. cp /dev/null ark2isdone
  77. MISSING=""
  78. for I in 1 2 ; do
  79.     if test ! -f ark${I}isdone ; then
  80.     MISSING="${MISSING} ${I}"
  81.     fi
  82. done
  83. if test "${MISSING}" = "" ; then
  84.     echo You have unpacked both archives.
  85.     rm -f ark[1-9]isdone
  86. else
  87.     echo You still must unpack the following archives:
  88.     echo "        " ${MISSING}
  89. fi
  90. exit 0
  91. exit 0 # Just in case...
  92. -- 
  93.   // chris@Sterling.COM           | Send comp.sources.x submissions to:
  94. \X/  Amiga - The only way to fly! |    sources-x@sterling.com
  95.  "It's intuitively obvious to the |
  96.   most casual observer..."        | GCS d+/-- p+ c++ l+ m+ s++/+ g+ w+ t+ r+ x+
  97.