home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Information / Digests / Alt-Sources-Mac / digest-06-94 < prev    next >
Encoding:
Text File  |  1994-12-08  |  28.9 KB  |  829 lines  |  [TEXT/R*ch]

  1. alt.sources.mac digest #6-94                      6/9/94
  2.  
  3. Today's Contents:
  4.  
  5.   [!] administrivia
  6.  
  7.   [*] appwind.cpt.hqx
  8.   [*] asciichart.cpt.hqx
  9.   [*] asyncsndpas.cpt.hqx
  10.   [*] cscsi.cpt.hqx
  11.   [*] deps.cpt.hqx
  12.   [*] dimtext2.0.cpt.hqx
  13.   [*] dropshellmwp.cpt.hqx
  14.   [*] du_bbedit.cpt.hqx
  15.   [*] errordude.cpt.hqx
  16.   [*] maclzss.cpt.hqx
  17.   [*] movablemodal.cpt.hqx
  18.   [*] mungeimage.cpt.hqx
  19.   [*] offscreentoys1.1.cpt.hqx
  20.   [*] patchworks.cpt.hqx
  21.   [*] progresscdefs.cpt.hqx
  22.   [*] scroll.cpt.hqx
  23.   [*] skelpas.cpt.hqx
  24.   [*] srcconvert.cpt.hqx
  25.   [*] tcsocket.cpt.hqx
  26.   
  27.   [#] 64bitmath1
  28.   [#] 64bitmath2
  29.   [#] aeevents
  30.   [#] cdinfo
  31.   [#] cdragpane
  32.   [#] checkvollock
  33.   [#] clickloopproc
  34.   [#] computecrc1
  35.   [#] computecrc2
  36.   [#] docwrite
  37.   [#] draggrayrgn
  38.   [#] drawicons
  39.   [#] drawmjpegframe
  40.   [#] drawvstring
  41.   [#] drvrstuff
  42.   [#] fastdrawline
  43.   [#] fopenfsspec
  44.   [#] gestalta5
  45.   [#] gestaltscrnsvr
  46.   [#] getbootvol
  47.   [#] getdeskpat
  48.   [#] hideedittext
  49.   [#] iconfam
  50.   [#] initstuff
  51.   [#] iscolormode
  52.   [#] ldef.c
  53.   [#] makemask
  54.   [#] microsecs
  55.   [#] mydragwindow
  56.   [#] offscreenlib
  57.   [#] optkeystate
  58.   [#] paintrctvlineto
  59.   [#] palettemgr
  60.   [#] pcstrs
  61.   [#] petegestalt
  62.   [#] ploticons
  63.   [#] ptinoval
  64.   [#] ptinoval2
  65.   [#] readjpeg
  66.   [#] refnum2fsspec2
  67.   [#] remoteprocs
  68.   [#] rotpsig
  69.   [#] saveron
  70.   [#] sendae2app
  71.   [#] setgraybg
  72.   [#] setwindpictfile
  73.   [#] squareroots
  74.   [#] sys6info
  75.   [#] unmountnetvols
  76.   [#] windowfix
  77.   [#] windowfix2
  78.   [#] windowfix3
  79.   [#] wnesuggest
  80.  
  81.   [!] Who's Who List
  82.   [!] Archive organization
  83.   
  84.   The alt.sources.mac archive is at ftpbio.bgsu.edu
  85. (129.1.252.66) in the /ftp/pub/alt.sources.mac directory.  
  86. Files listed with an [*] before them are in the main
  87. directory.  Files listed with an [#] in front of them
  88. are in the /ftp/pub/alt.sources.mac/00snippet directory.
  89. Scripts are stored in the /ftp/pub/alt.sources.mac/scripts
  90. directory.
  91.  
  92.   Also stored at the archive site are the FAQs for the
  93. Mac newsgroups in the /ftp/pub directory.  Postings to
  94. comp.sources.mac are archived in the /ftp/pub/comp.sources.mac
  95. directory.  The alt.sources.mac digests are archived in the
  96. /ftp/pub/digests directory.
  97.  
  98.   The alt.sources.mac newsgroup is for the distribution of
  99. sources only.
  100.  
  101. ************************************************************
  102.  
  103. From: dnebing@andy.bgsu.edu (Dave Nebinger)
  104. Subject: Administrivia
  105.  
  106.   Welcome to the alt.sources.mac digest.  Currently, I am
  107. the moderator of the archive.  I thought I would post this
  108. message to show everyone what has been accumulating at the
  109. archive site.
  110.  
  111.   Your contributions are highly recommended and accepted.
  112. If you don't have access to the alt.sources.mac newsgroup,
  113. you can email your contribution to me (dnebing@andy.bgsu.edu)
  114. and I will add it to the archive, or you can upload it to
  115. the /ftp/pub/incoming directory at the archive site.
  116.  
  117.   A new directory has been created in the /ftp/pub/other
  118. directory.  It is the 'apprentice' directory and will contain
  119. files that didn't make it to the CD as well as fixes for
  120. what is on the CD (if there are any ;-)
  121.  
  122.   Thanks for your support of the alt.sources.mac newsgroup
  123. as well as the archive here at ftpbio.  Any other suggestions
  124. or comments that you might have are welcome and encouraged.
  125.   
  126.   Dave Nebinger (dnebing@andy.bgsu.edu)
  127.   
  128. ************************************************************
  129.  
  130. From: Matt Slot <fprefect@engin.umich.edu>
  131. Subject: TSM Floating Windows: "appe Windows" Shell
  132.  
  133. If you have seen the new Speech Manager, then you know that a background
  134. only application can put a window onto the screen (contrary to popular
  135. belief). The new Text Services Manager in System 7.1 offers documented
  136. hooks for creating, disposing, and handling floating windows. These
  137. windows are layer independent (they are floating above all programs
  138. and windows), and work without patching traps (well, a quick jGNEFilter,
  139. but no traps).
  140.  
  141. This program demonstrates a shell application that puts a TSM window
  142. onto the screen, and intercepts update, click, and key events. Filling
  143. in the handler functions is the easiest way to put up your own floater.
  144. Wrapper functions restore global context, current resource file, GrafPort, 
  145. and heap zone, to make standard handling routines much easier to write.
  146.  
  147. Of course the program is background only, so it is typically launched
  148. from the Extensions Folder at startup. I like the close box on floater
  149. windows, because its an easy way to quit the program without relying
  150. on a quit Apple Event. I have added support for hiding all windows
  151. with Cmd-Escape, and to respond to screen savers and programs that
  152. take over the screen (hide the menu bar).
  153.  
  154. Finally, I want this to be a stable mechanism for something that you
  155. shouldn't be able to do. Despite the interface guidelines, there may
  156. be a use for doing this. Please send me bug reports and suggestions
  157. for improving this tool.
  158.  
  159. Matt Slot
  160. fprefect@engin.umich.edu
  161.  
  162. [archived as: /ftp/pub/alt.sources.mac/appwind.cpt.hqx]
  163. ============================================================
  164.  
  165. From: kenlong@netcom.com (Ken Long)
  166. Subject: ascii (C)
  167.  
  168. An old C source file I found, built the .rsrc file, then got to run on 
  169. Think C.  For Think C 5, just add the .c file and MacTraps to your new 
  170. project.
  171.  
  172. This program makes an ascii chart type character display.  You clik on a 
  173. character in the grid and it's inserted in the sample string.  Type a 
  174. character and the one in the grid is momentarily highlighted.
  175.  
  176. [archived as: /ftp/pub/alt.sources.mac/asciichart.cpt.hqx]
  177. ============================================================
  178.  
  179. From: ingemar@lysator.liu.se (Ingemar Ragnemalm)
  180. Subject: Asynch sound demo (Pascal)
  181.  
  182. This is the sound demo by Marv Westrom, that he posted about a year ago.
  183. It works exactly as before, but I have corrected the source to conform
  184. better to Mac programming standards, plus shrunk the sound (with no loss
  185. in quality). Think Pascal source. Project and resource files included.
  186.  
  187. /Ingemar Ragnemalm
  188.  
  189. [archived as: /ftp/pub/alt.sources.mac/asyncsndpas.cpt.hqx]
  190. ============================================================
  191.  
  192. From: tzs@u.washington.edu (Tim Smith)
  193. Subject: Re: Determining if user has a CD ROM drive
  194.  
  195. Michael A. Kelly <mkelly@cs.uoregon.edu> wrote:
  196. >How do I do that?  I've been looking at the SCSI Manager in Think Reference,
  197. >and I can't figure out how to tell if the device is a CD ROM device.
  198.  
  199. Try this.  The following was written when Think C first came out with
  200. the objected oriented extensions, and was my first attempt to use
  201. them, which is why it goes a bit overboard.  The first two files
  202. below define an object oriented interface to the SCSI manager.
  203. The third file scans the SCSI bus looking for a tape drive.
  204. At the end, I'll tell you where to change it to look for a
  205. CD-ROM drive.
  206.  
  207. [archived as: /ftp/pub/alt.sources.mac/cscsi.cpt.hqx]
  208. ============================================================
  209.  
  210. From: Jochen Meyer <jochen@blanc.north.de>
  211. Subject: Deps - generate Makefile dependencies
  212.  
  213. "Deps" is an MPW tool which generates Makefile dependencies out of
  214. the #include's in the source files. It is written by Archie Cobbs.
  215. I found it in csmp some time ago and now hacked it a little to
  216. remove duplicates. The source is nothing great, but the tool works 
  217. pretty good. I use it regularly now during development of a project
  218. with some 15 headers and 35 implementation files. Maybe this helps
  219. some people who recently asked about such a tool.
  220.  
  221. [archived as: /ftp/pub/alt.sources.mac/deps.cpt.hqx]
  222. ============================================================
  223.  
  224. From: walkerj@math.scarolina.edu (Jim Walker)
  225. Subject: Text Item Dimming Source Code, v. 2.0 (C)
  226.  
  227. C source code for dimming text items (editText or statText) in dialogs. 
  228. When dimmed, editText items become uneditable.  True gray is used when
  229. possible.  Dimmed items update correctly, and no extra dialog items are
  230. needed.  Set up for use with Apple's universal headers (not those that come
  231. with THINK C 6.)  Includes project files for THINK C 7.0 and CodeWarrior C
  232. 68K, and a demo application.
  233.  
  234. [archived as: /ftp/pub/alt.sources.mac/dimtext2.0.cpt.hqx]
  235. ============================================================
  236.  
  237. From: mxmora@unix.sri.com (Matt Mora)
  238. Subject: Metrowerks Pascal version of Dropshell
  239.  
  240. Here is a Metrowerks Pascal port of the DropShell source.
  241. The good new is that MWPascal is stable enough to build
  242. the program and run it without any problems. Yeah!
  243.  
  244. The next job is to make it work with the universal headers.
  245.  
  246. Xavier
  247.  
  248. [archived as: /ftp/pub/alt.sources.mac/dropshellmwp.cpt.hqx]
  249. ============================================================
  250.  
  251. From: Kevin.R.Boyce@gsfc.nasa.gov (Kevin R. Boyce)
  252. Subject: du for BBEdit (THINK C)
  253.  
  254. Here's a quick-n-dirty BBEedit extension that lets you check where all
  255. the space on your hard disk has gone.  You select a starting folder,
  256. and it makes a listing of the sizes of said folder and all the folders
  257. it contains.  The list goes into a new window.  The sizes it reports
  258. are in blocks (yes, that's the physical size, not logical size).  That
  259. seemed to be easier on the eyes than lots of numbers with 6 or 7
  260. digits in them.
  261.  
  262. [archived as: /ftp/pub/alt.sources.mac/du_bbedit.cpt.hqx]
  263. ============================================================
  264.  
  265. From: gwatts@whcdfq.fnal.gov
  266. Subject: Error Dude - OSErr to Text Translation
  267.  
  268. Here is a small project that attempts to do all of that for you.  Called the
  269. Error Dude, it is a simple component that looks up an error number in a
  270. database and returns the text describing the error (if present).
  271.  
  272. This guy was built using MW CW DR2.
  273.  
  274. Gordon Watts gwatts@fnal.fnal.gov
  275.  
  276. [archived as: /ftp/pub/alt.sources.mac/errordude.cpt.hqx]
  277. ============================================================
  278.  
  279. From: Vik_Rubenfeld@lamg.com (Vik Rubenfeld)
  280. Subject: Re: Docs for using Stuffit in my own app?
  281.  
  282. Can anyone point to freely available, usable in a commercial app compression
  283. code that is available online somewhere?
  284.  
  285. ---------
  286.  
  287. Here's some compression source code in C that was posted on the OneNet
  288. Developers' forum a few months ago. I hope this is what you're looking for.
  289.  
  290. [archived as: /ftp/pub/alt.sources.mac/maclzss.cpt.hqx]
  291. ============================================================
  292.  
  293. From: Marco Piovanelli (piovanel@dsi.unimi.it)
  294. Subject: MovableModal Library
  295.  
  296. Introduction
  297.  
  298. Movable modal dialogs are probably one of the coolest user interface
  299. enhancements that came with System 7.  Unfortunately, implementing
  300. a movable modal dialog according to the guidelines detailed in
  301. Inside Macintosh VI may not be trivial.  A movable modal dialog box
  302. isn’t just a modal dialog with a drag bar.  In fact, says the
  303. Bible:
  304.  
  305. “Allow your application to run in the background when you display a
  306. movable modal dialog box.” (IM VI, 2-25)
  307.  
  308. Given this requirement, your application cannot call ModalDialog
  309. when a movable modal dialog is in front, because ModalDialog
  310. disables the application menu and prevents major context switches
  311. from occurring. That’s too bad, as ModalDialog is a very handy
  312. call.  Wouldn’t it be great if a similar call existed for movable
  313. modal dialogs too?
  314.  
  315.  
  316. The Library
  317.  
  318. Here is it!  The library that comes with this document implements
  319. three routines that let you work with movable modal dialogs in a
  320. simple way.
  321.  
  322. [archived as: /ftp/pub/alt.sources.mac/movablemodal.cpt.hqx]
  323. ============================================================
  324.  
  325. From: peter@ncrpda.curtin.edu.au (Peter N Lewis)
  326. Subject: MungeImage 1.0.1
  327.  
  328. MungeImage © Quinn & Peter N Lewis, 21:30 6 May 1994 - 5:30 7 May 1994
  329.  
  330. Source to the rather suspect utility MungeImage
  331. which mounts DiskCopy images as disk icons.
  332. It's free, do whatever you want with it.
  333.  
  334. Warning: This was written in eight hours.
  335.  
  336. v1.0.1 has colour icons and fixes the creator code and a double dispose bug
  337.  
  338. [archived as: /ftp/pub/alt.sources.mac/mungeimage.cpt.hqx]
  339. ============================================================
  340.  
  341. From: ingemar@lysator.liu.se (Ingemar Ragnemalm)
  342. Subject: Offscreen Toys 1.1 (Pascal)
  343.  
  344. Here's a new version of Offscreen Toys, the demo I made to complement
  345. SAT (Sprite Animation Toolkit), for those who want to know how it works.
  346. (I believe in small, digestable demos for tutorials - and for quick down-
  347. loading!)
  348.  
  349. The program makes an animation of marbles rolling in a bowl. It is
  350. fairly well commented, and is a complete, stand-alone program with
  351. menus, window handling etc.
  352.  
  353. Works in color when 32-bit QuickDraw is available, but uses b/w graphics
  354. otherwise.
  355.  
  356. This version adds a better collision handling, making the collisions much
  357. more realistic.
  358.  
  359. /Ingemar Ragnemalm
  360.  
  361. [archived as: /ftp/pub/alt.sources.mac/offscreentoys1.1.cpt.hqx]
  362. ============================================================
  363.  
  364. From: rollin@newton.apple.com (Keith Rollin)
  365. Subject: Re: Are there any good Patch utilities???
  366.  
  367. In article <2phvhpINNeq@flop.ENGR.ORST.EDU>, footed@storm.cs.orst.edu
  368. (Dennis Foote) wrote:
  369.  
  370. > Can anyone recommend a good Patch utility?  I've used UpdateIt! for the PC
  371. > and it works great.  Is there a Macintosh equivalent?  
  372. > Here's the scenario:  I have many C++ source code files.  I want to release
  373. > an update patch which will edit the old text files to match the new ones.
  374. > I used the compare script in MPW to assemble a list of differences.  Now,
  375. > all I need to do is automate the updating. 
  376. > Any suggestions are greatly appreciated.
  377.  
  378. I wouldn't say that this is a GOOD patch utility, but it gets the job done.
  379. Several years ago, I took a script Larry Rosenstein wrote to update the
  380. source code for his Programming with MacApp book, and modified it to be a
  381. little more flexible and powerful. It now not only patches source files,
  382. but it also creates the patch files, works with hierarchical directories,
  383. and will revert to the original source code if needed. This is an MPW
  384. script, so not only do you need MPW, but it'll run like a dog...an old
  385. dog...
  386.  
  387. [archived as: /ftp/pub/alt.sources.mac/patchworks.cpt.hqx]
  388. ============================================================
  389.  
  390. From: egurney@vcd.hp.com (Eddy J. Gurney)
  391. Subject: Update: Progress CDEFs 1.3 (CDEF, TC source, test app)
  392.  
  393. This is an update to my "Progress CDEFs" I posted about 6 weeks
  394. ago.  The demo application (included) shows a horizontal progress
  395. bar, a verical progress bar that looks like a thermometer (note that
  396. the Progress Bar CDEF automatically detects whether it should draw 
  397. horizontally or vertically), and a "progress arc", so you can "dare
  398. to be different". :-)
  399.  
  400. Attached is a compressed archive which contains the following:
  401.  
  402.  . Progress Bar CDEF v1.3, THINK C source, TC7 project file
  403.  . Progress Arc CDEF v1.3, THINK C source, TC7 project file
  404.  . Demo application, THINK C source, resource file, TC7 project file
  405.  
  406. [archived as: /ftp/pub/alt.sources.mac/progresscdefs.cpt.hqx]
  407. ============================================================
  408.  
  409. From: kenlong@netcom.com (Ken Long)
  410. Subject: SCROLLSOURCE.sit.hqx
  411.  
  412. A 1986 Keith Lambert source, I updated from a LightSpeed C project, to 
  413. run on TC 5.
  414.  
  415. It's an example of using a scrolling list, in a dialog, without using the 
  416. List Manager.  List items are selectable.
  417.  
  418. Not the bigest source breakthrough of all time, but HEY!  It's C source!
  419. Also posted te MacGifts.
  420.  
  421. Enjoy!
  422.  
  423. -Ken-
  424.  
  425. [archived as: /ftp/pub/alt.sources.mac/scroll.cpt.hqx]
  426. ============================================================
  427.  
  428. From: ingemar@lysator.liu.se (Ingemar Ragnemalm)
  429. Subject: Skel for Think Pascal
  430.  
  431. Here is my slightly enhanced version of the old Skel program, a demo
  432. program that "does nothing, but does it well". Now it does nothing
  433. a little bit better, by handling suspend/resume and Apple Events (just
  434. quit), plus supporting color. Useful as tutorial on Mac event processing
  435. and as skeleton program.
  436.  
  437. Think Pascal source.
  438.  
  439. /Ingemar Ragnemalm
  440.  
  441. [archived as: /ftp/pub/alt.sources.mac/skelpas.cpt.hqx]
  442. ============================================================
  443.  
  444. From: drickey@irus.rri.uwo.ca (Daniel W. Rickey)
  445. Subject: Dan's Source Converter (Part 1 of 2)
  446.  
  447. Enclosed is version 1.1 of Dan's Source Converter (Application only).  
  448. This programme uses a simple single pass parser to convert C source Code
  449. into Pascal.
  450.  
  451. Changes from version 1.0: I added two options under the 'Edit' menu. 
  452. One option displays the converted code on the screen, which slows down
  453. the translation a lot.  The second option removes all '&' from the C
  454. code.  I also fixed a few bugs and now remove '\p' from the begining of
  455. strings.  Hex numbers are now converted properly, e.g., from 0x1234 to
  456. $1234.
  457.  
  458. Daniel W. Rickey
  459. drickey@.irus.rri.uwo.ca
  460.  
  461. [archived as: /ftp/pub/alt.sources.mac/srcconvert.cpt.hqx]
  462. ============================================================
  463.  
  464. From: kennedy@cs.ucdavis.edu
  465. Subject: Think C 6.0.1 port of the TCSocket library
  466. To: dnebing@andy.bgsu.edu
  467.  
  468.      I'm wondering why you couldn't email me directly but Oh
  469. well. This is the TC socket stuff I said. The readme tells you what 
  470. it is all about and it's limitations. I got it to compile fine
  471. under a patched Symantec C++ 6.0.1. Remember to get the TCP
  472. includes from seeding.apple.com.
  473.  
  474. Brian Kennedy (kennedy@fenton.cs.ucdavis.edu
  475.  
  476. [archived as: /ftp/pub/alt.sources.mac/tcsocket.cpt.hqx]
  477.  
  478. ************************************************************
  479.  
  480. snippetname     Description
  481.   
  482. 64bitmath1      64 bit math
  483.   Gary Kacmarcik (platypus@cirrus.som.cwru.edu)
  484.   64 bit multiplication and division routines.
  485.  
  486. 64bitmath2      64 bit math
  487.   Bruce Hoult (Bruce@hoult.actrix.gen.nz)
  488.   64 bit multiplication and division routines.
  489.   
  490. aeevents        AppleEvents example
  491.   Dale M. Greer (greer@utdallas.edu)
  492.   C functions for creating an ODOC event for another
  493.   application.
  494.   
  495. cdinfo          Get info for the current CD
  496.   Matt Mora (mxmora@unix.sri.com)
  497.   C routines showing how to extract information from
  498.   the current CD.
  499.   
  500. cdragpane       TCL method for flicker free rgn dragging
  501.   Stephen C. Gilardi (squeegee@world.std.com)
  502.   A CDragPane::DoClick method that handles flicker free
  503.   gray region dragging.
  504.   
  505. checkvollock    Determining if a volume is locked
  506.   Jim Luthor (jumplong@aol.com)
  507.   Code to check if a volume is locked.
  508.   
  509. clickloopproc   PPC LClick click_loop_proc fix
  510.   Daniel Sears (sears@netcom.com)
  511.   PowerPC bug fix for the click loop proc of the LClick
  512.   List Manager routine.
  513.   
  514. computecrc1     Computing a CRC
  515.   David Dantowitz (david@oahu.cs.ucla.edu)
  516.   C code to compute a Cyclic Redundancy Check code.
  517.   
  518. computecrc2     Computing a CRC
  519.   Bruce Hoult (Bruce@hoult.actrix.gen.nz)
  520.   C code to compute a Cyclic Redundancy Check code.
  521.   
  522. docwrite        Implementing a "safe-save" strategy
  523.   Ari I Halberstadt (ari@world.std.com)
  524.   C function which implements a "safe-save" strategy
  525.   
  526. draggrayrgn     Flicker free gray rgn dragging
  527.   Dean Yu (dean@genmagic.com)
  528.   C code showing how to do flicker free gray region
  529.   dragging.
  530.   
  531. drawicons       Drawing Sys7 icons in Sys6
  532.   Richard Knuckey (richard@purplex.nacjack.gen.nz)
  533.   C code to draw icons in System 6 that look like
  534.   the drawing methods for System 7.
  535.   
  536. drawmjpegframe  Decompressing JFIF structures
  537.   Juergen Kehrer (kehrer@informatik.uni-ulm.de)
  538.   Pascal code to decompress images using the
  539.   CompressionManager.
  540.   
  541. drawvstring     Draw a string vertically
  542.   Ken Long (kenlong@netcom.com)
  543.   C code to draw a string vertically.
  544.   
  545. drvrstuff       Creating multisegment 'DRVR's
  546.   Marcel Blonk (leblonk@netcom.com)
  547.   C code demonstrating how to load and lock multiple
  548.   segment device drivers.
  549.   
  550. fastdrawline    Implementation of Bresenham's algorithm
  551.   David Wareing (dwareing@apanix.apana.org.au)
  552.   C implementation of Bresenham's algorithm for drawing
  553.   a line or a circle.
  554.   
  555. fopenfsspec     fopen using FSSpecs
  556.   Daniel C. Flatin (dcf@mps.ohio-state.edu)
  557.   Replacement for fopen which uses FSSpecs.
  558.   
  559. gestalta5       Properly setting up A5 for a Gestalt routine
  560.   Stefan Arentz (arentz@knoware.nl)
  561.   C routines for setting up A5 for a Gestalt selector
  562.   routine.
  563.   
  564. gestaltscrnsvr  Testing for a screen saver via Gestalt
  565.   Rene G.A. Ros (rgaros@bio.vu.nl)
  566.   Gestalt information for checking with a screen saver.
  567.   
  568. getbootvol      Getting the bootup volume
  569.   Jim Luthor (jumplong@aol.com)
  570.   C code to get the name & vref of the current system
  571.   disk.
  572.   
  573. getdeskpat      Getting the desktop pattern
  574.   Jerry Gatlin (jerry@hipark.austin.isd.tenet.edu)
  575.   C code to get the current desktop pattern.
  576.   
  577. hideedittext    Hiding edit text items in dialogs
  578.   Daniel Azuma (dazuma@cco.caltech.edu)
  579.   C code showing how to safely hide edit text items.
  580.   
  581. iconfam         Displaying an icon family w/nofitications
  582.   Thomas Reed (reed@medicine.wustl.edu)
  583.   Displaying an icon family in a Notification Mgr
  584.   notification.
  585.   
  586. initstuff       INIT "how-to"
  587.   Kevin Bell (kbell@cs.utexas.edu)
  588.   Demo code in C showing how to write an INIT.
  589.   
  590. iscolormode     Determining if a monitor is a color one
  591.   Matt Mora (mxmora@unix.sri.com)
  592.   C function to determine if a monitor is a color
  593.   monitor.
  594.   
  595. ldef.c          LDEF that draws borders around cells
  596.   gadget (gadget@engin.umich.edu)
  597.   C LDEF defininition which draws borders around the
  598.   cells among other things.
  599.   
  600. makemask        Create a mask from a PixMap
  601.   David L. Daniel (daniel@unx.al.alcoa.com)
  602.   Create a mask from a PixMap (C code).
  603.   
  604. microsecs       Glue to access the MicroSeconds trap
  605.   Bret Olmsted (olmsted@cs.ucdavis.edu)
  606.   Glue to access the MicroSeconds trap in TC 5.
  607.   
  608. mydragwindow    Dragging a window without activating
  609.   Kevin R. Boyce (Kevin.R.Boyce@gsfc.nasa.gov)
  610.   C routines to drag a window without making the window
  611.   the active window.
  612.   
  613. offscreenlib    Offscreen Drawing Library
  614.   Thomas Reed (reed@medicine.wustl.edu)
  615.   Library of C routines for offscreen drawing using
  616.   offscreen GrafPorts.
  617.   
  618. optkeystate     Get the state of the option key
  619.   anonymous
  620.   C code to determine the state of the modifier keys.
  621.   
  622. paintrctvlineto Measured time differences...
  623.   Matt Mora (mxmora@unix.sri.com)
  624.   Timing differences between using SetRect and PaintRect
  625.   to plot a point vs MoveTo and LineTo to draw a point.
  626.   
  627. palettemgr      Palette Mgr use with Floaters
  628.   Joe Francis (Joe.Francis@dartmouth.edu)
  629.   C code showing how to use the Palette Mgr with floating
  630.   windows.
  631.   
  632. pcstrs          Magical C to Pascal string conversions
  633.   Kiselyov Oleg (oleg@ponder.csci.unt.edu)
  634.   C++ class which converts between string types automatically.
  635.   
  636. petegestalt     Pete's method for temporary Gestalt routines
  637.   Pete Gontier (gurgle@netcom.com)
  638.   Pete's algorithm for creating temporary Gestalt selector
  639.   routines which can be loaded/unloaded by an application.
  640.   
  641. ploticons       Plotting icons in System 6
  642.   Matt Slot (fprefect@engin.umich.edu)
  643.   C function for plotting ICN# resources in System 6.
  644.   
  645. ptinoval        Determining if a point is in an oval
  646.   Dr. P.L. Taylor (ptaylor@crc.ac.uk)
  647.   Pascal code to determine if a point is inside of an oval.
  648.  
  649. ptinoval2       Determining if a point is in an oval
  650.   rollin@newton.apple.com (Keith Rollin)
  651.   C code to determine if a point is inside of an oval.
  652.   
  653. readjpeg        Read a JPEG JFIF file & display
  654.   Chris Kaltwasser (kaltwasc@ucs.orst.edu)
  655.   Read a JFIF file and display it in a GWorld.
  656.   
  657. refnum2fsspec2  Convertion a file ref num to a FSSpec
  658.   Stefan Arentz (arentz@knoware.nl)
  659.   C code to convert a file reference number to a FSSpec.
  660.   
  661. remoteprocs     Process launching using creator codes
  662.   Peter N Lewis (peter@ncrpda.curtin.edu.au)
  663.   Pascal code showing how to launch an application using
  664.   the OS creator codes.
  665.   
  666. rotpsig         3d drawing program
  667.   Ken Long (kenlong@netcom.com)
  668.   C code that does some special 3d drawing.
  669.   
  670. saveron         Detecting a screen saver's state
  671.   Christopher S. Suley (csuley@netcom.com)
  672.   Code to determine if a screen saver has been activated.
  673.   
  674. sendae2app      Sending an AppleEvent to another app
  675.   Greg Robbins (grobbins@apple.com)
  676.   Demo code to send an AppleEvent to another application.
  677.   
  678. setgraybg       Setting the BG color of a dialog to gray
  679.   MarkS77 (marks77@aol.com)
  680.   C code to set the BG color of a dialog to gray.
  681.   
  682. setwindpictfile Read and display a pict file
  683.   Greg Robbins (grobbins@apple.com)
  684.   C function to read a PICT file and display the picture
  685.   in a window.
  686.   
  687. squareroots     Various square root routines
  688.   various (see file headers)
  689.   Directory containing various routines in C and Assembler 
  690.   to calculate square roots.
  691.   
  692. sys6info        System 6 version differences
  693.   Jim Van Peursem (jvp@tools1.ee.iastate.edu)
  694.   Documents the differences between the various System
  695.   6 releases.
  696.   
  697. unmountnetvols  Unmounting network volumes
  698.   Jim Luthor (jumplong@aol.com)
  699.   C function to unmount network volumes.
  700.   
  701. windowfix       Fix for the Floating window code in Develop
  702.   Joe Francis (Joe.Francis@dartmouth.edu)
  703.   The Symantec compilers incorrectly compile the floating
  704.   windows code from Develop 15.  This file contains
  705.   replacement functions that fixes the problems.
  706.   
  707. windowfix2      More fixes for Floating window code in Develop
  708.   Eric Sessoms (sessoms@gibbs.oit.unc.edu)
  709.   This fix is a replacement for the GetWindowList function.
  710.   
  711. windowfix3      More fixes for Floating window code in Develop
  712.   Joe Francis (Joe.Francis@dartmouth.edu)
  713.   This fix handles the Show/HideWindowReference functions.
  714.   
  715. wnesuggest      WNE Implementation suggestions
  716.   John Norstad (j-norstad@nwu.edu)
  717.   John's suggestions for timing WNE loops while in the
  718.   background or during heavy processing.
  719.   
  720. ************************************************************
  721.  
  722. Who's Who in Digest #6...
  723.  
  724. The contributors to this digest are:
  725.     Stefan Arentz (arentz@knoware.nl)
  726.     Daniel Azuma (dazuma@cco.caltech.edu)
  727.     Kevin Bell (kbell@cs.utexas.edu)
  728.     Marcel Blonk (leblonk@netcom.com)
  729.     Kevin R. Boyce (Kevin.R.Boyce@gsfc.nasa.gov)
  730.     David L. Daniel (daniel@unx.al.alcoa.com)
  731.     David Dantowitz (david@oahu.cs.ucla.edu)
  732.     Daniel C. Flatin (dcf@mps.ohio-state.edu)
  733.     Joe Francis (Joe.Francis@dartmouth.edu)
  734.     gadget (gadget@engin.umich.edu)
  735.     Jerry Gatlin (jerry@hipark.austin.isd.tenet.edu)
  736.     Stephen C. Gilardi (squeegee@world.std.com)
  737.     Pete Gontier (gurgle@netcom.com)
  738.     Dale M. Greer (greer@utdallas.edu)
  739.     Eddy J. Gurney (egurney@vcd.hp.com)
  740.     Ari I Halberstadt (ari@world.std.com)
  741.     Bruce Hoult (Bruce@hoult.actrix.gen.nz)
  742.     Gary Kacmarcik (platypus@cirrus.som.cwru.edu)
  743.     Chris Kaltwasser (kaltwasc@ucs.orst.edu)
  744.     Juergen Kehrer (kehrer@informatik.uni-ulm.de)
  745.     Brian Kennedy (kennedy@fenton.cs.ucdavis.edu
  746.     Richard Knuckey (richard@purplex.nacjack.gen.nz)
  747.     Peter N Lewis (peter@ncrpda.curtin.edu.au)
  748.     Ken Long (kenlong@netcom.com)
  749.     Jim Luthor (jumplong@aol.com)
  750.     MarkS77 (marks77@aol.com)
  751.     Jochen Meyer (jochen@blanc.north.de)
  752.     Matt Mora (mxmora@unix.sri.com)
  753.     John Norstad (j-norstad@nwu.edu)
  754.     Kiselyov Oleg (oleg@ponder.csci.unt.edu)
  755.     Bret Olmsted (olmsted@cs.ucdavis.edu)
  756.     Jim Van Peursem (jvp@tools1.ee.iastate.edu)
  757.     Marco Piovanelli (piovanel@dsi.unimi.it)
  758.     Ingemar Ragnemalm (ingemar@lysator.liu.se)
  759.     Thomas Reed (reed@medicine.wustl.edu)
  760.     Daniel W. Rickey (drickey@irus.rri.uwo.ca)
  761.     Keith Rollin (rollin@newton.apple.com)
  762.     Rene G.A. Ros (rgaros@bio.vu.nl)
  763.     Vik Rubenfeld (Vik_Rubenfeld@lamg.com)
  764.     Daniel Sears (sears@netcom.com)
  765.     Eric Sessoms (sessoms@gibbs.oit.unc.edu)
  766.     Matt Slot (fprefect@engin.umich.edu)
  767.     Tim Smith (tzs@u.washington.edu)
  768.     Christopher S. Suley (csuley@netcom.com)
  769.     Dr. P.L. Taylor (ptaylor@crc.ac.uk)
  770.     Jim Walker (walkerj@math.scarolina.edu)
  771.     David Wareing (dwareing@apanix.apana.org.au)
  772.     Gordon Watts (gwatts@fnal.fnal.gov)
  773.     Dean Yu (dean@genmagic.com)
  774.  
  775. ************************************************************
  776.  
  777. The archive's organization is as follows:
  778.  
  779. /ftp/pub - root directory for the archive.  All available files
  780.   can be found in this directory.
  781.   
  782. /ftp/pub/alt.sources.mac - Contains all articles posted to the
  783.   alt.sources.mac newsgroup as well as some items posted to the
  784.   comp.sys.mac.programmer newsgroup.  Also, any files uploaded
  785.   to the incoming folder are put here.  All of the files are
  786.   compressed using CompactPro and BinHex.  The files also include
  787.   an information file with the extension .info which explain what
  788.   the archive contains.  The 00abstracts file contains abstracts
  789.   of the files in the directory.
  790.   
  791. /ftp/pub/alt.sources.mac/00snippets - Contains small pieces of
  792.   code in a textual form (no compression or BinHexing).  The
  793.   00index file contains a brief description of each snippet.
  794.   
  795. /ftp/pub/alt.sources.mac/scripts - Contains scripts for any
  796.   scripting system available for the Mac (i.e. AppleScript or
  797.   Frontier).
  798.   
  799. /ftp/pub/comp.sources.atari.st - Source posted to the
  800.   comp.sources.atari.st newsgroup.  If the items are compressed,
  801.   they are extracted and re-compressed using CompactPro and
  802.   BinHex.
  803.   
  804. /ftp/pub/comp.sources.mac - Source posted to the comp.sources.mac
  805.   newsgroup.
  806.   
  807. /ftp/pub/digests - Contains all of the digests posted for the
  808.   alt.sources.mac archive.
  809.   
  810. /ftp/pub/incoming - Directory for uploading contributions to the
  811.   archive.  All files which get added to the archive spend some
  812.   time in this directory, so if you are looking for something
  813.   which should be in the archive but isn't yet, check here.
  814.   
  815. /ftp/pub/mac-faqs - FAQs for some of the Mac groups.  Contains all
  816.   of the "charter" information for the alt.sources.mac newsgroup.
  817.   
  818. /ftp/pub/mac-faqs/faq-sillyness - Contains the 'code' posted for
  819.   distributing the alt.sources.mac FAQ in source-code form.
  820.   
  821. /ftp/pub/other - Other Mac stuff (i.e. 2 program fonts, etc.).
  822.  
  823. /ftp/pub/other/apprentice - Updates for files contained on the
  824.   Apprentice CD.
  825.   
  826. /ftp/pub/soundsrc - Source for working with special sound formats.
  827.