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

  1. alt.sources.mac digest #1-94                      1/7/94
  2.  
  3. Today's Contents:
  4.  
  5.   [!] administrivia
  6.  
  7.   [*] autobin.cpt.hqx
  8.   [*] catsearch.cpt.hqx
  9.   [*] cdef-slider.cpt.hqx
  10.   [*] devils-cubes.cpt.hqx
  11.   [*] final-chance.cpt.hqx
  12.   [*] ghost.cpt.hqx
  13.   [*] hotkeys-1.0.2.cpt.hqx
  14.   [*] jgnehelper.cpt.hqx
  15.   [*] jotto-ii.cpt.hqx
  16.   [*] keycapapp-2.0.cpt.hqx
  17.   [*] mouse-broken.cpt.hqx
  18.   [*] mouse-crooked.cpt.hqx
  19.   [*] mouse-ghost.cpt.hqx
  20.   [*] mouse-gravity.cpt.hqx
  21.   [*] mouse-speedy-1.2.cpt.hqx
  22.   [*] mouse-stoned.cpt.hqx
  23.   [*] shutdownfx.cpt.hqx
  24.   [*] voyeur.cpt.hqx
  25.  
  26.   [#] appstartupscrn
  27.   [#] changesysfont
  28.   [#] changeusername
  29.   [#] convertpcdata
  30.   [#] dbllinklist
  31.   [#] detectdebug
  32.   [#] downarrow
  33.   [#] editinmodeless
  34.   [#] fixbyteorders
  35.   [#] folderflags
  36.   [#] fp2string
  37.   [#] getnetname
  38.   [#] incstacksize
  39.   [#] keydetect
  40.   [#] keyrepeats
  41.   [#] launchnsendaes
  42.   [#] layermgr
  43.   [#] makeratiorgb
  44.   [#] paramstring
  45.   [#] patchdrawmenu
  46.   [#] patchmbdf
  47.   [#] pictpreview
  48.   [#] refnum2fsspec
  49.   [#] resource-io
  50.   [#] scrolldelay
  51.   [#] systemfont
  52.   [#] testshift
  53.   [#] timemgr
  54.   [#] touchfolder
  55.   [#] windinfo
  56.   [#] xpraminfo
  57.   [#] xpraminfo2
  58.  
  59.  
  60.   The alt.sources.mac archive is at ftpbio.bgsu.edu
  61. (129.1.252.66) in the /ftp/pub/alt.sources.mac directory.  
  62. Files listed with an [*] before them are in the main
  63. directory.  Files listed with an [#] in front of them
  64. are in the /ftp/pub/alt.sources.mac/00snippet directory.
  65.  
  66.   The alt.sources.mac newsgroup is for the distribution of
  67. sources only.
  68.  
  69. ************************************************************
  70.  
  71. From: dnebing@andy.bgsu.edu (Dave Nebinger)
  72. Subject: Administrivia
  73.  
  74.   Welcome to the alt.sources.mac digest.  Currently, I am
  75. the moderator of the archive.  I thought I would post this
  76. message to show everyone what has been accumulating at the
  77. archive site.
  78.  
  79.   Your contributions are highly recommended and accepted.
  80. If you don't have access to the alt.sources.mac newsgroup,
  81. you can email your contribution to me (dnebing@andy.bgsu.edu)
  82. and I will add it to the archive, or you can upload it to
  83. the /ftp/pub/incoming directory at the archive site.
  84.  
  85.   I would also recommend to those programmers posting
  86. snippets to the comp.sys.mac.* heirarchy to also crosspost
  87. them to the alt.sources.mac group so that I can make sure
  88. that it gets added to the archive.
  89.  
  90.   Thanks for you support, and if you have any questions/
  91. problems/maladjustments, feel free to email me.
  92.  
  93.   Dave Nebinger (dnebing@andy.bgsu.edu)
  94.   
  95. ************************************************************
  96.  
  97. From: mxmora@unix.sri.com (Matt Mora)
  98. Subject: AutoBin
  99.  
  100. Enclosed is AutoBin a drag a drop binhexing program. 
  101.  
  102. [archived as /ftp/pub/alt.sources.mac/autobin.cpt.hqx]
  103. ============================================================
  104.  
  105. From: keith@taligent.com (Keith Rollin)
  106. Subject: CatSearch utilities
  107.  
  108. Here are a couple of utilities that make PBCatSearch more useful and easier
  109. to use.
  110. [archived as /ftp/pub/alt.sources.mac/catsearch.cpt.hqx]
  111. ============================================================
  112.  
  113. From: ekstrom@girtab.usc.edu (Harold Verner Ekstrom)
  114. Subject: Slider CDEF
  115.  
  116. SliderCDEF 1.0
  117. ==============
  118.  
  119. SliderCDEF is a control definition function for a
  120. slider with a simple indicator and a track without
  121. arrows on the end and that also displays the slider's
  122. value centered above the indicator outside the
  123. control's rectangle.
  124.  
  125. [archived as /ftp/pub/alt.sources.mac/cdef-slider.cpt.hqx]
  126. ============================================================
  127.  
  128. From: f8dy@netaxs.com (Mark Pilgrim)
  129. Subject: Devil's Cubes 1.0.1 (source code)
  130.  
  131. The Devil's Cubes are a set of four cubes, each painted with four colors
  132. with some colors repeated.  All four cubes are different.  The object of
  133. the game is to rotate the four cubes until the top of each Devil's Cube
  134. is a different color than the top of the other three cubes, and likewise
  135. for the bottom, front, and back of each Devil's Cube.  Sound simple?  Try
  136. it for a few hours.
  137.  
  138. [archived as /ftp/pub/alt.sources.mac/devils-cubes.cpt.hqx]
  139. ============================================================
  140.  
  141. From: f8dy@netaxs.com (Mark Pilgrim)
  142. Subject: Final Chance 1.0 (source code)
  143.  
  144. Final Chance is a combination of fluff and utility.  On one hand, it gives
  145. you a random quote on shutdown, which is pretty useless, really.  On the
  146. other hand, it gives you a final chance to decide if you really want to shut
  147. your Macintosh down, or if you want to exit to the Finder.
  148.  
  149. [archived as /ftp/pub/alt.sources.mac/final-chance.cpt.hqx]
  150. ============================================================
  151.  
  152. From: f8dy@access.netaxs.com (Mark Pilgrim)
  153. Subject: [0/10] Ghost 1.0 (word game, C 5 or 6)
  154.  
  155. Ghost is a classic word-building game for two or more players.  Players take
  156. turns each adding a letter to build a word, and whoever finishes the word
  157. loses the round.  Lose five rounds, and you become a "ghost" and are out of
  158. the game!  Up to five human players can compete against up to five computer
  159. players at a variety of skill levels.
  160.  
  161. [archived as /ftp/pub/alt.sources.mac/ghost.cpt.hqx]
  162. ============================================================
  163.  
  164. From: rmah@panix.com (Robert S. mah)
  165. Subject: HotKeys1.0.2 (Think C)
  166.  
  167. I was writing an extension, and I needed hot key support.
  168. So here it is.  Version 1.0.2, shiny and new.  Ready and rearin' to go!
  169.  
  170. [archived as /ftp/pub/alt.sources.mac/hotkeys-1.0.2.cpt.hqx]
  171. ============================================================
  172.  
  173. From: gurgle@netcom.com (Pete Gontier)
  174. Subject: jGNE Helper -- event filter example
  175.  
  176. This is "jGNE Helper", a monthly posting to alt.sources.mac.  It
  177. attempts to provide an example for INIT programmers interested in
  178. filtering events before they are handed to applications calling
  179. GetNextEvent (which is called by WaitNextEvent).
  180.  
  181. [archived as /ftp/pub/alt.sources.mac/jgnehelper.cpt.hqx]
  182. ============================================================
  183.  
  184. From: f8dy@access (Mark Pilgrim)
  185. Subject: Jotto ][ 1.0 (word game, THINK C 6)
  186.  
  187. Jotto ][ is a simple word game based on logic and frustration.  The computer
  188. will pick a 5- or 6-letter word from a 2000+ word database, and you have 15
  189. tries to guess it.  You will get feedback on how many letters in your guess
  190. are in the actual word, but beware: each guess must be a valid word, or you
  191. will or you will not get any feedback about it at all.
  192.  
  193. [archived as /ftp/pub/alt.sources.mac/jotto-ii.cpt.hqx]
  194. ============================================================
  195.  
  196. From: mxmora@unix.sri.com (Matt Mora)
  197. Subject: KeyCapApp 2.0
  198.  
  199. Enclosed is KeyCapApp 2.0. I modified the DTS verison (1.2)
  200. and added color and modifer support.
  201.  
  202. [archived as /ftp/pub/alt.sources.mac/keycapapp-2.0.cpt.hqx]
  203. ============================================================
  204.  
  205. From: f8dy@netaxs.com (Mark Pilgrim)
  206. Subject: Mousebroken 1.0.1 (source code)
  207.  
  208. Mousebroken is a control panel which will give you greater control over your
  209. mouse (or less control, depending on how you look at it).  It comes with 13
  210. mouse modules, each designed to alter your mouse's behavior in a different
  211. way.  New mouse modules can easily be designed and added to Mousebroken.  The
  212. mouse modules in this archive are public domain; feel free to design your own!
  213.  
  214. [archived as /ftp/pub/alt.sources.mac/mouse-broken.cpt.hqx]
  215. ============================================================
  216.  
  217. From: f8dy@netaxs.netaxs.com (Mark Pilgrim)
  218. Subject: Crooked Mouse 1.0 (source code) 
  219.  
  220. Crooked Mouse is a fun little INIT which will cause your mouse to move
  221. at an angle 45 degrees counterclockwise from the angle you moved it.
  222. This INIT is free and is distributed under the GNU General Public License;
  223. this archive contains complete THINK C 6.0.1 source code and project files
  224. for the INIT.  If you do not have FTP access, e-mail the author for a copy of
  225. the INIT, the source code, or a list of other programs by the same author.
  226. The address is f8dy@netaxs.com.
  227.  
  228. [archived as /ftp/pub/alt.sources.mac/mouse-crooked.cpt.hqx]
  229. ============================================================
  230.  
  231. From: f8dy@netaxs.com (Mark Pilgrim)
  232. Subject: Ghost Mouse 1.1 (source code) 
  233.  
  234. Ghost Mouse is a fun little INIT which will cause your mouse to disappear
  235. if you stop moving it.  Due to numerous requests from users of version 1.0,
  236. the mouse can stay stationery for about 2 seconds before it disappears.
  237. This INIT is free and is distributed under the GNU General Public License;
  238. this archive contains complete THINK C 6.0.1 source code and project files
  239. for the INIT.  If you do not have FTP access, e-mail the author for a copy of
  240. the INIT, the source code, or a list of other programs by the same author.
  241. The address is f8dy@netaxs.com.
  242.  
  243. [archived as /ftp/pub/alt.sources.mac/mouse-ghost.cpt.hqx]
  244. ============================================================
  245.  
  246. From: f8dy@netaxs.com (Mark Pilgrim)
  247. Subject: Gravity Mouse 1.1 (source code) 
  248.  
  249. Gravity Mouse will cause your mouse to be occasionally overcome by gravity.
  250. This INIT is free and is distributed under the GNU General Public License;
  251. this archive contains complete THINK C 6.0.1 source code and project files
  252. for the INIT.  If you do not have FTP access, e-mail the author for a copy
  253. of the INIT, the source code, or a list of other programs by the same author.
  254. The address is f8dy@netaxs.com.
  255.  
  256. [archived as /ftp/pub/alt.sources.mac/mouse-gravity.cpt.hqx]
  257. ============================================================
  258.  
  259. From: f8dy@access.netaxs.com (Mark Pilgrim)
  260. Subject: [0/1] Speedy Mouse 1.2 (INIT, THINK C 5 or 6)
  261.  
  262. Speedy Mouse is a fun little INIT which will cause your mouse to move
  263. twice as fast as it normally does.  This INIT is free and is distributed under
  264. the GNU General Public License; this archive contains complete THINK C 6.0.1
  265. source code and project files for the INIT.  If you do not have FTP access,
  266. e-mail the author for a copy of the INIT, the source code, or a list of other
  267. programs by the same author.  The address is f8dy@netaxs.com.
  268.  
  269. [archived as /ftp/pub/alt.sources.mac/mouse-speedy-1.2.cpt.hqx]
  270. ============================================================
  271.  
  272. From: f8dy@netaxs.com (Mark Pilgrim)
  273. Subject: Stoned Mouse 1.0 (source code) 
  274.  
  275. Stoned Mouse is a fun little INIT which will cause your mouse to move
  276. discretely instead of continuously, which I find breathtakingly disconcerting.
  277. This INIT is free and is distributed under the GNU General Public License;
  278. this archive contains complete THINK C 6.0.1 source code and project files
  279. for the INIT.  If you do not have FTP access, e-mail the author for a copy of
  280. the INIT, the source code, or a list of other programs by the same author.
  281. The address is f8dy@netaxs.com.
  282.  
  283. [archived as /ftp/pub/alt.sources.mac/mouse-stoned.cpt.hqx]
  284. ============================================================
  285.  
  286. From: f8dy@access.netaxs.com (Mark Pilgrim)
  287. Subject: Shutdown FX (INIT, THINK C 5 or 6)
  288.  
  289. Shutdown FX will cause your Macintosh to clear the screen with a cool
  290. graphic effect every time it shuts down.  This INIT is free and is distributed
  291. under the GNU General Public License; this archive contains complete THINK C
  292. source code and project files for the INIT.  If you do not have FTP access,
  293. e-mail the author for a copy of the INIT, the source code, or a list of other
  294. programs by the same author.  The address is f8dy@netaxs.com.
  295.  
  296. [archived as /ftp/pub/alt.sources.mac/shutdownfx.cpt.hqx]
  297. ============================================================
  298.  
  299. From: f8dy@netaxs.netaxs.com (Mark Pilgrim)
  300. Subject: Voyeur 1.0 (source code)
  301.  
  302. Voyeur 1.0 is a no-frills file viewer.  It allows you to view raw data (in
  303. hexadecimal and ascii format) of either the data or resource fork of a
  304. file.  You can't edit any of the information, but you can change the
  305. type/creator information or modify the length (EOF) of either fork.
  306.  
  307. [archived as /ftp/pub/alt.sources.mac/voyeur.cpt.hqx]
  308.  
  309. ************************************************************
  310.  
  311. appstartupscrn  Display application startup splash screen
  312.   Erik Schwiebert (evs1@cornell.edu)
  313.   Pascal code which demonstrates how to display a splash
  314.   screen while the application is starting up and initializing.
  315.  
  316. ============================================================
  317. changesysfont   Change the default system font and size.
  318.   Leonard Rosenthol (leonardr@netcom.com)
  319.   C functions for changing the system font and size.
  320.  
  321. ============================================================
  322. changeusername  Change the user name
  323.   Rich Kubota (rkubota@applelink.apple.com)
  324.   C functions illustrating how to change the user name for
  325.   the system and make it stick.
  326.  
  327. ============================================================
  328. convertpcdata   Converting from little-endian to big-endian
  329.   Stephen Roderick (roderis@kira.csos.orst.edu)
  330.   C function to convert pc doubles to Mac doubles.
  331.  
  332. ============================================================
  333. dbllinklist     Doubly Linked List Code
  334.   Peter Lewis (peter@ncrpda.curtin.edu.au)
  335.   Pascal code that implements a doubly linked list.
  336.   
  337. ============================================================
  338. detectdebug     Detect the availability of debuggers
  339.   Dawson Dean (dawson@cs.cornell.edu)
  340.   Pascal procedure for checking for a debugger.
  341.  
  342. ============================================================
  343. downarrow       Drawing a popup's down arrow
  344.   Leonard Rosenthol (leonardr@netcom.com)
  345.   C snippet showing how to draw the down arrow for a custom
  346.   popup menu.
  347.  
  348. ============================================================
  349. editinmodeless  Implementing edit functions in a modeless dlg
  350.   Andrew McClure (andrew@cs.uwa.oz.au)
  351.   C function for implementing the standard edit functions in a
  352.   modeless dialog.
  353.  
  354. ============================================================
  355. fixbyteorders   Conversion between big and little endian
  356.   Danny Thomas (D.Thomas@vthrc.uq.edu.au)
  357.   C functions to convert little-endian numbers to the Mac's
  358.   big-endian numbers.
  359.  
  360. ============================================================
  361. folderflags     Setting the finder flags for a folder
  362.   GRAFF (pier@rz.rwth-aachen.de)
  363.   C function for changing the finder flags for a folder.
  364.  
  365. ============================================================
  366. fp2string       Conversion between floating pt. and strings
  367.   Herb Hrowal (h_hrowal@qm.symantec.com)
  368.   C functions to convert between floating point numbers and
  369.   strings.
  370.  
  371. ============================================================
  372. getnetname      Getting Network Username
  373.   Peter Lewis (peter@ncrpda.curtin.edu.au)
  374.   Pascal function for returning the name from the network
  375.   control panel.
  376.  
  377. ============================================================
  378. incstacksize    Increment the default stack size for an app
  379.   Grobbins (grobbins@apple.com)
  380.   C code showing how to increase an applications stack size.
  381.  
  382. ============================================================
  383. keydetect       Detecting cmd & option keys at startup
  384.   Mike Russel (mgr@aggroup.aggroup.com)
  385.   C functions for checking if the command and option keys
  386.   are depressed.
  387.  
  388. ============================================================
  389. keyrepeats      Changing the keyboard repeat rate
  390.   George Loo Chee Khin (gloo@iss.nus.sg)
  391.   C code showing how to change the keyboard repeat rate using
  392.   lo-mem globals.
  393.  
  394. ============================================================
  395. launchnsendaes  Launch an app for sending apple events
  396.   Chuck Shotton (cshotton@oac.hsc.uth.tmc.edu)
  397.   C function to launch an application keeping the necessary
  398.   information to send the app some apple events.
  399.  
  400. ============================================================
  401. layermgr        Undocumented Layer Manager calls
  402.   Hugues Marty (hugues@isoftfr.isoft.fr)
  403.   C header file and sample code for using the undocumented
  404.   Layer Manager.
  405.  
  406. ============================================================
  407. makeratiorgb    MakeRatioRGB
  408.   Stefan Arentz (arentz@batcave.knoware.nl)
  409.   Think C translation of assembly code from the Developer CD
  410.   for MakeRatioRGB.
  411.  
  412. ============================================================
  413. paramstring     String expansion like ParamText
  414.   John Werner (werner@soe.berkely.edu)
  415.   C function for doing pascal string expansions similar to
  416.   the ParamText trap.
  417.  
  418. ============================================================
  419. patchmbdf       Patching GetResource
  420.   Keith Rollin (keith@taligent.com)
  421.   C function to patch GetResource.
  422.   
  423. ============================================================
  424. patchdrawmenu   Patching DrawMenuBar
  425.   Phil Kearney (phil@intercon.com)
  426.   C function to patch DrawMenuBar
  427.  
  428. ============================================================
  429. pictpreview     Using Quicktime's Preview model
  430.   Mark Sproul (sproul@sproul.sproul.com)
  431.   C function to make a preview resource picture which Quicktime
  432.   will use with the StandardOpenPreview call.
  433.  
  434. ============================================================
  435. refnum2fsspec   RefNum to FSSpec conversion
  436.   Pete Resnick (resnick@cogsci.uiuc.edu)
  437.   C code to convert a file's reference number to an
  438.   FSSpec record.
  439.  
  440. ============================================================
  441. resource-io     Reading and writing 'STR ' resources
  442.   Andrew McClure (andrew@cs.uwa.oz.au)
  443.   C functions for reading and writing preferences in
  444.   'STR ' resources.
  445.   
  446. ============================================================
  447. scrolldelay     Delaying the scroll bar
  448.   Lawrence D'Oliveiro (ldo@waikato.ac.nz)
  449.   Using _UserDelay to delay the scrolling.
  450.  
  451. ============================================================
  452. systemfont      Get and set the default system font and size
  453.   John Werner (werner@soe.berkely.edu)
  454.   C functions for getting and setting the system font and
  455.   size using the lo-mem globals.
  456.  
  457. ============================================================
  458. testshift       TestShift
  459.   Ramon M. Felciano (felciano@camis.stanford.edu)
  460.   Inline assembly routine to check for the shift key being
  461.   down or not.
  462.  
  463. ============================================================
  464. timemgr         Time Manager Example
  465.   Kraig Eno (kraig@u.washington.edu)
  466.   C source which implements some Time Mgr routines.
  467.   
  468. ============================================================
  469. touchfolder     TouchFolder
  470.   Peter Lewis (peter@ncrpda.curtin.edu.au)
  471.   Pascal procedure to force the Finder to update a folder.
  472.  
  473. ============================================================
  474. windinfo        Find info for a given window
  475.   Ari l Halberstadt (ari@world.std.com)
  476.   C functions to get some rects from a window, including
  477.   the content rect and the drag rect.
  478.  
  479. ============================================================
  480. xpraminfo       PRAM accessing
  481.   Mark Pilgrim (f8dy@access.netaxs.com)
  482.   C source for accessing the parameter ram.
  483.  
  484. ============================================================
  485. xpraminfo2      PRAM accessing
  486.   Lawrence D'Oliveiro (ldo@waikato.ac.nz)
  487.   Modula-2 source for accessing the parameter ram.  Provides a better
  488.   interface to access the PRAM.
  489.  
  490.