home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / lang / lisp / mcl / 1902 < prev    next >
Encoding:
Internet Message Format  |  1992-12-28  |  4.2 KB

  1. Path: sparky!uunet!dtix!darwin.sura.net!spool.mu.edu!olivea!apple!cambridge.apple.com!Mark_Kantrowitz@GLINDA.OZ.CS.CMU.EDU
  2. From: Mark_Kantrowitz@GLINDA.OZ.CS.CMU.EDU (Mark Kantrowitz)
  3. Newsgroups: comp.lang.lisp.mcl
  4. Subject: Re: Pearl Lisp -- PD or Not?
  5. Message-ID: <13166.725577563@GLINDA.OZ.CS.CMU.EDU>
  6. Date: 28 Dec 92 21:19:23 GMT
  7. References: Your message of "Mon, 21 Dec 92 17:33:31 EST."
  8.              <9212212235.AA05215@Early-Bird.Think.COM>
  9. Sender: info-mcl-request@cambridge.apple.com
  10. Reply-To: mkant@CS.CMU.EDU
  11. Lines: 81
  12. Approved: comp.lang.lisp.mcl@Cambridge.Apple.C0M
  13.  
  14.  
  15. The short answer is that Pearl Lisp is NOT public domain. 
  16.  
  17. The long answer is appended below, and will appear in the Lisp FAQ posting
  18. (possibly in an abbreviated format). 
  19.  
  20. --mark
  21.  
  22. When Apple Computer acquired Coral Software in January 1989, they
  23. re-released Coral's Allegro Common Lisp and its optional modules as
  24. Macintosh Allegro Common Lisp (now just Macintosh Common Lisp).
  25. Coral's other product, Pearl Lisp, was discontinued at that time.
  26. Pearl Lisp provides a subset of the functionality of MACL 1.3 and is
  27. not even fully CLtL1-compatible (e.g., the implementation of defstruct is
  28. different).
  29.  
  30. Despite rumors to the contrary, Pearl Lisp is not and never was public
  31. domain. Nevertheless, Pearl Lisp and its documentation were placed in
  32. the "Moof:Goodies:Pearl Lisp" folder on the first pressing of "Phil
  33. and Dave's Excellent CD", the precursor to the current Apple
  34. Developer's CD-ROM series.  Apple removed Pearl from later versions of
  35. the developer CD-ROM distribution because of complaints from other
  36. Lisp vendors. If you own a copy of Pearl Lisp or a copy of this
  37. CD-ROM, you can make it runnable under System 7 with some slight
  38. modifications using ResEdit.  To repeat, Pearl Lisp is NOT public
  39. domain, so you must own a copy to use it.
  40.  
  41. To make it runnable, one needs to use ResEdit to make changes to the
  42. BNDL and FREF resources so that it will connect to its icons properly.
  43. This will make it respond to double-clicks in the normal manner and
  44. make it be properly linked to its files. The detailed instructions
  45. are as follows:
  46.  
  47. 1. Copy the Pearl Lisp folder to a writable medium.
  48.  
  49. 2. Open the file "Pearl" with ResEdit.
  50.  
  51. 3. Select the PERL resource type and choose Cut from the Edit menu.
  52.    (You will need this in step 6, so you should paste it into a temporary
  53.    file if you want to Copy or Cut anything else before then.)
  54.  
  55. 4. Find the "FASL" FREF resource and change the file type in it from
  56.    "FASL" to "PSFL".
  57.  
  58. 5. Edit the BNDL resource 128 and change the owner from "CCL" to
  59.    "PERL".
  60.  
  61. 6. Choose Paste from the Edit menu to put the earlier PERL resource
  62.    back in.  ResEdit created a new empty one when you changed the owner,
  63.    but you want the original.  Click Yes in the dialog about unique id's;
  64.    you want the original id, 0, for the PERL resource.
  65.  
  66. 7. Delete the entire CCL resource type, if it exists.
  67.  
  68. 8. Save all these changes and rebuild your desktop.  Pearl and the
  69.    associated .Lisp and .Fasl files should magically regain their icons
  70.    and work properly.
  71.  
  72. The object is to change the owner to "PERL" and the fasl file type to
  73. "PSFL". But when you change the owner, ResEdit creates a new resource
  74. with type the same as the owner, and id 0.  This resource contains the
  75. default string to use in the GetInfo box.  In this case, the PERL
  76. resource that came with Pearl has Apple's copyright notice, which
  77. should be retained.
  78.  
  79. Something else you might want to do: Edit the mask for ICN# 128.  This
  80. controls which pixels on the screen respond to mouse clicks.  The most
  81. natural thing is for one to double-click on the pearl, but
  82. unfortunately, the mask has a lot of white pixels within the pearl, so
  83. it's hard to hit.  Fill in the pearl in the mask; in fact, you might
  84. even fill in the whole square, although most people seem to just fill
  85. in the outline of their icons.
  86.  
  87. Most of the instructions for modifying Pearl using ResEdit were
  88. provided a few years ago by Paul Snively. 
  89.  
  90. After you've made these changes, it will run under System 7 if you
  91. turn off 32-bit addressing. It seems to bomb on a Quadra.
  92.  
  93. If you need a more powerful Lisp or one that is compatible with the
  94. standard for Common Lisp, consider purchasing Macintosh Common Lisp.
  95.