home *** CD-ROM | disk | FTP | other *** search
/ Otherware / Otherware_1_SB_Development.iso / mac / developm / source / unpitsou.pit / unpit.c.pit / unpit.R < prev   
Encoding:
Text File  |  1986-10-02  |  8.9 KB  |  526 lines

  1. *  unpit.R -- resource definition file for unpit (a PACKIT file unpacker)
  2. *
  3. !Unpit
  4. APPLUPIT
  5.  
  6. * Finder version data
  7. TYPE UPIT = STR 
  8.   ,0
  9.   Unpit 0.3 -- October 2, 1986
  10.   
  11. * Menus
  12. Type MENU
  13. ,1(4)
  14. \14
  15. About Unpit.../A
  16. (-
  17.  
  18. Type MENU
  19. ,2(4)
  20. File
  21. Unpack files.../U
  22. Packit and TEXT files only/F
  23. (-
  24. Delete file.../D
  25. (-
  26. Pack files.../P
  27. Use Huffman compression/K
  28. (-
  29. Help.../H
  30. (-
  31. Quit/Q
  32.  
  33. Type MENU
  34. ,3(4)
  35. Edit
  36. Undo/Z
  37. (-
  38. Cut/X
  39. Copy/C
  40. Paste/V
  41. Clear
  42.  
  43. * dialog box for About command
  44. *   ID (4 => pre-loaded; 32 => purgeable)
  45. *   title
  46. *   BoundsRect(global: TLBR)
  47. *   Vis NoGo: it's visible, but has no close box
  48. *   ProcID: Window type is plain box with shadow [was modal dialog]
  49. *   RefCon: Unused user variable
  50. *   res. ID of item list
  51. Type DLOG
  52.   ,257(4)
  53.   About Box
  54.   35 10 325 502
  55.   Visible NoGoAway
  56.   3
  57.   0
  58.   257
  59.  
  60. * dialog item list for About command
  61. *   ID (4 => pre-loaded; 32 => purgeable - it should always be purgeable.)
  62. *   # Items
  63. *   the first item:
  64. *      a Button you can select
  65. *      display rect (local coords)
  66. *      title
  67. *   the second-last items:
  68. *     Static text, disabled (i.e. can't select it)
  69. *     display rect
  70. *     text to be displayed
  71. Type DITL
  72.   ,257(36)
  73.   9
  74.     button Enabled
  75.     265 370 286 470
  76. OK
  77.  
  78.     staticText Disabled
  79.     5 201 20 493
  80. Unpit version 0.3
  81.  
  82.     staticText Disabled
  83.     20 137 35 493
  84. Copyright ⌐ 1986 Thomas D. Newton
  85.  
  86.     staticText Disabled
  87.     80 8 95 493
  88. Unpit is a file packing, unpacking, and compression utility based partly
  89.  
  90.     staticText Disabled
  91.     95 8 110 493
  92. on the Unix program 'unpit', by Allan G. Weber (Weber%Brand@USC-ECL).
  93.  
  94.     staticText Disabled
  95.     110 8 125 493
  96. It may be copied and used for noncommercial purposes, but may not be
  97.  
  98.     staticText Disabled
  99.     125 8 140 493
  100. sold or offered as an inducement to buy a product.
  101.  
  102.     staticText Disabled
  103.     215 8 230 493
  104. Copyright ⌐ 1986 THINK Technologies.  Certain portions of this software
  105.  
  106.     staticText Disabled
  107.     230 8 245 493
  108. are copyrighted by THINK Technologies, Inc.
  109.  
  110. * alert box for I/O errors
  111. *   ID (4 => pre-loaded; 32 => purgeable)
  112. *   BoundsRect(global: TLBR)
  113. *   resource ID of item list
  114. *   stages word in hexadecimal (boldItem = item 1, box is drawn, 1 beep)
  115. Type ALRT
  116.   ,258(4)
  117.   35 10 87 502
  118.   258
  119.   5555
  120.   
  121. * dialog item list for I/O error alert
  122. *   ID (4 => pre-loaded; 32 => purgeable - it should always be purgeable.)
  123. *   # Items
  124. *   the first item:
  125. *      a Button you can select
  126. *      display rect (local coords)
  127. *      title
  128. *   the second-last items:
  129. *     Static text, disabled (i.e. can't select it)
  130. *     display rect
  131. *     text to be displayed
  132. Type DITL
  133.   ,258(36)
  134.   4
  135.     button Enabled
  136.     15 330 36 400
  137. OK
  138.  
  139.     button Enabled
  140.     15 410 36 480
  141. Not OK
  142.  
  143.     staticText Disabled
  144.     11 60 26 320
  145. Error while ^0:
  146.  
  147.     staticText Disabled
  148.     26 70 41 320
  149. ^1.
  150.  
  151. * alert box for miscellaneous errors
  152. *   ID (4 => pre-loaded; 32 => purgeable)
  153. *   BoundsRect(global: TLBR)
  154. *   resource ID of item list
  155. *   stages word in hexadecimal (boldItem = item 1, box is drawn, 1 beep)
  156. Type ALRT
  157.   ,259(4)
  158.   35 10 115 502
  159.   259
  160.   5555
  161.  
  162. * dialog item list for miscellaneous error alert
  163. *   ID (4 => pre-loaded; 32 => purgeable - it should always be purgeable.)
  164. *   # Items
  165. *   the first item:
  166. *      a Button you can select
  167. *      display rect (local coords)
  168. *      title
  169. *   the second-last items:
  170. *     Static text, disabled (i.e. can't select it)
  171. *     display rect
  172. *     text to be displayed
  173. Type DITL
  174.   ,259(36)
  175.   2
  176.     button Enabled
  177.     49 400 70 470
  178. Continue
  179.  
  180.     staticText Disabled
  181.     13 80 28 493
  182. ^0
  183.  
  184. * alert box for delete file confirmation; default button is Cancel
  185. Type ALRT
  186.   ,260(4)
  187.   80 64 188 448
  188.   260
  189.   DDDD
  190.  
  191. Type DITL
  192.   ,260(36)
  193.   3
  194.   button Enabled
  195.   78 20 98 80
  196. Yes
  197.   
  198.   button Enabled
  199.   78 304 98 364
  200. Cancel
  201.   
  202.   staticText Disabled
  203.   10 67 68 369
  204. Are you sure that you want to delete the file ^0?
  205.  
  206. * Dialog box for help command, page one
  207. Type DLOG
  208.   ,261(4)
  209.   About Box
  210.   35 10 325 502
  211.   Visible NoGoAway
  212.   1
  213.   0
  214.   261
  215.  
  216. Type DITL
  217.   ,261(36)
  218.   17
  219.     button Enabled
  220.     265 370 286 470
  221. Next Page
  222.  
  223.     staticText Disabled
  224.     5 0 20 493
  225. Unpit's primary use is for unpacking the '.pit' files created by PackIt-{I,
  226.  
  227.     staticText Disabled
  228.     20 0 35 493
  229. II, III} and by Unpit itself.  A '.pit' (or PackIt) file is one encoded in such a
  230.  
  231.     staticText Disabled
  232.     35 0 50 493
  233. way that it contains several other files.  PackIt files are often used for
  234.  
  235.     staticText Disabled
  236.     50 0 65 493
  237. the posting of software since putting all of the pieces of a distribution
  238.  
  239.     staticText Disabled
  240.     65 0 80 493
  241. into one file usually decreases the amount of work that is involved in
  242.  
  243.     staticText Disabled
  244.     80 0 95 493
  245. posting and, on a network like USENET, makes it more likely that a site
  246.  
  247.     staticText Disabled
  248.     95 0 110 493
  249. will not receive just part of the distribution.
  250.  
  251.     staticText Disabled
  252.     120 0 135 493
  253. To unpack a '.pit' file, select 'Unpack files...' in the File menu.  You will be
  254.  
  255.     staticText Disabled
  256.     135 0 150 493
  257. presented with an open file dialog asking which file you want to unpack;
  258.  
  259.     staticText Disabled
  260.     150 0 165 493
  261. assuming that you select a valid '.pit' file, you will be presented with one
  262.  
  263.     staticText Disabled
  264.     165 0 180 493
  265. or more save file dialogs asking under what names you want to save the
  266.  
  267.     staticText Disabled
  268.     180 0 195 493
  269. unpacked files.  Selecting CANCEL in a save file dialog will cause Unpit to
  270.  
  271.     staticText Disabled
  272.     195 0 210 493
  273. skip that file and keep unpacking.
  274.  
  275.     staticText Disabled
  276.     220 0 235 493
  277. 'PackIt and Text Files Only' controls the types of files that appear in the
  278.  
  279.     staticText Disabled
  280.     235 0 250 493
  281. first dialog brought up by the 'Unpack files...' command.  Normally, it is
  282.  
  283.     staticText Disabled
  284.     250 0 265 360
  285. most convenient to leave it selected.
  286.  
  287. * Dialog box for help command, page two
  288. Type DLOG
  289.   ,262(4)
  290.   About Box
  291.   35 10 325 502
  292.   Visible NoGoAway
  293.   1
  294.   0
  295.   262
  296.  
  297. Type DITL
  298.   ,262(36)
  299.   14
  300.     button Enabled
  301.     265 370 286 470
  302. Continue
  303.  
  304.     staticText Disabled
  305.     5 0 20 493
  306. 'Delete file...' lets you delete a file.  First, a dialog will be put up so that
  307.  
  308.     staticText Disabled
  309.     20 0 35 493
  310. you can select the file to be deleted.  You can cancel the deletion at this
  311.  
  312.     staticText Disabled
  313.     35 0 50 493
  314. point by selecting CANCEL; if you select a file, you'll be asked to confirm
  315.  
  316.     staticText Disabled
  317.     50 0 65 493
  318. the deletion, as insurance against accidentally deleting the wrong file.
  319.  
  320.     staticText Disabled
  321.     75 0 90 493
  322. 'Pack files...' lets you pack multiple files into a single file.  First you will
  323.  
  324.     staticText Disabled
  325.     90 0 105 493
  326. be prompted for the name of the output file, then you will be prompted
  327.  
  328.     staticText Disabled
  329.     105 0 120 493
  330. for files to be packed into the output file until you select CANCEL.
  331.  
  332.     staticText Disabled
  333.     130 0 145 493
  334. 'Use Huffman compression' controls whether or not the files that 'Pack
  335.  
  336.     staticText Disabled
  337.     145 0 160 493
  338. files...' produces are compressed.  Compressed files take more time to
  339.  
  340.     staticText Disabled
  341.     160 0 175 493
  342. produce than uncompressed ones, but also tend to be smaller.
  343.  
  344.     staticText Disabled
  345.     185 0 200 493
  346. The functions of 'About Unpit...', 'Help...', and 'Quit' should be obvious; the
  347.  
  348.     staticText Disabled
  349.     200 0 215 493
  350. Edit menu exists to support cutting and pasting within desk accessories,
  351.  
  352.     staticText Disabled
  353.     215 0 230 493
  354. and has no function within the program proper.
  355.  
  356. * Dialog used to display "unpacking", "skipping", & "packing" messages
  357. Type DLOG
  358.   ,263(4)
  359.   status dialog
  360.   125 64 165 448
  361.   Visible NoGoAway
  362.   1
  363.   0
  364.   263
  365.  
  366. Type DITL
  367.   ,263(36)
  368.   1
  369.   staticText Disabled
  370.   12 15 27 369
  371. ^2ing the file "^3".
  372.  
  373. * Finder information
  374. Type BNDL
  375.   ,128(32)
  376.   UPIT 0
  377.   ICN# 2
  378.   0 128 1 129
  379.   FREF 2
  380.   0 128 1 129
  381.  
  382. Type FREF
  383.   ,128(32)
  384.   APPL 0
  385.  
  386. Type FREF
  387.   ,129(32)
  388.   PIT  1
  389.  
  390. Type ICN# = GNRL
  391.  ,128(32)
  392. .H
  393. 07FFE1F8
  394. 07FFE10C
  395. 07FFE10A
  396. 0700E10F
  397. 0700E901
  398. 0700FD01
  399. 0700C901
  400. 0700C101
  401. 0700C101
  402. FFE0C1FF
  403. 8030C000
  404. BE28C010
  405. A23CC028
  406. A204C044
  407. A204C882
  408. A204FD01
  409. BE048882
  410. 80848044
  411. 81448028
  412. 82248010
  413. 84148000
  414. 822481F8
  415. 8144810C
  416. 8084810A
  417. BE04816F
  418. A2048901
  419. A204FD7D
  420. A2040901
  421. A204017D
  422. BE040101
  423. 800401FF
  424. FFFC0000
  425. *
  426. 000001F8
  427. 0FFFF1FC
  428. 0FFFF1FE
  429. 0FFFF9FF
  430. 0F81FDFF
  431. 0F81FFFF
  432. 0F81FDFF
  433. 0F81F9FF
  434. 0F81E1FF
  435. FFE1E1FF
  436. FFF1E000
  437. FFF9E010
  438. FFFDE038
  439. FFFDF87C
  440. FFFDFCFE
  441. FFFDFFFF
  442. FFFDFCFE
  443. FFFDD87C
  444. FFFDC038
  445. FFFDC010
  446. FFFDC000
  447. FFFDC1F8
  448. FFFDC1FC
  449. FFFDC1FE
  450. FFFDD9FF
  451. FFFDFDFF
  452. FFFDFFFF
  453. FFFDFDFF
  454. FFFC19FF
  455. FFFC01FF
  456. FFFC01FF
  457. FFFC0000
  458.  
  459.  ,129(32)
  460. .H
  461. 0FFFFE00
  462. 08000300
  463. 0BF00280
  464. 0A180240
  465. 0A140220
  466. 0A1E0210
  467. 0A0203F8
  468. 0A020008
  469. 0A020008
  470. 0A020008
  471. 0A020808
  472. 0A021408
  473. 0BFE2208
  474. 08004108
  475. 08008088
  476. 08010048
  477. 08020028
  478. 08010048
  479. 08008088
  480. 09F84108
  481. 090C2208
  482. 090A1408
  483. 090F0808
  484. 09010008
  485. 09010008
  486. 09010008
  487. 09010008
  488. 09010008
  489. 09010008
  490. 09FF0008
  491. 08000008
  492. 0FFFFFF8
  493. *
  494. 0FFFFE00
  495. 0FFFFF00
  496. 0FFFFF80
  497. 0FFFFFC0
  498. 0FFFFFE0
  499. 0FFFFFF0
  500. 0FFFFFF8
  501. 0FFFFFF8
  502. 0FFFFFF8
  503. 0FFFFFF8
  504. 0FFFFFF8
  505. 0FFFFFF8
  506. 0FFFFFF8
  507. 0FFFFFF8
  508. 0FFFFFF8
  509. 0FFFFFF8
  510. 0FFFFFF8
  511. 0FFFFFF8
  512. 0FFFFFF8
  513. 0FFFFFF8
  514. 0FFFFFF8
  515. 0FFFFFF8
  516. 0FFFFFF8
  517. 0FFFFFF8
  518. 0FFFFFF8
  519. 0FFFFFF8
  520. 0FFFFFF8
  521. 0FFFFFF8
  522. 0FFFFFF8
  523. 0FFFFFF8
  524. 0FFFFFF8
  525. 0FFFFFF8
  526.