home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / x / volume18 / wclock / part04 < prev    next >
Text File  |  1992-07-13  |  37KB  |  769 lines

  1. Newsgroups: comp.sources.x
  2. Path: uunet!zaphod.mps.ohio-state.edu!mips!msi!dcmartin
  3. From: R.Caley@ed.ac.uk (Richard Caley)
  4. Subject: v18i014: Wclock - another X clock, Part04/04
  5. Message-ID: <1992Jul13.153554.6463@msi.com>
  6. Originator: dcmartin@fascet
  7. Sender: dcmartin@msi.com (David C. Martin - Moderator)
  8. Organization: Molecular Simulations, Inc.
  9. References: <csx-18i011-wclock@uunet.UU.NET>
  10. Date: Mon, 13 Jul 1992 15:35:54 GMT
  11. Approved: dcmartin@msi.com
  12. Lines: 755
  13.  
  14. Submitted-by: R.Caley@ed.ac.uk (Richard Caley)
  15. Posting-number: Volume 18, Issue 14
  16. Archive-name: wclock/part04
  17.  
  18. #!/bin/sh
  19. # this is part.04 (part 4 of a multipart archive)
  20. # do not concatenate these parts, unpack them in order with /bin/sh
  21. # file rose.xbm continued
  22. #
  23. if test ! -r _shar_seq_.tmp; then
  24.     echo 'Please unpack part 1 first!'
  25.     exit 1
  26. fi
  27. (read Scheck
  28.  if test "$Scheck" != 4; then
  29.     echo Please unpack part "$Scheck" next!
  30.     exit 1
  31.  else
  32.     exit 0
  33.  fi
  34. ) < _shar_seq_.tmp || exit 1
  35. if test ! -f _shar_wnt_.tmp; then
  36.     echo 'x - still skipping rose.xbm'
  37. else
  38. echo 'x - continuing file rose.xbm'
  39. sed 's/^X//' << 'SHAR_EOF' >> 'rose.xbm' &&
  40. X 0xff,0xda,0x56,0x55,0x6b,0x57,0x55,0x25,0x54,0x00,0x69,0x7f,0xa2,0xfa,0x6f,
  41. X 0xaf,0x14,0x42,0x55,0x81,0x68,0x5d,0x55,0x15,0x51,0x12,0x01,0x95,0x29,0x91,
  42. X 0x12,0x44,0xf9,0xff,0xff,0xfb,0xfb,0xff,0xfd,0xed,0xbf,0x6f,0x55,0xd5,0xde,
  43. X 0xfd,0x97,0x08,0x49,0x55,0xd2,0x7e,0x49,0xec,0xfd,0xb7,0x82,0x10,0x92,0x24,
  44. X 0xa2,0xab,0x55,0x49,0x94,0xa4,0x28,0x44,0x44,0x24,0x40,0x29,0xd2,0xdf,0xff,
  45. X 0xff,0xff,0xf7,0xef,0xff,0xfe,0x5a,0xad,0xba,0x75,0x57,0x55,0x25,0x94,0x84,
  46. X 0x68,0x37,0x84,0x7a,0x6f,0x5b,0x55,0x22,0xa9,0x02,0x88,0xb6,0xaa,0x92,0x24,
  47. X 0x09,0x82,0x52,0x89,0x82,0x0a,0xa2,0xfa,0xff,0xff,0xdf,0xbf,0x7f,0xbf,0xff,
  48. X 0x57,0xd7,0x56,0x6f,0xdf,0xfd,0xab,0x52,0x21,0x22,0xa2,0x7d,0x41,0xec,0xff,
  49. X 0xfe,0x96,0x48,0x40,0x95,0x20,0xaa,0x2a,0x09,0x95,0x52,0x21,0xa1,0x54,0x50,
  50. X 0xa0,0xa8,0xe6,0xfe,0xff,0xff,0xff,0xff,0xfb,0xff,0xff,0xba,0xf5,0xfa,0x7d,
  51. X 0xb7,0xae,0x6c,0x4a,0x88,0xc8,0x7e,0x94,0xfa,0xfb,0xdb,0x2b,0x01,0x15,0x45,
  52. X 0x02,0x54,0x55,0x22,0x2a,0x04,0x94,0x94,0x82,0x02,0x05,0xd5,0x5a,0xfb,0xff,
  53. X 0xff,0xff,0xdd,0xff,0xdb,0x6f,0x6f,0xbb,0x5f,0xd7,0xff,0x77,0xbb,0x88,0x22,
  54. X 0x22,0x77,0x41,0x6c,0x6f,0xff,0xb6,0x54,0x40,0xa8,0x54,0x81,0x8a,0x88,0x42,
  55. X 0x49,0x21,0x51,0x54,0xa8,0xa0,0xa8,0xd6,0xfe,0xff,0xfb,0xfe,0xff,0x6e,0xff,
  56. X 0xbd,0xd5,0xee,0xfd,0xfd,0xf6,0xad,0xaf,0x22,0x84,0x88,0x7a,0x24,0xf5,0xff,
  57. X 0xad,0x5b,0x05,0x01,0x01,0x49,0x2a,0x00,0x62,0x29,0x22,0x14,0x94,0x22,0x05,
  58. X 0x0a,0xa2,0xba,0xf5,0xff,0xff,0xdf,0xf7,0xff,0xff,0xf7,0xbe,0x7f,0xb7,0xbf,
  59. X 0x5f,0xff,0xfd,0x14,0x29,0x22,0x7d,0x89,0xd8,0xbb,0xff,0xf6,0xab,0x54,0x48,
  60. X 0x10,0xa9,0x6a,0x29,0x8a,0x88,0x84,0x4a,0x88,0xa0,0x80,0x54,0x6b,0xff,0xff,
  61. X 0xff,0xff,0xbf,0xdb,0xff,0xde,0xd5,0xfa,0xff,0xf6,0xfe,0x6b,0xaf,0xa2,0x84,
  62. X 0x88,0xda,0x20,0xf5,0xff,0xf6,0x5f,0xad,0x00,0x21,0x02,0x40,0x55,0x95,0x10,
  63. X 0x02,0x49,0xaa,0x12,0x0a,0x2a,0xd2,0xd6,0xfa,0xff,0xfd,0xff,0xfe,0xff,0xff,
  64. X 0xbf,0x76,0x55,0xad,0xdf,0xd7,0xff,0xff,0x54,0x52,0x20,0xf4,0x8a,0xd8,0xde,
  65. X 0x5f,0xeb,0xf7,0x56,0x08,0x90,0x14,0x80,0x24,0x84,0x50,0x12,0x09,0x49,0x81,
  66. X 0x40,0x51,0x75,0xff,0xff,0xef,0xff,0xff,0x7f,0xbb,0xf5,0xad,0xed,0xfb,0x7a,
  67. X 0x7f,0xdf,0x7e,0x49,0x85,0x82,0x78,0x21,0xf5,0xff,0xfd,0xbd,0x5a,0x95,0x42,
  68. X 0x01,0x42,0x12,0x80,0x12,0x4a,0xa0,0x52,0x12,0x24,0x8a,0xaa,0xae,0xfd,0xff,
  69. X 0xff,0xfb,0xef,0xee,0xff,0x5f,0x5b,0xb5,0xbe,0xdf,0xed,0xf7,0xb7,0x54,0x51,
  70. X 0x28,0xd2,0x48,0xd4,0xef,0x6f,0xdf,0xdf,0xad,0x14,0xa4,0x10,0x24,0x49,0x84,
  71. X 0x90,0x4a,0x95,0x44,0x89,0x40,0x54,0xf5,0xdf,0xff,0x7f,0xff,0xff,0xff,0x7f,
  72. X 0xb5,0xad,0xea,0xeb,0x76,0xbf,0xbd,0xbf,0x2a,0x25,0x85,0xf0,0x01,0x79,0x7f,
  73. X 0xff,0x7b,0xb5,0xbb,0xa5,0x00,0x40,0x00,0x84,0x10,0x4b,0x48,0x22,0x11,0x20,
  74. X 0x2a,0xa9,0xad,0xff,0xff,0xff,0xbf,0xff,0xff,0xdf,0xdf,0xd6,0xda,0xfe,0xff,
  75. X 0xf7,0xff,0x5b,0x55,0x59,0x21,0xc4,0x55,0xd2,0xfb,0xdd,0xde,0xef,0xd6,0x5a,
  76. X 0x55,0x0a,0x52,0x51,0xa2,0x22,0xa2,0x94,0x88,0x8a,0x80,0xaa,0xf6,0xff,0xff,
  77. X 0xff,0xff,0xfd,0xdf,0x7e,0xb5,0xba,0x55,0xab,0xaa,0xdd,0x76,0xbf,0xaa,0x26,
  78. X 0x8a,0xd0,0x01,0xe9,0xff,0xff,0x77,0xbd,0x6d,0xb7,0x0a,0x21,0x01,0x04,0x54,
  79. X 0x4a,0x54,0x52,0x22,0x20,0x2a,0x54,0xdb,0xff,0xff,0xff,0xff,0xbf,0xfb,0xef,
  80. X 0x5f,0x57,0xd5,0xfe,0xff,0xf7,0xdf,0xdd,0xaa,0x52,0x21,0x05,0x4b,0xd2,0xbf,
  81. X 0xf7,0xfd,0x6f,0xdb,0xda,0xed,0x4a,0x48,0x51,0xb7,0x25,0x29,0x09,0x48,0x8a,
  82. X 0x80,0xd2,0xfd,0xfb,0xff,0xff,0xff,0xff,0xff,0xbf,0xf5,0xda,0xaa,0xab,0xdd,
  83. X 0xbe,0xfd,0xb7,0x5b,0x15,0x0a,0x90,0x05,0xe9,0xff,0xbf,0xaf,0xfd,0xef,0xb7,
  84. X 0xbb,0x5d,0x2b,0xa2,0x4d,0x9a,0x44,0xa2,0x02,0x21,0x2a,0x55,0xff,0xff,0xff,
  85. X 0xdf,0xf7,0xff,0xff,0xee,0xae,0xad,0xaa,0xfe,0xf7,0xf7,0x6f,0xdf,0xb6,0x55,
  86. X 0x41,0x25,0x52,0xd2,0xff,0xff,0xff,0xb7,0x7a,0x6d,0xed,0xff,0xdf,0x5b,0xd5,
  87. X 0xad,0x2a,0x11,0x50,0x08,0x92,0xa8,0xfd,0xff,0xff,0xff,0x7f,0xf7,0xde,0x7f,
  88. X 0x5b,0x53,0xd5,0xb5,0xdf,0xde,0xfe,0x7d,0xab,0xaa,0x2a,0x80,0x06,0xe4,0xfd,
  89. X 0xee,0xf6,0xfe,0xef,0xbf,0xbf,0xb5,0x7d,0xed,0xbe,0xbb,0x92,0x44,0x05,0x51,
  90. X 0x49,0xf5,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xdb,0xef,0x5d,0x55,0xff,0xfa,
  91. X 0xfb,0xb7,0xdf,0xdf,0xaa,0x94,0x2a,0xa8,0xd2,0xef,0xff,0xbf,0xbf,0xbb,0xea,
  92. X 0xf5,0x6f,0xab,0xbb,0xd5,0x4a,0x24,0x21,0x40,0x0a,0xa4,0xda,0xff,0xff,0xff,
  93. X 0xff,0xff,0xff,0xff,0x6f,0x55,0xaa,0xaa,0xda,0x6f,0x6f,0xff,0x76,0xbb,0x56,
  94. X 0x29,0x40,0x15,0xe4,0xff,0xff,0xff,0xeb,0xfe,0xff,0xdf,0xfe,0x76,0xad,0x6f,
  95. X 0x25,0x11,0x4a,0x15,0x50,0x49,0xf5,0xff,0xff,0xff,0xff,0xde,0xbf,0xef,0xfb,
  96. X 0xbb,0x56,0x55,0xf7,0xfd,0xff,0xb7,0xff,0x6f,0xab,0x4a,0x2a,0x50,0xd2,0xff,
  97. X 0xbf,0xed,0xff,0xdf,0x7e,0xff,0xab,0xdd,0xd6,0x9a,0x48,0x4a,0x51,0x42,0xa5,
  98. X 0x54,0xfd,0xff,0xff,0xff,0xff,0xff,0xfd,0x7d,0xaf,0xd6,0xad,0x2a,0xdd,0xb7,
  99. X 0xd5,0xfe,0x6d,0xdb,0xaa,0x12,0x41,0xa1,0xf4,0xff,0xfd,0x7f,0xff,0xfb,0xf7,
  100. X 0x6d,0xff,0xb6,0x3b,0x45,0x22,0x21,0x4a,0x29,0x95,0xaa,0xff,0xff,0xff,0xff,
  101. X 0xff,0xff,0xff,0xff,0xfd,0x7d,0x55,0xa5,0x76,0x7d,0xbb,0x6f,0xff,0x7f,0x57,
  102. X 0x55,0x28,0x4a,0xd5,0xde,0xff,0xff,0x6f,0xff,0xdf,0xff,0xad,0xdb,0x6e,0x21,
  103. X 0x49,0x4a,0xa1,0x4a,0xaa,0x54,0xb5,0xff,0xff,0xff,0xff,0xff,0xff,0xf7,0xd7,
  104. X 0xd6,0xaa,0xaa,0xfe,0xf7,0x76,0xfd,0xad,0xed,0x5a,0x95,0x42,0x90,0xea,0xff,
  105. X 0xff,0xdf,0xfd,0xdf,0xff,0xdb,0x77,0xb7,0x95,0x94,0x90,0x08,0x8a,0x90,0xaa,
  106. X 0xea,0xd6,0xfe,0xff,0xff,0xff,0xff,0xdf,0xbe,0xbd,0x6f,0x57,0x55,0xdb,0x5e,
  107. X 0xaf,0x6f,0xff,0xbf,0xdf,0xaa,0x28,0x0a,0xf5,0xff,0xef,0xf6,0xff,0xfb,0xfd,
  108. X 0x7e,0xdd,0xaa,0x2a,0x49,0x24,0x52,0x51,0xaa,0xaa,0xaa,0xaa,0xfd,0xff,0xff,
  109. X 0xff,0x77,0xff,0xff,0x77,0xb5,0x5a,0x55,0xed,0xeb,0x7a,0xfd,0x75,0xfb,0x6a,
  110. X 0x5b,0x42,0x51,0xfa,0xbd,0xff,0xbf,0xad,0x6f,0xd7,0xeb,0xaa,0x5a,0x45,0x04,
  111. X 0x49,0x25,0x2a,0x55,0x6d,0x5b,0xa9,0xf6,0xff,0xff,0xff,0xff,0xfb,0xff,0xdd,
  112. X 0xde,0xad,0x55,0xfd,0x5e,0xad,0x6f,0xdf,0xbf,0x5f,0x55,0x29,0x24,0xfa,0xff,
  113. X 0xfb,0xed,0xfb,0xda,0xba,0x5a,0xb7,0x6a,0x29,0x52,0x12,0x48,0x91,0xaa,0xb6,
  114. X 0x2d,0x12,0xfd,0xff,0xff,0xff,0xff,0xff,0xae,0x77,0x6b,0x6b,0xad,0xda,0xfb,
  115. X 0x6b,0xfb,0x7b,0xf5,0x7a,0xad,0x42,0x49,0xd9,0xf7,0xdf,0xbf,0xae,0x77,0xd7,
  116. X 0xb6,0x5a,0xab,0x40,0x81,0xa0,0x92,0xa4,0xd4,0xea,0x56,0xa9,0xf6,0xff,0xff,
  117. X 0x7f,0xff,0xff,0xff,0xdd,0xbd,0xb5,0xaa,0x76,0xaf,0xda,0xde,0xee,0xbf,0x5f,
  118. X 0xb7,0x28,0x24,0xf2,0x7e,0x7f,0xeb,0xfb,0xba,0x7b,0xdb,0xad,0x2a,0x2a,0x28,
  119. X 0x4a,0x54,0x52,0x55,0xbb,0x15,0xa2,0xfd,0xff,0xff,0xff,0xff,0xdf,0xb7,0x77,
  120. X 0xf7,0xae,0x55,0xdd,0xfd,0xb7,0xfb,0xbf,0xfb,0xed,0xad,0x42,0x49,0xe5,0xff,
  121. X 0xfb,0x5d,0x57,0xd7,0xd6,0x56,0xdb,0x8a,0x44,0x45,0x20,0xa1,0xa4,0xaa,0xae,
  122. X 0x4e,0x55,0xf7,0xff,0xff,0xff,0xbf,0xff,0xff,0xdd,0xad,0xb5,0xaa,0xf5,0x5f,
  123. X 0xdd,0xb7,0xf6,0x5e,0xbf,0x76,0x2a,0x92,0xa8,0xef,0x6f,0xf7,0xed,0xbb,0x6d,
  124. X 0xdb,0xaa,0x2a,0x29,0x90,0x0a,0x54,0x52,0xdb,0xab,0x15,0xa8,0xfd,0xff,0xff,
  125. X 0xff,0xfb,0xfb,0x6d,0xb7,0x77,0x57,0x55,0xdd,0xfe,0x6b,0xff,0xdf,0xfb,0xfd,
  126. X 0x5b,0xa5,0x48,0xc2,0x7e,0xbf,0x5d,0x5b,0x6d,0xdb,0xb6,0x56,0x41,0x40,0x05,
  127. X 0x50,0x89,0xaa,0xb6,0x6a,0x4b,0x55,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xed,
  128. X 0xdd,0xd5,0x6a,0xf5,0xef,0xde,0xdb,0x76,0xbf,0xd7,0xbe,0x12,0x25,0x95,0xfb,
  129. X 0xff,0xb7,0xed,0xb6,0x6d,0xd5,0x5a,0x14,0x95,0xa0,0x2a,0x52,0xa9,0xda,0x5a,
  130. X 0x15,0xa9,0xfb,0xff,0xff,0xff,0xff,0xff,0xd6,0xbf,0xbb,0xaa,0x5a,0xdd,0xfb,
  131. X 0x7b,0xff,0xff,0xed,0xff,0x6b,0x55,0x52,0x25,0xef,0xad,0xda,0xb6,0x6d,0xdb,
  132. X 0x56,0x25,0xa9,0x48,0x0a,0x95,0x94,0x52,0x57,0xb5,0x47,0x6a,0xef,0xff,0xff,
  133. X 0xff,0xff,0xbf,0xff,0xea,0xee,0x6d,0xad,0xf6,0xfe,0xee,0xb7,0x6d,0xff,0xda,
  134. X 0xbe,0xaa,0x24,0x55,0x7a,0xff,0x6e,0xdb,0xb6,0x56,0xdb,0x92,0x04,0x92,0xa4,
  135. X 0x08,0xa9,0xaa,0x55,0xd5,0x1a,0xaa,0xfa,0xff,0xff,0xff,0xff,0xff,0xad,0xbf,
  136. X 0x5b,0x5b,0xdb,0xfe,0xdf,0xbf,0xfd,0xff,0xb5,0xff,0xdb,0xaa,0x52,0xa5,0xec,
  137. X 0xab,0xb5,0xad,0xd5,0x6d,0xb5,0x24,0xa9,0x4a,0x12,0xa5,0x56,0x75,0x55,0xab,
  138. X 0xa6,0xaa,0xad,0xff,0xff,0xbf,0xff,0xfe,0x7b,0xeb,0xbe,0xaa,0x6d,0xb7,0xfb,
  139. X 0xf7,0x6f,0xb5,0xef,0xdb,0xbe,0x56,0x95,0x2a,0x69,0xdf,0xda,0xea,0xba,0x56,
  140. X 0x5b,0x52,0x4a,0x21,0xa9,0xa8,0xaa,0xaa,0xaa,0x6a,0xab,0xaa,0xea,0xff,0xff,
  141. X 0xff,0xff,0xaf,0xef,0xbd,0x6b,0xdb,0xd6,0xfe,0x7f,0xbf,0xff,0xdf,0xbd,0xee,
  142. X 0xf7,0xad,0x68,0x55,0xd2,0xbd,0x55,0xb7,0x57,0x75,0x55,0xa5,0x14,0x55,0xa5,
  143. X 0x52,0x89,0x92,0xaa,0xd6,0xae,0xaa,0xda,0xff,0xbf,0xff,0xff,0xff,0xba,0xef,
  144. X 0xde,0xb6,0xb5,0xff,0xef,0xff,0x76,0x7f,0xef,0x7f,0xfd,0xb6,0x96,0x52,0x25,
  145. X 0xaa,0xba,0xad,0xea,0x5a,0x57,0x55,0xa2,0x94,0x2a,0x6d,0x55,0x49,0xd5,0x5a,
  146. X 0xab,0x5a,0x65,0xff,0xff,0xff,0xff,0xf7,0xff,0xbe,0xbb,0xed,0xdb,0xdb,0xfe,
  147. X 0xed,0xdf,0xf5,0xbb,0xda,0xd7,0xad,0xaa,0x8a,0x54,0x55,0xd7,0x5a,0xad,0xab,
  148. X 0x54,0xaa,0x5a,0x55,0xd5,0xbe,0x2a,0x55,0xaa,0xb5,0xae,0x55,0xda,0xff,0xff,
  149. X 0xff,0x6f,0x5d,0xad,0xeb,0xd6,0xba,0xf6,0xff,0xff,0xff,0xfb,0xff,0xfe,0xf7,
  150. X 0xfd,0x6b,0x55,0x25,0x55,0x55,0xb5,0x6a,0xab,0x54,0xab,0x52,0xa5,0xaa,0x5a,
  151. X 0x57,0xa5,0xaa,0x55,0xad,0xb5,0x56,0x65,0xff,0xff,0xff,0xbb,0xff,0xf7,0xbf,
  152. X 0x7f,0xef,0x7d,0xff,0xdb,0x7f,0xbf,0xd7,0xd7,0x5e,0xb7,0xdf,0xaa,0xaa,0xaa,
  153. X 0xde,0x6a,0x57,0x55,0xab,0x54,0xad,0x5a,0xd5,0xed,0x5d,0xa9,0x2a,0xb5,0x6a,
  154. X 0x5b,0x49,0xd4,0xff,0xff,0xff,0xae,0xbc,0xfd,0xea,0xaa,0x7b,0xff,0x6d,0xff,
  155. X 0xed,0xef,0xfd,0xfd,0xf7,0xef,0x6d,0x6f,0x55,0x6d,0x6b,0x95,0xba,0x6b,0x55,
  156. X 0xab,0xaa,0xd6,0x7e,0x7b,0xaf,0x56,0x55,0x55,0xdb,0xae,0x2a,0xa9,0xfe,0xff,
  157. X 0xbf,0x55,0xf9,0xd7,0xbf,0xff,0xae,0xed,0xff,0xff,0xff,0xff,0xbf,0x6f,0xdf,
  158. X 0xba,0xbf,0x5d,0x55,0xb5,0xdd,0x6d,0xd5,0xde,0xb6,0xed,0xdd,0x7d,0xeb,0xef,
  159. X 0x55,0xa9,0xaa,0x6a,0x6d,0x1b,0x4a,0xd2,0xfb,0xff,0x6f,0x6b,0xb5,0xbd,0xed,
  160. X 0xaa,0xf7,0xff,0xff,0x77,0x7f,0xbb,0xed,0xfb,0xbb,0xff,0xed,0xd6,0xb6,0xde,
  161. X 0xb6,0xb6,0xad,0xb6,0x7b,0x5b,0xf7,0xdf,0x7f,0xb5,0xae,0x56,0x55,0xad,0xb6,
  162. X 0xb6,0x22,0xa9,0xfe,0xff,0xbb,0xad,0xfa,0xff,0xde,0xff,0xda,0xbf,0xbb,0xff,
  163. X 0xfb,0xff,0xbf,0x6f,0xef,0xd6,0xfe,0x7b,0xdb,0x6a,0xdb,0xad,0xda,0xfa,0xee,
  164. X 0xff,0x5d,0x7b,0xd5,0xdf,0x5b,0x55,0xd5,0xea,0xd5,0x5d,0xa8,0x52,0xed,0xff,
  165. X 0xee,0xf6,0xdf,0xb6,0xf7,0x5a,0xff,0xf6,0xff,0xdd,0xff,0xef,0xf7,0xfb,0xfb,
  166. X 0xbf,0xb7,0xde,0xbf,0xdd,0xf6,0xb6,0xab,0xad,0xff,0x6d,0xff,0xae,0xbf,0xea,
  167. X 0xaa,0x55,0x55,0x2b,0xb5,0x36,0x92,0x94,0xf6,0xff,0xbb,0x5f,0x7f,0xdf,0xdd,
  168. X 0xef,0xb5,0xff,0xfe,0xff,0xef,0x7e,0xbf,0xde,0xde,0xfa,0xfd,0x6b,0x75,0x77,
  169. X 0xdf,0xdb,0x76,0xdb,0xda,0xff,0xb5,0xfb,0xea,0xbf,0xb7,0xaa,0x5a,0xed,0x6e,
  170. X 0xb5,0x48,0x22,0xad,0xff,0xee,0xfb,0xd7,0xf7,0x77,0xfb,0xff,0xdf,0xb7,0xff,
  171. X 0xfd,0xff,0xf7,0xff,0xbf,0x6f,0x5f,0xff,0xdf,0xdd,0xb5,0x76,0xdb,0x6e,0xbf,
  172. X 0x6d,0xef,0xbf,0xbf,0xea,0x5a,0x6d,0xab,0x35,0xab,0x5f,0xaa,0x4a,0xf2,0xf6,
  173. X 0xfb,0xff,0xfe,0xbe,0xfe,0x5d,0xdb,0xfb,0xff,0xdd,0xbf,0xf7,0xff,0xb5,0xf5,
  174. X 0xfd,0xf5,0x5b,0xed,0x77,0xff,0xef,0x6e,0xbb,0xf5,0xff,0xbb,0xea,0xea,0xdd,
  175. X 0xb7,0xd5,0xb6,0xd6,0x5a,0x69,0x90,0x2a,0xd5,0xff,0x6d,0xff,0xdb,0xed,0x5b,
  176. X 0xff,0xff,0xff,0xff,0xff,0xff,0xbf,0x7d,0xff,0x7f,0x5f,0xff,0xfe,0x7f,0xdd,
  177. X 0xab,0xba,0xdb,0xde,0x5b,0xdb,0xfe,0x7f,0x7f,0x77,0x5d,0xbb,0x5a,0x6b,0x6d,
  178. X 0x77,0xa5,0x8a,0x54,0xd5,0xf7,0xbf,0x7f,0x7f,0xff,0xdb,0x76,0xbf,0xdd,0xf7,
  179. X 0xf6,0xfd,0xef,0x6f,0xf7,0xf5,0xad,0xf7,0xf6,0x77,0xff,0xf7,0xee,0x75,0xef,
  180. X 0xff,0xdb,0xd5,0xd5,0xee,0xeb,0x56,0xd5,0xd6,0xda,0xae,0x48,0x50,0x52,0x7b,
  181. X 0xbd,0xfb,0xed,0xdb,0xef,0xfe,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xfb,0x7d,
  182. X 0xbf,0xfb,0xbd,0xbf,0xdd,0x55,0xbd,0xbb,0xbe,0x75,0x6d,0x7f,0xff,0xbe,0xbb,
  183. X 0x5e,0xdb,0xb6,0x5a,0xb7,0xda,0xa2,0x8a,0x28,0xd5,0xff,0xff,0xbf,0xff,0xfe,
  184. X 0xef,0xdb,0xed,0x7f,0xbf,0xdf,0xef,0xbe,0xdf,0xd7,0xfb,0xee,0xf7,0xed,0x7f,
  185. X 0xff,0xd7,0xee,0xeb,0xae,0xff,0xed,0x55,0x6b,0xed,0xfb,0xb6,0x6d,0x6b,0xd5,
  186. X 0xb5,0x08,0x11,0x92,0x6a,0xd7,0xff,0xf7,0xff,0xbf,0x7f,0xff,0xff,0xee,0xf7,
  187. X 0xff,0xfe,0xf7,0xff,0xfe,0xdf,0x7f,0x7d,0xff,0xd6,0x6d,0xfd,0x7b,0xbd,0xfb,
  188. X 0x6d,0xff,0xff,0xde,0xbb,0xae,0x6d,0xab,0xb5,0xba,0xde,0x52,0x44,0x49,0xd4,
  189. X 0xff,0xfe,0xff,0xfb,0xf7,0xff,0xff,0xff,0xff,0xff,0xfd,0xff,0xff,0xf6,0xbb,
  190. X 0x76,0xdb,0xef,0xdb,0xff,0xf7,0x57,0xef,0xf7,0xae,0xf6,0xdb,0xea,0x75,0xef,
  191. X 0x5d,0xdb,0x5e,0x6b,0xd7,0x75,0x81,0x28,0x2a,0x6b,0xfb,0xdf,0x7f,0x6f,0xff,
  192. X 0xfb,0xff,0xf7,0xff,0xde,0xf7,0x77,0xff,0x7f,0xef,0xff,0xff,0xfb,0xfe,0x6d,
  193. X 0x5d,0xfd,0x5b,0x5d,0xf7,0xbf,0xff,0x5f,0xbf,0x75,0xab,0xb6,0xb5,0xb5,0x6a,
  194. X 0xdb,0x2a,0x42,0x55,0xd5,0xff,0xfb,0xfe,0xff,0xff,0xff,0xdd,0xbf,0xfb,0xff,
  195. X 0xbf,0xff,0xdb,0xdf,0x7d,0xdb,0xb6,0xee,0xb7,0xff,0xff,0xb7,0xfe,0xf7,0x5d,
  196. X 0xf5,0xb6,0xfa,0xea,0xae,0xb7,0xdd,0xd6,0xee,0xad,0x6d,0x41,0x94,0x4a,0x6a,
  197. X 0xbf,0xff,0xff,0xdd,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xfb,0xdf,
  198. X 0xff,0xfd,0xbf,0xfd,0xb7,0x6d,0xed,0xb7,0x5d,0xef,0xee,0xff,0x5f,0x5f,0xfb,
  199. X 0xda,0x76,0xbb,0x35,0xdb,0xb6,0x15,0xa9,0x95,0xd4,0xff,0xdf,0xdb,0xff,0xff,
  200. X 0xff,0xff,0xd6,0xee,0xbd,0xff,0xdd,0xff,0x7f,0x77,0xd5,0xd7,0xfd,0xb7,0xfe,
  201. X 0xf7,0xbf,0xdd,0xf7,0xba,0xbb,0x5b,0xf5,0xfa,0xad,0xaa,0xad,0x6d,0xef,0xb6,
  202. X 0xdb,0x2a,0x72,0x2b,0x69,0xff,0xf6,0xfe,0x7f,0xff,0xff,0xff,0x15,0x00,0xfe,
  203. X 0xdd,0xff,0xfd,0xfe,0xfd,0xff,0x7e,0x57,0xfd,0xdf,0x7e,0x6b,0x77,0xbd,0xef,
  204. X 0xfe,0xfe,0x5f,0xaf,0xfe,0xda,0x7a,0xb7,0xb5,0xda,0xf6,0x8b,0xa8,0x95,0xd4,
  205. X 0xff,0xbf,0x7f,0xf7,0xff,0xff,0xff,0xaf,0xaa,0xf5,0xff,0xff,0xef,0xf7,0x6f,
  206. X 0xdb,0xfb,0xff,0xef,0xfa,0xef,0xff,0xff,0xf7,0xba,0xdb,0xab,0xfa,0x7a,0x8b,
  207. X 0xb6,0xed,0x6d,0x6b,0xb7,0x5d,0x25,0xa5,0x2a,0x52,0xff,0xed,0xf7,0xff,0xff,
  208. X 0xff,0xff,0xb7,0xea,0xff,0xff,0xbf,0xff,0xdf,0xdf,0xff,0xde,0xba,0xbb,0xbf,
  209. X 0xbb,0xbb,0x55,0xbd,0xef,0xff,0xff,0xaf,0xd7,0x6a,0x55,0x5b,0xbb,0xbd,0xdb,
  210. X 0xee,0x55,0x52,0x4b,0xa9,0xdf,0xff,0xff,0xff,0xff,0xff,0xff,0xdf,0xfa,0xff,
  211. X 0xff,0xff,0x7f,0xff,0x7e,0xb5,0xf7,0xef,0xfe,0xed,0xfe,0xfe,0xff,0xf7,0x7e,
  212. X 0xbb,0x56,0x75,0x5d,0xd5,0x76,0xed,0xee,0xd6,0xb6,0xb5,0x0b,0xa9,0x2a,0x2a,
  213. X 0xff,0xbb,0xbd,0xfd,0xff,0xff,0xff,0x7f,0xf7,0xff,0xff,0xff,0xff,0xff,0xef,
  214. X 0xff,0xbd,0xfd,0x6f,0xff,0xef,0xdf,0xf6,0xbe,0xdf,0xef,0xfb,0xde,0x56,0x54,
  215. X 0xab,0xb7,0x77,0xbb,0xed,0xde,0xd6,0x50,0x95,0xaa,0xff,0xff,0xff,0xff,0xff,
  216. X 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0x7f,0x6b,0xef,0xb7,0xfd,0xed,
  217. X 0xbf,0xfb,0xdf,0xfb,0x7d,0xbb,0xae,0xb5,0xa5,0xaa,0x6e,0xfd,0xda,0xed,0xb6,
  218. X 0x75,0x7b,0x57,0x55,0x55,0xff,0xef,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
  219. X 0xff,0xff,0xff,0xbf,0xea,0xff,0xfb,0xfe,0x5f,0x7f,0xf5,0x6f,0xfb,0xbf,0xb7,
  220. X 0xad,0x6b,0xdb,0x92,0xda,0xb5,0x56,0x7f,0xbb,0xdd,0xde,0xff,0xbd,0xaa,0xb6,
  221. X 0xdf,0xff,0xff,0xf7,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xbf,
  222. X 0xad,0xef,0xdb,0xf6,0xed,0xbf,0xfd,0xdf,0xf6,0x2e,0x52,0x94,0x56,0x54,0x35,
  223. X 0xed,0xed,0xf5,0xef,0x77,0x6b,0xfd,0x7f,0xa5,0x5a,0xff,0xfe,0xef,0xfe,0xff,
  224. X 0xff,0xff,0xf7,0xff,0xff,0xff,0xff,0xff,0xff,0xfb,0xff,0xda,0xfe,0xff,0xff,
  225. X 0xee,0x7f,0xf7,0xff,0x57,0x89,0x22,0x21,0xa5,0xd6,0x56,0xbb,0xbf,0xba,0xba,
  226. X 0xdd,0xeb,0xdf,0xab,0xf6,0xff,0xff,0xfe,0xdf,0xff,0xff,0xff,0xfe,0xff,0xff,
  227. X 0xff,0xff,0xff,0xff,0xff,0xed,0x7f,0xb7,0xad,0xed,0x7b,0xdb,0xbf,0xad,0x48,
  228. X 0x55,0x4a,0x4a,0x4a,0xd5,0xbd,0xed,0xf6,0xef,0xd7,0x77,0xff,0xff,0x57,0xdd,
  229. X 0xff,0xff,0xbf,0xfb,0x6d,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
  230. X 0x7f,0xdb,0xff,0x7f,0x7f,0xff,0xff,0xf6,0x7f,0x57,0x92,0x92,0x24,0xa5,0x6a,
  231. X 0xd5,0xb6,0xdf,0x7a,0xfd,0xba,0xeb,0xfd,0xbf,0xf5,0xff,0xef,0xf7,0x7f,0xff,
  232. X 0x7f,0xfd,0xfa,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xf7,0x7d,0x6b,0xfb,0xb5,
  233. X 0xdb,0xf6,0xdf,0x4a,0xa9,0x24,0x54,0xa9,0x54,0x57,0x5b,0xdf,0xfb,0xef,0xd7,
  234. X 0xef,0xfe,0xff,0xed,0x56,0xff,0xff,0xfe,0xee,0xff,0xff,0xbf,0xff,0xff,0xff,
  235. X 0xff,0xff,0xff,0xff,0xff,0x7f,0xdf,0xff,0xb7,0xff,0xfe,0xbf,0xfb,0xab,0xaa,
  236. X 0x52,0x25,0x48,0x4a,0xb5,0xed,0xea,0x7e,0x7b,0x7d,0x75,0xdb,0xdf,0xff,0xbb,
  237. X 0xff,0xfb,0xff,0xff,0xfb,0xbf,0xfe,0xf6,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
  238. X 0xdf,0x75,0x5b,0xff,0xee,0x6b,0xfb,0xae,0x2a,0x45,0x4a,0x52,0x25,0xa9,0xda,
  239. X 0xb6,0xb7,0xef,0xdf,0xb7,0xdf,0xef,0xff,0x7f,0x57,0xff,0xdf,0xdf,0xdb,0xbe,
  240. X 0xff,0xfb,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xdf,0xf7,0xdb,0x7b,
  241. X 0xff,0xaf,0x77,0x55,0xaa,0xa4,0x24,0x92,0xaa,0xad,0x6d,0xed,0xfe,0xf7,0xfd,
  242. X 0xf6,0xfa,0xff,0xff,0xbf,0x7f,0xff,0xfd,0xff,0xf7,0xff,0xff,0xff,0xff,0xff,
  243. X 0xff,0xff,0xff,0xff,0xff,0xff,0x7f,0xdf,0x7e,0xdf,0xad,0x7e,0xc9,0xaa,0x94,
  244. X 0x92,0x4a,0x55,0x52,0x7b,0xb7,0xbb,0xbb,0xbf,0xb7,0x5f,0xef,0xfe,0xff,0x6f,
  245. X 0xff,0xff,0xff,0xbe,0xfd,0xff,0xff,0xfd,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
  246. X 0xff,0xdb,0xb5,0xdb,0xf7,0xff,0xab,0xb6,0x95,0xa2,0x28,0x91,0x48,0xd5,0xaa,
  247. X 0xed,0xee,0xfe,0xfd,0xff,0xf5,0xdb,0xff,0xf7,0xbe,0xff,0xff,0xff,0xf7,0xef,
  248. X 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xef,0x5e,
  249. X 0x55,0x55,0xa9,0xaa,0x54,0xa5,0x2a,0xa5,0xaa,0x6d,0xbb,0xdd,0xdb,0xf7,0xf6,
  250. X 0xdf,0xfe,0xef,0xfe,0xff,0xdf,0xf7,0xde,0xff,0xfb,0xff,0xff,0xff,0xff,0xff,
  251. X 0xff,0xff,0xff,0xff,0xff,0xff,0x7f,0xdb,0xba,0xf7,0xaf,0xaa,0x56,0x95,0x2a,
  252. X 0x2a,0x44,0x55,0x6d,0xdb,0xdd,0xf7,0x7e,0xff,0xdf,0xf6,0xb7,0xff,0xff,0xfb,
  253. X 0xff,0xff,0xff,0xdf,0x7e,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
  254. X 0xff,0xf7,0xef,0xff,0x5e,0xa9,0x54,0xb5,0xaa,0xd2,0xa4,0x52,0x92,0xaa,0x6e,
  255. X 0xb7,0xae,0xfb,0xbf,0xff,0x5f,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
  256. X 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0x7f,0x7b,0xab,0xb7,
  257. X 0xaa,0xaa,0xaa,0xaa,0x2a,0x2a,0x55,0x55,0xf5,0xb5,0xed,0xfb,0xdd,0xfb,0xff,
  258. X 0xff,0xd5,0xfe,0xff,0xff,0xff,0xbe,0xff,0xfe,0xef,0xff,0xff,0xff,0xff,0xff,
  259. X 0xff,0xef,0xff,0xff,0xff,0xff,0xff,0xdf,0xfd,0x6a,0x55,0xd5,0xad,0x2a,0xa5,
  260. X 0x52,0xa9,0x6a,0xab,0xde,0xb7,0xae,0xf7,0xff,0x77,0xfb,0xff,0xff,0xff,0xef,
  261. X 0xff,0xff,0xf7,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
  262. X 0xff,0xff,0x7f,0x6f,0xb7,0xdb,0xb6,0xaa,0x56,0x55,0x55,0xa5,0xaa,0x7d,0x77,
  263. X 0xfd,0xfb,0xfd,0xfe,0xff,0xdf,0x6e,0xff,0xbf,0xff,0xff,0xff,0xff,0xbf,0xff,
  264. X 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xed,0xfd,0x5a,
  265. X 0x55,0x6b,0xdb,0xaa,0x2a,0x55,0x55,0xed,0xd6,0xda,0xab,0x57,0xf7,0xef,0xfe,
  266. X 0xff,0xbf,0xf7,0xff,0xff,0xff,0xff,0xff,0xff,0xfb,0xff,0xff,0xff,0xff,0xff,
  267. X 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0x5f,0xef,0x5a,0xb5,0x56,0x55,0x55,
  268. X 0x55,0xb5,0xb6,0xbb,0xf7,0xfe,0xfd,0xdf,0xff,0xff,0xff,0xef,0xff,0xfb,0xfd,
  269. X 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
  270. X 0xff,0xff,0xbf,0xf5,0x5a,0xab,0xd6,0xb5,0xad,0xaa,0xaa,0x6a,0x5b,0x6f,0xdd,
  271. X 0xdb,0x6e,0xfb,0xfd,0xf7,0xff,0x7f,0x7f,0xff,0xff,0xff,0xff,0xff,0xff,0xbf,
  272. X 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xdf,0xf7,
  273. X 0xff,0xbb,0x6e,0xf7,0x6d,0x77,0xdf,0xfd,0xfb,0x7f,0xff,0xff,0xff,0xff,0x7e,
  274. X 0xff,0xff,0xff,0xff,0xef};
  275. SHAR_EOF
  276. echo 'File rose.xbm is complete' &&
  277. chmod 0444 rose.xbm ||
  278. echo 'restore of rose.xbm failed'
  279. Wc_c="`wc -c < 'rose.xbm'`"
  280. test 41150 -eq "$Wc_c" ||
  281.     echo 'rose.xbm: original size 41150, current size' "$Wc_c"
  282. rm -f _shar_wnt_.tmp
  283. fi
  284. # ============= wclock.c ==============
  285. if test -f 'wclock.c' -a X"$1" != X"-c"; then
  286.     echo 'x - skipping wclock.c (File already exists)'
  287.     rm -f _shar_wnt_.tmp
  288. else
  289. > _shar_wnt_.tmp
  290. echo 'x - extracting wclock.c (Text)'
  291. sed 's/^X//' << 'SHAR_EOF' > 'wclock.c' &&
  292. #ifndef lint
  293. static char rcsid[] = "$XConsortium: xclock.c,v 1.28 89/12/11 15:51:32 kit Exp $";
  294. #endif /* lint */
  295. X
  296. /*
  297. X * Wclock mainline. Hacked from xclock.c (X11R4) by RJC.
  298. X */
  299. X
  300. /*
  301. X * Copyright 1989 Massachusetts Institute of Technology
  302. X *
  303. X * Permission to use, copy, modify, distribute, and sell this software and its
  304. X * documentation for any purpose is hereby granted without fee, provided that
  305. X * the above copyright notice appear in all copies and that both that
  306. X * copyright notice and this permission notice appear in supporting
  307. X * documentation, and that the name of M.I.T. not be used in advertising or
  308. X * publicity pertaining to distribution of the software without specific,
  309. X * written prior permission.  M.I.T. makes no representations about the
  310. X * suitability of this software for any purpose.  It is provided "as is"
  311. X * without express or implied warranty.
  312. X *
  313. X * M.I.T. DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL
  314. X * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL M.I.T.
  315. X * BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
  316. X * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
  317. X * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN 
  318. X * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  319. X */
  320. X
  321. X
  322. #include <X11/Xatom.h>
  323. #include <X11/Intrinsic.h>
  324. #include <X11/StringDefs.h>
  325. #include <X11/Xaw/Cardinals.h>
  326. #include <X11/Shell.h>
  327. X
  328. #include "Wclock.h"
  329. #include "patchlevel.h"
  330. #include "wclock.xbm"
  331. #include "wclock.mask"
  332. X
  333. extern void exit();
  334. static void quit();
  335. X
  336. /* Command line options table.  Only resources are entered here...there is a
  337. X   pass over the remaining options after XtParseCommand is let loose. */
  338. X
  339. static XrmOptionDescRec options[] = {
  340. {"-forceshape",    "*wclock.forceShape",        XrmoptionNoArg,           "TRUE"},
  341. {"-noforceshape","*wclock.forceShape",        XrmoptionNoArg,          "FALSE"},
  342. {"-plot",    "*wclock.plotSegment",        XrmoptionNoArg,           "TRUE"},
  343. {"-noplot",    "*wclock.plotSegment",        XrmoptionNoArg,          "FALSE"},
  344. {"-shape",    "*wclock.shapeSegment",        XrmoptionNoArg,           "TRUE"},
  345. {"-noshape",    "*wclock.shapeSegment",        XrmoptionNoArg,          "FALSE"},
  346. {"-extoutline",    "*wclock.externalOutline",    XrmoptionSepArg,     NULL},
  347. {"-intoutline",    "*wclock.internalOutline",    XrmoptionSepArg,     NULL},
  348. {"-extpercent", "*wclock.externalPercent",    XrmoptionSepArg,     NULL},
  349. {"-intpercent", "*wclock.internalPercent",    XrmoptionSepArg,     NULL},
  350. {"-extbitmap",    "*wclock.externalBitmap",    XrmoptionSepArg,     NULL},
  351. {"-intbitmap",    "*wclock.internalBitmap",    XrmoptionSepArg,     NULL},
  352. {"-bitmap",    "*wclock.backgroundBitmap",    XrmoptionSepArg,     NULL},
  353. {"-slicewidth",    "*wclock.sliceWidth",        XrmoptionSepArg,     NULL},
  354. {"-slicespace",    "*wclock.sliceSpace",        XrmoptionSepArg,     NULL},
  355. {"-sliceoffset","*wclock.sliceOffset",        XrmoptionSepArg,     NULL},
  356. {"-update",    "*wclock.update",        XrmoptionSepArg,     NULL},
  357. {"-debug",    "*wclock.debugInc",        XrmoptionSepArg,     NULL},
  358. };
  359. X
  360. X
  361. static XtActionsRec wclock_actions[] = {
  362. X    { "quit",    quit },
  363. };
  364. X
  365. static Atom wm_delete_window;
  366. X
  367. /*
  368. X * Report the syntax for calling wclock.
  369. X */
  370. X
  371. Syntax(call)
  372. X    char *call;
  373. {
  374. X
  375. X        (void) printf ("Wclock patchlevel %d\n", PATCHLEVEL);
  376. X        (void) printf ("usage: %s [-[no]shape] [-[no]forceshape] [-[no]plot]\n", call);
  377. X        (void) printf ("       [-extoutline <outline>] [-intoutline <outline>] \n");
  378. X        (void) printf ("       [-extbitmap <bitmap>] [-intbitmap <bitmap>] \n");
  379. X        (void) printf ("       [-extpercent <int>] [-intpercent <int>] \n");
  380. X        (void) printf ("       [-slicewidth <sec>] [-slicespace <sec>] [-sliceofset <sec>\n");
  381. X        (void) printf ("       [-update <seconds>] [-bitmap <bitmap>]\n");
  382. X        (void) printf ("       [toolkit options...]\n\n");
  383. exit(1);
  384. }
  385. X
  386. void main(argc, argv)
  387. X    int argc;
  388. X    char **argv;
  389. {
  390. X    Widget toplevel;
  391. X    Arg arg;
  392. X    Pixmap icon_pixmap = None;
  393. X    XtAppContext app_con;
  394. X
  395. X    toplevel = XtAppInitialize (&app_con, "Wclock", options, XtNumber(options),
  396. X                &argc, argv, NULL, NULL, ZERO);
  397. X    if (argc != 1) Syntax(argv[0]);
  398. X
  399. X    XtAppAddActions (app_con, wclock_actions, XtNumber(wclock_actions));
  400. X
  401. X    /*
  402. X     * This is a hack so that f.delete will do something useful in this
  403. X     * single-window application.
  404. X     */
  405. X    XtOverrideTranslations(toplevel, 
  406. X            XtParseTranslationTable ("<Message>WM_PROTOCOLS: quit()"));
  407. X
  408. X    XtSetArg(arg, XtNiconPixmap, &icon_pixmap);
  409. X    XtGetValues(toplevel, &arg, ONE);
  410. X    if (icon_pixmap == None) {
  411. X    arg.value = (XtArgVal)XCreateBitmapFromData(XtDisplay(toplevel),
  412. X                       XtScreen(toplevel)->root,
  413. X                       wclock_bits, wclock_width, wclock_height);
  414. X    XtSetValues (toplevel, &arg, ONE);
  415. X    }
  416. X    XtSetArg(arg, XtNiconMask, &icon_pixmap);
  417. X    XtGetValues(toplevel, &arg, ONE);
  418. X    if (icon_pixmap == None) {
  419. X    arg.value = (XtArgVal)XCreateBitmapFromData(XtDisplay(toplevel),
  420. X                       XtScreen(toplevel)->root,
  421. X                       wclock_mask_bits, wclock_mask_width, 
  422. X                       wclock_mask_height);
  423. X    XtSetValues (toplevel, &arg, ONE);
  424. X    }
  425. X
  426. X    XtCreateManagedWidget ("wclock", wclockWidgetClass, toplevel, NULL, ZERO);
  427. X    XtRealizeWidget (toplevel);
  428. X    wm_delete_window = XInternAtom (XtDisplay(toplevel), "WM_DELETE_WINDOW",
  429. X                    False);
  430. X    (void) XSetWMProtocols (XtDisplay(toplevel), XtWindow(toplevel),
  431. X                &wm_delete_window, 1);
  432. X    XtAppMainLoop (app_con);
  433. }
  434. X
  435. X
  436. /*ARGSUSED*/
  437. static void quit (w, event, params, num_params)
  438. X    Widget w;
  439. X    XEvent *event;
  440. X    String *params;
  441. X    Cardinal *num_params;
  442. {
  443. X    if (event->type == ClientMessage &&
  444. X    event->xclient.data.l[0] != wm_delete_window) {
  445. X    XBell (XtDisplay(w), 0);
  446. X    return;
  447. X    }
  448. X    XCloseDisplay (XtDisplay(w));
  449. X    (void)exit (0);
  450. }
  451. X
  452. X
  453. X
  454. X
  455. X
  456. X
  457. X
  458. X
  459. X
  460. X
  461. SHAR_EOF
  462. chmod 0444 wclock.c ||
  463. echo 'restore of wclock.c failed'
  464. Wc_c="`wc -c < 'wclock.c'`"
  465. test 5723 -eq "$Wc_c" ||
  466.     echo 'wclock.c: original size 5723, current size' "$Wc_c"
  467. rm -f _shar_wnt_.tmp
  468. fi
  469. # ============= wclock.man ==============
  470. if test -f 'wclock.man' -a X"$1" != X"-c"; then
  471.     echo 'x - skipping wclock.man (File already exists)'
  472.     rm -f _shar_wnt_.tmp
  473. else
  474. > _shar_wnt_.tmp
  475. echo 'x - extracting wclock.man (Text)'
  476. sed 's/^X//' << 'SHAR_EOF' > 'wclock.man' &&
  477. '\" t
  478. .TH WCLOCK 1 "Release 4" "X Version 11"
  479. .SH NAME
  480. wclock - `wedge' clock for X
  481. .SH SYNOPSIS
  482. .ta 8n
  483. \fBwclock\fP    [-\fItoolkitoption\fP ...] [-help] 
  484. X       [-[no]shape] [-[no]forceshape] [-[no]plot]
  485. X       [-extoutline \fIoutline\fR] [-intoutline \fIoutline\fR]
  486. X       [-extbitmap \fIbitmap\fR] [-intbitmap \fIbitmap\fR]
  487. X       [-extpercent \fIint\fR] [-intpercent \fIint\fR]
  488. X       [-slicewidth \fIsec\fR] [-slicespace \fIsec\fR] [-sliceofset \fIsec\fR]
  489. X       [-update \fIseconds\fR] [-bitmap \fIbitmap\fR]
  490. X
  491. .SH DESCRIPTION
  492. Wclock is yet another clock for X. It is unusual in it's method of
  493. indicating the current time. Rather than displaying hands it displays
  494. a wedge shaped region which starts at the hour hand position and ends
  495. at the minute hand position. What form this wedge takes and how it is
  496. displayed can be changed to create a large number of different looks. 
  497. .LP
  498. Wclock has two basic modes of operation, plot and shape. In plot mode
  499. the wedge representing the current time is plotted over the
  500. background. In shape mode, the background itself is shaped to the size
  501. of the wedge. Additionally, wclock can be told to shape the entire
  502. application window to fit the wedge.
  503. .LP
  504. The overall shape of the clock (and of the entire application if
  505. `forceshape' is set) is given as two outlines, interior and exterior.
  506. These outlines can be circles with diameter a given percentage of the
  507. size of the clock or they can be given as a bitmap mask. 
  508. .SH OPTIONS
  509. In addition to the standard toolkit options, \fIwclock\fR understands
  510. the following:
  511. .TP 8
  512. .B \-help
  513. This option indicates that a brief summary of the allowed options should be
  514. printed on the standard error.
  515. .TP 8
  516. .B \-update \fIseconds\fP
  517. This option specifies the frequency in seconds at which \fIwclock\fP
  518. should update its display.  If the clock is obscured and then exposed,
  519. it will be updated immediately.  The default is 60 seconds.
  520. .TP 8
  521. .B \-[no]shape
  522. Turn shape mode on and off.
  523. .TP 8
  524. .B \-[no]forceshape
  525. If shape mode is on, shape the entire application, not just the clock
  526. window itself. If this is not set the exterior frame of the application
  527. will be rectangular.
  528. .TP 8
  529. .B \-[no]plot
  530. Turn plot mode on and off.
  531. .TP 8
  532. .B \-extoutline \fItype\fR
  533. Select the type of exterior outline. \fIType\fR should be one of
  534. `none', `circle' or `bitmap' indicating no outline, a circle (ellipse
  535. if the geometry of the clock is not a square) or a shape given in a
  536. bitmap mask.
  537. .TP 8
  538. .B \-extbitmap \fImask\fR
  539. If the external shape is to be a bitmap, this option gives the name of
  540. the masking bitmap.
  541. .TP 8
  542. .B \-extpercent \fIpercentage\fR
  543. If the external shape is to be a circle, this option gives the radius
  544. of the circle as a percentage of the size of the clock.
  545. .TP 8
  546. .B \-intoutline \fItype\fR
  547. .B \-intbitmap \fImask\fR
  548. .B \-intpercent \fIpercentage\fR
  549. These options define the interior outline in a similar way.
  550. .TP 8 
  551. .B \-slicewidth \fIsecs\fR
  552. If non zero, wedge shaped slices spanning \fIsecs\fR seconds are drawn
  553. on the background.
  554. .TP 8 
  555. .B \-slicespace \fIsecs\fR
  556. Specifies the spacing between the starts of the slices drawn if slice
  557. width is non zero.
  558. .TP 8 
  559. .B \-sliceoffset \fIsecs\fR
  560. Specifies the offset from twelve o'clock at which the first slice is
  561. drawn. 
  562. .TP 8 
  563. .B \-bitmap \fIbitmap\fR
  564. Specifies the background of the clock.
  565. .SH EXAMPLES
  566. To produce a circular rather than annular clock do
  567. .IP
  568. wclock -intoutline none
  569. .LP
  570. To create a clock in the shape of a rose do
  571. .IP
  572. .nf
  573. wclock -intoutline none -bitmap rose.xbm -extoutline bitmap
  574. .br
  575. X    -extbitmap rose.mask -slicewidth 0 
  576. .LP
  577. If the application defaults file has been installed correctly you can
  578. get the latter by simply doing
  579. .IP
  580. wclock -name roseClock
  581. .LP
  582. Also try 
  583. .IP
  584. wclock -name eyeClock
  585. .LP
  586. For a different outlook on things.
  587. .SH X DEFAULTS
  588. The wclock program is simply a wrapper around the Wclock widget. The
  589. relationship between the command line options and the resource names
  590. for the widget is as follows:
  591. .IP
  592. .TS
  593. tab (/), center;
  594. lB  lB  lB  lB
  595. l  l  l  l.
  596. Option        / Resource        / Class            / Type
  597. -[no]forceshape    / forceShape        / ForceShape        / Boolean
  598. -[no]plot    / plotSegment        / PlotSegment        / Boolean
  599. -[no]shape    / shapeSegment        / ShapeSegment        / Boolean
  600. -extoutline    / externalOutline    / Outline        / Outline
  601. -intoutline    / internalOutline    / Outline        / Outline
  602. -extpercent    / externalPercent    / Margin        / Int
  603. -intpercent    / internalPercent    / Margin        / Int
  604. -extbitmap    / externalBitmap    / Mask            / Bitmap
  605. -intbitmap    / internalBitmap    / Mask            / Bitmap
  606. -bitmap        / backgroundBitmap    / Bitmap        / Bitmap
  607. -slicewidth    / sliceWidth        / Slice            / Int
  608. -slicespace    / sliceSpace        / Slice            / Int
  609. -sliceoffset    / sliceOffset        / Slice            / Int
  610. -update        / update        / Update        / Int
  611. .TE
  612. .SH WIDGETS
  613. The widget hierarchy is very simple:
  614. .sp
  615. .nf
  616. .TA .5i 
  617. .ta .5i 
  618. Wclock  wclock
  619. X    Wclock  wclock
  620. .fi
  621. .sp
  622. .SH ENVIRONMENT
  623. .PP
  624. .TP 8
  625. .B DISPLAY
  626. to get the default host and display number.
  627. .TP 8
  628. .B XENVIRONMENT
  629. to get the name of a resource file that overrides the global resources
  630. stored in the RESOURCE_MANAGER property.
  631. .SH FILES
  632. /usr/lib/X11/app-defaults/Wclock - specifies required resources
  633. .SH "SEE ALSO"
  634. XX(1), xclock(1), oclock(1), xrdb(1), time(3C)
  635. .SH BUGS
  636. .I Wclock
  637. believes the system clock too.
  638. .LP
  639. It is arguable whether two `circular' outlines in a non-rectangular
  640. box should produce a band of constant width or, as happens now, a
  641. region bounded by two ellipses.
  642. .SH COPYRIGHT
  643. Copyright 1988, Massachusetts Institute of Technology.
  644. .br
  645. See \fIX(1)\fP for a full statement of rights and permissions.
  646. .SH AUTHORS
  647. Wclock was created by Richard Caley (R.Caley@ed.ac.uk) from parts
  648. scavenged from xclock, xdiary and xbiff and the bottom of a coffee
  649. pot. 
  650. .LP
  651. XXclock was created by:
  652. .IP
  653. Tony Della Fera (MIT-Athena, DEC)
  654. .IP
  655. Dave Mankins (MIT-Athena, BBN)
  656. .IP
  657. Ed Moy (UC Berkeley)
  658. .LP
  659. XXdiary was created by:
  660. .IP
  661. Jason Baietto (Harris Corporation)
  662. .LP
  663. XXbiff was created by:
  664. .IP
  665. Jim Fulton (MIT X Consortium)
  666. .LP
  667. Rjc made the coffee.
  668. X
  669. X
  670. X
  671. SHAR_EOF
  672. chmod 0444 wclock.man ||
  673. echo 'restore of wclock.man failed'
  674. Wc_c="`wc -c < 'wclock.man'`"
  675. test 5949 -eq "$Wc_c" ||
  676.     echo 'wclock.man: original size 5949, current size' "$Wc_c"
  677. rm -f _shar_wnt_.tmp
  678. fi
  679. # ============= wclock.mask ==============
  680. if test -f 'wclock.mask' -a X"$1" != X"-c"; then
  681.     echo 'x - skipping wclock.mask (File already exists)'
  682.     rm -f _shar_wnt_.tmp
  683. else
  684. > _shar_wnt_.tmp
  685. echo 'x - extracting wclock.mask (Text)'
  686. sed 's/^X//' << 'SHAR_EOF' > 'wclock.mask' &&
  687. #define wclock_mask_width 42
  688. #define wclock_mask_height 39
  689. #define wclock_mask_x_hot 0
  690. #define wclock_mask_y_hot 0
  691. static char wclock_mask_bits[] = {
  692. X   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xac,
  693. X   0x00, 0x00, 0x00, 0x00, 0x00, 0xec, 0x00, 0x00, 0x00, 0x00, 0x00, 0xfc,
  694. X   0x00, 0x00, 0x00, 0x00, 0x00, 0xfc, 0x00, 0x00, 0xfc, 0x03, 0x00, 0xec,
  695. X   0x00, 0x80, 0xff, 0x0f, 0x00, 0xec, 0x00, 0xe0, 0xff, 0x3f, 0x00, 0xec,
  696. X   0x00, 0xf0, 0xff, 0xff, 0x00, 0xec, 0x00, 0xf8, 0xff, 0xff, 0x01, 0xfc,
  697. X   0x00, 0xfe, 0x03, 0xfe, 0x01, 0x9c, 0x00, 0xfe, 0x00, 0xf0, 0x00, 0xec,
  698. X   0x00, 0x3f, 0x00, 0x30, 0x00, 0xac, 0x00, 0x3f, 0x00, 0x00, 0x00, 0xfc,
  699. X   0x80, 0x1f, 0x00, 0x00, 0x00, 0xfc, 0x80, 0x0f, 0x00, 0x00, 0x00, 0xfc,
  700. X   0xc0, 0x0f, 0x00, 0x00, 0x00, 0x44, 0xc0, 0x07, 0x00, 0x00, 0x00, 0x00,
  701. X   0xc0, 0x07, 0x00, 0x00, 0x00, 0xfc, 0xc0, 0x07, 0x00, 0x00, 0x00, 0xfc,
  702. X   0xc0, 0x07, 0x00, 0x00, 0x00, 0xfc, 0xc0, 0x07, 0x00, 0x00, 0x00, 0xfc,
  703. X   0xc0, 0x07, 0x00, 0x00, 0x00, 0x44, 0xc0, 0x07, 0x00, 0x00, 0x00, 0xfc,
  704. X   0xc0, 0x0f, 0x00, 0x00, 0x00, 0x44, 0x80, 0x0f, 0x00, 0x00, 0x00, 0xfc,
  705. X   0x80, 0x1f, 0x00, 0x00, 0x00, 0xfc, 0x00, 0x1f, 0x00, 0x00, 0x00, 0xfc,
  706. X   0x00, 0x3f, 0x00, 0x00, 0x00, 0xec, 0x00, 0xfe, 0x00, 0x00, 0x00, 0x44,
  707. X   0x00, 0xfe, 0x03, 0x00, 0x00, 0xfc, 0x00, 0xf8, 0xff, 0x03, 0x00, 0xfc,
  708. X   0x00, 0xf0, 0xff, 0x03, 0x00, 0xe4, 0x00, 0xe0, 0xff, 0x07, 0x00, 0x00,
  709. X   0x00, 0x80, 0xff, 0x07, 0x00, 0x00, 0x00, 0x00, 0xfc, 0x03, 0x00, 0xfc,
  710. X   0x00, 0x00, 0x00, 0x00, 0x00, 0xfc, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  711. X   0x00, 0x00, 0x00, 0x00, 0x00, 0xfc};
  712. SHAR_EOF
  713. chmod 0444 wclock.mask ||
  714. echo 'restore of wclock.mask failed'
  715. Wc_c="`wc -c < 'wclock.mask'`"
  716. test 1615 -eq "$Wc_c" ||
  717.     echo 'wclock.mask: original size 1615, current size' "$Wc_c"
  718. rm -f _shar_wnt_.tmp
  719. fi
  720. # ============= wclock.xbm ==============
  721. if test -f 'wclock.xbm' -a X"$1" != X"-c"; then
  722.     echo 'x - skipping wclock.xbm (File already exists)'
  723.     rm -f _shar_wnt_.tmp
  724. else
  725. > _shar_wnt_.tmp
  726. echo 'x - extracting wclock.xbm (Text)'
  727. sed 's/^X//' << 'SHAR_EOF' > 'wclock.xbm' &&
  728. #define wclock_width 42
  729. #define wclock_height 39
  730. #define wclock_x_hot 0
  731. #define wclock_y_hot 0
  732. static char wclock_bits[] = {
  733. X   0x00, 0x00, 0x00, 0x00, 0x00, 0xfc, 0x00, 0x00, 0x00, 0x00, 0x00, 0x50,
  734. X   0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  735. X   0x00, 0x00, 0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0xe3, 0x00, 0x00, 0x10,
  736. X   0x00, 0xc0, 0xe3, 0x10, 0x00, 0x10, 0x00, 0x80, 0xe3, 0x38, 0x00, 0x10,
  737. X   0x00, 0x88, 0xe3, 0x38, 0x00, 0x10, 0x00, 0x1c, 0xe7, 0x1c, 0x00, 0x00,
  738. X   0x00, 0x38, 0x47, 0x0c, 0x03, 0x60, 0x00, 0x70, 0x00, 0x8c, 0x07, 0x10,
  739. X   0x00, 0x61, 0x00, 0xc0, 0x01, 0x50, 0x80, 0x03, 0x00, 0xe0, 0x00, 0x00,
  740. X   0x80, 0x0f, 0x00, 0x20, 0x00, 0x00, 0x00, 0x1f, 0x00, 0x00, 0x00, 0x00,
  741. X   0x00, 0x08, 0x00, 0x00, 0x00, 0xb8, 0x00, 0x00, 0x00, 0x00, 0x00, 0xfc,
  742. X   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xc0, 0x0f, 0x00, 0x00, 0x00, 0x00,
  743. X   0xe0, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  744. X   0x00, 0x00, 0x00, 0x00, 0x00, 0xb8, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  745. X   0x00, 0x0e, 0x00, 0x00, 0x00, 0xb8, 0xc0, 0x1f, 0x00, 0x00, 0x00, 0x00,
  746. X   0x80, 0x07, 0x00, 0x00, 0x00, 0x00, 0x80, 0x21, 0x00, 0x00, 0x00, 0x00,
  747. X   0x00, 0x70, 0x00, 0x00, 0x00, 0x10, 0x00, 0x78, 0x00, 0x04, 0x00, 0xb8,
  748. X   0x00, 0x3c, 0x67, 0x04, 0x00, 0x00, 0x00, 0x1c, 0xe7, 0x0c, 0x00, 0x00,
  749. X   0x00, 0x88, 0xe3, 0x08, 0x00, 0x18, 0x00, 0x80, 0xe3, 0x18, 0x00, 0xfc,
  750. X   0x00, 0xc0, 0xe3, 0x10, 0x00, 0xfc, 0x00, 0x00, 0xe3, 0x00, 0x00, 0x00,
  751. X   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xfc,
  752. X   0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
  753. SHAR_EOF
  754. chmod 0444 wclock.xbm ||
  755. echo 'restore of wclock.xbm failed'
  756. Wc_c="`wc -c < 'wclock.xbm'`"
  757. test 1590 -eq "$Wc_c" ||
  758.     echo 'wclock.xbm: original size 1590, current size' "$Wc_c"
  759. rm -f _shar_wnt_.tmp
  760. fi
  761. rm -f _shar_seq_.tmp
  762. echo You have unpacked the last part
  763. exit 0
  764. -- 
  765. --
  766. Molecular Simulations, Inc.            mail: dcmartin@msi.com
  767. 796 N. Pastoria Avenue                uucp: uunet!dcmartin
  768. Sunnyvale, California 94086            at&t: 408/522-9236
  769.