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

  1. alt.sources.mac digest #3-94                      2/26/94
  2.  
  3. Today's Contents:
  4.  
  5.   [!] administrivia
  6.  
  7.   [*] a2hex.cpt.hqx
  8.   [*] append.cpt.hqx
  9.   [*] asciichartda.cpt.hqx
  10.   [*] cellusoft.cpt.hqx
  11.   [*] circlewdef.cpt.hqx
  12.   [*] dimtextitems.cpt.hqx
  13.   [*] dropftp.cpt.hqx
  14.   [*] graphlib.cpt.hqx
  15.   [*] morpion.cpt.hqx
  16.   [*] ovalsdoodadd.cpt.hqx
  17.   [*] readcd.cpt.hqx
  18.   [*] spritemgr.cpt.hqx
  19.   [*] ultraprng.cpt.hqx
  20.   [*] waste.cpt.hqx
  21.   
  22.   [#] 12daysoxmas-1
  23.   [#] 12daysoxmas-2
  24.   [#] afpmount
  25.   [#] bigscroll
  26.   [#] countlines.lex
  27.   [#] cstrtotype
  28.   [#] defs.h
  29.   [#] dialogfontsize
  30.   [#] drawditlitem
  31.   [#] encode-c
  32.   [#] encode-p
  33.   [#] filesystems
  34.   [#] float2fract
  35.   [#] float2price
  36.   [#] float2tex
  37.   [#] fsspecsnippets
  38.   [#] getallvols
  39.   [#] getqdglobals
  40.   [#] hash-1
  41.   [#] hash-2
  42.   [#] hash-3
  43.   [#] hash-4
  44.   [#] hash-5
  45.   [#] heapinit
  46.   [#] isfileordir
  47.   [#] jonsinitmac
  48.   [#] launchcoderes
  49.   [#] openwinds
  50.   [#] packstr
  51.   [#] pascalprintf
  52.   [#] patchtrapselect
  53.   [#] pbgetsetcatinfo
  54.   [#] printerchange
  55.   [#] pstrcpy1
  56.   [#] pstrcpy2
  57.   [#] pstrcpy3
  58.   [#] pstrcpy4
  59.   [#] randnums
  60.   [#] restart
  61.   [#] rotatestring
  62.   [#] scratchditl
  63.   [#] stackadj
  64.   [#] strings
  65.   [#] structpad
  66.   [#] text-style-res
  67.   [#] timemgr2
  68.   [#] wdefstuff
  69.   [#] whackhandle
  70.  
  71.   [!] Who's Who List
  72.   
  73.   The alt.sources.mac archive is at ftpbio.bgsu.edu
  74. (129.1.252.66) in the /ftp/pub/alt.sources.mac directory.  
  75. Files listed with an [*] before them are in the main
  76. directory.  Files listed with an [#] in front of them
  77. are in the /ftp/pub/alt.sources.mac/00snippet directory.
  78. Scripts are stored in the /ftp/pub/alt.sources.mac/scripts
  79. directory.
  80.  
  81.   Also stored at the archive site are the FAQs for the
  82. Mac newsgroups in the /ftp/pub directory.  Postings to
  83. comp.sources.mac are archived in the /ftp/pub/comp.sources.mac
  84. directory.  The alt.sources.mac digests are archived in the
  85. /ftp/pub/digests directory.
  86.  
  87.   The alt.sources.mac newsgroup is for the distribution of
  88. sources only.
  89.  
  90. ************************************************************
  91.  
  92. From: dnebing@andy.bgsu.edu (Dave Nebinger)
  93. Subject: Administrivia
  94.  
  95.   Welcome to the alt.sources.mac digest.  Currently, I am
  96. the moderator of the archive.  I thought I would post this
  97. message to show everyone what has been accumulating at the
  98. archive site.
  99.  
  100.   Your contributions are highly recommended and accepted.
  101. If you don't have access to the alt.sources.mac newsgroup,
  102. you can email your contribution to me (dnebing@andy.bgsu.edu)
  103. and I will add it to the archive, or you can upload it to
  104. the /ftp/pub/incoming directory at the archive site.
  105.  
  106.   I would also recommend to those programmers posting
  107. snippets to the comp.sys.mac.* heirarchy to also crosspost
  108. them to the alt.sources.mac group so that I can make sure
  109. that it gets added to the archive.
  110.  
  111.   A couple of notes that you might want to be aware of:
  112.     1.  Been doing alot of moving with the archive lately, currently
  113.         the root for all files is /Bio Mail Server/ftp/..., but this
  114.         is only temporary.
  115.     2.  The archive has lots of Frequently Asked Questions in the
  116.         /ftp/pub/mac-faqs directory, including the round of sillyness
  117.         which encompased the FAQs-as-application phase (these files
  118.         are located in the /ftp/pub/mac-faqs/sillyness directory ;-)
  119.     3.  The debate still rages on concerning the Layer Manager
  120.         (fortunately I have been avoiding the flames ;-) but I have
  121.         not received any complaints about keeping the Layer Manager
  122.         header file in the archive, so it still remains there.
  123.     4.  The alt.sources.mac archive is going to be mirrored at
  124.         mac.archive.umich.edu (or am I mirroring them?  ;-)  Actually
  125.         I am one of the new archivists at mac.archive, and one of
  126.         the main reasons I wanted to come aboard was to get the
  127.         alt.sources.mac archive to a site that's alittle more
  128.         dependable than mine (can you say "System Error..." ;-)
  129.         so hopefully everything can get taken care of soon (I
  130.         have to do some modifications to my index files first), but
  131.         I am still planning on keeping ftpbio up and running, at
  132.         least for the short term.
  133.  
  134.   Thanks for your support, and if you have any questions,
  135. problems, or maladjustments, feel free to email me.  Also, let
  136. me know if you have any problems accessing the archive.  The only 
  137. way I can fix things is if I am told... ;-)
  138.  
  139.   Dave Nebinger (dnebing@andy.bgsu.edu)
  140.   
  141. ************************************************************
  142.  
  143. From: absurd@apple.apple.com (Tim Dierks, software saboteur)
  144. Subject: Re: MPW asm->C script?
  145.  
  146. In article <1992Dec9.064929.17257@reed.edu>, bowman@reed.edu (BoBoRamDos)
  147. wrote:
  148. > Sorry, in my haste, I wasn't too clear.  I seem to recall a script to automate
  149. > the making of "inlined assembly" in MPW C, like:
  150. > write a bit of assembler to do something small, specific, and inlineable,
  151. > like get A0, or push all the registers onto the stack, etc.
  152. > run it through this script, which would assemble it, then dumpobj the resulting
  153. > object code, and extract the actual hex, yielding something like:
  154. > void MyInlinedAsm() = {0x24,0x45,etc.etc.};
  155. > Did I hallucinate this?
  156.  
  157. I think what you're talking about is called "A2Hex"; it's part of the
  158. MPW Script Tips package on the Developer CD (and on ETO, I think).
  159. Here's a copy of it; because it's relatively long for an MPW Script,
  160. I BinHexed it rather than convert all the high-bit characters to
  161. 7-bit equivalents.
  162.  
  163. It doesn't output in a "prototype" format, but it's easy to convert
  164. the output or the script to give you what you want.
  165.  
  166. Enjoy;
  167. Tim Dierks
  168.  
  169. [archived as: /ftp/pub/alt.sources.mac/a2hex.cpt.hqx]
  170. ============================================================
  171.  
  172. From: kenlong@netcom.com (Ken Long)
  173. Subject: Append-c
  174.  
  175. This is a .c file I got off Oakland's ftp, which I've gotten to run on 
  176. Think C 5.0.4.
  177.  
  178. It puts up SFGetFile, propting for 'TEXT', and you select one.  Then it 
  179. repeats this cycle until you select Cancel.  Each time after the first 
  180. time, it copies and pastes the contents at the end of the first files.  
  181. Doesn't make a new file, doesn't ask if you want to do this - it just 
  182. does it.
  183.  
  184. -Ken-
  185.  
  186. [archived as: /ftp/pub/alt.sources.mac/append.cpt.hqx]
  187. ============================================================
  188.  
  189. From: kenlong@netcom.com (Ken Long)
  190. Subject: ascii_chartDA/app.-c
  191.  
  192. This is an old Mac ascii chart DA, whict I got running in Think C 5.0.42 
  193. then made a slightly altered application version of it.  It puts the data 
  194. in the chart by string tables - nothing fancy.
  195.  
  196. Enjoy!
  197.  
  198. -Ken-
  199.  
  200. [archived as: /ftp/pub/alt.sources.mac/asciichartda.cpt.hqx]
  201. ============================================================
  202.  
  203. From: ingemar@lysator.liu.se (Ingemar Ragnemalm)
  204. Subject: Re: Cellusoft Graf.pas
  205.  
  206. Ken Long wrote:
  207.  
  208. >Tony Small's Cellusoft Graphics Routines in Pascal.  Puts up a
  209. >window, adds a color 'PICT' for background, then animates his
  210. >"walking eyes" over it, horizontally.
  211.  
  212. Here's a repost of the package. The previous upload included objects,
  213. which made it unnecessary large, and when I tried compiling it, its
  214. memory settings were messed up. No major problems, but it's better this
  215. way. It now requires Think Pascal 4, though it's easy to re-create a
  216. v3 project if you need it.
  217.  
  218. /Ingemar Ragnemalm
  219.  
  220. [archived as: /ftp/pub/alt.sources.mac/cellusoft.cpt.hqx]
  221. ============================================================
  222.  
  223. From: kenlong@netcom.com (Ken Long)
  224. Subject: CircularWDEF-c
  225.  
  226. That's right, folks!  A round window WDEF.  Has goAway and growBox!  It's 
  227. B/W, but a little creative hacking, using Infinity as a guide, coult make 
  228. it into a jewel.
  229.  
  230. Probably the best use for a round window would be a splash screen, in 
  231. which case a plain one, or a "dialog-looking" one would be optimum.
  232.  
  233. It would not take too much effort to modify it into the notorious 
  234. "diamondWDEF" I've heard of (but not seen).
  235.  
  236. I didn't write this, nor do I recall where I got it.  but all I had was 
  237. the .c file, so I neatened up the code appearencewise, build a WDEF with 
  238. it, tossed in "WDEFTester" so you could easily check it out, then 
  239. packaged it up for "shipping."
  240.  
  241. Enjoy!
  242.  
  243. -Ken-
  244.  
  245. [archived as: /ftp/pub/alt.sources.mac/circlewdef.cpt.hqx]
  246. ============================================================
  247.  
  248. From: egurney@vcd.hp.com (Eddy J. Gurney)
  249. Subject: Dimmable Dialog Text Items Source
  250.  
  251. Here is some pretty useful code that I'm posting with the author's 
  252. (Jim Walker <walkerj@math.scarolina.edu>) permission.  It allows you
  253. to dim statText and editText items in a dialog without any extra
  254. dialog items, etc.  A demo application is included.  The code is free;
  255. author requests any updates and enhancements.  To use the "Dim_text()"
  256. function, your dialog can't be using the refCon field or QuickDraw 
  257. bottleneck. (Not a big deal, IMHO).  Real "gray" is used if it's 
  258. available.
  259.  
  260. There is a funny bug that I reported to Jim that turned out to be in
  261. the Dialog Manager.  If a dialog contains two or more editText items
  262. that contain more text than fits in the rect, and you force the
  263. dialog to update (by temporarily covering it with another dialog, 
  264. for example) then only the item containing the insertion point will
  265. update correctly; the others will have text missing.
  266.  
  267. To see this behavior in the enclosed demo application, enter
  268. "Hello world!" in one of the editText items, dim it, and only "Hello"
  269. will be displayed (but will be dimmed!)  Un-dimming it returns it
  270. back to displaying "Hello world" (with the exclamation point being
  271. the part not fitting).  Anyone have any ideas on how to fix this?
  272.  
  273. [archived as: /ftp/pub/alt.sources.mac/dimtextitems.cpt.hqx]
  274. ============================================================
  275.  
  276. From: mxmora@unix.sri.com (Matt Mora)
  277. Subject: DropFTP
  278.  
  279. Enclosed is DropFTP and source. A drag and drop ftp program based on 
  280. dropshell. FTP code was taken from Newswatcher and merged with drop shell.
  281.  
  282. Currently it sends the files as if it they are text files. If anyone has
  283. some c code for macbinary encoding I would like to see it.
  284.  
  285. Default strings are stored in STR#1000. User string are stored in the
  286. pref file with the password scrambled as in NW. Password in the
  287. dialog box is not hidden. If any strings are left empty it will
  288. bring up the dialog box before the files are sent. 
  289.  
  290. Error reporting is not fully  done. It might bring up an empty dialog box
  291. on some errors.
  292.  
  293. I forgot to include a way to specify a directory but that pretty
  294. trivial and will be in the next version. So will password hidding.
  295. If all goes well so will MacBinary encoding. 
  296.  
  297. I forgot to change the BNDL to include folder dropping. I think dropshell
  298. supports folder dropping.
  299.  
  300. Have fun Hacking.
  301.  
  302. Xavier
  303.  
  304. P.S. if you make any changes I would like to see them too.
  305.  
  306.  
  307. ___________________________________________________________
  308. Matthew Xavier Mora                    Matt_Mora@qm.sri.com
  309. SRI International                       mxmora@unix.sri.com
  310. 333 Ravenswood Ave                    Menlo Park, CA. 94025
  311.  
  312. [archived as: /ftp/pub/alt.sources.mac/dropftp.cpt.hqx]
  313. ============================================================
  314.  
  315. From: kenlong@netcom.com (Ken Long)
  316. Subject: GraphicLib.C
  317.  
  318. This was an occasionally requested file, in c.s.m.p, which demo's pie 
  319. chart, bar chart, graph chart, etc. in Think C.  has a built library (as 
  320. I recall) but also has ALL the demo .c files added to the project.  For a 
  321. quick-start, you'll need to remove all but one of the files with "demo" 
  322. in its name.  The lib., too, if you get multipy defined link errors.  
  323. Don't know why it was shipped this way.  All I did to it was change it 
  324. from compactor to Stuff It.  There's plenty of docs with it.
  325.  
  326. -Ken-
  327.  
  328. [archived as: /ftp/pub/alt.sources.mac/graphlib.cpt.hqx]
  329. ============================================================
  330.  
  331. From: pottier@trimaran.ens.fr (Francois Pottier)
  332. Subject: Re: Dark Side Programming Q
  333.  
  334. In article <2kdo80$i4p@controversy.math.lsa.umich.edu>,
  335. Geza Bohus <bohus@math.lsa.umich.edu> wrote:
  336.  
  337. >The sample fader that comes with DS 4.*
  338. >doesn't want to compile under Think C, and I can't fix it for some reason.
  339. >(I can provide details about this.) So my question is: did anyone make
  340. >a Think C compatible version of the fadershell? If so, is it possible to
  341. >have it?
  342.  
  343. Yep, I have written a sample DarkSide module for use with Think C
  344. (I used DarkSide 4.2 and Think C 5). 
  345. I have rewritten FaderShell for use with Think C. The main changes
  346. were the A4/A5 stuff, and also some routines which used MPW C syntax
  347. had to be modified.
  348. The fader is called Morpion, it shows the computer playing against itself
  349. the game of Morpion (the first player which manages to align five markers
  350. on the grid wins).
  351. You can use the source code freely. 
  352.  
  353. Francois Pottier.
  354. pottier@dmi.ens.fr
  355.  
  356. [archived as: /ftp/pub/alt.sources.mac/morpion.cpt.hqx]
  357. ============================================================
  358.  
  359. From: kenlong@netcom.com (Ken Long)
  360. Subject: OvalsDooDadd 1.1 dscr.
  361.  
  362. This is a Think C 5 project for the new guys.  There are actually two, 
  363. here.  They are derivatives of an old 1985 MegaMax C source file called 
  364. "Display" - available on Oakland's FTP.
  365.  
  366. OvalsDoodadd 1.1 put's up a splash screen in a Rect in the main window, 
  367. using centered strings and various text faces and sizes for 4 seconds.  
  368. Then it erases and 4 scroll bars and a button are drawn.  Menu has Apple 
  369. (with about) and File with quit.
  370.  
  371. The scroll bars all start at min. and control the vertical and horizontal 
  372. quanities of ovals drawn down to center, with another set for the amount 
  373. of offset.
  374.  
  375. So, at max quantity and offset of one, it's solid.  It's in B/W.
  376.  
  377. The control procs are from EartPlot.
  378.  
  379. It's heavily, and entertainingly, commented.
  380.  
  381. I cleaned up the original "Display" file and put a TC 5 project to it, 
  382. and it runs.  Beyond that I did little else.
  383.  
  384. You'll easily spot where the oval thing came out of it.
  385. -Ken-
  386.  
  387. [archived as: /ftp/pub/alt.sources.mac/ovalsdoodadd.cpt.hqx]
  388. ============================================================
  389.  
  390. From: isis@netcom.com (Mike Cohen)
  391. Subject: ReadCD
  392.  
  393. Here's a library of C functions for accessing ISO9660 CD ROMs. The included
  394. functions illustrate how to read raw CD data under Mac OS & A/UX and interpret
  395. the directory. Includes support for Young Minds' filename translation.
  396.  
  397.  
  398. -- 
  399. Mike Cohen - isis@netcom.com
  400. NewtonMail: MikeC49506 / ALink: D6734 / AOL: MikeC20
  401.  
  402. [archived as: ftp/pub/alt.sources.mac/readcd.cpt.hqx]
  403. ============================================================
  404.  
  405. From: kenlong@netcom.com (Ken Long)
  406. Subject: SpriteManager-c
  407.  
  408. This is the SpriteManager I got off AOL a couple years ago.  I added the 
  409. Think C 5 project, did enough updating to get it to compile and run, but 
  410. it still needs a little debugging.  It was probably a TC 4 project, 
  411. originally.
  412.  
  413. Puts up two windows, side by side.  Animates an 'ICN#' in one, inverting 
  414. trails as it goes.  The other one is supposed to have a drag-able sprite 
  415. in it, like the demo, but doesn't work.  But HEY!  I can't do everything!
  416. Gotta save something for the downloader!
  417.  
  418. Tony Miles credited SpriteManager in his SpriteWorld documentation.
  419.  
  420. -Ken-
  421.  
  422. [archived as: ftp/pub/alt.sources.mac/spritemgr.cpt.hqx]
  423. ============================================================
  424.  
  425. From: M_P_McLaughlin%CAASD1@MWMGATE1.mitre.org
  426. Subject: Re[2]: A REALLY GOOD Random Number Generator
  427.  
  428. I worked for quite a while to write a good, fast implementation of
  429. Marsaglia's Ultra RNG.  This is a compound generator comprised of a
  430. Fibonacci generator and a feedback-shift generator and is *reportedly* the
  431. best general-purpose RNG currently available.
  432.  
  433. My library is written in Think C/Assembly for a 68020/68881 (or better).
  434. [The algorithm is very cumbersome in pure C.]
  435.  
  436. The library contains 16 functions to return random numbers of various
  437. kinds, including exponential and Gaussian variates, as well as functions to
  438. save and restore the RNG context (for repeating a sequence).  On a Mac II
  439. ci, a random Boolean takes 1.6 microseconds and a random Gaussian 50.5
  440. microseconds.
  441.  
  442. [archived as: /ftp/pub/alt.sources.mac/ultraprng.cpt.hqx]
  443. ============================================================
  444.  
  445. From: piovanel@hp4.sm.dsi.unimi.it
  446. Subject: WASTE 1.0a1.sit.hqx
  447.  
  448. This file contains version 1.0a1 of a text engine for the
  449. Macintosh, code-named WASTE, in BinHex/StuffIt form.
  450.  
  451. WASTE is a WorldScript-savvy styled TextEdit replacement
  452. which can handle text bigger than 32K.
  453. It's currently in the form of a THINK Pascal library, 
  454. compatible with the MPW environment.
  455. See the docs for additional information.
  456. For comments, suggestions and bug reports, please contact:
  457.  
  458.   Marco Piovanelli (piovanel@dsi.unimi.it)
  459.  
  460. [archived as: /ftp/pub/alt.sources.mac/waste.cpt.hqx]
  461.  
  462. ************************************************************
  463.  
  464. 12daysoxmas-1   12 days of xmas program
  465.   Jim Haynes (haynes@cats.ucsc.edu)
  466.   12 days of xmas program.
  467.  
  468. 12daysoxmas-2   12 days of xmas program
  469.   Matthew E. Cross (profesor@bigwpi.wpi.edu)
  470.   Obfuscated C 12 days of xmas program.
  471.  
  472. afpmount        Mounting an AppleShare File Server
  473.   Chris Roberts (ctr@pyrite.som.cwru.edu)
  474.   C code for mounting an appleshare file server using afp
  475.   commands.
  476.  
  477. bigscroll       Algorithm for scroll bars >32k
  478.   Jon Pugh (jpugh@apple.com)
  479.   Algorithm for working with scroll bars which represent
  480.   more than 32k.
  481.  
  482. countlines.lex  Lex code for counting lines
  483.   Scott M. Silver (scott.m.silver@dartmouth.edu)
  484.   Lex code for counting lines of Think C source files.
  485.  
  486. cstrtotype      Converting a C string to an OSType
  487.   Edwin H. Watkeys III (watkeyeh@dunx1.ocs.drexel.edu)
  488.   C code to convert a C string to an OSType.
  489.  
  490. defs.h          Common definitions
  491.   Bill Hatch (bill@bts.uucp)
  492.   Bill's common header definitions.
  493.  
  494. dialogfontsize  Changing font & size of DITL resources
  495.   Leonard Rosenthol (leonardr@netcom.com)
  496.   C code demonstrating how to change the font and size for
  497.   DITL resource items, including static text items.
  498.  
  499. drawditlitem    Draw a single DITL item
  500.   John Cavallino (jcav@midway.uchicago.edu)
  501.   Pascal function for drawing a single dialog item.
  502.  
  503. encode-c        Encode a string
  504.   Gordon Couger (gcouger@olesun.okstate.edu)
  505.   C function to encode a string.
  506.  
  507. encode-p        Encode a string
  508.   Charles F. Lane (clane@csws2.ic.sunysb.edu)
  509.   Pascal routines to encrypt a string.
  510.  
  511. filesystems     FSpExchangeFiles and other file systems
  512.   Jon Wätte (d88-jwa@mumrik.nada.kth.se)
  513.   Solution for using FSpExchangeFiles and other file systems.
  514.   
  515. float2fract     Converting from floating pt to fraction
  516.   Colin Hogben (chah@jet.uk)
  517.   C function to convert a floating point number to a
  518.   fraction.
  519.  
  520. float2price     Converting from floating pt to fraction
  521.   Alex Matulich (alex@bilver.oau.org)
  522.   C function to convert a floating point number to a
  523.   fraction.
  524.  
  525. float2tex       Convert a floating number to TeX format
  526.   Ajay Shah (ajayshah@almaak.usc.edu)
  527.   C function to convert a double to TeX format.
  528.  
  529. fsspecsnippets  Get app's FSSpec and folder's dirID from FSSpec
  530.   Grobbins (grobbins@apple.com)
  531.   C functions for getting the application's FSSpec, and also
  532.   getting the dirID of a folder from it's FSSpec.
  533.  
  534. getallvols      Getting a list of all mounted volumes
  535.   Andrew E Page (aep@world.std.com)
  536.   C function which determines the names of all mounted volumes.
  537.  
  538. getqdglobals    Getting to the QuickDraw globals from a code resource
  539.   Ivan M CaveroBelaunde (ivanski@world.std.com)
  540.   C function to get the pointer to the application's QuickDraw
  541.   globals.
  542.  
  543. hash-1          Hashing function
  544.   Schramp (jan@huet.si.hhs.nl)
  545.   C hashing function.
  546.  
  547. hash-2          Hashing function
  548.   Rene Dekker (dekker@dutiag.tudelft.nl)
  549.   C hashing function.
  550.  
  551. hash-3          Hashing function
  552.   Chris Torek (torek@horse.ee.lbl.gov)
  553.   C hashing function.
  554.  
  555. hash-4          Hashing function
  556.   Alan Braggins (alanb@sdl.mdcbbs.com)
  557.   C hashing functions.
  558.  
  559. hash-5          Hashing function
  560.   Jim Van Zandt (jrv@truth.mitre.org)
  561.   A simple C hashing macro.
  562.  
  563. heapinit        Changing the app's heap size
  564.   Ari I Haberstadt (ari@world.std.com)
  565.   C function demonstrating how to change an app's heap
  566.   partition size.
  567.  
  568. isfileordir     Is FSSpec pointing to file or dir
  569.   Ross Brown (ross@bnr.ca)
  570.   C code to determine if an FSSpec (received via Apple
  571.   Events) points to a file or a directory/volume.
  572.  
  573. jonsinitmac     Jon Wtte's InitMac routine
  574.   Matt Mora (mxmora@unix.sri.com)
  575.   C function to call of the toolbox init routines as well
  576.   as some other initialization stuff.
  577.  
  578. launchcoderes   Launching a code resource
  579.   Roger L. Cauvin (rcauvin@aatdev.uucp)
  580.   C function for launching a code resource.
  581.  
  582. openwinds       Finding the number of screens
  583.   Greg Robbins (grobbins@apple.com)
  584.   C function for determining the number of monitors
  585.   connected to a mac.
  586.  
  587. packstr         Pack strings into a 'STR#' resource
  588.   Sean J. Christ (kurisuto@chopin.udel.edu)
  589.   Pascal routines to pack strings into an 'STR#'
  590.   resource.
  591.  
  592. pascalprintf    A printf function for pascal users
  593.   Peter N. Lewis (peter@ncrpda.curtin.edu.au)
  594.   A set of pascal functions which simulate the C printf
  595.   routine.
  596.  
  597. patchtrapselect Patching a trap/selector combination
  598.   Keith Rollin (keith@taligent.com)
  599.   C/inline asm function demonstrating how to handle the patching
  600.   of a trap and selector combination.
  601.  
  602. pbgetsetcatinfo Back to back PBGetCatInfo and PBSetCatInfo calling
  603.   Cameron Esfahani (dirty@guest.apple.com)
  604.   C code demonstrating how to call PBSetCatInfo directly after
  605.   PBGetCatInfo.
  606.  
  607. printerchange   Changing between printers
  608.   Mike Russell (mgr@aggroup.aggroup.com)
  609.   C code demonstrating how to programmatically change between
  610.   printer drivers.
  611.  
  612. pstrcpy1        C pstrcpy routine
  613.   Michael Gleason (mgleason@cse.unl.edu)
  614.   C routine to copy Pascal strings.
  615.  
  616. pstrcpy2        C pstrcpy routine
  617.   Joseph A. Brownlee (jbr0@cbnews.cb.att.com)
  618.   C routine to copy Pascal strings.
  619.  
  620. pstrcpy3        C pstrcpy routine
  621.   Robert S. Mah (rmah@panix.com)
  622.   C routine to copy Pascal strings.
  623.  
  624. pstrcpy4        C pstrcpy routine
  625.   Mike Russell (mgr@aggroup.aggroup.com)
  626.   C routine to copy Pascal strings.
  627.  
  628. randnums        Random number routines
  629.   Mayan Moudgill (moudgill@cs.cornell.edu)
  630.   C functions for random numbers, including random floats,
  631.   etc.
  632.  
  633. restart         Restarting the Mac via AppleEvents
  634.   Peter N Lewis (peter@ncrpda.curtin.edu.au)
  635.   Pascal code for restarting the Mac by sending the Finder
  636.   AppleEvents.
  637.  
  638. rotatestring    Rotating a Str255
  639.   anonymous submission
  640.   C routine to rotate a Str255.
  641.  
  642. scratchditl     Building a DITL list from scratch
  643.   anonymous submission
  644.   C routines for building a dialog's DITL list from scratch.
  645.  
  646. stackadj        Adjusting an application's stack size
  647.   Robin J. Lunge (rjl1@cornell.edu)
  648.   C code demonstrating how to adjust the size of the
  649.   application's stack.
  650.  
  651. strings         Reading and writing strings
  652.   Ron Hunsinger (Ron_Hunsinger@bmug.org)
  653.   Reading and writing Str255's to/from a file.
  654.  
  655. structpad       Turning off Think-C's structure padding
  656.   Matt Slot (fprefect@engin.umich.edu)
  657.   Think-C 5.0.4 pragma for disabling structure padding.
  658.  
  659. text-style-res  Working with TEXT and styl resources
  660.   R.B. Schmunk (pcrxs@nasagiss.giss.nasa.gov)
  661.   C code demonstrating how to use TEXT and styl resources
  662.   in conjuction with a styled TE record.
  663.  
  664. timemgr2        Time Manager clock
  665.   Ari I Halberstadt (ari@world.std.com)
  666.   C functions showing how to use the time manager to
  667.   increment a counter (for timing purposes).
  668.  
  669. wdefstuff       WDEF information
  670.   Troy Gaul (t-gaul@i-link.com)
  671.   Information and code in C for WDEF creation and manipulation.
  672.  
  673. whackhandle     Handle state manipulation
  674.   Pete Gontier (gurgle@netcom.com)
  675.   C and C++ routines for working with handles; avoids HUnlock.
  676.  
  677.  
  678. ************************************************************
  679.  
  680. Who's Who in Digest #3...
  681.  
  682. The contributors to this digest are:
  683.  
  684.   Alan Braggins (alanb@sdl.mdcbbs.com)
  685.   Ross Brown (ross@bnr.ca)
  686.   Joseph A. Brownlee (jbr0@cbnews.cb.att.com)
  687.   Roger L. Cauvin (rcauvin@aatdev.uucp)
  688.   John Cavallino (jcav@midway.uchicago.edu)
  689.   Ivan M. CaveroBelaunde (ivanski@world.std.com)
  690.   Sean J. Christ (kurisuto@chopin.udel.edu)
  691.   Mike Cohen (isis@netcom.com)
  692.   Gordon Couger (gcouger@olesun.okstate.edu)
  693.   Mike Crawford (crawford@scipp.ucsc.edu)
  694.   Matthew E. Cross (profesor@bigwpi.wpi.edu)
  695.   Rene Dekker (dekker@dutiag.tudelft.nl)
  696.   Benjamin Denckla (bdenckla@husc7.harvard.edu)
  697.   Tim Dierks (absurd@apple.apple.com)
  698.   Cameron Esfahani (dirty@guest.apple.com)
  699.   Troy Gaul (t-gaul@i-link.com)
  700.   Michael Gleason (mgleason@cse.unl.edu)
  701.   Pete Gontier (gurgle@netcom.com)
  702.   Eddy J. Gurney (egurney@vcd.hp.com)
  703.   Jamal Hannah (jamal@bronze.lcs.mit.edu)
  704.   Bill Hatch (bill@bts.uucp)
  705.   Jim Haynes (haynes@cats.ucsc.edu)
  706.   Colin Hogben (chah@jet.uk)
  707.   Charles F. Lane (clane@csws2.ic.sunysb.edu)
  708.   Peter N. Lewis (peter@ncrpda.curtin.edu.au)
  709.   Ken Long (kenlong@netcom.com)
  710.   Robin J. Lunge (rjl1@cornell.edu)
  711.   Robert S. Mah (rmah@panix.com)
  712.   Alex Matulich (alex@bilver.oau.org)
  713.   Mike McLaughlin (mpmcl@mitre.org)
  714.   Matt Mora (mxmora@unix.sri.com)
  715.   Mayan Moudgill (moudgill@cs.cornell.edu)
  716.   Andrew E. Page (aep@world.std.com)
  717.   Mark Pilgrim (f8dy@netaxs.com)
  718.   Marco Piovanelli (piovanel@dsi.unimi.it)
  719.   Francois Pottier (pottier@trimaran.ens.fr)
  720.   Jon Pugh (jpugh@apple.com)
  721.   Greg Robbins (grobbins@apple.com)
  722.   Chris Roberts (ctr@pyrite.som.cwru.edu)
  723.   Mike Russell (mgr@aggroup.aggroup.com)
  724.   R. B. Schmunk (pcrxs@nasagiss.giss.nasa.gov)
  725.   Schramp (jan@huet.si.hhs.nl)
  726.   Ajay Shah (ajayshah@almaak.usc.edu)
  727.   Scott M. Silver (scott.m.silver@dartmouth.edu)
  728.   Matt Slot (fprefect@engin.umich.edu)
  729.   Chris Torek (torek@horse.ee.lbl.gov)
  730.   Jim Van Zandt (jrv@truth.mitre.org)
  731.   Edwin H. Watkeys III (watkeyeh@dunx1.ocs.drexel.edu)
  732.   Jon Wätte (d88-jwa@mumrik.nada.kth.se)
  733.