home *** CD-ROM | disk | FTP | other *** search
/ Source Code 1994 March / Source_Code_CD-ROM_Walnut_Creek_March_1994.iso / compsrcs / x / volume16 / xalarm30 / part03 < prev    next >
Encoding:
Internet Message Format  |  1992-02-04  |  4.8 KB

  1. Path: uunet!cis.ohio-state.edu!zaphod.mps.ohio-state.edu!mips!msi!dcmartin
  2. From: S.Marshall@sequent.cc.hull.ac.uk (Simon Marshall)
  3. Newsgroups: comp.sources.x
  4. Subject: v16i038: Xalarm 3.02, Part03/03
  5. Message-ID: <1992Feb5.144802.20602@msi.com>
  6. Date: 5 Feb 92 14:48:02 GMT
  7. References: <csx-16i036-xalarm-3.02@uunet.UU.NET>
  8. Sender: dcmartin@msi.com (David C. Martin - Moderator)
  9. Organization: Molecular Simulations, Inc.
  10. Lines: 113
  11. Approved: dcmartin@msi.com
  12. Originator: dcmartin@fascet
  13.  
  14. Submitted-by: Simon Marshall <S.Marshall@sequent.cc.hull.ac.uk>
  15. Posting-number: Volume 16, Issue 38
  16. Archive-name: xalarm-3.02/part03
  17.  
  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. # The tool that generated this appeared in the comp.sources.unix newsgroup;
  22. # send mail to comp-sources-unix@uunet.uu.net if you want that tool.
  23. # If this archive is complete, you will see the following message at the end:
  24. #        "End of archive 3 (of 3)."
  25. # Contents:  COPYRIGHT XAlarm.ad+ patchlevel.h
  26. # Wrapped by dcmartin@fascet on Wed Feb  5 06:46:37 1992
  27. PATH=/bin:/usr/bin:/usr/ucb ; export PATH
  28. if test -f 'COPYRIGHT' -a "${1}" != "-c" ; then 
  29.   echo shar: Will not clobber existing file \"'COPYRIGHT'\"
  30. else
  31. echo shar: Extracting \"'COPYRIGHT'\" \(827 characters\)
  32. sed "s/^X//" >'COPYRIGHT' <<'END_OF_FILE'
  33. X      Copyright (c) 1991, 1992 by Simon Marshall, University of Hull, UK
  34. X
  35. X           If you still end up late, don't blame me!
  36. X                       
  37. X  Permission to use, copy, modify, distribute, and sell this software and its
  38. X       documentation for any purpose and without fee is hereby granted,
  39. X    provided that the above copyright notice appear in all copies and that
  40. X    both that copyright notice and this permission notice appear in
  41. X               supporting documentation.
  42. X                       
  43. X  This software is provided AS IS with no warranties of any kind.  The author
  44. X    shall have no liability with respect to the infringement of copyrights,
  45. X     trade secrets or any patents by this file or any part thereof.  In no
  46. X      event will the author be liable for any lost revenue or profits or
  47. X          other special, indirect and consequential damages.
  48. END_OF_FILE
  49. if test 827 -ne `wc -c <'COPYRIGHT'`; then
  50.     echo shar: \"'COPYRIGHT'\" unpacked with wrong size!
  51. fi
  52. # end of 'COPYRIGHT'
  53. fi
  54. if test -f 'XAlarm.ad+' -a "${1}" != "-c" ; then 
  55.   echo shar: Will not clobber existing file \"'XAlarm.ad+'\"
  56. else
  57. echo shar: Extracting \"'XAlarm.ad+'\" \(1165 characters\)
  58. sed "s/^X//" >'XAlarm.ad+' <<'END_OF_FILE'
  59. X! We can't surround this by "#ifdef COLOR ... #endif" and have it in
  60. X! .../lib/X11/app-defaults/XAlarm because stuff in there is not pre-processed
  61. X! with cpp like wot xrdb does.  Now why is that...?
  62. X
  63. X! If you want colour, you have to stick this in your ~/.xresources file (where
  64. X! you can surround it with #ifdefs).
  65. X
  66. X#ifdef COLOR
  67. XXAlarm*background:            LightYellow
  68. XXAlarm*foreground:            IndianRed
  69. XXAlarm*Command.background:        IndianRed
  70. XXAlarm*Command.foreground:        LightYellow
  71. X#endif
  72. X
  73. X! If you want a smaller button box in the alarm window, uncomment & try these
  74. X! for size in your ~/.xresources file:
  75. X
  76. X!XAlarm.Alarm!.alarm.buttons.snooze1.fromVert:        quit
  77. X! This will vary depending on the button labels & font...
  78. X!XAlarm.Alarm!.alarm.buttons.snooze1.horizDistance:    -93
  79. X!XAlarm.Alarm!.alarm.buttons.snooze5.fromVert:        quit
  80. X!XAlarm.Alarm!.alarm.buttons.snooze15.fromVert:        quit
  81. X!XAlarm.Alarm!.alarm.buttons.snoozetime.fromHoriz:    snooze
  82. X
  83. X! If you want the button box next to the alarm window, uncomment & try this:
  84. X
  85. X!XAlarm.Alarm!.alarm.message.fromHoriz:            buttons
  86. X! This will vary depending on the button labels & font...
  87. X!XAlarm.Alarm!.alarm.message.vertDistance:        -33
  88. END_OF_FILE
  89. if test 1165 -ne `wc -c <'XAlarm.ad+'`; then
  90.     echo shar: \"'XAlarm.ad+'\" unpacked with wrong size!
  91. fi
  92. # end of 'XAlarm.ad+'
  93. fi
  94. if test -f 'patchlevel.h' -a "${1}" != "-c" ; then 
  95.   echo shar: Will not clobber existing file \"'patchlevel.h'\"
  96. else
  97. echo shar: Extracting \"'patchlevel.h'\" \(25 characters\)
  98. sed "s/^X//" >'patchlevel.h' <<'END_OF_FILE'
  99. X#define        VERSION        "3.02"
  100. END_OF_FILE
  101. if test 25 -ne `wc -c <'patchlevel.h'`; then
  102.     echo shar: \"'patchlevel.h'\" unpacked with wrong size!
  103. fi
  104. # end of 'patchlevel.h'
  105. fi
  106. echo shar: End of archive 3 \(of 3\).
  107. cp /dev/null ark3isdone
  108. MISSING=""
  109. for I in 1 2 3 ; do
  110.     if test ! -f ark${I}isdone ; then
  111.     MISSING="${MISSING} ${I}"
  112.     fi
  113. done
  114. if test "${MISSING}" = "" ; then
  115.     echo You have unpacked all 3 archives.
  116.     rm -f ark[1-9]isdone
  117. else
  118.     echo You still need to unpack the following archives:
  119.     echo "        " ${MISSING}
  120. fi
  121. ##  End of shell archive.
  122. exit 0
  123. -- 
  124. Molecular Simulations, Inc.             mail: dcmartin@msi.com
  125. 796 N. Pastoria Avenue                  uucp: uunet!dcmartin
  126. Sunnyvale, California 94086             at&t: 408/522-9236
  127.