home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: Mailbox/MIME Entity
(archive/mbox).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| Mailbox/MIME Entity (archive/mbox)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| ASCII text, with CR line terminators
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| siegfried
| fmt/950 MIME Email (1.0)
| default
| |
100%
| detectItEasy
| Format: plain text[CR]
| default (weak)
|
|
id metadata |
---|
key | value |
---|
macFileType | [TEXT] |
macFileCreator | [R*ch] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 52 65 63 65 69 76 65 64 | 2d 44 61 74 65 3a 20 54 |Received|-Date: T|
|00000010| 75 65 2c 20 32 36 20 4a | 75 6c 20 31 39 39 34 20 |ue, 26 J|ul 1994 |
|00000020| 31 39 3a 30 35 3a 30 36 | 20 2b 30 32 30 30 0d 46 |19:05:06| +0200.F|
|00000030| 72 6f 6d 3a 20 70 6f 74 | 74 69 65 72 40 63 6c 69 |rom: pot|tier@cli|
|00000040| 70 70 65 72 2e 65 6e 73 | 2e 66 72 20 28 46 72 61 |pper.ens|.fr (Fra|
|00000050| 6e 63 6f 69 73 20 50 6f | 74 74 69 65 72 29 0d 53 |ncois Po|ttier).S|
|00000060| 75 62 6a 65 63 74 3a 20 | 63 73 6d 70 2d 64 69 67 |ubject: |csmp-dig|
|00000070| 65 73 74 2d 76 33 2d 30 | 34 37 0d 54 6f 3a 20 63 |est-v3-0|47.To: c|
|00000080| 73 6d 70 2d 64 69 67 65 | 73 74 40 65 6e 73 2e 66 |smp-dige|st@ens.f|
|00000090| 72 0d 44 61 74 65 3a 20 | 54 75 65 2c 20 32 36 20 |r.Date: |Tue, 26 |
|000000a0| 4a 75 6c 20 31 39 39 34 | 20 31 39 3a 30 35 3a 30 |Jul 1994| 19:05:0|
|000000b0| 32 20 2b 30 32 30 30 20 | 28 4d 45 54 20 44 53 54 |2 +0200 |(MET DST|
|000000c0| 29 0d 58 2d 4d 61 69 6c | 65 72 3a 20 45 4c 4d 20 |).X-Mail|er: ELM |
|000000d0| 5b 76 65 72 73 69 6f 6e | 20 32 2e 34 20 50 4c 32 |[version| 2.4 PL2|
|000000e0| 33 5d 0d 4d 69 6d 65 2d | 56 65 72 73 69 6f 6e 3a |3].Mime-|Version:|
|000000f0| 20 31 2e 30 0d 43 6f 6e | 74 65 6e 74 2d 54 79 70 | 1.0.Con|tent-Typ|
|00000100| 65 3a 20 74 65 78 74 2f | 70 6c 61 69 6e 3b 20 63 |e: text/|plain; c|
|00000110| 68 61 72 73 65 74 3d 49 | 53 4f 2d 38 38 35 39 2d |harset=I|SO-8859-|
|00000120| 31 0d 43 6f 6e 74 65 6e | 74 2d 54 72 61 6e 73 66 |1.Conten|t-Transf|
|00000130| 65 72 2d 45 6e 63 6f 64 | 69 6e 67 3a 20 38 62 69 |er-Encod|ing: 8bi|
|00000140| 74 0d 45 72 72 6f 72 73 | 2d 54 6f 3a 20 6c 69 73 |t.Errors|-To: lis|
|00000150| 74 6d 61 6e 40 65 6e 73 | 2e 66 72 0d 52 65 70 6c |tman@ens|.fr.Repl|
|00000160| 79 2d 54 6f 3a 20 70 6f | 74 74 69 65 72 40 63 6c |y-To: po|ttier@cl|
|00000170| 69 70 70 65 72 2e 65 6e | 73 2e 66 72 0d 58 2d 53 |ipper.en|s.fr.X-S|
|00000180| 65 71 75 65 6e 63 65 3a | 20 35 30 0d 0d 43 2e 53 |equence:| 50..C.S|
|00000190| 2e 4d 2e 50 2e 20 44 69 | 67 65 73 74 20 20 20 20 |.M.P. Di|gest |
|000001a0| 20 20 20 20 20 20 20 20 | 20 54 75 65 2c 20 32 36 | | Tue, 26|
|000001b0| 20 4a 75 6c 20 39 34 20 | 20 20 20 20 20 20 56 6f | Jul 94 | Vo|
|000001c0| 6c 75 6d 65 20 33 20 3a | 20 49 73 73 75 65 20 34 |lume 3 :| Issue 4|
|000001d0| 37 0d 20 0d 54 6f 64 61 | 79 27 73 20 54 6f 70 69 |7. .Toda|y's Topi|
|000001e0| 63 73 3a 0d 20 0d 20 20 | 20 20 20 20 20 20 41 49 |cs:. . | AI|
|000001f0| 46 46 0d 20 20 20 20 20 | 20 20 20 41 6e 6e 6f 75 |FF. | Annou|
|00000200| 6e 63 69 6e 67 20 4d 61 | 63 69 6e 74 6f 73 68 20 |ncing Ma|cintosh |
|00000210| 41 49 46 46 2d 62 61 73 | 65 64 20 44 53 50 20 54 |AIFF-bas|ed DSP T|
|00000220| 68 69 6e 6b 20 43 20 54 | 6f 6f 6c 62 6f 78 0d 20 |hink C T|oolbox. |
|00000230| 20 20 20 20 20 20 20 41 | 70 70 6c 65 45 76 65 6e | A|ppleEven|
|00000240| 74 20 51 75 65 73 74 69 | 6f 6e 0d 20 20 20 20 20 |t Questi|on. |
|00000250| 20 20 20 42 75 67 20 69 | 6e 20 4d 49 44 49 2e 68 | Bug i|n MIDI.h|
|00000260| 20 28 55 6e 69 76 65 72 | 73 61 6c 20 49 6e 74 65 | (Univer|sal Inte|
|00000270| 72 66 61 63 65 29 0d 20 | 20 20 20 20 20 20 20 46 |rface). | F|
|00000280| 75 6c 6c 20 66 69 6c 65 | 20 70 61 74 68 3f 0d 20 |ull file| path?. |
|00000290| 20 20 20 20 20 20 20 4c | 6f 6f 6b 69 6e 67 20 66 | L|ooking f|
|000002a0| 6f 72 20 61 20 66 72 69 | 65 6e 64 6c 79 20 6e 61 |or a fri|endly na|
|000002b0| 74 69 76 65 20 63 6f 6d | 70 6f 6e 65 6e 74 20 73 |tive com|ponent s|
|000002c0| 61 6d 70 6c 65 2e 0d 20 | 20 20 20 20 20 20 20 4e |ample.. | N|
|000002d0| 65 77 62 69 65 20 3f 3a | 20 57 68 65 72 65 20 74 |ewbie ?:| Where t|
|000002e0| 6f 20 67 65 74 20 67 6f | 6f 64 20 72 65 66 65 72 |o get go|od refer|
|000002f0| 65 6e 63 65 20 6d 61 74 | 65 72 69 61 6c 73 0d 20 |ence mat|erials. |
|00000300| 20 20 20 20 20 20 20 50 | 72 6f 62 6c 65 6d 20 75 | P|roblem u|
|00000310| 73 69 6e 67 20 46 53 70 | 47 65 74 2d 53 65 74 46 |sing FSp|Get-SetF|
|00000320| 49 6e 66 6f 0d 20 20 20 | 20 20 20 20 20 6c 69 73 |Info. | lis|
|00000330| 74 20 6f 66 20 63 72 6f | 73 73 70 6c 61 74 66 6f |t of cro|ssplatfo|
|00000340| 72 6d 20 4f 4f 20 28 43 | 2b 2b 2c 20 53 6d 61 6c |rm OO (C|++, Smal|
|00000350| 6c 74 61 6c 6b 29 20 64 | 65 76 65 6c 6f 70 6d 65 |ltalk) d|evelopme|
|00000360| 6e 74 20 74 6f 6f 6c 73 | 0d 0d 0d 0d 54 68 65 20 |nt tools|....The |
|00000370| 43 6f 6d 70 2e 53 79 73 | 2e 4d 61 63 2e 50 72 6f |Comp.Sys|.Mac.Pro|
|00000380| 67 72 61 6d 6d 65 72 20 | 44 69 67 65 73 74 20 69 |grammer |Digest i|
|00000390| 73 20 6d 6f 64 65 72 61 | 74 65 64 20 62 79 20 46 |s modera|ted by F|
|000003a0| 72 61 6e 63 6f 69 73 20 | 50 6f 74 74 69 65 72 0d |rancois |Pottier.|
|000003b0| 28 70 6f 74 74 69 65 72 | 40 63 6c 69 70 70 65 72 |(pottier|@clipper|
|000003c0| 2e 65 6e 73 2e 66 72 29 | 2e 0d 20 0d 54 68 65 20 |.ens.fr)|.. .The |
|000003d0| 64 69 67 65 73 74 20 69 | 73 20 61 20 63 6f 6c 6c |digest i|s a coll|
|000003e0| 65 63 74 69 6f 6e 20 6f | 66 20 61 72 74 69 63 6c |ection o|f articl|
|000003f0| 65 20 74 68 72 65 61 64 | 73 20 66 72 6f 6d 20 74 |e thread|s from t|
|00000400| 68 65 20 69 6e 74 65 72 | 6e 65 74 20 6e 65 77 73 |he inter|net news|
|00000410| 67 72 6f 75 70 0d 63 6f | 6d 70 2e 73 79 73 2e 6d |group.co|mp.sys.m|
|00000420| 61 63 2e 70 72 6f 67 72 | 61 6d 6d 65 72 2e 20 20 |ac.progr|ammer. |
|00000430| 49 74 20 69 73 20 64 65 | 73 69 67 6e 65 64 20 66 |It is de|signed f|
|00000440| 6f 72 20 70 65 6f 70 6c | 65 20 77 68 6f 20 72 65 |or peopl|e who re|
|00000450| 61 64 20 63 2e 73 2e 6d | 2e 70 2e 20 73 65 6d 69 |ad c.s.m|.p. semi|
|00000460| 2d 0d 72 65 67 75 6c 61 | 72 6c 79 20 61 6e 64 20 |-.regula|rly and |
|00000470| 77 61 6e 74 20 61 6e 20 | 61 72 63 68 69 76 65 20 |want an |archive |
|00000480| 6f 66 20 74 68 65 20 64 | 69 73 63 75 73 73 69 6f |of the d|iscussio|
|00000490| 6e 73 2e 20 20 49 66 20 | 79 6f 75 20 64 6f 6e 27 |ns. If |you don'|
|000004a0| 74 20 6b 6e 6f 77 20 77 | 68 61 74 20 61 0d 6e 65 |t know w|hat a.ne|
|000004b0| 77 73 67 72 6f 75 70 20 | 69 73 2c 20 79 6f 75 20 |wsgroup |is, you |
|000004c0| 70 72 6f 62 61 62 6c 79 | 20 64 6f 6e 27 74 20 68 |probably| don't h|
|000004d0| 61 76 65 20 61 63 63 65 | 73 73 20 74 6f 20 69 74 |ave acce|ss to it|
|000004e0| 2e 20 20 41 73 6b 20 79 | 6f 75 72 20 73 79 73 74 |. Ask y|our syst|
|000004f0| 65 6d 73 0d 61 64 6d 69 | 6e 69 73 74 72 61 74 6f |ems.admi|nistrato|
|00000500| 72 28 73 29 20 66 6f 72 | 20 64 65 74 61 69 6c 73 |r(s) for| details|
|00000510| 2e 20 20 49 66 20 79 6f | 75 20 64 6f 6e 27 74 20 |. If yo|u don't |
|00000520| 68 61 76 65 20 61 63 63 | 65 73 73 20 74 6f 20 6e |have acc|ess to n|
|00000530| 65 77 73 2c 20 79 6f 75 | 20 6d 61 79 0d 73 74 69 |ews, you| may.sti|
|00000540| 6c 6c 20 62 65 20 61 62 | 6c 65 20 74 6f 20 70 6f |ll be ab|le to po|
|00000550| 73 74 20 6d 65 73 73 61 | 67 65 73 20 74 6f 20 74 |st messa|ges to t|
|00000560| 68 65 20 67 72 6f 75 70 | 20 62 79 20 75 73 69 6e |he group| by usin|
|00000570| 67 20 61 20 6d 61 69 6c | 20 73 65 72 76 65 72 20 |g a mail| server |
|00000580| 6c 69 6b 65 0d 61 6e 6f | 6e 2e 70 65 6e 65 74 2e |like.ano|n.penet.|
|00000590| 66 69 20 28 6d 61 69 6c | 20 68 65 6c 70 40 61 6e |fi (mail| help@an|
|000005a0| 6f 6e 2e 70 65 6e 65 74 | 2e 66 69 20 66 6f 72 20 |on.penet|.fi for |
|000005b0| 6d 6f 72 65 20 69 6e 66 | 6f 72 6d 61 74 69 6f 6e |more inf|ormation|
|000005c0| 29 2e 0d 20 0d 45 61 63 | 68 20 69 73 73 75 65 20 |).. .Eac|h issue |
|000005d0| 6f 66 20 74 68 65 20 64 | 69 67 65 73 74 20 63 6f |of the d|igest co|
|000005e0| 6e 74 61 69 6e 73 20 6f | 6e 65 20 6f 72 20 6d 6f |ntains o|ne or mo|
|000005f0| 72 65 20 73 65 74 73 20 | 6f 66 20 61 72 74 69 63 |re sets |of artic|
|00000600| 6c 65 73 20 28 63 61 6c | 6c 65 64 0d 74 68 72 65 |les (cal|led.thre|
|00000610| 61 64 73 29 2c 20 77 69 | 74 68 20 65 61 63 68 20 |ads), wi|th each |
|00000620| 73 65 74 20 63 6f 72 72 | 65 73 70 6f 6e 64 69 6e |set corr|espondin|
|00000630| 67 20 74 6f 20 61 20 27 | 64 69 73 63 75 73 73 69 |g to a '|discussi|
|00000640| 6f 6e 27 20 6f 66 20 61 | 20 70 61 72 74 69 63 75 |on' of a| particu|
|00000650| 6c 61 72 0d 73 75 62 6a | 65 63 74 2e 20 20 54 68 |lar.subj|ect. Th|
|00000660| 65 20 61 72 74 69 63 6c | 65 73 20 61 72 65 20 6e |e articl|es are n|
|00000670| 6f 74 20 65 64 69 74 65 | 64 3b 20 61 6c 6c 20 61 |ot edite|d; all a|
|00000680| 72 74 69 63 6c 65 73 20 | 69 6e 63 6c 75 64 65 64 |rticles |included|
|00000690| 20 69 6e 20 74 68 69 73 | 20 64 69 67 65 73 74 0d | in this| digest.|
|000006a0| 61 72 65 20 69 6e 20 74 | 68 65 69 72 20 6f 72 69 |are in t|heir ori|
|000006b0| 67 69 6e 61 6c 20 70 6f | 73 74 65 64 20 66 6f 72 |ginal po|sted for|
|000006c0| 6d 20 28 61 73 20 72 65 | 63 65 69 76 65 64 20 62 |m (as re|ceived b|
|000006d0| 79 20 6f 75 72 20 6e 65 | 77 73 20 73 65 72 76 65 |y our ne|ws serve|
|000006e0| 72 20 61 74 0d 6e 65 66 | 2e 65 6e 73 2e 66 72 29 |r at.nef|.ens.fr)|
|000006f0| 2e 20 20 41 72 74 69 63 | 6c 65 20 74 68 72 65 61 |. Artic|le threa|
|00000700| 64 73 20 61 72 65 20 6e | 6f 74 20 61 64 64 65 64 |ds are n|ot added|
|00000710| 20 74 6f 20 74 68 65 20 | 64 69 67 65 73 74 20 75 | to the |digest u|
|00000720| 6e 74 69 6c 20 74 68 65 | 20 6c 61 73 74 0d 61 72 |ntil the| last.ar|
|00000730| 74 69 63 6c 65 20 61 64 | 64 65 64 20 74 6f 20 74 |ticle ad|ded to t|
|00000740| 68 65 20 74 68 72 65 61 | 64 20 69 73 20 61 74 20 |he threa|d is at |
|00000750| 6c 65 61 73 74 20 74 77 | 6f 20 77 65 65 6b 73 20 |least tw|o weeks |
|00000760| 6f 6c 64 20 28 74 68 69 | 73 20 69 73 20 74 6f 20 |old (thi|s is to |
|00000770| 65 6e 73 75 72 65 20 74 | 68 61 74 0d 74 68 65 20 |ensure t|hat.the |
|00000780| 74 68 72 65 61 64 20 69 | 73 20 64 65 61 64 20 62 |thread i|s dead b|
|00000790| 65 66 6f 72 65 20 61 64 | 64 69 6e 67 20 69 74 20 |efore ad|ding it |
|000007a0| 74 6f 20 74 68 65 20 64 | 69 67 65 73 74 29 2e 20 |to the d|igest). |
|000007b0| 20 41 72 74 69 63 6c 65 | 20 74 68 72 65 61 64 73 | Article| threads|
|000007c0| 20 74 68 61 74 0d 63 6f | 6e 73 69 73 74 20 6f 66 | that.co|nsist of|
|000007d0| 20 6f 6e 6c 79 20 6f 6e | 65 20 6d 65 73 73 61 67 | only on|e messag|
|000007e0| 65 20 61 72 65 20 67 65 | 6e 65 72 61 6c 6c 79 20 |e are ge|nerally |
|000007f0| 6e 6f 74 20 69 6e 63 6c | 75 64 65 64 20 69 6e 20 |not incl|uded in |
|00000800| 74 68 65 20 64 69 67 65 | 73 74 2e 0d 0d 54 68 65 |the dige|st...The|
|00000810| 20 64 69 67 65 73 74 20 | 69 73 20 6f 66 66 69 63 | digest |is offic|
|00000820| 69 61 6c 6c 79 20 64 69 | 73 74 72 69 62 75 74 65 |ially di|stribute|
|00000830| 64 20 62 79 20 74 77 6f | 20 6d 65 61 6e 73 2c 20 |d by two| means, |
|00000840| 62 79 20 65 6d 61 69 6c | 20 61 6e 64 20 66 74 70 |by email| and ftp|
|00000850| 2e 0d 0d 49 66 20 79 6f | 75 20 77 61 6e 74 20 74 |...If yo|u want t|
|00000860| 6f 20 72 65 63 65 69 76 | 65 20 74 68 65 20 64 69 |o receiv|e the di|
|00000870| 67 65 73 74 20 62 79 20 | 6d 61 69 6c 2c 20 73 65 |gest by |mail, se|
|00000880| 6e 64 20 65 6d 61 69 6c | 20 74 6f 20 6c 69 73 74 |nd email| to list|
|00000890| 73 65 72 76 40 65 6e 73 | 2e 66 72 0d 77 69 74 68 |serv@ens|.fr.with|
|000008a0| 20 6e 6f 20 73 75 62 6a | 65 63 74 20 61 6e 64 20 | no subj|ect and |
|000008b0| 6f 6e 65 20 6f 66 20 74 | 68 65 20 66 6f 6c 6c 6f |one of t|he follo|
|000008c0| 77 69 6e 67 20 63 6f 6d | 6d 61 6e 64 73 20 61 73 |wing com|mands as|
|000008d0| 20 62 6f 64 79 3a 0d 20 | 20 20 20 68 65 6c 70 09 | body:. | help.|
|000008e0| 09 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|000008f0| 20 53 65 6e 64 73 20 79 | 6f 75 20 61 20 73 75 6d | Sends y|ou a sum|
|00000900| 6d 61 72 79 20 6f 66 20 | 63 6f 6d 6d 61 6e 64 73 |mary of |commands|
|00000910| 0d 20 20 20 20 73 75 62 | 73 63 72 69 62 65 20 63 |. sub|scribe c|
|00000920| 73 6d 70 2d 64 69 67 65 | 73 74 20 59 6f 75 72 20 |smp-dige|st Your |
|00000930| 4e 61 6d 65 09 41 64 64 | 73 20 79 6f 75 20 74 6f |Name.Add|s you to|
|00000940| 20 74 68 65 20 6d 61 69 | 6c 69 6e 67 20 6c 69 73 | the mai|ling lis|
|00000950| 74 0d 20 20 20 20 73 69 | 67 6e 6f 66 66 20 63 73 |t. si|gnoff cs|
|00000960| 6d 70 2d 64 69 67 65 73 | 74 09 09 09 52 65 6d 6f |mp-diges|t...Remo|
|00000970| 76 65 73 20 79 6f 75 20 | 66 72 6f 6d 20 74 68 65 |ves you |from the|
|00000980| 20 6c 69 73 74 0d 4f 6e | 63 65 20 79 6f 75 20 68 | list.On|ce you h|
|00000990| 61 76 65 20 73 75 62 73 | 63 72 69 62 65 64 2c 20 |ave subs|cribed, |
|000009a0| 79 6f 75 20 77 69 6c 6c | 20 61 75 74 6f 6d 61 74 |you will| automat|
|000009b0| 69 63 61 6c 6c 79 20 72 | 65 63 65 69 76 65 20 65 |ically r|eceive e|
|000009c0| 61 63 68 20 6e 65 77 0d | 69 73 73 75 65 20 61 73 |ach new.|issue as|
|000009d0| 20 69 74 20 69 73 20 63 | 72 65 61 74 65 64 2e 0d | it is c|reated..|
|000009e0| 0d 54 68 65 20 6f 66 66 | 69 63 69 61 6c 20 66 74 |.The off|icial ft|
|000009f0| 70 20 69 6e 66 6f 20 69 | 73 20 2f 2f 66 74 70 2e |p info i|s //ftp.|
|00000a00| 64 61 72 74 6d 6f 75 74 | 68 2e 65 64 75 2f 70 75 |dartmout|h.edu/pu|
|00000a10| 62 2f 63 73 6d 70 2d 64 | 69 67 65 73 74 2e 0d 51 |b/csmp-d|igest..Q|
|00000a20| 75 65 73 74 69 6f 6e 73 | 20 72 65 6c 61 74 65 64 |uestions| related|
|00000a30| 20 74 6f 20 74 68 65 20 | 66 74 70 20 73 69 74 65 | to the |ftp site|
|00000a40| 20 73 68 6f 75 6c 64 20 | 62 65 20 64 69 72 65 63 | should |be direc|
|00000a50| 74 65 64 20 74 6f 0d 73 | 63 6f 74 74 2e 73 69 6c |ted to.s|cott.sil|
|00000a60| 76 65 72 40 64 61 72 74 | 6d 6f 75 74 68 2e 65 64 |ver@dart|mouth.ed|
|00000a70| 75 2e 20 43 75 72 72 65 | 6e 74 6c 79 20 6e 6f 20 |u. Curre|ntly no |
|00000a80| 70 72 65 76 69 6f 75 73 | 20 76 6f 6c 75 6d 65 73 |previous| volumes|
|00000a90| 20 6f 66 20 74 68 65 20 | 43 53 4d 50 0d 64 69 67 | of the |CSMP.dig|
|00000aa0| 65 73 74 20 61 72 65 20 | 61 76 61 69 6c 61 62 6c |est are |availabl|
|00000ab0| 65 20 74 68 65 72 65 2e | 0d 0d 41 6c 73 6f 2c 20 |e there.|..Also, |
|00000ac0| 74 68 65 20 64 69 67 65 | 73 74 73 20 61 72 65 20 |the dige|sts are |
|00000ad0| 61 76 61 69 6c 61 62 6c | 65 20 74 6f 20 57 41 49 |availabl|e to WAI|
|00000ae0| 53 20 75 73 65 72 73 2e | 20 20 54 6f 20 73 65 61 |S users.| To sea|
|00000af0| 72 63 68 20 62 61 63 6b | 20 69 73 73 75 65 73 0d |rch back| issues.|
|00000b00| 77 69 74 68 20 57 41 49 | 53 2c 20 75 73 65 20 63 |with WAI|S, use c|
|00000b10| 6f 6d 70 2e 73 79 73 2e | 6d 61 63 2e 70 72 6f 67 |omp.sys.|mac.prog|
|00000b20| 72 61 6d 6d 65 72 2e 73 | 72 63 2e 20 57 69 74 68 |rammer.s|rc. With|
|00000b30| 20 4d 6f 73 61 69 63 2c | 20 75 73 65 0d 68 74 74 | Mosaic,| use.htt|
|00000b40| 70 3a 2f 2f 77 77 77 2e | 77 61 69 73 2e 63 6f 6d |p://www.|wais.com|
|00000b50| 2f 77 61 69 73 2d 64 62 | 73 2f 63 6f 6d 70 2e 73 |/wais-db|s/comp.s|
|00000b60| 79 73 2e 6d 61 63 2e 70 | 72 6f 67 72 61 6d 6d 65 |ys.mac.p|rogramme|
|00000b70| 72 2e 68 74 6d 6c 2e 0d | 0d 0d 2d 2d 2d 2d 2d 2d |r.html..|..------|
|00000b80| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000b90| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000ba0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000bb0| 2d 0d 0d 3e 46 72 6f 6d | 20 65 6c 72 6f 6e 78 40 |-..>From| elronx@|
|00000bc0| 61 74 68 65 6e 61 2e 6d | 69 74 2e 65 64 75 20 28 |athena.m|it.edu (|
|00000bd0| 45 6c 72 6f 6e 20 41 20 | 59 65 6c 6c 69 6e 29 0d |Elron A |Yellin).|
|00000be0| 53 75 62 6a 65 63 74 3a | 20 41 49 46 46 0d 44 61 |Subject:| AIFF.Da|
|00000bf0| 74 65 3a 20 38 20 4a 75 | 6c 20 31 39 39 34 20 31 |te: 8 Ju|l 1994 1|
|00000c00| 36 3a 31 37 3a 30 30 20 | 47 4d 54 0d 4f 72 67 61 |6:17:00 |GMT.Orga|
|00000c10| 6e 69 7a 61 74 69 6f 6e | 3a 20 4d 61 73 73 61 63 |nization|: Massac|
|00000c20| 68 75 73 65 74 74 73 20 | 49 6e 73 74 69 74 75 74 |husetts |Institut|
|00000c30| 65 20 6f 66 20 54 65 63 | 68 6e 6f 6c 6f 67 79 0d |e of Tec|hnology.|
|00000c40| 0d 43 61 6e 20 61 6e 79 | 6f 6e 65 20 74 65 6c 6c |.Can any|one tell|
|00000c50| 20 6d 65 20 74 68 65 20 | 63 75 72 72 65 6e 74 20 | me the |current |
|00000c60| 73 74 61 6e 64 61 72 64 | 20 66 6f 72 20 0d 74 68 |standard| for .th|
|00000c70| 65 20 41 75 64 69 6f 20 | 49 6e 74 65 72 63 68 61 |e Audio |Intercha|
|00000c80| 6e 67 65 20 46 69 6c 65 | 20 46 6f 72 6d 61 74 3f |nge File| Format?|
|00000c90| 20 20 49 27 76 65 20 62 | 65 65 6e 0d 68 61 76 69 | I've b|een.havi|
|00000ca0| 6e 67 20 74 72 6f 75 62 | 6c 65 20 66 69 6e 64 69 |ng troub|le findi|
|00000cb0| 6e 67 20 74 68 65 20 70 | 75 62 6c 69 63 61 74 69 |ng the p|ublicati|
|00000cc0| 6f 6e 2c 20 61 6e 64 20 | 49 20 0d 64 6f 6e 27 74 |on, and |I .don't|
|00000cd0| 20 6b 6e 6f 77 20 77 68 | 65 6e 20 69 74 20 77 61 | know wh|en it wa|
|00000ce0| 73 20 6c 61 73 74 20 75 | 70 64 61 74 65 64 2e 0d |s last u|pdated..|
|00000cf0| 41 6e 79 20 68 65 6c 70 | 20 77 6f 75 6c 64 20 62 |Any help| would b|
|00000d00| 65 20 6d 75 63 68 20 61 | 70 70 72 65 63 69 61 74 |e much a|ppreciat|
|00000d10| 65 64 2e 0d 0d 45 6c 72 | 6f 6e 20 41 2e 20 59 65 |ed...Elr|on A. Ye|
|00000d20| 6c 6c 69 6e 0d 0d 2b 2b | 2b 2b 2b 2b 2b 2b 2b 2b |llin..++|++++++++|
|00000d30| 2b 2b 2b 2b 2b 2b 2b 2b | 2b 2b 2b 2b 2b 2b 2b 2b |++++++++|++++++++|
|00000d40| 2b 0d 0d 3e 46 72 6f 6d | 20 4d 61 6e 75 65 6c 20 |+..>From| Manuel |
|00000d50| 56 65 6c 6f 73 6f 20 3c | 76 65 6c 6f 73 6f 40 6e |Veloso <|veloso@n|
|00000d60| 65 74 63 6f 6d 2e 63 6f | 6d 3e 0d 44 61 74 65 3a |etcom.co|m>.Date:|
|00000d70| 20 53 61 74 2c 20 39 20 | 4a 75 6c 20 31 39 39 34 | Sat, 9 |Jul 1994|
|00000d80| 20 31 38 3a 35 35 3a 32 | 39 20 47 4d 54 0d 4f 72 | 18:55:2|9 GMT.Or|
|00000d90| 67 61 6e 69 7a 61 74 69 | 6f 6e 3a 20 49 62 65 78 |ganizati|on: Ibex|
|00000da0| 20 50 72 6f 64 75 63 74 | 69 6f 6e 73 0d 0d 49 6e | Product|ions..In|
|00000db0| 20 61 72 74 69 63 6c 65 | 20 3c 32 76 6a 75 35 73 | article| <2vju5s|
|00000dc0| 24 6b 68 32 40 73 65 6e | 61 74 6f 72 2d 62 65 64 |$kh2@sen|ator-bed|
|00000dd0| 66 65 6c 6c 6f 77 2e 4d | 49 54 2e 45 44 55 3e 20 |fellow.M|IT.EDU> |
|00000de0| 45 6c 72 6f 6e 20 41 20 | 59 65 6c 6c 69 6e 2c 20 |Elron A |Yellin, |
|00000df0| 65 6c 72 6f 6e 78 40 61 | 74 68 65 6e 61 2e 6d 69 |elronx@a|thena.mi|
|00000e00| 74 2e 65 64 75 0d 77 72 | 69 74 65 73 3a 0d 3e 43 |t.edu.wr|ites:.>C|
|00000e10| 61 6e 20 61 6e 79 6f 6e | 65 20 74 65 6c 6c 20 6d |an anyon|e tell m|
|00000e20| 65 20 74 68 65 20 63 75 | 72 72 65 6e 74 20 73 74 |e the cu|rrent st|
|00000e30| 61 6e 64 61 72 64 20 66 | 6f 72 20 0d 3e 74 68 65 |andard f|or .>the|
|00000e40| 20 41 75 64 69 6f 20 49 | 6e 74 65 72 63 68 61 6e | Audio I|nterchan|
|00000e50| 67 65 20 46 69 6c 65 20 | 46 6f 72 6d 61 74 3f 20 |ge File |Format? |
|00000e60| 20 49 27 76 65 20 62 65 | 65 6e 0d 3e 68 61 76 69 | I've be|en.>havi|
|00000e70| 6e 67 20 74 72 6f 75 62 | 6c 65 20 66 69 6e 64 69 |ng troub|le findi|
|00000e80| 6e 67 20 74 68 65 20 70 | 75 62 6c 69 63 61 74 69 |ng the p|ublicati|
|00000e90| 6f 6e 2c 20 61 6e 64 20 | 49 20 0d 3e 64 6f 6e 27 |on, and |I .>don'|
|00000ea0| 74 20 6b 6e 6f 77 20 77 | 68 65 6e 20 69 74 20 77 |t know w|hen it w|
|00000eb0| 61 73 20 6c 61 73 74 20 | 75 70 64 61 74 65 64 2e |as last |updated.|
|00000ec0| 0d 3e 41 6e 79 20 68 65 | 6c 70 20 77 6f 75 6c 64 |.>Any he|lp would|
|00000ed0| 20 62 65 20 6d 75 63 68 | 20 61 70 70 72 65 63 69 | be much| appreci|
|00000ee0| 61 74 65 64 2e 0d 3e 0d | 0d 54 68 69 73 20 69 73 |ated..>.|.This is|
|00000ef0| 20 66 72 6f 6d 20 74 68 | 65 20 61 75 64 69 6f 20 | from th|e audio |
|00000f00| 46 41 51 2c 20 61 6e 64 | 20 70 72 6f 62 61 62 6c |FAQ, and| probabl|
|00000f10| 79 20 77 69 6c 6c 20 68 | 65 6c 70 2e 20 42 6f 74 |y will h|elp. Bot|
|00000f20| 68 20 41 49 46 46 20 61 | 6e 64 0d 41 49 46 43 20 |h AIFF a|nd.AIFC |
|00000f30| 61 72 65 20 61 6c 73 6f | 20 64 6f 63 75 6d 65 6e |are also| documen|
|00000f40| 74 65 64 20 69 6e 20 49 | 4d 2d 36 20 28 53 6f 75 |ted in I|M-6 (Sou|
|00000f50| 6e 64 20 4d 61 6e 61 67 | 65 72 29 0d 0d 2d 20 2d |nd Manag|er)..- -|
|00000f60| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000f70| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000f80| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000f90| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000fa0| 2d 2d 2d 2d 2d 0d 41 49 | 46 46 20 46 6f 72 6d 61 |-----.AI|FF Forma|
|00000fb0| 74 20 28 41 75 64 69 6f | 20 49 46 46 29 20 61 6e |t (Audio| IFF) an|
|00000fc0| 64 20 41 49 46 43 0d 2d | 20 2d 2d 2d 2d 2d 2d 2d |d AIFC.-| -------|
|00000fd0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000fe0| 2d 2d 2d 2d 2d 2d 2d 0d | 0d 54 68 69 73 20 66 6f |-------.|.This fo|
|00000ff0| 72 6d 61 74 20 77 61 73 | 20 64 65 76 65 6c 6f 70 |rmat was| develop|
|00001000| 65 64 20 62 79 20 41 70 | 70 6c 65 20 66 6f 72 20 |ed by Ap|ple for |
|00001010| 73 74 6f 72 69 6e 67 20 | 68 69 67 68 2d 71 75 61 |storing |high-qua|
|00001020| 6c 69 74 79 20 73 61 6d | 70 6c 65 64 0d 73 6f 75 |lity sam|pled.sou|
|00001030| 6e 64 20 61 6e 64 20 6d | 75 73 69 63 61 6c 20 69 |nd and m|usical i|
|00001040| 6e 73 74 72 75 6d 65 6e | 74 20 69 6e 66 6f 3b 20 |nstrumen|t info; |
|00001050| 69 74 20 69 73 20 61 6c | 73 6f 20 75 73 65 64 20 |it is al|so used |
|00001060| 62 79 20 53 47 49 20 61 | 6e 64 20 73 65 76 65 72 |by SGI a|nd sever|
|00001070| 61 6c 0d 70 72 6f 66 65 | 73 73 69 6f 6e 61 6c 20 |al.profe|ssional |
|00001080| 61 75 64 69 6f 20 70 61 | 63 6b 61 67 65 73 20 28 |audio pa|ckages (|
|00001090| 73 6f 72 72 79 2c 20 49 | 20 6b 6e 6f 77 20 6e 6f |sorry, I| know no|
|000010a0| 20 6e 61 6d 65 73 29 2e | 20 20 41 6e 20 65 78 74 | names).| An ext|
|000010b0| 65 6e 73 69 6f 6e 2c 0d | 63 61 6c 6c 65 64 20 41 |ension,.|called A|
|000010c0| 49 46 43 20 6f 72 20 41 | 49 46 46 2d 43 2c 20 73 |IFC or A|IFF-C, s|
|000010d0| 75 70 70 6f 72 74 73 20 | 63 6f 6d 70 72 65 73 73 |upports |compress|
|000010e0| 69 6f 6e 20 28 73 65 65 | 20 74 68 65 20 6c 61 73 |ion (see| the las|
|000010f0| 74 20 69 74 65 6d 20 62 | 65 6c 6f 77 29 2e 0d 0d |t item b|elow)...|
|00001100| 49 27 76 65 20 6d 61 64 | 65 20 61 20 42 69 6e 48 |I've mad|e a BinH|
|00001110| 65 78 27 65 64 20 4d 61 | 63 57 72 69 74 65 20 76 |ex'ed Ma|cWrite v|
|00001120| 65 72 73 69 6f 6e 20 6f | 66 20 74 68 65 20 41 49 |ersion o|f the AI|
|00001130| 46 46 20 73 70 65 63 20 | 28 6e 6f 20 69 64 65 61 |FF spec |(no idea|
|00001140| 20 69 66 0d 69 74 27 73 | 20 74 68 65 20 73 61 6d | if.it's| the sam|
|00001150| 65 20 74 65 78 74 20 61 | 73 20 6d 65 6e 74 69 6f |e text a|s mentio|
|00001160| 6e 65 64 20 62 65 6c 6f | 77 29 20 61 76 61 69 6c |ned belo|w) avail|
|00001170| 61 62 6c 65 20 62 79 20 | 61 6e 6f 6e 79 6d 6f 75 |able by |anonymou|
|00001180| 73 20 66 74 70 20 66 72 | 6f 6d 0d 66 74 70 2e 63 |s ftp fr|om.ftp.c|
|00001190| 77 69 2e 6e 6c 20 5b 31 | 39 32 2e 31 36 2e 31 38 |wi.nl [1|92.16.18|
|000011a0| 34 2e 31 38 30 5d 3b 20 | 74 68 65 20 66 69 6c 65 |4.180]; |the file|
|000011b0| 20 69 73 20 2f 70 75 62 | 2f 61 75 64 69 6f 2f 41 | is /pub|/audio/A|
|000011c0| 75 64 69 6f 49 46 46 31 | 2e 32 2e 68 71 78 2e 0d |udioIFF1|.2.hqx..|
|000011d0| 42 75 74 20 79 6f 75 20 | 6d 61 79 20 62 65 20 62 |But you |may be b|
|000011e0| 65 74 74 65 72 20 6f 66 | 66 20 77 69 74 68 20 74 |etter of|f with t|
|000011f0| 68 65 20 41 49 46 46 2d | 43 20 73 70 65 63 73 2c |he AIFF-|C specs,|
|00001200| 20 73 65 65 20 62 65 6c | 6f 77 2e 0d 0d 4d 69 6b | see bel|ow...Mik|
|00001210| 65 20 42 72 69 6e 64 6c | 65 79 20 28 62 72 69 6e |e Brindl|ey (brin|
|00001220| 64 6c 65 79 40 65 63 65 | 2e 6f 72 73 74 2e 65 64 |dley@ece|.orst.ed|
|00001230| 75 29 20 77 72 69 74 65 | 73 3a 0d 0d 22 54 68 65 |u) write|s:.."The|
|00001240| 20 63 6f 6d 70 6c 65 74 | 65 20 41 49 46 46 20 73 | complet|e AIFF s|
|00001250| 70 65 63 20 62 79 20 53 | 74 65 76 65 20 4d 69 6c |pec by S|teve Mil|
|00001260| 6e 65 2c 20 4d 61 74 74 | 20 44 65 61 74 68 65 72 |ne, Matt| Deather|
|00001270| 61 67 65 20 28 41 70 70 | 6c 65 29 20 69 73 0d 61 |age (App|le) is.a|
|00001280| 76 61 69 6c 61 62 6c 65 | 20 69 6e 20 27 41 4d 49 |vailable| in 'AMI|
|00001290| 47 41 20 52 4f 4d 20 4b | 65 72 6e 61 6c 20 52 65 |GA ROM K|ernal Re|
|000012a0| 66 65 72 65 6e 63 65 20 | 4d 61 6e 75 61 6c 3a 20 |ference |Manual: |
|000012b0| 44 65 76 69 63 65 73 20 | 28 33 72 64 20 45 64 69 |Devices |(3rd Edi|
|000012c0| 74 69 6f 6e 29 27 0d 31 | 39 39 31 20 62 79 20 43 |tion)'.1|991 by C|
|000012d0| 6f 6d 6d 6f 64 6f 72 65 | 2d 41 6d 69 67 61 2c 20 |ommodore|-Amiga, |
|000012e0| 49 6e 63 2e 3b 20 41 64 | 64 69 73 6f 6e 2d 57 65 |Inc.; Ad|dison-We|
|000012f0| 73 6c 65 79 20 50 75 62 | 6c 69 73 68 69 6e 67 20 |sley Pub|lishing |
|00001300| 43 6f 2e 3b 20 0d 49 53 | 42 4e 20 30 2d 32 30 31 |Co.; .IS|BN 0-201|
|00001310| 2d 35 36 37 37 35 2d 58 | 2c 20 73 74 61 72 74 69 |-56775-X|, starti|
|00001320| 6e 67 20 6f 6e 20 70 61 | 67 65 20 34 33 35 20 28 |ng on pa|ge 435 (|
|00001330| 74 68 69 73 20 65 64 69 | 74 69 6f 6e 20 68 61 73 |this edi|tion has|
|00001340| 20 61 20 63 68 61 72 63 | 6f 61 6c 0d 67 72 65 79 | a charc|oal.grey|
|00001350| 20 63 6f 76 65 72 29 2e | 20 20 49 74 20 69 73 20 | cover).| It is |
|00001360| 61 76 61 69 6c 61 62 6c | 65 20 69 6e 20 6d 6f 73 |availabl|e in mos|
|00001370| 74 20 62 6f 6f 6b 73 74 | 6f 72 65 73 2c 20 61 6e |t bookst|ores, an|
|00001380| 64 20 73 6f 6f 6e 20 69 | 6e 20 6d 61 6e 79 0d 67 |d soon i|n many.g|
|00001390| 6f 6f 64 20 6c 69 62 72 | 61 69 72 69 65 73 2e 22 |ood libr|airies."|
|000013a0| 0d 0d 41 63 63 6f 72 64 | 69 6e 67 20 74 6f 20 4d |..Accord|ing to M|
|000013b0| 61 72 6b 20 43 61 6c 6c | 6f 77 20 28 6d 73 63 40 |ark Call|ow (msc@|
|000013c0| 73 67 69 2e 63 6f 6d 29 | 3a 0d 0d 41 20 50 6f 73 |sgi.com)|:..A Pos|
|000013d0| 74 53 63 72 69 70 74 20 | 76 65 72 73 69 6f 6e 20 |tScript |version |
|000013e0| 6f 66 20 74 68 65 20 41 | 49 46 46 2d 43 20 73 70 |of the A|IFF-C sp|
|000013f0| 65 63 69 66 69 63 61 74 | 69 6f 6e 20 69 73 20 61 |ecificat|ion is a|
|00001400| 76 61 69 6c 61 62 6c 65 | 20 76 69 61 0d 61 6e 6f |vailable| via.ano|
|00001410| 6e 79 6d 6f 75 73 20 66 | 74 70 20 6f 6e 20 46 54 |nymous f|tp on FT|
|00001420| 50 2e 53 47 49 2e 43 4f | 4d 20 28 31 39 32 2e 34 |P.SGI.CO|M (192.4|
|00001430| 38 2e 31 35 33 2e 31 29 | 20 61 73 20 2f 73 67 69 |8.153.1)| as /sgi|
|00001440| 2f 61 69 66 66 2d 63 2e | 39 2e 32 36 2e 39 31 2e |/aiff-c.|9.26.91.|
|00001450| 70 73 2e 0d 0d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |ps...---|--------|
|00001460| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001470| 0d 0d 3e 46 72 6f 6d 20 | 62 64 65 6e 63 6b 6c 61 |..>From |bdenckla|
|00001480| 40 68 75 73 63 31 30 2e | 68 61 72 76 61 72 64 2e |@husc10.|harvard.|
|00001490| 65 64 75 20 28 42 65 6e | 6a 61 6d 69 6e 20 44 65 |edu (Ben|jamin De|
|000014a0| 6e 63 6b 6c 61 29 0d 53 | 75 62 6a 65 63 74 3a 20 |nckla).S|ubject: |
|000014b0| 41 6e 6e 6f 75 6e 63 69 | 6e 67 20 4d 61 63 69 6e |Announci|ng Macin|
|000014c0| 74 6f 73 68 20 41 49 46 | 46 2d 62 61 73 65 64 20 |tosh AIF|F-based |
|000014d0| 44 53 50 20 54 68 69 6e | 6b 20 43 20 54 6f 6f 6c |DSP Thin|k C Tool|
|000014e0| 62 6f 78 0d 44 61 74 65 | 3a 20 31 31 20 4a 75 6c |box.Date|: 11 Jul|
|000014f0| 20 31 39 39 34 20 31 39 | 3a 30 33 3a 34 36 20 47 | 1994 19|:03:46 G|
|00001500| 4d 54 0d 4f 72 67 61 6e | 69 7a 61 74 69 6f 6e 3a |MT.Organ|ization:|
|00001510| 20 48 61 72 76 61 72 64 | 20 55 6e 69 76 65 72 73 | Harvard| Univers|
|00001520| 69 74 79 2c 20 43 61 6d | 62 72 69 64 67 65 2c 20 |ity, Cam|bridge, |
|00001530| 4d 41 0d 0d 4e 6f 77 20 | 61 76 61 69 6c 61 62 6c |MA..Now |availabl|
|00001540| 65 20 66 72 6f 6d 20 66 | 74 70 2e 63 73 2e 6a 68 |e from f|tp.cs.jh|
|00001550| 75 2e 65 64 75 20 69 6e | 20 64 69 72 65 63 74 6f |u.edu in| directo|
|00001560| 72 79 20 22 70 75 62 2f | 64 73 70 22 3a 0d 0d 41 |ry "pub/|dsp":..A|
|00001570| 49 46 46 2d 62 61 73 65 | 64 20 44 53 50 20 43 20 |IFF-base|d DSP C |
|00001580| 46 72 61 6d 65 77 6f 72 | 6b 0d 0d 54 68 69 73 20 |Framewor|k..This |
|00001590| 61 72 63 68 69 76 65 20 | 63 6f 6e 74 61 69 6e 73 |archive |contains|
|000015a0| 20 61 20 4d 61 63 69 6e | 74 6f 73 68 20 54 68 69 | a Macin|tosh Thi|
|000015b0| 6e 6b 20 43 20 6c 69 62 | 72 61 72 79 20 77 68 69 |nk C lib|rary whi|
|000015c0| 63 68 20 70 72 6f 76 69 | 64 65 73 20 61 0d 66 72 |ch provi|des a.fr|
|000015d0| 61 6d 65 77 6f 72 6b 20 | 69 6e 20 77 68 69 63 68 |amework |in which|
|000015e0| 20 75 73 65 72 2d 77 72 | 69 74 74 65 6e 20 43 20 | user-wr|itten C |
|000015f0| 66 75 6e 63 74 69 6f 6e | 73 20 77 68 69 63 68 20 |function|s which |
|00001600| 70 72 6f 63 65 73 73 20 | 74 68 65 20 64 61 74 61 |process |the data|
|00001610| 20 69 6e 20 41 49 46 46 | 0d 66 69 6c 65 73 20 6d | in AIFF|.files m|
|00001620| 61 79 20 62 65 20 72 75 | 6e 2e 20 20 54 68 65 20 |ay be ru|n. The |
|00001630| 6c 69 62 72 61 72 79 20 | 63 6f 6e 74 61 69 6e 73 |library |contains|
|00001640| 20 6d 61 69 6e 28 29 20 | 61 6e 64 20 64 65 61 6c | main() |and deal|
|00001650| 73 20 77 69 74 68 20 61 | 6c 6c 20 61 73 70 65 63 |s with a|ll aspec|
|00001660| 74 73 0d 6f 66 20 41 49 | 46 46 20 66 69 6c 65 20 |ts.of AI|FF file |
|00001670| 68 61 6e 64 6c 69 6e 67 | 2c 20 61 6c 6c 6f 77 69 |handling|, allowi|
|00001680| 6e 67 20 74 68 65 20 75 | 73 65 72 20 74 6f 20 63 |ng the u|ser to c|
|00001690| 6f 6e 63 65 6e 74 72 61 | 74 65 20 6f 6e 20 68 69 |oncentra|te on hi|
|000016a0| 73 2f 68 65 72 0d 70 72 | 6f 63 65 73 73 69 6e 67 |s/her.pr|ocessing|
|000016b0| 20 61 6c 67 6f 72 69 74 | 68 6d 20 62 79 20 77 72 | algorit|hm by wr|
|000016c0| 69 74 69 6e 67 20 6f 6e | 6c 79 20 61 20 73 6d 61 |iting on|ly a sma|
|000016d0| 6c 6c 20 22 70 6c 75 67 | 2d 69 6e 22 20 70 72 6f |ll "plug|-in" pro|
|000016e0| 63 65 73 73 69 6e 67 20 | 6d 6f 64 75 6c 65 0d 77 |cessing |module.w|
|000016f0| 69 74 68 20 76 65 72 79 | 20 73 68 6f 72 74 20 64 |ith very| short d|
|00001700| 65 76 65 6c 6f 70 6d 65 | 6e 74 20 74 69 6d 65 2e |evelopme|nt time.|
|00001710| 20 20 54 68 65 20 6c 69 | 62 72 61 72 79 20 75 73 | The li|brary us|
|00001720| 65 73 20 61 20 62 6c 6f | 63 6b 2d 70 72 6f 63 65 |es a blo|ck-proce|
|00001730| 73 73 69 6e 67 0d 73 74 | 72 61 74 65 67 79 20 69 |ssing.st|rategy i|
|00001740| 6e 20 6f 72 64 65 72 20 | 74 6f 20 72 65 64 75 63 |n order |to reduc|
|00001750| 65 20 74 68 65 20 66 75 | 6e 63 74 69 6f 6e 2d 63 |e the fu|nction-c|
|00001760| 61 6c 6c 20 6f 76 65 72 | 68 65 61 64 20 77 68 65 |all over|head whe|
|00001770| 6e 20 74 68 65 0d 75 73 | 65 72 2d 77 72 69 74 74 |n the.us|er-writt|
|00001780| 65 6e 20 70 72 6f 63 65 | 73 73 69 6e 67 20 66 75 |en proce|ssing fu|
|00001790| 6e 63 74 69 6f 6e 20 69 | 73 20 63 61 6c 6c 65 64 |nction i|s called|
|000017a0| 2e 20 20 54 68 65 20 62 | 6c 6f 63 6b 2d 70 72 6f |. The b|lock-pro|
|000017b0| 63 65 73 73 69 6e 67 20 | 61 70 70 72 6f 61 63 68 |cessing |approach|
|000017c0| 0d 69 73 20 61 6c 73 6f | 20 6e 65 63 65 73 73 61 |.is also| necessa|
|000017d0| 72 79 20 62 65 63 61 75 | 73 65 20 74 68 65 20 6c |ry becau|se the l|
|000017e0| 61 72 67 65 20 73 69 7a | 65 20 6f 66 20 6d 61 6e |arge siz|e of man|
|000017f0| 79 20 41 49 46 46 20 66 | 69 6c 65 73 20 6d 61 6b |y AIFF f|iles mak|
|00001800| 65 73 20 74 68 65 6d 0d | 69 6d 70 6f 73 73 69 62 |es them.|impossib|
|00001810| 6c 65 20 74 6f 20 6c 6f | 61 64 20 65 6e 74 69 72 |le to lo|ad entir|
|00001820| 65 6c 79 20 69 6e 74 6f | 20 6d 65 6d 6f 72 79 2e |ely into| memory.|
|00001830| 20 0d 0d 54 68 65 20 66 | 72 61 6d 65 77 6f 72 6b | ..The f|ramework|
|00001840| 20 63 61 6c 6c 73 20 74 | 68 72 65 65 20 75 73 65 | calls t|hree use|
|00001850| 72 2d 77 72 69 74 74 65 | 6e 20 66 75 6e 63 74 69 |r-writte|n functi|
|00001860| 6f 6e 73 20 69 6e 20 74 | 68 65 20 63 6f 75 72 73 |ons in t|he cours|
|00001870| 65 20 6f 66 20 69 74 73 | 20 0d 65 78 65 63 75 74 |e of its| .execut|
|00001880| 69 6f 6e 2e 20 20 46 69 | 72 73 74 20 69 74 20 63 |ion. Fi|rst it c|
|00001890| 61 6c 6c 73 20 74 68 65 | 20 75 73 65 72 2d 77 72 |alls the| user-wr|
|000018a0| 69 74 74 65 6e 20 69 6e | 69 74 69 61 6c 69 7a 61 |itten in|itializa|
|000018b0| 74 69 6f 6e 20 66 75 6e | 63 74 69 6f 6e 20 0d 69 |tion fun|ction .i|
|000018c0| 6e 69 74 5f 70 72 6f 63 | 65 73 73 28 29 2c 20 77 |nit_proc|ess(), w|
|000018d0| 68 69 63 68 20 77 6f 75 | 6c 64 20 74 79 70 69 63 |hich wou|ld typic|
|000018e0| 61 6c 6c 79 20 62 65 20 | 75 73 65 64 20 66 6f 72 |ally be |used for|
|000018f0| 20 74 61 73 6b 73 20 73 | 75 63 68 20 61 73 20 74 | tasks s|uch as t|
|00001900| 68 65 20 73 65 74 75 70 | 20 0d 6f 66 20 6c 6f 6f |he setup| .of loo|
|00001910| 6b 75 70 20 74 61 62 6c | 65 73 2e 20 20 54 68 65 |kup tabl|es. The|
|00001920| 6e 20 69 74 20 72 65 70 | 65 61 74 65 64 6c 79 20 |n it rep|eatedly |
|00001930| 63 61 6c 6c 73 20 74 68 | 65 20 75 73 65 72 2d 77 |calls th|e user-w|
|00001940| 72 69 74 74 65 6e 20 70 | 72 6f 63 65 73 73 69 6e |ritten p|rocessin|
|00001950| 67 20 0d 66 75 6e 63 74 | 69 6f 6e 20 70 72 6f 63 |g .funct|ion proc|
|00001960| 65 73 73 5f 73 61 6d 64 | 61 74 28 29 2c 20 65 61 |ess_samd|at(), ea|
|00001970| 63 68 20 74 69 6d 65 20 | 70 6c 61 63 69 6e 67 20 |ch time |placing |
|00001980| 61 20 6e 65 77 20 62 6c | 6f 63 6b 20 6f 66 20 64 |a new bl|ock of d|
|00001990| 61 74 61 20 69 6e 20 74 | 68 65 20 0d 62 75 66 66 |ata in t|he .buff|
|000019a0| 65 72 2e 20 20 57 68 65 | 6e 20 74 68 65 20 64 61 |er. Whe|n the da|
|000019b0| 74 61 20 68 61 73 20 62 | 65 65 6e 20 65 78 68 61 |ta has b|een exha|
|000019c0| 75 73 74 65 64 2c 20 69 | 74 20 63 61 6c 6c 73 20 |usted, i|t calls |
|000019d0| 74 68 65 20 75 73 65 72 | 2d 77 72 69 74 74 65 6e |the user|-written|
|000019e0| 20 0d 74 65 72 6d 69 6e | 61 74 69 6f 6e 20 66 75 | .termin|ation fu|
|000019f0| 6e 63 74 69 6f 6e 20 74 | 65 72 6d 5f 70 72 6f 63 |nction t|erm_proc|
|00001a00| 65 73 73 28 29 2c 20 77 | 68 69 63 68 20 77 6f 75 |ess(), w|hich wou|
|00001a10| 6c 64 20 74 79 70 69 63 | 61 6c 6c 79 20 62 65 20 |ld typic|ally be |
|00001a20| 75 73 65 64 20 66 6f 72 | 20 0d 74 61 73 6b 73 20 |used for| .tasks |
|00001a30| 73 75 63 68 20 61 73 20 | 66 72 65 65 69 6e 67 20 |such as |freeing |
|00001a40| 6d 65 6d 6f 72 79 20 77 | 68 69 63 68 20 74 68 65 |memory w|hich the|
|00001a50| 20 75 73 65 72 20 68 61 | 64 20 61 6c 6c 6f 63 61 | user ha|d alloca|
|00001a60| 74 65 64 20 69 6e 20 69 | 6e 69 74 5f 70 72 6f 63 |ted in i|nit_proc|
|00001a70| 65 73 73 28 29 2e 0d 0d | 54 68 6f 75 67 68 20 74 |ess()...|Though t|
|00001a80| 68 65 20 66 72 61 6d 65 | 77 6f 72 6b 20 69 73 20 |he frame|work is |
|00001a90| 64 65 73 69 67 6e 65 64 | 20 66 6f 72 20 74 68 65 |designed| for the|
|00001aa0| 20 70 72 6f 63 65 73 73 | 69 6e 67 20 6f 66 20 41 | process|ing of A|
|00001ab0| 49 46 46 20 66 69 6c 65 | 73 20 77 68 65 72 65 20 |IFF file|s where |
|00001ac0| 0d 61 6e 20 41 49 46 46 | 20 66 69 6c 65 20 69 73 |.an AIFF| file is|
|00001ad0| 20 74 61 6b 65 6e 20 61 | 73 20 69 6e 70 75 74 20 | taken a|s input |
|00001ae0| 61 6e 64 20 61 6e 20 41 | 49 46 46 20 66 69 6c 65 |and an A|IFF file|
|00001af0| 20 69 73 20 6d 61 64 65 | 20 61 73 20 6f 75 74 70 | is made| as outp|
|00001b00| 75 74 2c 20 0d 74 68 72 | 6f 75 67 68 20 74 68 65 |ut, .thr|ough the|
|00001b10| 20 73 65 74 74 69 6e 67 | 20 6f 66 20 75 73 65 72 | setting| of user|
|00001b20| 2d 64 65 66 69 6e 65 64 | 20 76 61 72 69 61 62 6c |-defined| variabl|
|00001b30| 65 73 2c 20 74 68 65 20 | 66 72 61 6d 65 77 6f 72 |es, the |framewor|
|00001b40| 6b 20 63 61 6e 20 62 65 | 20 6d 61 64 65 20 0d 74 |k can be| made .t|
|00001b50| 6f 20 74 61 6b 65 20 6e | 6f 20 69 6e 70 75 74 20 |o take n|o input |
|00001b60| 6f 72 20 6d 61 6b 65 20 | 6e 6f 20 6f 75 74 70 75 |or make |no outpu|
|00001b70| 74 2e 20 20 49 66 20 74 | 68 65 20 76 61 72 69 61 |t. If t|he varia|
|00001b80| 62 6c 65 20 74 61 6b 65 | 5f 69 6e 70 75 74 20 69 |ble take|_input i|
|00001b90| 73 20 73 65 74 20 74 6f | 20 0d 7a 65 72 6f 2c 20 |s set to| .zero, |
|00001ba0| 74 68 65 20 66 72 61 6d | 65 77 6f 72 6b 20 77 69 |the fram|ework wi|
|00001bb0| 6c 6c 20 6e 6f 74 20 6d | 61 6b 65 20 61 6e 20 61 |ll not m|ake an a|
|00001bc0| 74 74 65 6d 70 74 20 74 | 6f 20 6f 70 65 6e 20 61 |ttempt t|o open a|
|00001bd0| 6e 20 69 6e 70 75 74 20 | 66 69 6c 65 2e 20 20 54 |n input |file. T|
|00001be0| 68 69 73 20 0d 6d 6f 64 | 65 20 69 73 20 75 73 65 |his .mod|e is use|
|00001bf0| 66 75 6c 20 66 6f 72 20 | 74 61 73 6b 73 20 73 75 |ful for |tasks su|
|00001c00| 63 68 20 61 73 20 74 68 | 65 20 67 65 6e 65 72 61 |ch as th|e genera|
|00001c10| 74 69 6f 6e 20 6f 66 20 | 41 49 46 46 20 66 69 6c |tion of |AIFF fil|
|00001c20| 65 73 20 62 79 20 0d 61 | 6c 67 6f 72 69 74 68 6d |es by .a|lgorithm|
|00001c30| 69 63 20 6d 65 61 6e 73 | 2e 20 20 49 66 20 74 68 |ic means|. If th|
|00001c40| 65 20 76 61 72 69 61 62 | 6c 65 20 6d 61 6b 65 5f |e variab|le make_|
|00001c50| 6f 75 74 70 75 74 20 69 | 73 20 73 65 74 20 74 6f |output i|s set to|
|00001c60| 20 7a 65 72 6f 2c 20 74 | 68 65 20 0d 66 72 61 6d | zero, t|he .fram|
|00001c70| 65 77 6f 72 6b 20 77 69 | 6c 6c 20 6e 6f 74 20 6d |ework wi|ll not m|
|00001c80| 61 6b 65 20 61 6e 20 61 | 74 74 65 6d 70 74 20 74 |ake an a|ttempt t|
|00001c90| 6f 20 6f 70 65 6e 20 61 | 6e 20 6f 75 74 70 75 74 |o open a|n output|
|00001ca0| 20 66 69 6c 65 2e 20 20 | 54 68 69 73 20 6d 6f 64 | file. |This mod|
|00001cb0| 65 20 69 73 20 0d 75 73 | 65 66 75 6c 20 66 6f 72 |e is .us|eful for|
|00001cc0| 20 74 61 73 6b 73 20 73 | 75 63 68 20 61 73 20 74 | tasks s|uch as t|
|00001cd0| 68 65 20 61 6e 61 6c 79 | 73 69 73 20 6f 66 20 41 |he analy|sis of A|
|00001ce0| 49 46 46 20 66 69 6c 65 | 73 2c 20 77 68 65 72 65 |IFF file|s, where|
|00001cf0| 20 74 68 65 20 61 6e 61 | 6c 79 73 69 73 20 0d 6f | the ana|lysis .o|
|00001d00| 75 74 70 75 74 20 67 6f | 65 73 20 74 6f 20 74 68 |utput go|es to th|
|00001d10| 65 20 73 63 72 65 65 6e | 20 6f 72 20 61 20 6e 6f |e screen| or a no|
|00001d20| 6e 2d 41 49 46 46 20 66 | 69 6c 65 2e 0d 0d 54 68 |n-AIFF f|ile...Th|
|00001d30| 65 20 66 72 61 6d 65 77 | 6f 72 6b 20 65 78 69 73 |e framew|ork exis|
|00001d40| 74 73 20 69 6e 20 73 6f | 75 72 63 65 20 66 6f 72 |ts in so|urce for|
|00001d50| 6d 20 69 6e 20 74 68 65 | 20 66 6f 6c 64 65 72 20 |m in the| folder |
|00001d60| 22 66 72 61 6d 65 77 6f | 72 6b 20 73 6f 75 72 63 |"framewo|rk sourc|
|00001d70| 65 22 20 61 6e 64 20 0d | 69 6e 20 6f 62 6a 65 63 |e" and .|in objec|
|00001d80| 74 20 63 6f 64 65 20 66 | 6f 72 6d 20 61 73 20 22 |t code f|orm as "|
|00001d90| 66 72 61 6d 65 77 6f 72 | 6b 2e 6c 69 62 22 2e 20 |framewor|k.lib". |
|00001da0| 20 54 68 65 20 73 6f 75 | 72 63 65 20 75 73 65 73 | The sou|rce uses|
|00001db0| 20 61 20 66 65 77 20 54 | 68 69 6e 6b 20 43 20 0d | a few T|hink C .|
|00001dc0| 65 78 74 65 6e 73 69 6f | 6e 73 20 74 6f 20 43 2c |extensio|ns to C,|
|00001dd0| 20 62 75 74 20 49 20 73 | 75 73 70 65 63 74 20 74 | but I s|uspect t|
|00001de0| 68 61 74 20 69 74 20 63 | 6f 75 6c 64 20 62 65 20 |hat it c|ould be |
|00001df0| 70 6f 72 74 65 64 20 74 | 6f 20 6f 74 68 65 72 20 |ported t|o other |
|00001e00| 63 6f 6d 70 69 6c 65 72 | 73 20 0d 6f 72 20 65 76 |compiler|s .or ev|
|00001e10| 65 6e 20 6f 74 68 65 72 | 20 70 6c 61 74 66 6f 72 |en other| platfor|
|00001e20| 6d 73 20 77 69 74 68 6f | 75 74 20 67 72 65 61 74 |ms witho|ut great|
|00001e30| 20 64 69 66 66 69 63 75 | 6c 74 79 20 61 73 20 6c | difficu|lty as l|
|00001e40| 6f 6e 67 20 61 73 20 74 | 68 65 20 0d 61 73 73 75 |ong as t|he .assu|
|00001e50| 6d 70 74 69 6f 6e 73 20 | 61 62 6f 75 74 20 74 68 |mptions |about th|
|00001e60| 65 20 73 69 7a 65 20 6f | 66 20 64 61 74 61 20 74 |e size o|f data t|
|00001e70| 79 70 65 73 20 6c 69 73 | 74 65 64 20 69 6e 20 22 |ypes lis|ted in "|
|00001e80| 61 69 66 66 2e 68 22 20 | 68 6f 6c 64 20 74 72 75 |aiff.h" |hold tru|
|00001e90| 65 2e 20 20 0d 49 66 20 | 79 6f 75 20 77 61 6e 74 |e. .If |you want|
|00001ea0| 20 74 6f 20 6c 69 6e 6b | 20 66 72 6f 6d 20 74 68 | to link| from th|
|00001eb0| 65 20 73 6f 75 72 63 65 | 73 2c 20 74 68 65 20 6c |e source|s, the l|
|00001ec0| 69 6e 6b 61 67 65 20 72 | 65 71 75 69 72 65 64 20 |inkage r|equired |
|00001ed0| 69 73 20 73 70 65 63 69 | 66 69 65 64 20 0d 61 74 |is speci|fied .at|
|00001ee0| 20 74 68 65 20 62 65 67 | 69 6e 6e 69 6e 67 20 6f | the beg|inning o|
|00001ef0| 66 20 74 68 65 20 66 69 | 6c 65 20 22 61 69 66 66 |f the fi|le "aiff|
|00001f00| 2e 63 22 2e 20 20 4c 69 | 6e 6b 61 67 65 20 66 6f |.c". Li|nkage fo|
|00001f10| 72 20 74 68 65 20 6c 69 | 62 72 61 72 79 20 69 73 |r the li|brary is|
|00001f20| 20 74 68 65 20 0d 73 61 | 6d 65 20 65 78 63 65 70 | the .sa|me excep|
|00001f30| 74 20 66 6f 72 20 74 68 | 65 20 66 61 63 74 20 74 |t for th|e fact t|
|00001f40| 68 61 74 20 61 69 66 66 | 2e 63 20 61 6e 64 20 69 |hat aiff|.c and i|
|00001f50| 6e 74 65 72 66 61 63 65 | 2e 63 20 6e 65 65 64 20 |nterface|.c need |
|00001f60| 6e 6f 74 20 62 65 20 6c | 69 6e 6b 65 64 20 0d 73 |not be l|inked .s|
|00001f70| 69 6e 63 65 20 74 68 65 | 79 20 61 72 65 20 77 68 |ince the|y are wh|
|00001f80| 61 74 20 74 68 65 20 6c | 69 62 72 61 72 79 20 63 |at the l|ibrary c|
|00001f90| 6f 6e 74 61 69 6e 73 2e | 0d 0d 4d 75 63 68 20 6d |ontains.|..Much m|
|00001fa0| 6f 72 65 20 63 6f 75 6c | 64 20 62 65 20 77 72 69 |ore coul|d be wri|
|00001fb0| 74 74 65 6e 20 61 62 6f | 75 74 20 68 6f 77 20 74 |tten abo|ut how t|
|00001fc0| 6f 20 75 73 65 20 74 68 | 65 20 66 72 61 6d 65 77 |o use th|e framew|
|00001fd0| 6f 72 6b 20 62 75 74 20 | 74 69 6d 65 20 0d 63 6f |ork but |time .co|
|00001fe0| 6e 73 74 72 61 69 6e 74 | 73 20 63 6f 6d 70 65 6c |nstraint|s compel|
|00001ff0| 20 6d 65 20 74 6f 20 6d | 65 72 65 6c 79 20 64 69 | me to m|erely di|
|00002000| 72 65 63 74 20 74 68 65 | 20 72 65 61 64 65 72 20 |rect the| reader |
|00002010| 74 6f 20 74 68 65 20 65 | 78 61 6d 70 6c 65 73 20 |to the e|xamples |
|00002020| 69 6e 20 74 68 65 20 0d | 66 6f 6c 64 65 72 20 22 |in the .|folder "|
|00002030| 65 78 61 6d 70 6c 65 20 | 70 6c 75 67 2d 69 6e 20 |example |plug-in |
|00002040| 73 6f 75 72 63 65 22 20 | 61 6e 64 20 74 6f 20 74 |source" |and to t|
|00002050| 68 65 20 73 6f 75 72 63 | 65 20 66 6f 72 20 74 68 |he sourc|e for th|
|00002060| 65 20 66 72 61 6d 65 77 | 6f 72 6b 20 69 74 73 65 |e framew|ork itse|
|00002070| 6c 66 2e 0d 0d 54 68 69 | 73 20 70 72 6f 6a 65 63 |lf...Thi|s projec|
|00002080| 74 20 77 61 73 20 66 75 | 6e 64 65 64 20 69 6e 20 |t was fu|nded in |
|00002090| 70 61 72 74 20 62 79 20 | 74 68 65 20 46 6f 72 64 |part by |the Ford|
|000020a0| 20 46 6f 75 6e 64 61 74 | 69 6f 6e 27 73 20 70 72 | Foundat|ion's pr|
|000020b0| 6f 6a 65 63 74 20 74 6f | 20 0d 70 72 6f 76 69 64 |oject to| .provid|
|000020c0| 65 20 67 72 61 6e 74 73 | 20 66 6f 72 20 75 6e 64 |e grants| for und|
|000020d0| 65 72 67 72 61 64 75 61 | 74 65 20 72 65 73 65 61 |ergradua|te resea|
|000020e0| 72 63 68 20 61 74 20 48 | 61 72 76 61 72 64 20 55 |rch at H|arvard U|
|000020f0| 6e 69 76 65 72 73 69 74 | 79 2e 0d 0d 44 6f 6e 27 |niversit|y...Don'|
|00002100| 74 20 62 6f 74 68 65 72 | 20 64 6f 77 6c 6f 61 64 |t bother| dowload|
|00002110| 69 6e 67 20 74 68 69 73 | 20 64 6f 63 75 6d 65 6e |ing this| documen|
|00002120| 74 20 61 73 20 61 20 73 | 65 70 61 72 61 74 65 20 |t as a s|eparate |
|00002130| 74 65 78 74 20 66 69 6c | 65 3a 20 69 74 20 69 73 |text fil|e: it is|
|00002140| 20 0d 61 6c 72 65 61 64 | 79 20 69 6e 63 6c 75 64 | .alread|y includ|
|00002150| 65 64 20 69 6e 20 74 68 | 65 20 61 72 63 68 69 76 |ed in th|e archiv|
|00002160| 65 2e 0d 0d 42 65 6e 20 | 44 65 6e 63 6b 6c 61 0d |e...Ben |Denckla.|
|00002170| 62 64 65 6e 63 6b 6c 61 | 40 68 75 73 63 2e 68 61 |bdenckla|@husc.ha|
|00002180| 72 76 61 72 64 2e 65 64 | 75 0d 4a 75 6c 79 20 39 |rvard.ed|u.July 9|
|00002190| 2c 20 31 39 39 34 0d 0d | 0d 0d 2d 2d 2d 2d 2d 2d |, 1994..|..------|
|000021a0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000021b0| 2d 2d 2d 2d 2d 0d 0d 3e | 46 72 6f 6d 20 41 6e 64 |-----..>|From And|
|000021c0| 72 65 77 5f 42 65 6c 6c | 40 61 63 64 2e 6f 72 67 |rew_Bell|@acd.org|
|000021d0| 20 28 41 6e 64 72 65 77 | 20 42 65 6c 6c 29 0d 53 | (Andrew| Bell).S|
|000021e0| 75 62 6a 65 63 74 3a 20 | 41 70 70 6c 65 45 76 65 |ubject: |AppleEve|
|000021f0| 6e 74 20 51 75 65 73 74 | 69 6f 6e 0d 44 61 74 65 |nt Quest|ion.Date|
|00002200| 3a 20 30 36 20 4a 75 6c | 20 31 39 39 34 20 31 37 |: 06 Jul| 1994 17|
|00002210| 3a 34 34 3a 31 35 20 47 | 4d 54 0d 4f 72 67 61 6e |:44:15 G|MT.Organ|
|00002220| 69 7a 61 74 69 6f 6e 3a | 20 41 70 70 6c 65 20 43 |ization:| Apple C|
|00002230| 6f 72 70 73 20 6f 66 20 | 44 61 6c 6c 61 73 20 55 |orps of |Dallas U|
|00002240| 73 65 72 20 47 72 6f 75 | 70 0d 0d 48 69 2e 20 49 |ser Grou|p..Hi. I|
|00002250| 27 6d 20 77 72 69 74 69 | 6e 67 20 61 6e 20 61 70 |'m writi|ng an ap|
|00002260| 70 6c 69 63 61 74 69 6f | 6e 20 77 68 69 63 68 20 |plicatio|n which |
|00002270| 61 6c 6c 6f 77 73 20 75 | 73 65 72 73 20 74 6f 20 |allows u|sers to |
|00002280| 65 64 69 74 20 76 61 72 | 69 6f 75 73 20 61 73 70 |edit var|ious asp|
|00002290| 65 63 74 73 20 6f 66 0d | 74 68 65 69 72 20 46 43 |ects of.|their FC|
|000022a0| 20 53 65 74 74 69 6e 67 | 73 20 46 69 6c 65 73 2e | Setting|s Files.|
|000022b0| 20 49 27 76 65 20 77 72 | 69 74 74 65 6e 20 74 68 | I've wr|itten th|
|000022c0| 65 20 63 6f 64 65 20 66 | 6f 72 20 41 70 70 6c 65 |e code f|or Apple|
|000022d0| 45 76 65 6e 74 73 2c 20 | 61 6e 64 20 77 68 65 6e |Events, |and when|
|000022e0| 20 79 6f 75 0d 64 72 61 | 67 20 79 6f 75 72 20 73 | you.dra|g your s|
|000022f0| 65 74 74 69 6e 67 73 20 | 66 69 6c 65 20 6f 6e 20 |ettings |file on |
|00002300| 6d 79 20 41 70 70 2c 20 | 69 74 20 77 6f 72 6b 73 |my App, |it works|
|00002310| 20 70 65 72 66 65 63 74 | 6c 79 2e 20 4d 79 20 70 | perfect|ly. My p|
|00002320| 72 6f 62 6c 65 6d 20 69 | 73 20 74 68 69 73 3a 20 |roblem i|s this: |
|00002330| 49 0d 77 61 6e 74 20 6d | 79 20 75 73 65 72 20 74 |I.want m|y user t|
|00002340| 6f 20 62 65 20 67 72 65 | 65 74 65 64 20 77 69 74 |o be gre|eted wit|
|00002350| 68 20 61 20 73 74 61 6e | 64 61 72 64 20 6f 70 65 |h a stan|dard ope|
|00002360| 6e 20 64 69 61 6c 6f 67 | 20 62 6f 78 20 69 66 20 |n dialog| box if |
|00002370| 74 68 65 79 20 64 69 64 | 6e 27 74 0d 64 72 61 67 |they did|n't.drag|
|00002380| 20 61 20 66 69 6c 65 20 | 6f 6e 20 6d 79 20 61 70 | a file |on my ap|
|00002390| 70 2e 20 4d 79 20 63 6f | 64 65 20 69 73 20 73 65 |p. My co|de is se|
|000023a0| 74 20 75 70 20 6c 69 6b | 65 20 74 68 69 73 3a 0d |t up lik|e this:.|
|000023b0| 0d 49 6e 73 74 61 6c 6c | 20 41 70 70 6c 65 20 45 |.Install| Apple E|
|000023c0| 76 65 6e 74 73 0d 7b 4d | 61 69 6e 20 45 76 65 6e |vents.{M|ain Even|
|000023d0| 74 20 4c 6f 6f 70 7d 0d | 0d 49 73 20 74 68 65 72 |t Loop}.|.Is ther|
|000023e0| 65 20 61 6e 79 20 77 61 | 79 20 49 20 63 61 6e 20 |e any wa|y I can |
|000023f0| 65 78 65 63 75 74 65 20 | 73 6f 6d 65 20 63 6f 64 |execute |some cod|
|00002400| 65 20 69 66 20 49 27 6d | 20 6e 6f 74 20 67 6f 6e |e if I'm| not gon|
|00002410| 6e 61 20 72 65 63 65 69 | 76 65 20 61 6e 20 4f 70 |na recei|ve an Op|
|00002420| 65 6e 44 6f 63 73 0d 65 | 76 65 6e 74 3f 20 49 27 |enDocs.e|vent? I'|
|00002430| 6d 20 63 6f 64 69 6e 67 | 20 74 68 69 73 20 69 6e |m coding| this in|
|00002440| 20 50 61 73 63 61 6c 2e | 0d 0d 54 68 61 6e 6b 73 | Pascal.|..Thanks|
|00002450| 20 69 6e 20 41 64 76 61 | 6e 63 65 2c 0d 41 6e 64 | in Adva|nce,.And|
|00002460| 72 65 77 2e 0d 61 6e 64 | 72 65 77 62 40 6d 65 74 |rew..and|rewb@met|
|00002470| 72 6f 6e 65 74 2e 63 6f | 6d 20 20 20 20 20 20 20 |ronet.co|m |
|00002480| 20 0d 0d 2b 2b 2b 2b 2b | 2b 2b 2b 2b 2b 2b 2b 2b | ..+++++|++++++++|
|00002490| 2b 2b 2b 2b 2b 2b 2b 2b | 2b 2b 2b 2b 2b 2b 0d 0d |++++++++|++++++..|
|000024a0| 3e 46 72 6f 6d 20 6a 77 | 62 61 78 74 65 72 40 6f |>From jw|baxter@o|
|000024b0| 6c 79 6d 70 75 73 2e 6e | 65 74 20 28 4a 6f 68 6e |lympus.n|et (John|
|000024c0| 20 57 2e 20 42 61 78 74 | 65 72 29 0d 44 61 74 65 | W. Baxt|er).Date|
|000024d0| 3a 20 57 65 64 2c 20 30 | 36 20 4a 75 6c 20 31 39 |: Wed, 0|6 Jul 19|
|000024e0| 39 34 20 31 35 3a 34 30 | 3a 30 32 20 2d 30 37 30 |94 15:40|:02 -070|
|000024f0| 30 0d 4f 72 67 61 6e 69 | 7a 61 74 69 6f 6e 3a 20 |0.Organi|zation: |
|00002500| 49 6e 74 65 72 6e 65 74 | 20 66 6f 72 20 74 68 65 |Internet| for the|
|00002510| 20 4f 6c 79 6d 70 69 63 | 20 50 65 6e 69 6e 73 75 | Olympic| Peninsu|
|00002520| 6c 61 0d 0d 49 6e 20 61 | 72 74 69 63 6c 65 20 3c |la..In a|rticle <|
|00002530| 38 39 33 35 37 39 31 36 | 35 2e 33 31 31 30 37 35 |89357916|5.311075|
|00002540| 36 40 61 63 64 2e 61 63 | 64 2e 6f 72 67 3e 2c 20 |6@acd.ac|d.org>, |
|00002550| 41 6e 64 72 65 77 5f 42 | 65 6c 6c 40 61 63 64 2e |Andrew_B|ell@acd.|
|00002560| 6f 72 67 20 77 72 6f 74 | 65 3a 0d 0d 3e 20 48 69 |org wrot|e:..> Hi|
|00002570| 2e 20 49 27 6d 20 77 72 | 69 74 69 6e 67 20 61 6e |. I'm wr|iting an|
|00002580| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e 20 77 68 69 | applica|tion whi|
|00002590| 63 68 20 61 6c 6c 6f 77 | 73 20 75 73 65 72 73 20 |ch allow|s users |
|000025a0| 74 6f 20 65 64 69 74 20 | 76 61 72 69 6f 75 73 20 |to edit |various |
|000025b0| 61 73 70 65 63 74 73 20 | 6f 66 0d 3e 20 74 68 65 |aspects |of.> the|
|000025c0| 69 72 20 46 43 20 53 65 | 74 74 69 6e 67 73 20 46 |ir FC Se|ttings F|
|000025d0| 69 6c 65 73 2e 20 49 27 | 76 65 20 77 72 69 74 74 |iles. I'|ve writt|
|000025e0| 65 6e 20 74 68 65 20 63 | 6f 64 65 20 66 6f 72 20 |en the c|ode for |
|000025f0| 41 70 70 6c 65 45 76 65 | 6e 74 73 2c 20 61 6e 64 |AppleEve|nts, and|
|00002600| 20 77 68 65 6e 20 79 6f | 75 0d 3e 20 64 72 61 67 | when yo|u.> drag|
|00002610| 20 79 6f 75 72 20 73 65 | 74 74 69 6e 67 73 20 66 | your se|ttings f|
|00002620| 69 6c 65 20 6f 6e 20 6d | 79 20 41 70 70 2c 20 69 |ile on m|y App, i|
|00002630| 74 20 77 6f 72 6b 73 20 | 70 65 72 66 65 63 74 6c |t works |perfectl|
|00002640| 79 2e 20 4d 79 20 70 72 | 6f 62 6c 65 6d 20 69 73 |y. My pr|oblem is|
|00002650| 20 74 68 69 73 3a 20 49 | 0d 3e 20 77 61 6e 74 20 | this: I|.> want |
|00002660| 6d 79 20 75 73 65 72 20 | 74 6f 20 62 65 20 67 72 |my user |to be gr|
|00002670| 65 65 74 65 64 20 77 69 | 74 68 20 61 20 73 74 61 |eeted wi|th a sta|
|00002680| 6e 64 61 72 64 20 6f 70 | 65 6e 20 64 69 61 6c 6f |ndard op|en dialo|
|00002690| 67 20 62 6f 78 20 69 66 | 20 74 68 65 79 20 64 69 |g box if| they di|
|000026a0| 64 6e 27 74 0d 3e 20 64 | 72 61 67 20 61 20 66 69 |dn't.> d|rag a fi|
|000026b0| 6c 65 20 6f 6e 20 6d 79 | 20 61 70 70 2e 20 4d 79 |le on my| app. My|
|000026c0| 20 63 6f 64 65 20 69 73 | 20 73 65 74 20 75 70 20 | code is| set up |
|000026d0| 6c 69 6b 65 20 74 68 69 | 73 3a 0d 3e 20 0d 3e 20 |like thi|s:.> .> |
|000026e0| 49 6e 73 74 61 6c 6c 20 | 41 70 70 6c 65 20 45 76 |Install |Apple Ev|
|000026f0| 65 6e 74 73 0d 3e 20 7b | 4d 61 69 6e 20 45 76 65 |ents.> {|Main Eve|
|00002700| 6e 74 20 4c 6f 6f 70 7d | 0d 0d 59 6f 75 20 73 68 |nt Loop}|..You sh|
|00002710| 6f 75 6c 64 20 28 62 61 | 72 72 69 6e 67 20 73 6f |ould (ba|rring so|
|00002720| 6d 65 20 6c 61 74 65 2d | 62 72 65 61 6b 69 6e 67 |me late-|breaking|
|00002730| 20 61 64 64 69 74 69 6f | 6e 73 29 20 72 65 63 65 | additio|ns) rece|
|00002740| 69 76 65 20 6f 6e 65 20 | 6f 66 20 74 68 72 65 65 |ive one |of three|
|00002750| 0d 65 76 65 6e 74 73 20 | 61 66 74 65 72 20 79 6f |.events |after yo|
|00002760| 75 72 20 61 70 70 6c 69 | 63 61 74 69 6f 6e 20 69 |ur appli|cation i|
|00002770| 73 20 6c 61 75 6e 63 68 | 65 64 2e 20 20 5b 4e 6f |s launch|ed. [No|
|00002780| 74 65 3a 20 20 49 27 6d | 20 61 73 73 75 6d 69 6e |te: I'm| assumin|
|00002790| 67 20 79 6f 75 20 64 6f | 6e 27 74 0d 77 61 6e 74 |g you do|n't.want|
|000027a0| 20 74 6f 20 73 75 70 70 | 6f 72 74 20 53 79 73 74 | to supp|ort Syst|
|000027b0| 65 6d 20 36 2c 20 74 6f | 6f 2e 2e 2e 69 66 20 79 |em 6, to|o...if y|
|000027c0| 6f 75 20 64 6f 2c 20 73 | 65 65 20 49 6e 73 69 64 |ou do, s|ee Insid|
|000027d0| 65 20 4d 61 63 2c 20 77 | 68 65 72 65 20 74 68 69 |e Mac, w|here thi|
|000027e0| 73 20 69 73 0d 61 6c 6c | 20 73 70 65 6c 6c 65 64 |s is.all| spelled|
|000027f0| 20 6f 75 74 2e 5d 0d 0d | 20 20 20 27 61 65 76 74 | out.]..| 'aevt|
|00002800| 27 2f 27 6f 61 70 70 27 | 3a 20 20 22 59 6f 75 72 |'/'oapp'|: "Your|
|00002810| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e 20 68 61 73 | applica|tion has|
|00002820| 20 62 65 65 6e 20 64 6f | 75 62 6c 65 2d 63 6c 69 | been do|uble-cli|
|00002830| 63 6b 65 64 22 0d 20 20 | 20 27 61 65 76 74 27 2f |cked". | 'aevt'/|
|00002840| 27 6f 64 6f 63 27 3a 20 | 20 22 59 6f 75 20 73 68 |'odoc': | "You sh|
|00002850| 6f 75 6c 64 20 6f 70 65 | 6e 20 74 68 65 73 65 20 |ould ope|n these |
|00002860| 64 6f 63 75 6d 65 6e 74 | 73 22 0d 20 20 20 27 61 |document|s". 'a|
|00002870| 65 76 74 27 2f 27 70 64 | 6f 63 27 3a 20 20 22 59 |evt'/'pd|oc': "Y|
|00002880| 6f 75 20 73 68 6f 75 6c | 64 20 70 72 69 6e 74 20 |ou shoul|d print |
|00002890| 74 68 65 73 65 20 64 6f | 63 75 6d 65 6e 74 73 22 |these do|cuments"|
|000028a0| 20 28 46 69 6e 64 65 72 | 20 66 6f 6c 6c 6f 77 73 | (Finder| follows|
|000028b0| 20 74 68 69 73 0d 77 69 | 74 68 20 27 61 65 76 74 | this.wi|th 'aevt|
|000028c0| 27 2f 27 71 75 69 74 27 | 20 69 66 20 74 68 65 20 |'/'quit'| if the |
|000028d0| 75 73 65 72 20 73 65 6c | 65 63 74 65 64 20 61 20 |user sel|ected a |
|000028e0| 64 6f 63 20 61 6e 64 20 | 63 68 6f 73 65 20 74 68 |doc and |chose th|
|000028f0| 65 20 50 72 69 6e 74 20 | 63 6f 6d 6d 61 6e 64 2c |e Print |command,|
|00002900| 0d 61 6e 64 20 79 6f 75 | 20 77 65 72 65 6e 27 74 |.and you| weren't|
|00002910| 20 61 6c 72 65 61 64 79 | 20 72 75 6e 6e 69 6e 67 | already| running|
|00002920| 2e 2e 2e 79 6f 75 20 64 | 6f 6e 27 74 20 68 61 76 |...you d|on't hav|
|00002930| 65 20 74 6f 20 6b 65 65 | 70 20 74 72 61 63 6b 20 |e to kee|p track |
|00002940| 6f 66 20 74 68 61 74 20 | 62 69 74 0d 6f 66 20 73 |of that |bit.of s|
|00002950| 74 61 74 65 20 69 6e 66 | 6f 72 6d 61 74 69 6f 6e |tate inf|ormation|
|00002960| 29 2e 0d 0d 20 20 20 53 | 6f 20 62 79 20 74 68 61 |)... S|o by tha|
|00002970| 74 20 6d 6f 64 65 6c 2c | 20 77 68 65 6e 20 79 6f |t model,| when yo|
|00002980| 75 20 6c 61 75 6e 63 68 | 2c 20 79 6f 75 20 64 6f |u launch|, you do|
|00002990| 20 74 68 65 20 73 65 74 | 75 70 20 77 68 69 63 68 | the set|up which|
|000029a0| 20 69 73 20 63 6f 6d 6d | 6f 6e 0d 61 6d 6f 6e 67 | is comm|on.among|
|000029b0| 20 74 68 6f 73 65 20 74 | 68 72 65 65 20 63 61 73 | those t|hree cas|
|000029c0| 65 73 2e 20 20 54 68 65 | 6e 20 79 6f 75 20 77 61 |es. The|n you wa|
|000029d0| 69 74 20 66 6f 72 20 6f | 6e 65 20 6f 66 20 74 68 |it for o|ne of th|
|000029e0| 65 20 65 76 65 6e 74 73 | 20 74 6f 20 63 6f 6d 65 |e events| to come|
|000029f0| 20 69 6e 2c 0d 61 6e 64 | 20 68 61 6e 64 6c 65 20 | in,.and| handle |
|00002a00| 69 74 2e 20 20 54 68 65 | 20 27 6f 61 70 70 27 20 |it. The| 'oapp' |
|00002a10| 6d 65 61 6e 73 2c 20 69 | 6e 20 79 6f 75 72 20 63 |means, i|n your c|
|00002a20| 61 73 65 2c 20 70 75 74 | 20 75 70 20 74 68 65 20 |ase, put| up the |
|00002a30| 64 69 61 6c 6f 67 20 28 | 69 6e 0d 6f 74 68 65 72 |dialog (|in.other|
|00002a40| 20 63 61 73 65 73 20 69 | 74 20 6d 65 61 6e 73 20 | cases i|t means |
|00002a50| 63 72 65 61 74 65 20 61 | 6e 20 75 6e 74 69 74 6c |create a|n untitl|
|00002a60| 65 64 20 64 6f 63 75 6d | 65 6e 74 2c 20 6f 72 20 |ed docum|ent, or |
|00002a70| 77 68 61 74 65 76 65 72 | 29 2e 0d 0d 20 20 20 4e |whatever|)... N|
|00002a80| 6f 74 65 20 74 68 61 74 | 20 74 77 6f 20 6d 6f 72 |ote that| two mor|
|00002a90| 65 20 70 6f 73 73 69 62 | 69 6c 69 74 69 65 73 20 |e possib|ilities |
|00002aa0| 68 61 76 65 20 61 72 69 | 73 65 6e 20 72 65 63 65 |have ari|sen rece|
|00002ab0| 6e 74 6c 79 3a 20 20 79 | 6f 75 20 67 65 74 0d 6c |ntly: y|ou get.l|
|00002ac0| 61 75 6e 63 68 65 64 20 | 61 6e 64 20 6e 6f 6e 65 |aunched |and none|
|00002ad0| 20 6f 66 20 74 68 65 20 | 74 68 72 65 65 20 65 76 | of the |three ev|
|00002ae0| 65 6e 74 73 20 61 72 72 | 69 76 65 73 20 28 79 6f |ents arr|ives (yo|
|00002af0| 75 20 63 61 6e 20 74 69 | 6d 65 20 6f 75 74 20 61 |u can ti|me out a|
|00002b00| 6e 64 20 61 73 73 75 6d | 65 0d 27 6f 61 70 70 27 |nd assum|e.'oapp'|
|00002b10| 20 66 6f 72 20 74 68 61 | 74 20 6f 6e 65 2c 20 69 | for tha|t one, i|
|00002b20| 66 20 79 6f 75 20 77 61 | 6e 74 20 74 6f 29 3b 20 |f you wa|nt to); |
|00002b30| 20 79 6f 75 20 67 65 74 | 20 61 20 6e 6f 2d 6f 70 | you get| a no-op|
|00002b40| 20 65 76 65 6e 74 20 69 | 6e 20 28 49 20 66 6f 72 | event i|n (I for|
|00002b50| 67 65 74 0d 74 68 65 20 | 63 6c 61 73 73 20 61 6e |get.the |class an|
|00002b60| 64 20 49 44 29 2e 20 20 | 54 68 61 74 20 69 73 20 |d ID). |That is |
|00002b70| 74 68 65 20 22 6e 6f 6e | 65 20 6f 66 20 74 68 65 |the "non|e of the|
|00002b80| 20 6f 74 68 65 72 20 74 | 68 72 65 65 22 20 63 61 | other t|hree" ca|
|00002b90| 73 65 20 6d 61 64 65 0d | 65 78 70 6c 69 63 69 74 |se made.|explicit|
|00002ba0| 2c 20 61 6e 64 20 69 6d | 70 6c 69 65 73 3a 20 20 |, and im|plies: |
|00002bb0| 64 6f 6e 27 74 20 64 6f | 20 61 6e 79 74 68 69 6e |don't do| anythin|
|00002bc0| 67 20 75 6e 74 69 6c 20 | 79 6f 75 27 72 65 20 74 |g until |you're t|
|00002bd0| 6f 6c 64 2e 2e 2e 49 27 | 6c 6c 20 67 65 74 0d 61 |old...I'|ll get.a|
|00002be0| 72 6f 75 6e 64 20 74 6f | 20 69 74 20 73 6f 6d 65 |round to| it some|
|00002bf0| 74 69 6d 65 2e 0d 0d 20 | 20 20 2d 2d 4a 6f 68 6e |time... | --John|
|00002c00| 0d 0d 2d 2d 20 0d 4a 6f | 68 6e 20 42 61 78 74 65 |..-- .Jo|hn Baxte|
|00002c10| 72 20 20 20 20 50 6f 72 | 74 20 4c 75 64 6c 6f 77 |r Por|t Ludlow|
|00002c20| 2c 20 57 41 2c 20 55 53 | 41 20 20 5b 57 65 73 74 |, WA, US|A [West|
|00002c30| 20 73 68 6f 72 65 2c 20 | 50 75 67 65 74 20 53 6f | shore, |Puget So|
|00002c40| 75 6e 64 5d 0d 20 20 20 | 4e 6f 20 68 61 62 6c 6f |und]. |No hablo|
|00002c50| 20 49 6e 74 65 6c 2e 0d | 20 20 20 6a 77 62 61 78 | Intel..| jwbax|
|00002c60| 74 65 72 40 70 74 2e 6f | 6c 79 6d 70 75 73 2e 6e |ter@pt.o|lympus.n|
|00002c70| 65 74 0d 0d 2b 2b 2b 2b | 2b 2b 2b 2b 2b 2b 2b 2b |et..++++|++++++++|
|00002c80| 2b 2b 2b 2b 2b 2b 2b 2b | 2b 2b 2b 2b 2b 2b 2b 0d |++++++++|+++++++.|
|00002c90| 0d 3e 46 72 6f 6d 20 4d | 61 72 6b 20 48 61 6e 72 |.>From M|ark Hanr|
|00002ca0| 65 6b 20 3c 68 61 6e 72 | 65 6b 40 63 74 73 2e 63 |ek <hanr|ek@cts.c|
|00002cb0| 6f 6d 3e 0d 44 61 74 65 | 3a 20 54 68 75 2c 20 37 |om>.Date|: Thu, 7|
|00002cc0| 20 4a 75 6c 20 31 39 39 | 34 20 30 32 3a 33 37 3a | Jul 199|4 02:37:|
|00002cd0| 33 35 20 47 4d 54 0d 4f | 72 67 61 6e 69 7a 61 74 |35 GMT.O|rganizat|
|00002ce0| 69 6f 6e 3a 20 54 68 65 | 20 49 6e 66 6f 72 6d 61 |ion: The| Informa|
|00002cf0| 74 69 6f 6e 20 57 6f 72 | 6b 73 68 6f 70 0d 0d 49 |tion Wor|kshop..I|
|00002d00| 6e 20 61 72 74 69 63 6c | 65 20 3c 38 39 33 35 37 |n articl|e <89357|
|00002d10| 39 31 36 35 2e 33 31 31 | 30 37 35 36 40 61 63 64 |9165.311|0756@acd|
|00002d20| 2e 61 63 64 2e 6f 72 67 | 3e 20 41 6e 64 72 65 77 |.acd.org|> Andrew|
|00002d30| 20 42 65 6c 6c 2c 0d 41 | 6e 64 72 65 77 5f 42 65 | Bell,.A|ndrew_Be|
|00002d40| 6c 6c 40 61 63 64 2e 6f | 72 67 20 77 72 69 74 65 |ll@acd.o|rg write|
|00002d50| 73 3a 0d 0d 3e 20 48 69 | 2e 20 49 27 6d 20 77 72 |s:..> Hi|. I'm wr|
|00002d60| 69 74 69 6e 67 20 61 6e | 20 61 70 70 6c 69 63 61 |iting an| applica|
|00002d70| 74 69 6f 6e 20 77 68 69 | 63 68 20 61 6c 6c 6f 77 |tion whi|ch allow|
|00002d80| 73 20 75 73 65 72 73 20 | 74 6f 20 65 64 69 74 20 |s users |to edit |
|00002d90| 61 73 70 65 63 74 73 20 | 6f 66 0d 3e 20 74 68 65 |aspects |of.> the|
|00002da0| 69 72 20 46 43 20 53 65 | 74 74 69 6e 67 73 20 46 |ir FC Se|ttings F|
|00002db0| 69 6c 65 73 2e 20 49 27 | 76 65 20 77 72 69 74 74 |iles. I'|ve writt|
|00002dc0| 65 6e 20 63 6f 64 65 20 | 66 6f 72 20 41 70 70 6c |en code |for Appl|
|00002dd0| 65 45 76 65 6e 74 73 2c | 20 61 6e 64 20 77 68 65 |eEvents,| and whe|
|00002de0| 6e 20 79 6f 75 0d 3e 20 | 64 72 61 67 20 79 6f 75 |n you.> |drag you|
|00002df0| 72 20 73 65 74 74 69 6e | 67 73 20 6f 6e 20 6d 79 |r settin|gs on my|
|00002e00| 20 41 70 70 2c 20 69 74 | 20 77 6f 72 6b 73 20 70 | App, it| works p|
|00002e10| 65 72 66 65 63 74 6c 79 | 2e 20 4d 79 20 70 72 6f |erfectly|. My pro|
|00002e20| 62 6c 65 6d 20 69 73 20 | 74 68 69 73 3a 20 49 0d |blem is |this: I.|
|00002e30| 3e 20 77 61 6e 74 20 6d | 79 20 75 73 65 72 20 74 |> want m|y user t|
|00002e40| 6f 20 62 65 20 67 72 65 | 65 74 65 64 20 77 69 74 |o be gre|eted wit|
|00002e50| 68 20 61 20 73 74 61 6e | 64 61 72 64 20 6f 70 65 |h a stan|dard ope|
|00002e60| 6e 20 64 69 61 6c 6f 67 | 20 69 66 20 74 68 65 79 |n dialog| if they|
|00002e70| 20 64 69 64 6e 27 74 0d | 3e 20 64 72 61 67 20 61 | didn't.|> drag a|
|00002e80| 20 66 69 6c 65 20 6f 6e | 20 6d 79 20 61 70 70 2e | file on| my app.|
|00002e90| 20 4d 79 20 63 6f 64 65 | 20 69 73 20 73 65 74 20 | My code| is set |
|00002ea0| 75 70 20 6c 69 6b 65 20 | 74 68 69 73 3a 0d 3e 0d |up like |this:.>.|
|00002eb0| 3e 20 49 6e 73 74 61 6c | 6c 20 41 70 70 6c 65 20 |> Instal|l Apple |
|00002ec0| 45 76 65 6e 74 73 0d 3e | 20 7b 4d 61 69 6e 20 45 |Events.>| {Main E|
|00002ed0| 76 65 6e 74 20 4c 6f 6f | 70 7d 0d 3e 0d 3e 20 49 |vent Loo|p}.>.> I|
|00002ee0| 73 20 74 68 65 72 65 20 | 61 6e 79 20 77 61 79 20 |s there |any way |
|00002ef0| 49 20 63 61 6e 20 65 78 | 65 63 75 74 65 20 73 6f |I can ex|ecute so|
|00002f00| 6d 65 20 63 6f 64 65 20 | 69 66 20 49 27 6d 20 6e |me code |if I'm n|
|00002f10| 6f 74 20 67 6f 6e 6e 61 | 20 72 65 63 65 69 76 65 |ot gonna| receive|
|00002f20| 20 61 6e 20 0d 3e 20 4f | 70 65 6e 44 6f 63 73 20 | an .> O|penDocs |
|00002f30| 65 76 65 6e 74 3f 20 49 | 27 6d 20 63 6f 64 69 6e |event? I|'m codin|
|00002f40| 67 20 74 68 69 73 20 69 | 6e 20 50 61 73 63 61 6c |g this i|n Pascal|
|00002f50| 2e 0d 3e 0d 3e 20 54 68 | 61 6e 6b 73 20 69 6e 20 |..>.> Th|anks in |
|00002f60| 41 64 76 61 6e 63 65 2c | 0d 3e 20 41 6e 64 72 65 |Advance,|.> Andre|
|00002f70| 77 2e 0d 3e 20 61 6e 64 | 72 65 77 62 40 6d 65 74 |w..> and|rewb@met|
|00002f80| 72 6f 6e 65 74 2e 63 6f | 6d 20 20 20 20 20 20 20 |ronet.co|m |
|00002f90| 20 0d 0d 4e 6f 74 65 20 | 74 68 61 74 20 69 66 20 | ..Note |that if |
|00002fa0| 79 6f 75 72 20 61 70 70 | 6c 69 63 61 74 69 6f 6e |your app|lication|
|00002fb0| 20 64 6f 65 73 20 6e 6f | 74 20 72 65 63 65 69 76 | does no|t receiv|
|00002fc0| 65 20 6f 6e 65 20 6f 72 | 20 6d 6f 72 65 20 27 6f |e one or| more 'o|
|00002fd0| 64 6f 63 27 20 41 70 70 | 6c 65 0d 65 76 65 6e 74 |doc' App|le.event|
|00002fe0| 73 2c 20 69 74 20 77 69 | 6c 6c 20 72 65 63 65 69 |s, it wi|ll recei|
|00002ff0| 76 65 20 61 6e 20 27 6f | 61 70 70 27 20 69 6e 73 |ve an 'o|app' ins|
|00003000| 74 65 61 64 2e 20 20 3a | 29 0d 0d 41 68 61 21 21 |tead. :|)..Aha!!|
|00003010| 0d 0d 48 6f 70 65 20 74 | 68 69 73 20 68 65 6c 70 |..Hope t|his help|
|00003020| 73 2e 0d 0d 4d 61 72 6b | 20 48 61 6e 72 65 6b 0d |s...Mark| Hanrek.|
|00003030| 0d 2b 2b 2b 2b 2b 2b 2b | 2b 2b 2b 2b 2b 2b 2b 2b |.+++++++|++++++++|
|00003040| 2b 2b 2b 2b 2b 2b 2b 2b | 2b 2b 2b 2b 0d 0d 3e 46 |++++++++|++++..>F|
|00003050| 72 6f 6d 20 6a 6f 6e 70 | 75 67 68 40 6e 65 74 63 |rom jonp|ugh@netc|
|00003060| 6f 6d 2e 63 6f 6d 20 28 | 4a 6f 6e 20 50 75 67 68 |om.com (|Jon Pugh|
|00003070| 29 0d 44 61 74 65 3a 20 | 54 68 75 2c 20 37 20 4a |).Date: |Thu, 7 J|
|00003080| 75 6c 20 31 39 39 34 20 | 30 33 3a 34 37 3a 33 35 |ul 1994 |03:47:35|
|00003090| 20 47 4d 54 0d 4f 72 67 | 61 6e 69 7a 61 74 69 6f | GMT.Org|anizatio|
|000030a0| 6e 3a 20 4e 45 54 43 4f | 4d 20 4f 6e 2d 6c 69 6e |n: NETCO|M On-lin|
|000030b0| 65 20 43 6f 6d 6d 75 6e | 69 63 61 74 69 6f 6e 20 |e Commun|ication |
|000030c0| 53 65 72 76 69 63 65 73 | 20 28 34 30 38 20 32 36 |Services| (408 26|
|000030d0| 31 2d 34 37 30 30 20 67 | 75 65 73 74 29 0d 0d 41 |1-4700 g|uest)..A|
|000030e0| 6e 64 72 65 77 20 42 65 | 6c 6c 20 28 41 6e 64 72 |ndrew Be|ll (Andr|
|000030f0| 65 77 5f 42 65 6c 6c 40 | 61 63 64 2e 6f 72 67 29 |ew_Bell@|acd.org)|
|00003100| 20 77 72 6f 74 65 3a 0d | 3e 20 48 69 2e 20 49 27 | wrote:.|> Hi. I'|
|00003110| 6d 20 77 72 69 74 69 6e | 67 20 61 6e 20 61 70 70 |m writin|g an app|
|00003120| 6c 69 63 61 74 69 6f 6e | 20 77 68 69 63 68 20 61 |lication| which a|
|00003130| 6c 6c 6f 77 73 20 75 73 | 65 72 73 20 74 6f 20 65 |llows us|ers to e|
|00003140| 64 69 74 20 76 61 72 69 | 6f 75 73 20 61 73 70 65 |dit vari|ous aspe|
|00003150| 63 74 73 20 6f 66 0d 3e | 20 74 68 65 69 72 20 46 |cts of.>| their F|
|00003160| 43 20 53 65 74 74 69 6e | 67 73 20 46 69 6c 65 73 |C Settin|gs Files|
|00003170| 2e 20 49 27 76 65 20 77 | 72 69 74 74 65 6e 20 74 |. I've w|ritten t|
|00003180| 68 65 20 63 6f 64 65 20 | 66 6f 72 20 41 70 70 6c |he code |for Appl|
|00003190| 65 45 76 65 6e 74 73 2c | 20 61 6e 64 20 77 68 65 |eEvents,| and whe|
|000031a0| 6e 20 79 6f 75 0d 3e 20 | 64 72 61 67 20 79 6f 75 |n you.> |drag you|
|000031b0| 72 20 73 65 74 74 69 6e | 67 73 20 66 69 6c 65 20 |r settin|gs file |
|000031c0| 6f 6e 20 6d 79 20 41 70 | 70 2c 20 69 74 20 77 6f |on my Ap|p, it wo|
|000031d0| 72 6b 73 20 70 65 72 66 | 65 63 74 6c 79 2e 20 4d |rks perf|ectly. M|
|000031e0| 79 20 70 72 6f 62 6c 65 | 6d 20 69 73 20 74 68 69 |y proble|m is thi|
|000031f0| 73 3a 20 49 0d 3e 20 77 | 61 6e 74 20 6d 79 20 75 |s: I.> w|ant my u|
|00003200| 73 65 72 20 74 6f 20 62 | 65 20 67 72 65 65 74 65 |ser to b|e greete|
|00003210| 64 20 77 69 74 68 20 61 | 20 73 74 61 6e 64 61 72 |d with a| standar|
|00003220| 64 20 6f 70 65 6e 20 64 | 69 61 6c 6f 67 20 62 6f |d open d|ialog bo|
|00003230| 78 20 69 66 20 74 68 65 | 79 20 64 69 64 6e 27 74 |x if the|y didn't|
|00003240| 0d 3e 20 64 72 61 67 20 | 61 20 66 69 6c 65 20 6f |.> drag |a file o|
|00003250| 6e 20 6d 79 20 61 70 70 | 2e 20 4d 79 20 63 6f 64 |n my app|. My cod|
|00003260| 65 20 69 73 20 73 65 74 | 20 75 70 20 6c 69 6b 65 |e is set| up like|
|00003270| 20 74 68 69 73 3a 0d 0d | 3e 20 49 6e 73 74 61 6c | this:..|> Instal|
|00003280| 6c 20 41 70 70 6c 65 20 | 45 76 65 6e 74 73 0d 3e |l Apple |Events.>|
|00003290| 20 7b 4d 61 69 6e 20 45 | 76 65 6e 74 20 4c 6f 6f | {Main E|vent Loo|
|000032a0| 70 7d 0d 0d 3e 20 49 73 | 20 74 68 65 72 65 20 61 |p}..> Is| there a|
|000032b0| 6e 79 20 77 61 79 20 49 | 20 63 61 6e 20 65 78 65 |ny way I| can exe|
|000032c0| 63 75 74 65 20 73 6f 6d | 65 20 63 6f 64 65 20 69 |cute som|e code i|
|000032d0| 66 20 49 27 6d 20 6e 6f | 74 20 67 6f 6e 6e 61 20 |f I'm no|t gonna |
|000032e0| 72 65 63 65 69 76 65 20 | 61 6e 20 4f 70 65 6e 44 |receive |an OpenD|
|000032f0| 6f 63 73 0d 3e 20 65 76 | 65 6e 74 3f 20 49 27 6d |ocs.> ev|ent? I'm|
|00003300| 20 63 6f 64 69 6e 67 20 | 74 68 69 73 20 69 6e 20 | coding |this in |
|00003310| 50 61 73 63 61 6c 2e 0d | 0d 49 66 20 79 6f 75 20 |Pascal..|.If you |
|00003320| 64 6f 6e 27 74 20 67 65 | 74 20 61 6e 20 6f 64 6f |don't ge|t an odo|
|00003330| 63 2c 20 79 6f 75 20 77 | 69 6c 6c 20 67 65 74 20 |c, you w|ill get |
|00003340| 61 6e 20 6f 61 70 70 2e | 20 20 50 75 74 20 75 70 |an oapp.| Put up|
|00003350| 20 74 68 65 20 64 69 61 | 6c 6f 67 20 74 68 65 6e | the dia|log then|
|00003360| 2e 0d 0d 4a 6f 6e 0d 0d | 0d 2d 2d 2d 2d 2d 2d 2d |...Jon..|.-------|
|00003370| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00003380| 2d 2d 2d 2d 0d 0d 3e 46 | 72 6f 6d 20 73 65 74 73 |----..>F|rom sets|
|00003390| 75 40 6c 61 62 32 2e 79 | 61 6d 61 68 61 2e 63 6f |u@lab2.y|amaha.co|
|000033a0| 2e 6a 70 20 28 54 61 6b | 61 73 68 69 20 53 75 7a |.jp (Tak|ashi Suz|
|000033b0| 75 6b 69 29 0d 53 75 62 | 6a 65 63 74 3a 20 42 75 |uki).Sub|ject: Bu|
|000033c0| 67 20 69 6e 20 4d 49 44 | 49 2e 68 20 28 55 6e 69 |g in MID|I.h (Uni|
|000033d0| 76 65 72 73 61 6c 20 49 | 6e 74 65 72 66 61 63 65 |versal I|nterface|
|000033e0| 29 0d 44 61 74 65 3a 20 | 54 68 75 2c 20 37 20 4a |).Date: |Thu, 7 J|
|000033f0| 75 6c 20 31 39 39 34 20 | 30 34 3a 31 33 3a 31 38 |ul 1994 |04:13:18|
|00003400| 20 47 4d 54 0d 4f 72 67 | 61 6e 69 7a 61 74 69 6f | GMT.Org|anizatio|
|00003410| 6e 3a 20 32 6e 64 20 64 | 65 70 2e 20 45 6c 65 63 |n: 2nd d|ep. Elec|
|00003420| 74 72 6f 6e 69 63 73 20 | 44 65 76 65 6c 6f 70 6d |tronics |Developm|
|00003430| 65 6e 74 26 44 65 73 69 | 67 6e 20 43 65 6e 74 65 |ent&Desi|gn Cente|
|00003440| 72 20 59 41 4d 41 48 41 | 2c 20 4a 61 70 61 6e 2e |r YAMAHA|, Japan.|
|00003450| 0d 0d 49 20 66 6f 75 6e | 64 20 61 20 62 75 67 20 |..I foun|d a bug |
|00003460| 69 6e 20 4d 49 44 49 2e | 68 20 28 55 6e 69 76 65 |in MIDI.|h (Unive|
|00003470| 72 73 61 6c 20 49 6e 74 | 65 72 66 61 63 65 29 2e |rsal Int|erface).|
|00003480| 0d 0d 54 68 65 73 65 20 | 6c 69 6e 65 73 20 3a 0d |..These |lines :.|
|00003490| 2d 20 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |- ------|--------|
|000034a0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000034b0| 2d 2d 20 66 72 6f 6d 20 | 68 65 72 65 20 2d 2d 2d |-- from |here ---|
|000034c0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000034d0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 0d 23 69 66 |--------|----.#if|
|000034e0| 20 64 65 66 69 6e 65 64 | 28 70 6f 77 65 72 63 29 | defined|(powerc)|
|000034f0| 20 7c 7c 20 64 65 66 69 | 6e 65 64 20 28 5f 5f 70 | || defi|ned (__p|
|00003500| 6f 77 65 72 63 29 0d 23 | 70 72 61 67 6d 61 20 6f |owerc).#|pragma o|
|00003510| 70 74 69 6f 6e 73 20 61 | 6c 69 67 6e 3d 6d 61 63 |ptions a|lign=mac|
|00003520| 36 38 6b 0d 23 65 6e 64 | 69 66 0d 73 74 72 75 63 |68k.#end|if.struc|
|00003530| 74 20 4d 49 44 49 50 6f | 72 74 50 61 72 61 6d 73 |t MIDIPo|rtParams|
|00003540| 20 7b 0d 20 20 20 20 4f | 53 54 79 70 65 20 20 20 | {. O|SType |
|00003550| 20 20 20 70 6f 72 74 49 | 44 3b 20 20 20 20 20 2f | portI|D; /|
|00003560| 2a 49 44 20 6f 66 20 70 | 6f 72 74 2c 20 75 6e 69 |*ID of p|ort, uni|
|00003570| 71 75 65 20 77 69 74 68 | 69 6e 20 63 6c 69 65 6e |que with|in clien|
|00003580| 74 2a 2f 0d 20 20 20 20 | 73 68 6f 72 74 20 20 20 |t*/. |short |
|00003590| 20 20 20 20 70 6f 72 74 | 54 79 70 65 3b 20 20 20 | port|Type; |
|000035a0| 2f 2a 54 79 70 65 20 6f | 66 20 70 6f 72 74 20 2d |/*Type o|f port -|
|000035b0| 20 69 6e 70 75 74 2c 20 | 6f 75 74 70 75 74 2c 20 | input, |output, |
|000035c0| 74 69 6d 65 2c 20 65 74 | 63 2e 2a 2f 0d 20 20 20 |time, et|c.*/. |
|000035d0| 20 73 68 6f 72 74 20 20 | 20 20 20 20 20 74 69 6d | short | tim|
|000035e0| 65 42 61 73 65 3b 20 20 | 20 2f 2a 72 65 66 6e 75 |eBase; | /*refnu|
|000035f0| 6d 20 6f 66 20 74 69 6d | 65 20 62 61 73 65 2c 20 |m of tim|e base, |
|00003600| 30 20 69 66 20 6e 6f 6e | 65 2a 2f 0d 20 20 20 20 |0 if non|e*/. |
|00003610| 6c 6f 6e 67 20 20 20 20 | 20 20 20 20 6f 66 66 73 |long | offs|
|00003620| 65 74 54 69 6d 65 3b 20 | 2f 2a 6f 66 66 73 65 74 |etTime; |/*offset|
|00003630| 20 66 6f 72 20 63 75 72 | 72 65 6e 74 20 74 69 6d | for cur|rent tim|
|00003640| 65 20 73 74 61 6d 70 73 | 2a 2f 0d 20 20 20 20 50 |e stamps|*/. P|
|00003650| 74 72 20 20 20 20 20 20 | 20 20 20 72 65 61 64 48 |tr | readH|
|00003660| 6f 6f 6b 3b 20 20 20 2f | 2a 72 6f 75 74 69 6e 65 |ook; /|*routine|
|00003670| 20 74 6f 20 63 61 6c 6c | 20 77 68 65 6e 20 69 6e | to call| when in|
|00003680| 70 75 74 20 64 61 74 61 | 20 69 73 20 76 61 6c 69 |put data| is vali|
|00003690| 64 2a 2f 0d 20 20 20 20 | 6c 6f 6e 67 20 20 20 20 |d*/. |long |
|000036a0| 20 20 20 20 72 65 66 43 | 6f 6e 3b 20 20 20 20 20 | refC|on; |
|000036b0| 2f 2a 72 65 66 63 6f 6e | 20 66 6f 72 20 70 6f 72 |/*refcon| for por|
|000036c0| 74 20 28 66 6f 72 20 63 | 6c 69 65 6e 74 20 75 73 |t (for c|lient us|
|000036d0| 65 29 2a 2f 0d 20 20 20 | 20 4d 49 44 49 43 6c 6b |e)*/. | MIDIClk|
|000036e0| 49 6e 66 6f 20 69 6e 69 | 74 43 6c 6f 63 6b 3b 20 |Info ini|tClock; |
|000036f0| 20 2f 2a 69 6e 69 74 69 | 61 6c 20 73 65 74 74 69 | /*initi|al setti|
|00003700| 6e 67 73 20 66 6f 72 20 | 61 20 74 69 6d 65 20 62 |ngs for |a time b|
|00003710| 61 73 65 2a 2f 0d 20 20 | 20 20 53 74 72 32 35 35 |ase*/. | Str255|
|00003720| 20 20 20 20 20 20 6e 61 | 6d 65 3b 20 20 20 20 20 | na|me; |
|00003730| 20 20 2f 2a 6e 61 6d 65 | 20 6f 66 20 74 68 65 20 | /*name| of the |
|00003740| 70 6f 72 74 2c 20 54 68 | 69 73 20 69 73 20 61 20 |port, Th|is is a |
|00003750| 72 65 61 6c 20 6c 69 76 | 65 20 73 74 72 69 6e 67 |real liv|e string|
|00003760| 2c 20 6e 6f 74 20 61 20 | 0d 70 74 72 2e 2a 2f 0d |, not a |.ptr.*/.|
|00003770| 7d 3b 0d 23 69 66 20 64 | 65 66 69 6e 65 64 28 70 |};.#if d|efined(p|
|00003780| 6f 77 65 72 63 29 20 7c | 7c 20 64 65 66 69 6e 65 |owerc) ||| define|
|00003790| 64 28 5f 5f 70 6f 77 65 | 72 63 29 0d 23 70 72 61 |d(__powe|rc).#pra|
|000037a0| 67 6d 61 20 6f 70 74 69 | 6f 6e 73 20 61 6c 69 67 |gma opti|ons alig|
|000037b0| 6e 3d 72 65 73 65 74 0d | 23 65 6e 64 69 66 0d 2d |n=reset.|#endif.-|
|000037c0| 20 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d | -------|--------|
|000037d0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000037e0| 2d 20 75 6e 74 69 6c 20 | 68 65 72 65 20 2d 2d 2d |- until |here ---|
|000037f0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00003800| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 0d 0d 73 68 |--------|----..sh|
|00003810| 6f 75 6c 64 20 62 65 20 | 73 6f 6d 65 74 69 6e 67 |ould be |someting|
|00003820| 20 6c 69 6b 65 3a 0d 2d | 20 2d 2d 2d 2d 2d 2d 2d | like:.-| -------|
|00003830| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00003840| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 20 66 72 6f 6d 20 68 |--------|- from h|
|00003850| 65 72 65 20 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |ere ----|--------|
|00003860| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00003870| 2d 2d 2d 0d 74 79 70 65 | 64 65 66 20 70 61 73 63 |---.type|def pasc|
|00003880| 61 6c 20 73 68 6f 72 74 | 20 28 2a 52 65 61 64 65 |al short| (*Reade|
|00003890| 72 44 65 66 50 72 6f 63 | 50 74 72 29 28 4d 49 44 |rDefProc|Ptr)(MID|
|000038a0| 49 50 61 63 6b 65 74 50 | 74 72 20 6d 79 50 61 63 |IPacketP|tr myPac|
|000038b0| 6b 65 74 2c 20 6c 6f 6e | 67 20 6d 79 52 65 66 43 |ket, lon|g myRefC|
|000038c0| 6f 6e 29 3b 0d 0d 65 6e | 75 6d 20 7b 0d 20 20 20 |on);..en|um {. |
|000038d0| 20 75 70 70 52 65 61 64 | 65 72 44 65 66 50 72 6f | uppRead|erDefPro|
|000038e0| 63 49 6e 66 6f 20 3d 20 | 6b 50 61 73 63 61 6c 53 |cInfo = |kPascalS|
|000038f0| 74 61 63 6b 42 61 73 65 | 64 0d 20 20 20 20 20 20 |tackBase|d. |
|00003900| 20 20 20 20 20 20 20 20 | 20 20 7c 20 52 45 53 55 | | | RESU|
|00003910| 4c 54 5f 53 49 5a 45 28 | 53 49 5a 45 5f 43 4f 44 |LT_SIZE(|SIZE_COD|
|00003920| 45 28 73 69 7a 65 6f 66 | 28 73 68 6f 72 74 29 29 |E(sizeof|(short))|
|00003930| 29 0d 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |). | |
|00003940| 20 20 7c 20 53 54 41 43 | 4b 5f 52 4f 55 54 49 4e | | STAC|K_ROUTIN|
|00003950| 45 5f 50 41 52 41 4d 45 | 54 45 52 28 31 2c 20 53 |E_PARAME|TER(1, S|
|00003960| 49 5a 45 5f 43 4f 44 45 | 28 73 69 7a 65 6f 66 28 |IZE_CODE|(sizeof(|
|00003970| 50 74 72 29 29 29 0d 20 | 20 20 20 20 20 20 20 20 |Ptr))). | |
|00003980| 20 20 20 20 20 20 20 7c | 20 53 54 41 43 4b 5f 52 | || STACK_R|
|00003990| 4f 55 54 49 4e 45 5f 50 | 41 52 41 4d 45 54 45 52 |OUTINE_P|ARAMETER|
|000039a0| 28 32 2c 20 53 49 5a 45 | 5f 43 4f 44 45 28 73 69 |(2, SIZE|_CODE(si|
|000039b0| 7a 65 6f 66 28 6c 6f 6e | 67 29 29 29 0d 7d 3b 0d |zeof(lon|g))).};.|
|000039c0| 0d 23 69 66 20 55 53 45 | 53 52 4f 55 54 49 4e 45 |.#if USE|SROUTINE|
|000039d0| 44 45 53 43 52 49 50 54 | 4f 52 53 0d 74 79 70 65 |DESCRIPT|ORS.type|
|000039e0| 64 65 66 20 55 6e 69 76 | 65 72 73 61 6c 50 72 6f |def Univ|ersalPro|
|000039f0| 63 50 74 72 20 52 65 61 | 64 65 72 44 65 66 55 50 |cPtr Rea|derDefUP|
|00003a00| 50 3b 0d 0d 23 64 65 66 | 69 6e 65 20 4e 65 77 52 |P;..#def|ine NewR|
|00003a10| 65 61 64 65 72 44 65 66 | 50 72 6f 63 28 75 73 65 |eaderDef|Proc(use|
|00003a20| 72 52 6f 75 74 69 6e 65 | 29 20 20 20 20 20 20 20 |rRoutine|) |
|00003a30| 20 20 20 20 5c 0d 20 20 | 20 20 20 20 20 20 20 20 | \. | |
|00003a40| 20 20 20 20 20 20 28 52 | 65 61 64 65 72 44 65 66 | (R|eaderDef|
|00003a50| 55 50 50 29 20 4e 65 77 | 52 6f 75 74 69 6e 65 44 |UPP) New|RoutineD|
|00003a60| 65 73 63 72 69 70 74 6f | 72 28 28 50 72 6f 63 50 |escripto|r((ProcP|
|00003a70| 74 72 29 28 75 73 65 72 | 52 6f 75 74 69 6e 65 29 |tr)(user|Routine)|
|00003a80| 2c 0d 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |,. | |
|00003a90| 20 20 75 70 70 52 65 61 | 64 65 72 44 65 66 50 72 | uppRea|derDefPr|
|00003aa0| 6f 63 49 6e 66 6f 2c 20 | 47 65 74 43 75 72 72 65 |ocInfo, |GetCurre|
|00003ab0| 6e 74 49 53 41 28 29 29 | 0d 23 65 6c 73 65 0d 74 |ntISA())|.#else.t|
|00003ac0| 79 70 65 64 65 66 20 52 | 65 61 64 65 72 44 65 66 |ypedef R|eaderDef|
|00003ad0| 50 72 6f 63 50 74 72 20 | 52 65 61 64 65 72 44 65 |ProcPtr |ReaderDe|
|00003ae0| 66 55 50 50 3b 0d 0d 23 | 64 65 66 69 6e 65 20 4e |fUPP;..#|define N|
|00003af0| 65 77 52 65 61 64 65 72 | 44 65 66 50 72 6f 63 28 |ewReader|DefProc(|
|00003b00| 75 73 65 72 52 6f 75 74 | 69 6e 65 29 20 20 20 20 |userRout|ine) |
|00003b10| 20 20 20 20 20 20 20 5c | 0d 20 20 20 20 20 20 20 | \|. |
|00003b20| 20 20 20 20 20 20 20 20 | 20 28 52 65 61 64 65 72 | | (Reader|
|00003b30| 44 65 66 55 50 50 29 28 | 75 73 65 72 52 6f 75 74 |DefUPP)(|userRout|
|00003b40| 69 6e 65 29 0d 23 65 6e | 64 69 66 0d 0d 0d 23 69 |ine).#en|dif...#i|
|00003b50| 66 20 64 65 66 69 6e 65 | 64 28 70 6f 77 65 72 63 |f define|d(powerc|
|00003b60| 29 20 7c 7c 20 64 65 66 | 69 6e 65 64 20 28 5f 5f |) || def|ined (__|
|00003b70| 70 6f 77 65 72 63 29 0d | 23 70 72 61 67 6d 61 20 |powerc).|#pragma |
|00003b80| 6f 70 74 69 6f 6e 73 20 | 61 6c 69 67 6e 3d 6d 61 |options |align=ma|
|00003b90| 63 36 38 6b 0d 23 65 6e | 64 69 66 0d 73 74 72 75 |c68k.#en|dif.stru|
|00003ba0| 63 74 20 4d 49 44 49 50 | 6f 72 74 50 61 72 61 6d |ct MIDIP|ortParam|
|00003bb0| 73 20 7b 0d 20 20 20 20 | 4f 53 54 79 70 65 20 20 |s {. |OSType |
|00003bc0| 20 20 20 20 20 20 20 20 | 70 6f 72 74 49 44 3b 20 | |portID; |
|00003bd0| 20 20 20 20 2f 2a 49 44 | 20 6f 66 20 70 6f 72 74 | /*ID| of port|
|00003be0| 2c 20 75 6e 69 71 75 65 | 20 77 69 74 68 69 6e 20 |, unique| within |
|00003bf0| 63 6c 69 65 6e 74 2a 2f | 0d 20 20 20 20 73 68 6f |client*/|. sho|
|00003c00| 72 74 20 20 20 20 20 20 | 20 20 20 20 20 70 6f 72 |rt | por|
|00003c10| 74 54 79 70 65 3b 20 20 | 20 2f 2a 54 79 70 65 20 |tType; | /*Type |
|00003c20| 6f 66 20 70 6f 72 74 20 | 2d 20 69 6e 70 75 74 2c |of port |- input,|
|00003c30| 20 6f 75 74 70 75 74 2c | 20 74 69 6d 65 2c 20 65 | output,| time, e|
|00003c40| 74 63 2e 2a 2f 0d 20 20 | 20 20 73 68 6f 72 74 20 |tc.*/. | short |
|00003c50| 20 20 20 20 20 20 20 20 | 20 20 74 69 6d 65 42 61 | | timeBa|
|00003c60| 73 65 3b 20 20 20 2f 2a | 72 65 66 6e 75 6d 20 6f |se; /*|refnum o|
|00003c70| 66 20 74 69 6d 65 20 62 | 61 73 65 2c 20 30 20 69 |f time b|ase, 0 i|
|00003c80| 66 20 6e 6f 6e 65 2a 2f | 0d 20 20 20 20 6c 6f 6e |f none*/|. lon|
|00003c90| 67 20 20 20 20 20 20 20 | 20 20 20 20 20 6f 66 66 |g | off|
|00003ca0| 73 65 74 54 69 6d 65 3b | 20 2f 2a 6f 66 66 73 65 |setTime;| /*offse|
|00003cb0| 74 20 66 6f 72 20 63 75 | 72 72 65 6e 74 20 74 69 |t for cu|rrent ti|
|00003cc0| 6d 65 20 73 74 61 6d 70 | 73 2a 2f 0d 20 20 20 20 |me stamp|s*/. |
|00003cd0| 52 65 61 64 65 72 44 65 | 66 55 50 50 20 20 20 20 |ReaderDe|fUPP |
|00003ce0| 72 65 61 64 48 6f 6f 6b | 3b 20 20 20 2f 2a 72 6f |readHook|; /*ro|
|00003cf0| 75 74 69 6e 65 20 74 6f | 20 63 61 6c 6c 20 77 68 |utine to| call wh|
|00003d00| 65 6e 20 69 6e 70 75 74 | 20 64 61 74 61 20 69 73 |en input| data is|
|00003d10| 20 76 61 6c 69 64 2a 2f | 0d 20 20 20 20 6c 6f 6e | valid*/|. lon|
|00003d20| 67 20 20 20 20 20 20 20 | 20 20 20 20 20 72 65 66 |g | ref|
|00003d30| 43 6f 6e 3b 20 20 20 20 | 20 2f 2a 72 65 66 63 6f |Con; | /*refco|
|00003d40| 6e 20 66 6f 72 20 70 6f | 72 74 20 28 66 6f 72 20 |n for po|rt (for |
|00003d50| 63 6c 69 65 6e 74 20 75 | 73 65 29 2a 2f 0d 20 20 |client u|se)*/. |
|00003d60| 20 20 4d 49 44 49 43 6c | 6b 49 6e 66 6f 20 20 20 | MIDICl|kInfo |
|00003d70| 20 20 69 6e 69 74 43 6c | 6f 63 6b 3b 20 20 2f 2a | initCl|ock; /*|
|00003d80| 69 6e 69 74 69 61 6c 20 | 73 65 74 74 69 6e 67 73 |initial |settings|
|00003d90| 20 66 6f 72 20 61 20 74 | 69 6d 65 20 62 61 73 65 | for a t|ime base|
|00003da0| 2a 2f 0d 20 20 20 20 53 | 74 72 32 35 35 20 20 20 |*/. S|tr255 |
|00003db0| 20 20 20 20 20 20 20 6e | 61 6d 65 3b 20 20 20 20 | n|ame; |
|00003dc0| 20 20 20 2f 2a 6e 61 6d | 65 20 6f 66 20 74 68 65 | /*nam|e of the|
|00003dd0| 20 70 6f 72 74 2c 20 54 | 68 69 73 20 69 73 20 61 | port, T|his is a|
|00003de0| 20 72 65 61 6c 20 6c 69 | 76 65 20 73 74 72 69 6e | real li|ve strin|
|00003df0| 67 2c 20 6e 6f 74 20 61 | 20 0d 70 74 72 2e 2a 2f |g, not a| .ptr.*/|
|00003e00| 0d 7d 3b 0d 23 69 66 20 | 64 65 66 69 6e 65 64 28 |.};.#if |defined(|
|00003e10| 70 6f 77 65 72 63 29 20 | 7c 7c 20 64 65 66 69 6e |powerc) ||| defin|
|00003e20| 65 64 28 5f 5f 70 6f 77 | 65 72 63 29 0d 23 70 72 |ed(__pow|erc).#pr|
|00003e30| 61 67 6d 61 20 6f 70 74 | 69 6f 6e 73 20 61 6c 69 |agma opt|ions ali|
|00003e40| 67 6e 3d 72 65 73 65 74 | 0d 23 65 6e 64 69 66 0d |gn=reset|.#endif.|
|00003e50| 2d 20 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |- ------|--------|
|00003e60| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00003e70| 2d 2d 20 75 6e 74 69 6c | 20 68 65 72 65 20 2d 2d |-- until| here --|
|00003e80| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00003e90| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 0d 0d 57 |--------|-----..W|
|00003ea0| 69 74 68 6f 75 74 20 74 | 68 69 73 20 6d 6f 64 69 |ithout t|his modi|
|00003eb0| 66 69 63 61 74 69 6f 6e | 2c 20 61 70 70 6c 69 63 |fication|, applic|
|00003ec0| 61 74 69 6f 6e 73 20 77 | 69 6c 6c 20 72 75 6e 20 |ations w|ill run |
|00003ed0| 69 6e 74 6f 20 64 65 62 | 75 67 67 65 72 0d 77 68 |into deb|ugger.wh|
|00003ee0| 65 6e 20 74 68 65 79 20 | 72 65 63 65 69 76 65 20 |en they |receive |
|00003ef0| 4d 49 44 49 20 64 61 74 | 61 2e 0d 0d 2d 2d 20 54 |MIDI dat|a...-- T|
|00003f00| 2e 53 75 7a 75 6b 69 0d | 0d 0d 7e 7e 7e 7e 7e 7e |.Suzuki.|..~~~~~~|
|00003f10| 7e 7e 7e 7e 7e 7e 7e 7e | 7e 7e 7e 7e 7e 7e 7e 7e |~~~~~~~~|~~~~~~~~|
|00003f20| 7e 7e 7e 7e 7e 7e 7e 7e | 7e 7e 7e 7e 7e 7e 7e 7e |~~~~~~~~|~~~~~~~~|
|00003f30| 7e 7e 7e 7e 7e 7e 7e 7e | 7e 7e 7e 7e 7e 7e 7e 7e |~~~~~~~~|~~~~~~~~|
|00003f40| 7e 7e 7e 7e 7e 7e 7e 7e | 7e 7e 7e 7e 7e 7e 7e 7e |~~~~~~~~|~~~~~~~~|
|00003f50| 7e 7e 7e 7e 7e 7e 7e 0d | 20 20 54 61 6b 61 73 68 |~~~~~~~.| Takash|
|00003f60| 69 20 53 75 7a 75 6b 69 | 20 20 20 20 32 6e 64 20 |i Suzuki| 2nd |
|00003f70| 64 65 70 2e 20 45 6c 65 | 63 74 72 6f 6e 69 63 73 |dep. Ele|ctronics|
|00003f80| 20 44 65 76 65 6c 6f 70 | 6d 65 6e 74 20 26 20 44 | Develop|ment & D|
|00003f90| 65 73 69 67 6e 20 43 65 | 6e 74 65 72 20 59 41 4d |esign Ce|nter YAM|
|00003fa0| 41 48 41 0d 20 20 20 20 | 20 20 5f 2f 2f 2f 5f 20 |AHA. | _///_ |
|00003fb0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003fc0| 45 6d 61 69 6c 20 3a 20 | 73 65 74 73 75 40 6c 61 |Email : |setsu@la|
|00003fd0| 62 32 2e 79 61 6d 61 68 | 61 2e 63 6f 2e 6a 70 0d |b2.yamah|a.co.jp.|
|00003fe0| 20 20 20 20 20 28 2e 29 | 2d 28 2e 29 7e 20 20 20 | (.)|-(.)~ |
|00003ff0| 20 20 20 20 20 20 20 20 | 20 20 20 20 4e 49 46 54 | | NIFT|
|00004000| 59 20 3a 20 47 41 46 30 | 33 30 37 32 40 6e 69 66 |Y : GAF0|3072@nif|
|00004010| 74 79 73 65 72 76 65 2e | 6f 72 2e 6a 70 0d 20 20 |tyserve.|or.jp. |
|00004020| 20 20 20 20 20 20 6f 20 | 20 20 20 20 20 20 20 20 | o | |
|00004030| 20 20 20 20 20 20 20 20 | 20 20 54 65 6c 20 20 20 | | Tel |
|00004040| 3a 20 2b 38 31 2d 35 33 | 39 2d 36 32 2d 35 33 33 |: +81-53|9-62-533|
|00004050| 35 20 3b 20 46 61 78 20 | 20 3a 2b 38 31 2d 35 33 |5 ; Fax | :+81-53|
|00004060| 39 2d 36 32 2d 35 32 36 | 39 0d 7e 7e 7e 7e 7e 7e |9-62-526|9.~~~~~~|
|00004070| 7e 7e 7e 7e 7e 7e 7e 7e | 7e 7e 7e 7e 7e 7e 7e 7e |~~~~~~~~|~~~~~~~~|
|00004080| 7e 7e 7e 7e 7e 7e 7e 7e | 7e 7e 7e 7e 7e 7e 7e 7e |~~~~~~~~|~~~~~~~~|
|00004090| 7e 7e 7e 7e 7e 7e 7e 7e | 7e 7e 7e 7e 7e 7e 7e 7e |~~~~~~~~|~~~~~~~~|
|000040a0| 7e 7e 7e 7e 7e 7e 7e 7e | 7e 7e 7e 7e 7e 7e 7e 7e |~~~~~~~~|~~~~~~~~|
|000040b0| 7e 7e 7e 7e 7e 7e 7e 0d | 0d 2d 2d 2d 2d 2d 2d 2d |~~~~~~~.|.-------|
|000040c0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000040d0| 2d 2d 2d 2d 0d 0d 3e 46 | 72 6f 6d 20 6a 62 65 65 |----..>F|rom jbee|
|000040e0| 67 68 6c 79 40 75 2e 77 | 61 73 68 69 6e 67 74 6f |ghly@u.w|ashingto|
|000040f0| 6e 2e 65 64 75 20 28 4a | 65 66 66 20 42 65 65 67 |n.edu (J|eff Beeg|
|00004100| 68 6c 79 29 0d 53 75 62 | 6a 65 63 74 3a 20 46 75 |hly).Sub|ject: Fu|
|00004110| 6c 6c 20 66 69 6c 65 20 | 70 61 74 68 3f 0d 44 61 |ll file |path?.Da|
|00004120| 74 65 3a 20 39 20 4a 75 | 6c 20 31 39 39 34 20 32 |te: 9 Ju|l 1994 2|
|00004130| 30 3a 33 36 3a 30 37 20 | 47 4d 54 0d 4f 72 67 61 |0:36:07 |GMT.Orga|
|00004140| 6e 69 7a 61 74 69 6f 6e | 3a 20 55 6e 69 76 65 72 |nization|: Univer|
|00004150| 73 69 74 79 20 6f 66 20 | 57 61 73 68 69 6e 67 74 |sity of |Washingt|
|00004160| 6f 6e 0d 0d 0d 4f 4b 2c | 20 49 20 63 6f 6d 65 20 |on...OK,| I come |
|00004170| 66 72 6f 6d 20 61 20 75 | 6e 69 78 20 26 20 61 20 |from a u|nix & a |
|00004180| 44 4f 53 20 62 61 63 6b | 67 72 6f 75 6e 64 2c 20 |DOS back|ground, |
|00004190| 61 6e 64 20 49 27 6d 20 | 74 72 79 69 6e 67 20 74 |and I'm |trying t|
|000041a0| 6f 20 6c 65 61 72 6e 20 | 4d 41 43 0d 70 72 6f 67 |o learn |MAC.prog|
|000041b0| 72 61 6d 6d 69 6e 67 2e | 20 20 4d 79 20 6c 61 74 |ramming.| My lat|
|000041c0| 65 73 74 20 62 61 74 74 | 6c 65 20 68 61 73 20 62 |est batt|le has b|
|000041d0| 65 65 6e 20 77 69 74 68 | 20 74 68 65 20 4d 61 63 |een with| the Mac|
|000041e0| 20 66 69 6c 65 20 73 79 | 73 74 65 6d 2e 2e 2e 0d | file sy|stem....|
|000041f0| 0d 0d 4f 4b 2c 20 49 66 | 20 49 20 68 61 76 65 20 |..OK, If| I have |
|00004200| 74 68 65 20 66 6f 6c 6c | 6f 77 69 6e 67 20 64 72 |the foll|owing dr|
|00004210| 69 76 65 20 73 74 72 75 | 63 74 75 72 65 3a 0d 0d |ive stru|cture:..|
|00004220| 49 6e 74 65 72 6e 61 6c | 20 20 20 20 20 20 20 20 |Internal| |
|00004230| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004240| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004250| 20 20 20 20 20 20 20 20 | 52 4f 4f 54 20 44 52 49 | |ROOT DRI|
|00004260| 56 45 0d 20 20 20 7c 0d | 20 20 20 7c 0d 20 20 20 |VE. |.| |. |
|00004270| 2d 2d 2d 2d 2d 2d 41 70 | 70 6c 69 63 61 74 69 6f |------Ap|plicatio|
|00004280| 6e 73 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |ns | |
|00004290| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000042a0| 20 20 20 20 20 46 6f 6c | 64 65 72 0d 20 20 20 20 | Fol|der. |
|000042b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 7c 0d 20 20 | | |. |
|000042c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 7c 0d | | |.|
|000042d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000042e0| 2d 2d 2d 2d 2d 2d 2d 2d | 41 64 6f 62 65 20 50 68 |--------|Adobe Ph|
|000042f0| 6f 74 6f 73 68 6f 70 20 | 20 20 20 20 20 20 20 20 |otoshop | |
|00004300| 20 20 20 20 20 20 20 20 | 46 6f 6c 64 65 72 0d 20 | |Folder. |
|00004310| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004320| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 7c 0d | | |.|
|00004330| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004340| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 7c | | ||
|00004350| 0d 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|00004360| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004370| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 50 68 6f |--------|-----Pho|
|00004380| 74 6f 73 68 6f 70 20 20 | 20 41 70 70 6c 69 63 61 |toshop | Applica|
|00004390| 74 69 6f 6e 0d 0d 4f 6e | 20 74 68 65 20 55 6e 69 |tion..On| the Uni|
|000043a0| 78 20 73 69 64 65 2c 20 | 49 27 64 20 65 78 70 65 |x side, |I'd expe|
|000043b0| 63 74 20 74 68 65 20 66 | 69 6c 65 20 70 6f 73 69 |ct the f|ile posi|
|000043c0| 74 69 6f 6e 20 73 74 72 | 75 63 74 75 72 65 20 74 |tion str|ucture t|
|000043d0| 6f 20 62 65 0d 0d 49 6e | 74 65 72 6e 61 6c 2f 41 |o be..In|ternal/A|
|000043e0| 70 70 6c 69 63 61 74 69 | 6f 6e 73 2f 41 64 6f 62 |pplicati|ons/Adob|
|000043f0| 65 20 50 68 6f 74 6f 73 | 68 6f 70 2f 50 68 6f 74 |e Photos|hop/Phot|
|00004400| 6f 73 68 6f 70 0d 0d 4f | 6e 20 74 68 65 20 4d 61 |oshop..O|n the Ma|
|00004410| 63 2c 20 69 74 20 77 6f | 75 6c 64 20 62 65 20 0d |c, it wo|uld be .|
|00004420| 0d 49 6e 74 65 72 6e 61 | 6c 3a 41 70 70 6c 69 63 |.Interna|l:Applic|
|00004430| 61 74 69 6f 6e 73 3a 41 | 64 6f 62 65 20 50 68 6f |ations:A|dobe Pho|
|00004440| 74 6f 73 68 6f 70 3a 50 | 68 6f 74 6f 73 68 6f 70 |toshop:P|hotoshop|
|00004450| 0d 0d 57 65 6c 6c 2c 20 | 49 27 6d 20 75 73 69 6e |..Well, |I'm usin|
|00004460| 67 20 74 68 65 20 66 6f | 6c 6c 6f 77 69 6e 67 20 |g the fo|llowing |
|00004470| 74 6f 20 63 61 6c 6c 20 | 74 68 65 20 4f 70 65 6e |to call |the Open|
|00004480| 20 44 69 61 6c 6f 67 0d | 0d 53 74 61 6e 64 61 72 | Dialog.|.Standar|
|00004490| 64 46 69 6c 65 52 65 70 | 6c 79 20 72 65 70 6c 79 |dFileRep|ly reply|
|000044a0| 3b 0d 53 74 61 6e 64 61 | 72 64 47 65 74 46 69 6c |;.Standa|rdGetFil|
|000044b0| 65 28 30 4c 2c 20 2d 31 | 2c 20 30 4c 2c 20 26 72 |e(0L, -1|, 0L, &r|
|000044c0| 65 70 6c 79 29 3b 0d 0d | 49 6e 20 54 48 49 4e 4b |eply);..|In THINK|
|000044d0| 20 52 65 66 65 72 65 6e | 63 65 2c 20 69 74 20 73 | Referen|ce, it s|
|000044e0| 74 61 74 65 73 20 74 68 | 61 74 20 74 68 65 20 53 |tates th|at the S|
|000044f0| 74 61 6e 64 61 72 64 46 | 69 6c 65 52 65 70 6c 79 |tandardF|ileReply|
|00004500| 20 63 6f 6e 74 61 69 6e | 73 20 61 20 0d 46 53 53 | contain|s a .FSS|
|00004510| 70 65 63 20 76 61 72 69 | 61 62 6c 65 20 63 61 6c |pec vari|able cal|
|00004520| 6c 65 64 20 73 66 46 69 | 6c 65 2c 20 77 68 69 63 |led sfFi|le, whic|
|00004530| 68 20 69 73 20 6d 61 64 | 65 20 75 70 20 6f 66 20 |h is mad|e up of |
|00004540| 74 68 65 20 66 6f 6c 6c | 6f 77 69 6e 67 20 73 74 |the foll|owing st|
|00004550| 72 75 63 74 75 72 65 3a | 0d 46 53 53 70 65 63 20 |ructure:|.FSSpec |
|00004560| 7b 0d 09 73 68 6f 72 74 | 20 76 52 65 66 4e 61 6d |{..short| vRefNam|
|00004570| 65 3b 0d 09 6c 6f 6e 67 | 20 70 61 72 49 44 3b 0d |e;..long| parID;.|
|00004580| 09 53 74 72 36 33 20 6e | 61 6d 65 3b 0d 7d 3b 0d |.Str63 n|ame;.};.|
|00004590| 0d 0d 57 65 6c 6c 2c 20 | 49 20 6b 6e 6f 77 20 74 |..Well, |I know t|
|000045a0| 68 61 74 20 72 65 70 6c | 79 2e 73 66 46 69 6c 65 |hat repl|y.sfFile|
|000045b0| 2e 6e 61 6d 65 20 63 6f | 6e 74 61 69 6e 73 20 6a |.name co|ntains j|
|000045c0| 75 73 74 20 74 68 65 20 | 6e 61 6d 65 20 6f 66 20 |ust the |name of |
|000045d0| 74 68 65 20 66 69 6c 65 | 2c 20 0d 61 6e 64 20 69 |the file|, .and i|
|000045e0| 66 20 49 20 75 6e 64 65 | 72 20 73 74 61 6e 64 20 |f I unde|r stand |
|000045f0| 63 6f 72 72 65 63 74 6c | 79 2c 20 74 68 65 20 72 |correctl|y, the r|
|00004600| 6f 6f 74 20 64 72 69 76 | 65 20 28 6f 72 20 74 68 |oot driv|e (or th|
|00004610| 65 20 76 6f 6c 75 6d 65 | 20 72 65 66 65 72 65 6e |e volume| referen|
|00004620| 63 65 29 20 0d 69 73 20 | 73 74 6f 72 65 64 20 61 |ce) .is |stored a|
|00004630| 73 20 61 20 6e 75 6d 62 | 65 72 2c 20 61 6e 64 20 |s a numb|er, and |
|00004640| 74 68 65 20 64 69 72 65 | 63 74 6f 72 79 20 74 68 |the dire|ctory th|
|00004650| 61 74 20 74 68 65 20 66 | 69 6c 65 20 77 61 73 20 |at the f|ile was |
|00004660| 69 6e 20 69 73 20 61 6c | 73 6f 20 0d 73 74 6f 72 |in is al|so .stor|
|00004670| 65 64 20 61 73 20 61 20 | 6e 75 6d 62 65 72 2e 20 |ed as a |number. |
|00004680| 20 4f 4b 2c 20 66 69 6e | 65 2e 20 20 42 75 74 20 | OK, fin|e. But |
|00004690| 68 6f 77 20 64 6f 20 49 | 20 67 65 74 20 74 68 65 |how do I| get the|
|000046a0| 20 74 65 78 74 20 6f 66 | 20 74 68 65 20 6c 6f 63 | text of| the loc|
|000046b0| 61 74 69 6f 6e 3f 0d 0d | 49 6e 20 6f 74 68 65 72 |ation?..|In other|
|000046c0| 20 77 6f 72 64 73 2c 20 | 68 6f 77 20 63 61 6e 20 | words, |how can |
|000046d0| 49 20 75 73 65 20 74 68 | 65 20 76 52 65 66 4e 75 |I use th|e vRefNu|
|000046e0| 6d 2c 20 70 61 72 49 44 | 2c 20 26 20 6e 61 6d 65 |m, parID|, & name|
|000046f0| 20 6d 65 6e 62 65 72 73 | 20 74 6f 20 67 65 74 20 | menbers| to get |
|00004700| 0d 74 68 65 20 73 74 72 | 69 6e 67 20 22 49 6e 74 |.the str|ing "Int|
|00004710| 65 72 6e 61 6c 3a 41 70 | 70 6c 69 63 61 74 69 6f |ernal:Ap|plicatio|
|00004720| 6e 73 3a 41 64 6f 62 65 | 20 50 68 6f 74 6f 73 68 |ns:Adobe| Photosh|
|00004730| 6f 70 3a 50 68 6f 74 6f | 73 68 6f 70 22 20 3f 0d |op:Photo|shop" ?.|
|00004740| 0d 0d 41 6c 73 6f 2c 20 | 49 20 63 61 76 65 20 61 |..Also, |I cave a|
|00004750| 20 63 6f 75 70 6c 65 20 | 62 6f 6f 6b 73 20 6f 6e | couple |books on|
|00004760| 20 70 72 6f 67 72 61 6d | 6d 69 6e 67 20 74 68 65 | program|ming the|
|00004770| 20 4d 61 63 2c 20 62 75 | 74 20 6e 6f 6e 65 20 6f | Mac, bu|t none o|
|00004780| 66 20 74 68 65 6d 20 0d | 72 65 61 6c 6c 79 20 74 |f them .|really t|
|00004790| 61 6c 6b 20 61 62 6f 75 | 74 20 66 69 6c 65 73 20 |alk abou|t files |
|000047a0| 6f 6e 20 74 68 65 20 4d | 61 63 2e 20 20 4f 74 68 |on the M|ac. Oth|
|000047b0| 65 72 20 74 68 61 6e 20 | 49 6e 73 69 64 65 20 4d |er than |Inside M|
|000047c0| 61 63 2c 20 61 72 65 20 | 74 68 65 72 65 20 61 6e |ac, are |there an|
|000047d0| 79 20 0d 67 6f 6f 64 20 | 62 6f 6f 6b 73 20 6f 75 |y .good |books ou|
|000047e0| 74 20 74 68 65 72 65 20 | 74 68 61 74 20 63 6f 76 |t there |that cov|
|000047f0| 65 72 20 74 68 69 73 20 | 69 73 73 75 65 3f 0d 0d |er this |issue?..|
|00004800| 0d 2b 2b 2b 2b 2b 2b 2b | 2b 2b 2b 2b 2b 2b 2b 2b |.+++++++|++++++++|
|00004810| 2b 2b 2b 2b 2b 2b 2b 2b | 2b 2b 2b 2b 0d 0d 3e 46 |++++++++|++++..>F|
|00004820| 72 6f 6d 20 72 6d 61 68 | 40 70 61 6e 69 78 2e 63 |rom rmah|@panix.c|
|00004830| 6f 6d 20 28 52 6f 62 65 | 72 74 20 4d 61 68 29 0d |om (Robe|rt Mah).|
|00004840| 44 61 74 65 3a 20 53 61 | 74 2c 20 30 39 20 4a 75 |Date: Sa|t, 09 Ju|
|00004850| 6c 20 31 39 39 34 20 31 | 38 3a 32 36 3a 32 31 20 |l 1994 1|8:26:21 |
|00004860| 2d 30 35 30 30 0d 4f 72 | 67 61 6e 69 7a 61 74 69 |-0500.Or|ganizati|
|00004870| 6f 6e 3a 20 4f 6e 65 20 | 53 74 65 70 20 42 65 79 |on: One |Step Bey|
|00004880| 6f 6e 64 0d 0d 6a 62 65 | 65 67 68 6c 79 40 75 2e |ond..jbe|eghly@u.|
|00004890| 77 61 73 68 69 6e 67 74 | 6f 6e 2e 65 64 75 20 28 |washingt|on.edu (|
|000048a0| 4a 65 66 66 20 42 65 65 | 67 68 6c 79 29 20 77 72 |Jeff Bee|ghly) wr|
|000048b0| 6f 74 65 3a 0d 0d 29 20 | 4f 4b 2c 20 49 20 63 6f |ote:..) |OK, I co|
|000048c0| 6d 65 20 66 72 6f 6d 20 | 61 20 75 6e 69 78 20 26 |me from |a unix &|
|000048d0| 20 61 20 44 4f 53 20 62 | 61 63 6b 67 72 6f 75 6e | a DOS b|ackgroun|
|000048e0| 64 2c 20 61 6e 64 20 49 | 27 6d 20 74 72 79 69 6e |d, and I|'m tryin|
|000048f0| 67 20 74 6f 20 6c 65 61 | 72 6e 0d 29 20 4d 41 43 |g to lea|rn.) MAC|
|00004900| 20 70 72 6f 67 72 61 6d | 6d 69 6e 67 2e 20 20 4d | program|ming. M|
|00004910| 79 20 6c 61 74 65 73 74 | 20 62 61 74 74 6c 65 20 |y latest| battle |
|00004920| 68 61 73 20 62 65 65 6e | 20 77 69 74 68 20 74 68 |has been| with th|
|00004930| 65 20 4d 61 63 20 66 69 | 6c 65 20 73 79 73 74 65 |e Mac fi|le syste|
|00004940| 6d 2e 0d 29 20 2e 2e 2e | 0d 29 20 57 65 6c 6c 2c |m..) ...|.) Well,|
|00004950| 20 49 20 6b 6e 6f 77 20 | 74 68 61 74 20 72 65 70 | I know |that rep|
|00004960| 6c 79 2e 73 66 46 69 6c | 65 2e 6e 61 6d 65 20 63 |ly.sfFil|e.name c|
|00004970| 6f 6e 74 61 69 6e 73 20 | 6a 75 73 74 20 74 68 65 |ontains |just the|
|00004980| 20 6e 61 6d 65 20 6f 66 | 20 74 68 65 0d 29 20 66 | name of| the.) f|
|00004990| 69 6c 65 2c 20 61 6e 64 | 20 69 66 20 49 20 75 6e |ile, and| if I un|
|000049a0| 64 65 72 20 73 74 61 6e | 64 20 63 6f 72 72 65 63 |der stan|d correc|
|000049b0| 74 6c 79 2c 20 74 68 65 | 20 72 6f 6f 74 20 64 72 |tly, the| root dr|
|000049c0| 69 76 65 20 28 6f 72 20 | 74 68 65 20 76 6f 6c 75 |ive (or |the volu|
|000049d0| 6d 65 0d 29 20 72 65 66 | 65 72 65 6e 63 65 29 20 |me.) ref|erence) |
|000049e0| 69 73 20 73 74 6f 72 65 | 64 20 61 73 20 61 20 6e |is store|d as a n|
|000049f0| 75 6d 62 65 72 2c 20 61 | 6e 64 20 74 68 65 20 64 |umber, a|nd the d|
|00004a00| 69 72 65 63 74 6f 72 79 | 20 74 68 61 74 20 74 68 |irectory| that th|
|00004a10| 65 20 66 69 6c 65 20 77 | 61 73 0d 29 20 69 6e 20 |e file w|as.) in |
|00004a20| 69 73 20 61 6c 73 6f 20 | 73 74 6f 72 65 64 20 61 |is also |stored a|
|00004a30| 73 20 61 20 6e 75 6d 62 | 65 72 2e 20 20 4f 4b 2c |s a numb|er. OK,|
|00004a40| 20 66 69 6e 65 2e 20 20 | 42 75 74 20 68 6f 77 20 | fine. |But how |
|00004a50| 64 6f 20 49 20 67 65 74 | 20 74 68 65 20 74 65 78 |do I get| the tex|
|00004a60| 74 0d 29 20 6f 66 20 74 | 68 65 20 6c 6f 63 61 74 |t.) of t|he locat|
|00004a70| 69 6f 6e 3f 0d 29 20 0d | 29 20 49 6e 20 6f 74 68 |ion?.) .|) In oth|
|00004a80| 65 72 20 77 6f 72 64 73 | 2c 20 68 6f 77 20 63 61 |er words|, how ca|
|00004a90| 6e 20 49 20 75 73 65 20 | 74 68 65 20 76 52 65 66 |n I use |the vRef|
|00004aa0| 4e 75 6d 2c 20 70 61 72 | 49 44 2c 20 26 20 6e 61 |Num, par|ID, & na|
|00004ab0| 6d 65 20 6d 65 6e 62 65 | 72 73 20 74 6f 0d 29 20 |me menbe|rs to.) |
|00004ac0| 67 65 74 20 74 68 65 20 | 73 74 72 69 6e 67 20 22 |get the |string "|
|00004ad0| 49 6e 74 65 72 6e 61 6c | 3a 41 70 70 6c 69 63 61 |Internal|:Applica|
|00004ae0| 74 69 6f 6e 73 3a 41 64 | 6f 62 65 20 50 68 6f 74 |tions:Ad|obe Phot|
|00004af0| 6f 73 68 6f 70 3a 50 68 | 6f 74 6f 73 68 6f 70 22 |oshop:Ph|otoshop"|
|00004b00| 3f 0d 0d 59 6f 75 20 73 | 68 6f 75 6c 64 20 74 68 |?..You s|hould th|
|00004b10| 69 6e 6b 20 63 61 72 65 | 66 75 6c 6c 79 20 62 65 |ink care|fully be|
|00004b20| 66 6f 72 65 20 75 73 69 | 6e 67 20 66 75 6c 6c 20 |fore usi|ng full |
|00004b30| 70 61 74 68 6e 61 6d 65 | 73 20 69 6e 20 6e 6f 6e |pathname|s in non|
|00004b40| 2d 64 65 76 65 6c 6f 70 | 65 72 0d 6f 72 69 65 6e |-develop|er.orien|
|00004b50| 74 65 64 20 61 70 70 6c | 69 63 61 74 69 6f 6e 73 |ted appl|ications|
|00004b60| 2e 20 20 55 6e 6c 69 6b | 65 20 55 4e 49 58 20 61 |. Unlik|e UNIX a|
|00004b70| 6e 64 20 44 4f 53 2c 20 | 4d 61 63 20 75 73 65 72 |nd DOS, |Mac user|
|00004b80| 73 20 63 68 61 6e 67 65 | 20 74 68 65 69 72 20 0d |s change| their .|
|00004b90| 76 6f 6c 75 6d 65 2c 20 | 66 6f 6c 64 65 72 20 61 |volume, |folder a|
|00004ba0| 6e 64 20 66 69 6c 65 20 | 6e 61 6d 65 73 20 61 6e |nd file |names an|
|00004bb0| 64 20 6d 6f 76 65 20 66 | 69 6c 65 73 20 61 6e 64 |d move f|iles and|
|00004bc0| 20 66 6f 6c 64 65 72 73 | 20 61 72 6f 75 6e 64 20 | folders| around |
|00004bd0| 77 69 74 68 0d 61 62 61 | 6e 64 6f 6e 20 61 6e 64 |with.aba|ndon and|
|00004be0| 20 77 61 6e 74 6f 6e 20 | 64 69 73 72 65 67 61 72 | wanton |disregar|
|00004bf0| 64 20 66 6f 72 20 70 72 | 6f 67 72 61 6d 6d 65 72 |d for pr|ogrammer|
|00004c00| 27 73 20 70 65 72 63 6f | 6e 63 65 70 74 69 6f 6e |'s perco|nception|
|00004c10| 73 2e 0d 0d 49 66 20 79 | 6f 75 27 72 65 20 74 72 |s...If y|ou're tr|
|00004c20| 79 69 6e 67 20 74 6f 20 | 73 61 76 65 20 74 68 65 |ying to |save the|
|00004c30| 20 66 69 6c 65 27 73 20 | 6c 6f 63 61 74 69 6f 6e | file's |location|
|00004c40| 2c 20 79 6f 75 20 73 68 | 6f 75 6c 64 20 52 45 41 |, you sh|ould REA|
|00004c50| 4c 4c 59 20 74 68 69 6e | 6b 0d 61 62 6f 75 74 20 |LLY thin|k.about |
|00004c60| 75 73 69 6e 67 20 61 6c | 69 61 73 65 73 20 69 6e |using al|iases in|
|00004c70| 73 74 65 61 64 2e 20 20 | 4f 6e 65 20 6f 66 20 74 |stead. |One of t|
|00004c80| 68 65 20 66 65 77 20 74 | 69 6d 65 73 20 49 20 63 |he few t|imes I c|
|00004c90| 61 6e 20 74 68 69 6e 6b | 20 6f 66 20 74 6f 20 75 |an think| of to u|
|00004ca0| 73 65 0d 66 75 6c 6c 20 | 70 61 74 68 6e 61 6d 65 |se.full |pathname|
|00004cb0| 73 20 69 73 20 74 6f 20 | 70 61 73 73 20 69 74 20 |s is to |pass it |
|00004cc0| 74 6f 20 74 68 65 20 73 | 74 64 69 6f 20 66 6f 70 |to the s|tdio fop|
|00004cd0| 65 6e 28 29 20 66 75 6e | 63 74 69 6f 6e 2e 0d 0d |en() fun|ction...|
|00004ce0| 49 66 20 79 6f 75 20 72 | 65 61 6c 6c 79 20 64 6f |If you r|eally do|
|00004cf0| 20 6e 65 65 64 20 74 6f | 20 67 65 74 20 74 68 65 | need to| get the|
|00004d00| 20 66 75 6c 6c 20 70 61 | 74 68 20 6e 61 6d 65 2c | full pa|th name,|
|00004d10| 20 74 68 65 72 65 20 69 | 73 20 73 61 6d 70 6c 65 | there i|s sample|
|00004d20| 20 63 6f 64 65 20 0d 66 | 72 6f 6d 20 41 70 70 6c | code .f|rom Appl|
|00004d30| 65 20 61 76 61 69 6c 61 | 62 6c 65 20 6f 6e 20 74 |e availa|ble on t|
|00004d40| 68 65 20 64 65 76 65 6c | 6f 70 65 72 20 43 44 27 |he devel|oper CD'|
|00004d50| 73 20 61 6e 64 20 61 74 | 3a 0d 0d 20 20 66 74 70 |s and at|:.. ftp|
|00004d60| 3a 2f 2f 66 74 70 2e 61 | 70 70 6c 65 2e 63 6f 6d |://ftp.a|pple.com|
|00004d70| 2f 64 74 73 2f 6d 61 63 | 2f 73 63 2f 73 6e 69 70 |/dts/mac|/sc/snip|
|00004d80| 70 65 74 73 2f 66 69 6c | 65 73 2f 0d 0d 49 74 27 |pets/fil|es/..It'|
|00004d90| 73 20 62 61 73 69 63 61 | 6c 6c 79 20 61 20 6d 61 |s basica|lly a ma|
|00004da0| 74 74 65 72 20 6f 66 20 | 77 61 6c 6b 69 6e 67 20 |tter of |walking |
|00004db0| 75 70 20 74 68 65 20 64 | 69 72 65 63 74 6f 72 79 |up the d|irectory|
|00004dc0| 20 74 72 65 65 20 75 73 | 69 6e 67 20 72 65 70 65 | tree us|ing repe|
|00004dd0| 61 74 65 64 0d 63 61 6c | 6c 73 20 74 6f 20 5f 50 |ated.cal|ls to _P|
|00004de0| 42 47 65 74 43 61 74 49 | 6e 66 6f 2e 20 20 4f 68 |BGetCatI|nfo. Oh|
|00004df0| 20 61 6e 64 20 72 65 6d | 65 6d 62 65 72 2c 20 79 | and rem|ember, y|
|00004e00| 6f 75 20 63 6f 75 6c 64 | 20 62 65 20 72 75 6e 6e |ou could| be runn|
|00004e10| 69 6e 67 20 75 6e 64 65 | 72 0d 41 2f 55 58 20 73 |ing unde|r.A/UX s|
|00004e20| 6f 20 63 68 65 63 6b 20 | 62 65 66 6f 72 65 20 61 |o check |before a|
|00004e30| 73 73 75 6d 69 6e 67 20 | 22 3a 22 20 69 73 20 74 |ssuming |":" is t|
|00004e40| 68 65 20 70 61 74 68 6e | 61 6d 65 20 64 65 6c 69 |he pathn|ame deli|
|00004e50| 6d 69 74 65 72 2e 0d 0d | 43 68 65 65 72 73 2c 0d |miter...|Cheers,.|
|00004e60| 52 6f 62 0d 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |Rob.____|________|
|00004e70| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00004e80| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00004e90| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00004ea0| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 0d 52 6f 62 65 72 74 |________|_.Robert|
|00004eb0| 20 53 2e 20 4d 61 68 20 | 20 20 20 3a 20 20 4d 61 | S. Mah | : Ma|
|00004ec0| 63 69 6e 74 6f 73 68 20 | 73 6f 66 74 77 61 72 65 |cintosh |software|
|00004ed0| 20 64 65 76 65 6c 6f 70 | 6d 65 6e 74 20 20 3a 20 | develop|ment : |
|00004ee0| 20 20 20 32 31 32 2e 39 | 34 37 2e 35 36 30 37 0d | 212.9|47.5607.|
|00004ef0| 4f 6e 65 20 53 74 65 70 | 20 42 65 79 6f 6e 64 20 |One Step| Beyond |
|00004f00| 20 3a 20 20 20 20 20 20 | 61 6e 64 20 6e 65 74 77 | : |and netw|
|00004f10| 6f 72 6b 20 63 6f 6e 73 | 75 6c 74 69 6e 67 20 20 |ork cons|ulting |
|00004f20| 20 20 20 20 3a 20 20 72 | 6d 61 68 40 70 61 6e 69 | : r|mah@pani|
|00004f30| 78 2e 63 6f 6d 0d 0d 2b | 2b 2b 2b 2b 2b 2b 2b 2b |x.com..+|++++++++|
|00004f40| 2b 2b 2b 2b 2b 2b 2b 2b | 2b 2b 2b 2b 2b 2b 2b 2b |++++++++|++++++++|
|00004f50| 2b 2b 0d 0d 3e 46 72 6f | 6d 20 62 68 6f 72 6c 69 |++..>Fro|m bhorli|
|00004f60| 6e 67 40 6d 61 69 6c 2e | 74 72 69 6e 63 6f 6c 6c |ng@mail.|trincoll|
|00004f70| 2e 65 64 75 20 28 42 72 | 79 61 6e 20 48 6f 72 6c |.edu (Br|yan Horl|
|00004f80| 69 6e 67 29 0d 44 61 74 | 65 3a 20 53 61 74 2c 20 |ing).Dat|e: Sat, |
|00004f90| 30 39 20 4a 75 6c 20 31 | 39 39 34 20 31 39 3a 35 |09 Jul 1|994 19:5|
|00004fa0| 31 3a 30 30 20 2d 30 35 | 30 30 0d 4f 72 67 61 6e |1:00 -05|00.Organ|
|00004fb0| 69 7a 61 74 69 6f 6e 3a | 20 54 72 69 6e 69 74 79 |ization:| Trinity|
|00004fc0| 20 43 6f 6c 6c 65 67 65 | 0d 0d 49 6e 20 61 72 74 | College|..In art|
|00004fd0| 69 63 6c 65 20 3c 72 6d | 61 68 2d 30 39 30 37 39 |icle <rm|ah-09079|
|00004fe0| 34 31 38 32 36 32 31 30 | 30 30 31 40 72 6d 61 68 |41826210|001@rmah|
|00004ff0| 2e 64 69 61 6c 75 70 2e | 61 63 63 65 73 73 2e 6e |.dialup.|access.n|
|00005000| 65 74 3e 2c 20 72 6d 61 | 68 40 70 61 6e 69 78 2e |et>, rma|h@panix.|
|00005010| 63 6f 6d 0d 28 52 6f 62 | 65 72 74 20 4d 61 68 29 |com.(Rob|ert Mah)|
|00005020| 20 77 72 6f 74 65 3a 0d | 0d 3e 20 6a 62 65 65 67 | wrote:.|.> jbeeg|
|00005030| 68 6c 79 40 75 2e 77 61 | 73 68 69 6e 67 74 6f 6e |hly@u.wa|shington|
|00005040| 2e 65 64 75 20 28 4a 65 | 66 66 20 42 65 65 67 68 |.edu (Je|ff Beegh|
|00005050| 6c 79 29 20 77 72 6f 74 | 65 3a 0d 3e 20 0d 3e 20 |ly) wrot|e:.> .> |
|00005060| 29 20 4f 4b 2c 20 49 20 | 63 6f 6d 65 20 66 72 6f |) OK, I |come fro|
|00005070| 6d 20 61 20 75 6e 69 78 | 20 26 20 61 20 44 4f 53 |m a unix| & a DOS|
|00005080| 20 62 61 63 6b 67 72 6f | 75 6e 64 2c 20 61 6e 64 | backgro|und, and|
|00005090| 20 49 27 6d 20 74 72 79 | 69 6e 67 20 74 6f 20 6c | I'm try|ing to l|
|000050a0| 65 61 72 6e 0d 3e 20 29 | 20 4d 41 43 20 70 72 6f |earn.> )| MAC pro|
|000050b0| 67 72 61 6d 6d 69 6e 67 | 2e 20 20 4d 79 20 6c 61 |gramming|. My la|
|000050c0| 74 65 73 74 20 62 61 74 | 74 6c 65 20 68 61 73 20 |test bat|tle has |
|000050d0| 62 65 65 6e 20 77 69 74 | 68 20 74 68 65 20 4d 61 |been wit|h the Ma|
|000050e0| 63 20 66 69 6c 65 20 73 | 79 73 74 65 6d 2e 0d 3e |c file s|ystem..>|
|000050f0| 20 29 20 2e 2e 2e 0d 3e | 20 29 20 57 65 6c 6c 2c | ) ....>| ) Well,|
|00005100| 20 49 20 6b 6e 6f 77 20 | 74 68 61 74 20 72 65 70 | I know |that rep|
|00005110| 6c 79 2e 73 66 46 69 6c | 65 2e 6e 61 6d 65 20 63 |ly.sfFil|e.name c|
|00005120| 6f 6e 74 61 69 6e 73 20 | 6a 75 73 74 20 74 68 65 |ontains |just the|
|00005130| 20 6e 61 6d 65 20 6f 66 | 20 74 68 65 0d 3e 20 29 | name of| the.> )|
|00005140| 20 66 69 6c 65 2c 20 61 | 6e 64 20 69 66 20 49 20 | file, a|nd if I |
|00005150| 75 6e 64 65 72 20 73 74 | 61 6e 64 20 63 6f 72 72 |under st|and corr|
|00005160| 65 63 74 6c 79 2c 20 74 | 68 65 20 72 6f 6f 74 20 |ectly, t|he root |
|00005170| 64 72 69 76 65 20 28 6f | 72 20 74 68 65 20 76 6f |drive (o|r the vo|
|00005180| 6c 75 6d 65 0d 3e 20 29 | 20 72 65 66 65 72 65 6e |lume.> )| referen|
|00005190| 63 65 29 20 69 73 20 73 | 74 6f 72 65 64 20 61 73 |ce) is s|tored as|
|000051a0| 20 61 20 6e 75 6d 62 65 | 72 2c 20 61 6e 64 20 74 | a numbe|r, and t|
|000051b0| 68 65 20 64 69 72 65 63 | 74 6f 72 79 20 74 68 61 |he direc|tory tha|
|000051c0| 74 20 74 68 65 20 66 69 | 6c 65 20 77 61 73 0d 3e |t the fi|le was.>|
|000051d0| 20 29 20 69 6e 20 69 73 | 20 61 6c 73 6f 20 73 74 | ) in is| also st|
|000051e0| 6f 72 65 64 20 61 73 20 | 61 20 6e 75 6d 62 65 72 |ored as |a number|
|000051f0| 2e 20 20 4f 4b 2c 20 66 | 69 6e 65 2e 20 20 42 75 |. OK, f|ine. Bu|
|00005200| 74 20 68 6f 77 20 64 6f | 20 49 20 67 65 74 20 74 |t how do| I get t|
|00005210| 68 65 20 74 65 78 74 0d | 3e 20 29 20 6f 66 20 74 |he text.|> ) of t|
|00005220| 68 65 20 6c 6f 63 61 74 | 69 6f 6e 3f 0d 3e 20 29 |he locat|ion?.> )|
|00005230| 20 0d 3e 20 29 20 49 6e | 20 6f 74 68 65 72 20 77 | .> ) In| other w|
|00005240| 6f 72 64 73 2c 20 68 6f | 77 20 63 61 6e 20 49 20 |ords, ho|w can I |
|00005250| 75 73 65 20 74 68 65 20 | 76 52 65 66 4e 75 6d 2c |use the |vRefNum,|
|00005260| 20 70 61 72 49 44 2c 20 | 26 20 6e 61 6d 65 20 6d | parID, |& name m|
|00005270| 65 6e 62 65 72 73 20 74 | 6f 0d 3e 20 29 20 67 65 |enbers t|o.> ) ge|
|00005280| 74 20 74 68 65 20 73 74 | 72 69 6e 67 20 22 49 6e |t the st|ring "In|
|00005290| 74 65 72 6e 61 6c 3a 41 | 70 70 6c 69 63 61 74 69 |ternal:A|pplicati|
|000052a0| 6f 6e 73 3a 41 64 6f 62 | 65 20 50 68 6f 74 6f 73 |ons:Adob|e Photos|
|000052b0| 68 6f 70 3a 50 68 6f 74 | 6f 73 68 6f 70 22 3f 0d |hop:Phot|oshop"?.|
|000052c0| 3e 20 0d 3e 20 59 6f 75 | 20 73 68 6f 75 6c 64 20 |> .> You| should |
|000052d0| 74 68 69 6e 6b 20 63 61 | 72 65 66 75 6c 6c 79 20 |think ca|refully |
|000052e0| 62 65 66 6f 72 65 20 75 | 73 69 6e 67 20 66 75 6c |before u|sing ful|
|000052f0| 6c 20 70 61 74 68 6e 61 | 6d 65 73 20 69 6e 20 6e |l pathna|mes in n|
|00005300| 6f 6e 2d 64 65 76 65 6c | 6f 70 65 72 0d 3e 20 6f |on-devel|oper.> o|
|00005310| 72 69 65 6e 74 65 64 20 | 61 70 70 6c 69 63 61 74 |riented |applicat|
|00005320| 69 6f 6e 73 2e 20 20 55 | 6e 6c 69 6b 65 20 55 4e |ions. U|nlike UN|
|00005330| 49 58 20 61 6e 64 20 44 | 4f 53 2c 20 4d 61 63 20 |IX and D|OS, Mac |
|00005340| 75 73 65 72 73 20 63 68 | 61 6e 67 65 20 74 68 65 |users ch|ange the|
|00005350| 69 72 20 0d 3e 20 76 6f | 6c 75 6d 65 2c 20 66 6f |ir .> vo|lume, fo|
|00005360| 6c 64 65 72 20 61 6e 64 | 20 66 69 6c 65 20 6e 61 |lder and| file na|
|00005370| 6d 65 73 20 61 6e 64 20 | 6d 6f 76 65 20 66 69 6c |mes and |move fil|
|00005380| 65 73 20 61 6e 64 20 66 | 6f 6c 64 65 72 73 20 61 |es and f|olders a|
|00005390| 72 6f 75 6e 64 20 77 69 | 74 68 0d 3e 20 61 62 61 |round wi|th.> aba|
|000053a0| 6e 64 6f 6e 20 61 6e 64 | 20 77 61 6e 74 6f 6e 20 |ndon and| wanton |
|000053b0| 64 69 73 72 65 67 61 72 | 64 20 66 6f 72 20 70 72 |disregar|d for pr|
|000053c0| 6f 67 72 61 6d 6d 65 72 | 27 73 20 70 65 72 63 6f |ogrammer|'s perco|
|000053d0| 6e 63 65 70 74 69 6f 6e | 73 2e 0d 3e 20 0d 3e 20 |nception|s..> .> |
|000053e0| 49 66 20 79 6f 75 27 72 | 65 20 74 72 79 69 6e 67 |If you'r|e trying|
|000053f0| 20 74 6f 20 73 61 76 65 | 20 74 68 65 20 66 69 6c | to save| the fil|
|00005400| 65 27 73 20 6c 6f 63 61 | 74 69 6f 6e 2c 20 79 6f |e's loca|tion, yo|
|00005410| 75 20 73 68 6f 75 6c 64 | 20 52 45 41 4c 4c 59 20 |u should| REALLY |
|00005420| 74 68 69 6e 6b 0d 3e 20 | 61 62 6f 75 74 20 75 73 |think.> |about us|
|00005430| 69 6e 67 20 61 6c 69 61 | 73 65 73 20 69 6e 73 74 |ing alia|ses inst|
|00005440| 65 61 64 2e 20 20 4f 6e | 65 20 6f 66 20 74 68 65 |ead. On|e of the|
|00005450| 20 66 65 77 20 74 69 6d | 65 73 20 49 20 63 61 6e | few tim|es I can|
|00005460| 20 74 68 69 6e 6b 20 6f | 66 20 74 6f 20 75 73 65 | think o|f to use|
|00005470| 0d 3e 20 66 75 6c 6c 20 | 70 61 74 68 6e 61 6d 65 |.> full |pathname|
|00005480| 73 20 69 73 20 74 6f 20 | 70 61 73 73 20 69 74 20 |s is to |pass it |
|00005490| 74 6f 20 74 68 65 20 73 | 74 64 69 6f 20 66 6f 70 |to the s|tdio fop|
|000054a0| 65 6e 28 29 20 66 75 6e | 63 74 69 6f 6e 2e 0d 3e |en() fun|ction..>|
|000054b0| 20 0d 3e 20 49 66 20 79 | 6f 75 20 72 65 61 6c 6c | .> If y|ou reall|
|000054c0| 79 20 64 6f 20 6e 65 65 | 64 20 74 6f 20 67 65 74 |y do nee|d to get|
|000054d0| 20 74 68 65 20 66 75 6c | 6c 20 70 61 74 68 20 6e | the ful|l path n|
|000054e0| 61 6d 65 2c 20 74 68 65 | 72 65 20 69 73 20 73 61 |ame, the|re is sa|
|000054f0| 6d 70 6c 65 20 63 6f 64 | 65 20 0d 3e 20 66 72 6f |mple cod|e .> fro|
|00005500| 6d 20 41 70 70 6c 65 20 | 61 76 61 69 6c 61 62 6c |m Apple |availabl|
|00005510| 65 20 6f 6e 20 74 68 65 | 20 64 65 76 65 6c 6f 70 |e on the| develop|
|00005520| 65 72 20 43 44 27 73 20 | 61 6e 64 20 61 74 3a 0d |er CD's |and at:.|
|00005530| 3e 20 0d 3e 20 20 20 66 | 74 70 3a 2f 2f 66 74 70 |> .> f|tp://ftp|
|00005540| 2e 61 70 70 6c 65 2e 63 | 6f 6d 2f 64 74 73 2f 6d |.apple.c|om/dts/m|
|00005550| 61 63 2f 73 63 2f 73 6e | 69 70 70 65 74 73 2f 66 |ac/sc/sn|ippets/f|
|00005560| 69 6c 65 73 2f 0d 3e 20 | 0d 3e 20 49 74 27 73 20 |iles/.> |.> It's |
|00005570| 62 61 73 69 63 61 6c 6c | 79 20 61 20 6d 61 74 74 |basicall|y a matt|
|00005580| 65 72 20 6f 66 20 77 61 | 6c 6b 69 6e 67 20 75 70 |er of wa|lking up|
|00005590| 20 74 68 65 20 64 69 72 | 65 63 74 6f 72 79 20 74 | the dir|ectory t|
|000055a0| 72 65 65 20 75 73 69 6e | 67 20 72 65 70 65 61 74 |ree usin|g repeat|
|000055b0| 65 64 0d 3e 20 63 61 6c | 6c 73 20 74 6f 20 5f 50 |ed.> cal|ls to _P|
|000055c0| 42 47 65 74 43 61 74 49 | 6e 66 6f 2e 20 20 4f 68 |BGetCatI|nfo. Oh|
|000055d0| 20 61 6e 64 20 72 65 6d | 65 6d 62 65 72 2c 20 79 | and rem|ember, y|
|000055e0| 6f 75 20 63 6f 75 6c 64 | 20 62 65 20 72 75 6e 6e |ou could| be runn|
|000055f0| 69 6e 67 20 75 6e 64 65 | 72 0d 3e 20 41 2f 55 58 |ing unde|r.> A/UX|
|00005600| 20 73 6f 20 63 68 65 63 | 6b 20 62 65 66 6f 72 65 | so chec|k before|
|00005610| 20 61 73 73 75 6d 69 6e | 67 20 22 3a 22 20 69 73 | assumin|g ":" is|
|00005620| 20 74 68 65 20 70 61 74 | 68 6e 61 6d 65 20 64 65 | the pat|hname de|
|00005630| 6c 69 6d 69 74 65 72 2e | 0d 3e 20 0d 0d 4c 6f 6f |limiter.|.> ..Loo|
|00005640| 6b 69 6e 67 20 61 74 20 | 74 68 69 73 20 69 6e 20 |king at |this in |
|00005650| 72 65 76 65 72 73 65 2c | 20 68 6f 77 20 63 61 6e |reverse,| how can|
|00005660| 20 49 20 75 73 65 20 61 | 20 66 75 6c 6c 20 70 61 | I use a| full pa|
|00005670| 74 68 6e 61 6d 65 20 74 | 6f 20 61 63 63 65 73 73 |thname t|o access|
|00005680| 20 61 20 66 69 6c 65 0d | 6f 72 20 66 6f 6c 64 65 | a file.|or folde|
|00005690| 72 20 6c 6f 63 61 74 69 | 6f 6e 20 74 6f 20 73 61 |r locati|on to sa|
|000056a0| 76 65 20 6f 72 20 72 65 | 61 64 20 66 72 6f 6d 3f |ve or re|ad from?|
|000056b0| 20 20 49 27 6d 20 77 72 | 69 74 69 6e 67 20 61 6e | I'm wr|iting an|
|000056c0| 20 6f 6e 2d 6c 69 6e 65 | 0d 61 70 70 6c 69 63 61 | on-line|.applica|
|000056d0| 74 69 6f 6e 20 66 6f 72 | 6d 20 69 6e 20 77 68 69 |tion for|m in whi|
|000056e0| 63 68 20 49 27 6d 20 67 | 6f 69 6e 67 20 74 6f 20 |ch I'm g|oing to |
|000056f0| 68 61 76 65 20 74 68 65 | 20 72 65 73 75 6c 74 73 |have the| results|
|00005700| 20 73 61 76 65 64 20 74 | 6f 20 61 20 73 65 72 76 | saved t|o a serv|
|00005710| 65 72 0d 6f 6e 20 74 68 | 65 20 6e 65 74 77 6f 72 |er.on th|e networ|
|00005720| 6b 20 28 77 65 27 72 65 | 20 63 75 72 72 65 6e 74 |k (we're| current|
|00005730| 6c 79 20 67 72 61 70 70 | 6c 69 6e 67 20 77 69 74 |ly grapp|ling wit|
|00005740| 68 20 6d 6f 75 6e 74 69 | 6e 67 20 73 61 69 64 20 |h mounti|ng said |
|00005750| 73 65 72 76 65 72 29 0d | 77 69 74 68 6f 75 74 20 |server).|without |
|00005760| 75 73 65 72 20 69 6e 74 | 65 72 76 65 6e 74 69 6f |user int|erventio|
|00005770| 6e 20 28 73 6f 20 53 74 | 61 6e 64 61 72 64 50 75 |n (so St|andardPu|
|00005780| 74 46 69 6c 65 20 77 6f | 6e 27 74 20 77 6f 72 6b |tFile wo|n't work|
|00005790| 29 2c 20 61 6e 64 20 74 | 68 65 20 70 61 74 68 20 |), and t|he path |
|000057a0| 74 6f 0d 74 68 69 73 20 | 73 70 6f 74 20 77 69 6c |to.this |spot wil|
|000057b0| 6c 20 61 6c 77 61 79 73 | 20 62 65 20 74 68 65 20 |l always| be the |
|000057c0| 73 61 6d 65 2e 20 20 49 | 20 68 61 76 65 20 79 65 |same. I| have ye|
|000057d0| 74 20 74 6f 20 66 69 6e | 64 20 61 6e 20 65 61 73 |t to fin|d an eas|
|000057e0| 79 20 77 61 79 20 74 6f | 0d 73 70 65 63 69 66 79 |y way to|.specify|
|000057f0| 20 74 68 69 73 20 70 61 | 74 68 20 69 6e 20 61 20 | this pa|th in a |
|00005800| 75 73 65 61 62 6c 65 20 | 66 6f 72 6d 2c 20 61 6c |useable |form, al|
|00005810| 74 68 6f 75 67 68 20 54 | 68 69 6e 6b 20 52 65 66 |though T|hink Ref|
|00005820| 20 73 61 79 73 20 74 68 | 61 74 20 69 74 20 63 61 | says th|at it ca|
|00005830| 6e 0d 62 65 20 64 6f 6e | 65 2e 20 20 44 6f 65 73 |n.be don|e. Does|
|00005840| 20 61 6e 79 6f 6e 65 20 | 68 61 76 65 20 61 6e 79 | anyone |have any|
|00005850| 20 73 75 67 67 65 73 74 | 69 6f 6e 73 3f 20 20 54 | suggest|ions? T|
|00005860| 68 61 6e 6b 73 2e 0d 0d | 3e 20 43 68 65 65 72 73 |hanks...|> Cheers|
|00005870| 2c 0d 3e 20 52 6f 62 0d | 3e 20 5f 5f 5f 5f 5f 5f |,.> Rob.|> ______|
|00005880| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00005890| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|000058a0| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|000058b0| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 0d |________|_______.|
|000058c0| 3e 20 52 6f 62 65 72 74 | 20 53 2e 20 4d 61 68 20 |> Robert| S. Mah |
|000058d0| 20 20 20 3a 20 20 4d 61 | 63 69 6e 74 6f 73 68 20 | : Ma|cintosh |
|000058e0| 73 6f 66 74 77 61 72 65 | 20 64 65 76 65 6c 6f 70 |software| develop|
|000058f0| 6d 65 6e 74 20 20 3a 20 | 20 20 20 32 31 32 2e 39 |ment : | 212.9|
|00005900| 34 37 2e 35 36 30 37 0d | 3e 20 4f 6e 65 20 53 74 |47.5607.|> One St|
|00005910| 65 70 20 42 65 79 6f 6e | 64 20 20 3a 20 20 20 20 |ep Beyon|d : |
|00005920| 20 20 61 6e 64 20 6e 65 | 74 77 6f 72 6b 20 63 6f | and ne|twork co|
|00005930| 6e 73 75 6c 74 69 6e 67 | 20 20 20 20 20 20 3a 20 |nsulting| : |
|00005940| 20 72 6d 61 68 40 70 61 | 6e 69 78 2e 63 6f 6d 0d | rmah@pa|nix.com.|
|00005950| 0d 2d 3d 2d 3d 2d 3d 2d | 3d 2d 3d 2d 3d 2d 3d 2d |.-=-=-=-|=-=-=-=-|
|00005960| 3d 2d 3d 2d 3d 2d 3d 2d | 3d 2d 3d 2d 3d 2d 3d 2d |=-=-=-=-|=-=-=-=-|
|00005970| 3d 2d 3d 2d 3d 2d 3d 2d | 3d 2d 3d 2d 3d 2d 3d 2d |=-=-=-=-|=-=-=-=-|
|00005980| 3d 2d 3d 2d 3d 2d 3d 2d | 3d 2d 3d 2d 0d 20 20 20 |=-=-=-=-|=-=-. |
|00005990| 20 2d 2d 42 72 79 61 6e | 20 48 6f 72 6c 69 6e 67 | --Bryan| Horling|
|000059a0| 2d 2d 20 20 20 20 20 20 | 7c 20 3e 3e 62 68 6f 72 |-- || >>bhor|
|000059b0| 6c 69 6e 67 40 6d 61 69 | 6c 2e 74 72 69 6e 63 6f |ling@mai|l.trinco|
|000059c0| 6c 6c 2e 65 64 75 3c 3c | 0d 20 20 20 20 2d 48 65 |ll.edu<<|. -He|
|000059d0| 61 64 20 43 6f 6e 73 75 | 6c 74 61 6e 74 2d 20 20 |ad Consu|ltant- |
|000059e0| 20 20 20 20 7c 20 20 20 | 20 54 72 69 6e 69 74 79 | | | Trinity|
|000059f0| 20 43 6f 6c 6c 65 67 65 | 2c 20 23 31 37 32 30 20 | College|, #1720 |
|00005a00| 20 0d 2d 41 20 76 61 6c | 75 62 6c 65 20 6c 6f 77 | .-A val|uble low|
|00005a10| 20 66 61 74 20 73 6f 75 | 72 63 65 2d 20 7c 20 20 | fat sou|rce- | |
|00005a20| 20 20 33 30 30 20 53 75 | 6d 6d 69 74 20 53 74 20 | 300 Su|mmit St |
|00005a30| 20 0d 2d 6f 66 20 70 72 | 6f 74 65 69 6e 20 61 6e | .-of pr|otein an|
|00005a40| 64 20 76 69 74 61 6d 69 | 6e 20 43 2d 20 7c 20 20 |d vitami|n C- | |
|00005a50| 20 20 48 61 72 74 66 6f | 72 64 2c 20 43 54 20 30 | Hartfo|rd, CT 0|
|00005a60| 36 31 30 36 2d 33 31 30 | 30 0d 2d 3d 2d 3d 2d 3d |6106-310|0.-=-=-=|
|00005a70| 2d 3d 2d 3d 2d 3d 2d 3d | 2d 3d 2d 3d 2d 3d 2d 3d |-=-=-=-=|-=-=-=-=|
|00005a80| 2d 3d 2d 3d 2d 3d 2d 3d | 2d 3d 2d 3d 2d 3d 2d 3d |-=-=-=-=|-=-=-=-=|
|00005a90| 2d 3d 2d 3d 2d 3d 2d 3d | 2d 3d 2d 3d 2d 3d 2d 3d |-=-=-=-=|-=-=-=-=|
|00005aa0| 2d 3d 2d 3d 2d 20 20 20 | 20 20 20 20 20 0d 0d 2b |-=-=- | ..+|
|00005ab0| 2b 2b 2b 2b 2b 2b 2b 2b | 2b 2b 2b 2b 2b 2b 2b 2b |++++++++|++++++++|
|00005ac0| 2b 2b 2b 2b 2b 2b 2b 2b | 2b 2b 0d 0d 3e 46 72 6f |++++++++|++..>Fro|
|00005ad0| 6d 20 72 6d 61 68 40 70 | 61 6e 69 78 2e 63 6f 6d |m rmah@p|anix.com|
|00005ae0| 20 28 52 6f 62 65 72 74 | 20 4d 61 68 29 0d 44 61 | (Robert| Mah).Da|
|00005af0| 74 65 3a 20 53 61 74 2c | 20 30 39 20 4a 75 6c 20 |te: Sat,| 09 Jul |
|00005b00| 31 39 39 34 20 32 32 3a | 35 32 3a 34 34 20 2d 30 |1994 22:|52:44 -0|
|00005b10| 35 30 30 0d 4f 72 67 61 | 6e 69 7a 61 74 69 6f 6e |500.Orga|nization|
|00005b20| 3a 20 4f 6e 65 20 53 74 | 65 70 20 42 65 79 6f 6e |: One St|ep Beyon|
|00005b30| 64 0d 0d 62 68 6f 72 6c | 69 6e 67 40 6d 61 69 6c |d..bhorl|ing@mail|
|00005b40| 2e 74 72 69 6e 63 6f 6c | 6c 2e 65 64 75 20 28 42 |.trincol|l.edu (B|
|00005b50| 72 79 61 6e 20 48 6f 72 | 6c 69 6e 67 29 20 77 72 |ryan Hor|ling) wr|
|00005b60| 6f 74 65 3a 0d 0d 29 20 | 4c 6f 6f 6b 69 6e 67 20 |ote:..) |Looking |
|00005b70| 61 74 20 74 68 69 73 20 | 69 6e 20 72 65 76 65 72 |at this |in rever|
|00005b80| 73 65 2c 20 68 6f 77 20 | 63 61 6e 20 49 20 75 73 |se, how |can I us|
|00005b90| 65 20 61 20 66 75 6c 6c | 20 70 61 74 68 6e 61 6d |e a full| pathnam|
|00005ba0| 65 20 74 6f 20 61 63 63 | 65 73 73 0d 29 20 61 20 |e to acc|ess.) a |
|00005bb0| 66 69 6c 65 20 6f 72 20 | 66 6f 6c 64 65 72 20 6c |file or |folder l|
|00005bc0| 6f 63 61 74 69 6f 6e 20 | 74 6f 20 73 61 76 65 20 |ocation |to save |
|00005bd0| 6f 72 20 72 65 61 64 20 | 66 72 6f 6d 3f 20 20 49 |or read |from? I|
|00005be0| 27 6d 20 77 72 69 74 69 | 6e 67 20 61 6e 0d 29 20 |'m writi|ng an.) |
|00005bf0| 6f 6e 2d 6c 69 6e 65 20 | 61 70 70 6c 69 63 61 74 |on-line |applicat|
|00005c00| 69 6f 6e 20 66 6f 72 6d | 20 69 6e 20 77 68 69 63 |ion form| in whic|
|00005c10| 68 20 49 27 6d 20 67 6f | 69 6e 67 20 74 6f 20 68 |h I'm go|ing to h|
|00005c20| 61 76 65 20 74 68 65 20 | 72 65 73 75 6c 74 73 0d |ave the |results.|
|00005c30| 29 20 73 61 76 65 64 20 | 74 6f 20 61 20 73 65 72 |) saved |to a ser|
|00005c40| 76 65 72 20 6f 6e 20 74 | 68 65 20 6e 65 74 77 6f |ver on t|he netwo|
|00005c50| 72 6b 20 28 77 65 27 72 | 65 20 63 75 72 72 65 6e |rk (we'r|e curren|
|00005c60| 74 6c 79 20 67 72 61 70 | 70 6c 69 6e 67 20 77 69 |tly grap|pling wi|
|00005c70| 74 68 0d 29 20 6d 6f 75 | 6e 74 69 6e 67 20 73 61 |th.) mou|nting sa|
|00005c80| 69 64 20 73 65 72 76 65 | 72 29 20 77 69 74 68 6f |id serve|r) witho|
|00005c90| 75 74 20 75 73 65 72 20 | 69 6e 74 65 72 76 65 6e |ut user |interven|
|00005ca0| 74 69 6f 6e 20 28 73 6f | 20 53 74 61 6e 64 61 72 |tion (so| Standar|
|00005cb0| 64 50 75 74 46 69 6c 65 | 0d 29 20 77 6f 6e 27 74 |dPutFile|.) won't|
|00005cc0| 20 77 6f 72 6b 29 2c 20 | 61 6e 64 20 74 68 65 20 | work), |and the |
|00005cd0| 70 61 74 68 20 74 6f 20 | 74 68 69 73 20 73 70 6f |path to |this spo|
|00005ce0| 74 20 77 69 6c 6c 20 61 | 6c 77 61 79 73 20 62 65 |t will a|lways be|
|00005cf0| 20 74 68 65 20 73 61 6d | 65 2e 20 20 49 0d 29 20 | the sam|e. I.) |
|00005d00| 68 61 76 65 20 79 65 74 | 20 74 6f 20 66 69 6e 64 |have yet| to find|
|00005d10| 20 61 6e 20 65 61 73 79 | 20 77 61 79 20 74 6f 20 | an easy| way to |
|00005d20| 73 70 65 63 69 66 79 20 | 74 68 69 73 20 70 61 74 |specify |this pat|
|00005d30| 68 20 69 6e 20 61 20 75 | 73 65 61 62 6c 65 0d 29 |h in a u|seable.)|
|00005d40| 20 66 6f 72 6d 2c 20 61 | 6c 74 68 6f 75 67 68 20 | form, a|lthough |
|00005d50| 54 68 69 6e 6b 20 52 65 | 66 20 73 61 79 73 20 74 |Think Re|f says t|
|00005d60| 68 61 74 20 69 74 20 63 | 61 6e 20 62 65 20 64 6f |hat it c|an be do|
|00005d70| 6e 65 2e 20 20 44 6f 65 | 73 20 61 6e 79 6f 6e 65 |ne. Doe|s anyone|
|00005d80| 0d 29 20 68 61 76 65 20 | 61 6e 79 20 73 75 67 67 |.) have |any sugg|
|00005d90| 65 73 74 69 6f 6e 73 3f | 20 20 54 68 61 6e 6b 73 |estions?| Thanks|
|00005da0| 2e 0d 0d 55 73 65 20 61 | 6c 69 61 73 65 73 2e 20 |...Use a|liases. |
|00005db0| 20 46 75 6c 6c 20 61 6c | 69 61 73 65 73 20 77 69 | Full al|iases wi|
|00005dc0| 6c 6c 20 61 75 74 6f 6d | 6f 75 6e 74 20 41 70 70 |ll autom|ount App|
|00005dd0| 6c 65 53 68 61 72 65 20 | 73 65 72 76 65 72 73 2c |leShare |servers,|
|00005de0| 20 61 6e 64 0d 77 69 74 | 68 20 74 68 65 20 41 52 | and.wit|h the AR|
|00005df0| 41 20 65 78 74 65 6e 73 | 69 6f 6e 2c 20 65 76 65 |A extens|ion, eve|
|00005e00| 6e 20 64 69 61 6c 75 70 | 20 41 52 41 20 73 65 72 |n dialup| ARA ser|
|00005e10| 76 65 72 73 20 62 65 66 | 6f 72 65 20 6d 6f 75 6e |vers bef|ore moun|
|00005e20| 74 69 6e 67 0d 73 65 72 | 76 65 72 20 76 6f 6c 75 |ting.ser|ver volu|
|00005e30| 6d 65 73 2e 20 20 41 6c | 69 61 73 65 73 20 61 72 |mes. Al|iases ar|
|00005e40| 65 20 67 6f 6f 64 2e 0d | 0d 43 68 65 65 72 73 2c |e good..|.Cheers,|
|00005e50| 0d 52 6f 62 0d 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |.Rob.___|________|
|00005e60| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00005e70| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00005e80| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00005e90| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 0d 52 6f 62 65 72 |________|__.Rober|
|00005ea0| 74 20 53 2e 20 4d 61 68 | 20 20 20 20 3a 20 20 4d |t S. Mah| : M|
|00005eb0| 61 63 69 6e 74 6f 73 68 | 20 73 6f 66 74 77 61 72 |acintosh| softwar|
|00005ec0| 65 20 64 65 76 65 6c 6f | 70 6d 65 6e 74 20 20 3a |e develo|pment :|
|00005ed0| 20 20 20 20 32 31 32 2e | 39 34 37 2e 35 36 30 37 | 212.|947.5607|
|00005ee0| 0d 4f 6e 65 20 53 74 65 | 70 20 42 65 79 6f 6e 64 |.One Ste|p Beyond|
|00005ef0| 20 20 3a 20 20 20 20 20 | 20 61 6e 64 20 6e 65 74 | : | and net|
|00005f00| 77 6f 72 6b 20 63 6f 6e | 73 75 6c 74 69 6e 67 20 |work con|sulting |
|00005f10| 20 20 20 20 20 3a 20 20 | 72 6d 61 68 40 70 61 6e | : |rmah@pan|
|00005f20| 69 78 2e 63 6f 6d 0d 0d | 2b 2b 2b 2b 2b 2b 2b 2b |ix.com..|++++++++|
|00005f30| 2b 2b 2b 2b 2b 2b 2b 2b | 2b 2b 2b 2b 2b 2b 2b 2b |++++++++|++++++++|
|00005f40| 2b 2b 2b 0d 0d 3e 46 72 | 6f 6d 20 72 6b 77 65 65 |+++..>Fr|om rkwee|
|00005f50| 40 65 65 2e 70 64 78 2e | 65 64 75 20 28 52 6f 6c |@ee.pdx.|edu (Rol|
|00005f60| 61 6e 64 20 4b 77 65 65 | 29 0d 44 61 74 65 3a 20 |and Kwee|).Date: |
|00005f70| 39 20 4a 75 6c 20 31 39 | 39 34 20 32 32 3a 32 36 |9 Jul 19|94 22:26|
|00005f80| 3a 33 39 20 2d 30 37 30 | 30 0d 4f 72 67 61 6e 69 |:39 -070|0.Organi|
|00005f90| 7a 61 74 69 6f 6e 3a 20 | 28 6e 6f 6e 65 29 0d 0d |zation: |(none)..|
|00005fa0| 6a 62 65 65 67 68 6c 79 | 40 75 2e 77 61 73 68 69 |jbeeghly|@u.washi|
|00005fb0| 6e 67 74 6f 6e 2e 65 64 | 75 20 28 4a 65 66 66 20 |ngton.ed|u (Jeff |
|00005fc0| 42 65 65 67 68 6c 79 29 | 20 77 72 69 74 65 73 3a |Beeghly)| writes:|
|00005fd0| 0d 0d 3e 4f 4b 2c 20 49 | 20 63 6f 6d 65 20 66 72 |..>OK, I| come fr|
|00005fe0| 6f 6d 20 61 20 75 6e 69 | 78 20 26 20 61 20 44 4f |om a uni|x & a DO|
|00005ff0| 53 20 62 61 63 6b 67 72 | 6f 75 6e 64 2c 20 61 6e |S backgr|ound, an|
|00006000| 64 20 49 27 6d 20 74 72 | 79 69 6e 67 20 74 6f 20 |d I'm tr|ying to |
|00006010| 6c 65 61 72 6e 20 4d 41 | 43 0d 3e 70 72 6f 67 72 |learn MA|C.>progr|
|00006020| 61 6d 6d 69 6e 67 2e 20 | 20 4d 79 20 6c 61 74 65 |amming. | My late|
|00006030| 73 74 20 62 61 74 74 6c | 65 20 68 61 73 20 62 65 |st battl|e has be|
|00006040| 65 6e 20 77 69 74 68 20 | 74 68 65 20 4d 61 63 20 |en with |the Mac |
|00006050| 66 69 6c 65 20 73 79 73 | 74 65 6d 2e 2e 2e 0d 0d |file sys|tem.....|
|00006060| 53 61 6d 65 20 77 69 74 | 68 20 6d 65 2e 20 49 20 |Same wit|h me. I |
|00006070| 77 72 6f 74 65 20 63 6f | 64 65 20 74 6f 20 6f 62 |wrote co|de to ob|
|00006080| 74 61 69 6e 20 66 75 6c | 6c 20 70 61 74 68 20 6e |tain ful|l path n|
|00006090| 61 6d 65 73 20 6c 69 6b | 65 20 74 68 65 20 50 61 |ames lik|e the Pa|
|000060a0| 73 63 61 6c 0d 65 78 61 | 6d 70 6c 65 20 69 6e 20 |scal.exa|mple in |
|000060b0| 4e 65 77 20 49 6e 73 69 | 64 65 20 4d 61 63 2f 46 |New Insi|de Mac/F|
|000060c0| 69 6c 65 73 20 28 62 75 | 74 20 69 6e 20 43 2c 20 |iles (bu|t in C, |
|000060d0| 6f 66 20 63 6f 75 72 73 | 65 29 2e 20 49 6e 20 66 |of cours|e). In f|
|000060e0| 61 63 74 2c 20 49 20 77 | 72 6f 74 65 0d 61 20 73 |act, I w|rote.a s|
|000060f0| 65 74 20 6f 66 20 66 75 | 6e 63 74 69 6f 6e 73 20 |et of fu|nctions |
|00006100| 74 6f 20 68 69 64 65 20 | 74 68 65 20 4d 61 63 2d |to hide |the Mac-|
|00006110| 73 74 79 6c 65 20 66 69 | 6c 65 20 49 44 73 20 61 |style fi|le IDs a|
|00006120| 6e 64 20 74 6f 20 73 69 | 6d 75 6c 61 74 65 0d 74 |nd to si|mulate.t|
|00006130| 68 65 20 55 6e 69 78 2d | 77 61 79 2e 20 54 68 69 |he Unix-|way. Thi|
|00006140| 73 20 6d 61 6b 65 73 20 | 63 6f 64 65 20 6d 75 63 |s makes |code muc|
|00006150| 68 20 6d 6f 72 65 20 70 | 6f 72 74 61 62 6c 65 2e |h more p|ortable.|
|00006160| 20 4f 66 20 63 6f 75 72 | 73 65 2c 20 74 68 65 20 | Of cour|se, the |
|00006170| 72 65 61 6c 0d 4d 61 63 | 2d 70 72 6f 67 72 61 6d |real.Mac|-program|
|00006180| 6d 65 72 20 6e 65 76 65 | 72 20 77 61 6e 74 73 20 |mer neve|r wants |
|00006190| 68 69 73 2f 68 65 72 20 | 63 6f 64 65 20 74 6f 20 |his/her |code to |
|000061a0| 62 65 20 70 6f 72 74 61 | 62 6c 65 20 74 6f 2c 20 |be porta|ble to, |
|000061b0| 73 61 79 2c 20 61 20 50 | 43 2c 0d 62 75 74 20 69 |say, a P|C,.but i|
|000061c0| 74 20 69 73 20 73 74 69 | 6c 6c 20 75 73 65 66 75 |t is sti|ll usefu|
|000061d0| 6c 20 74 6f 20 70 6f 72 | 74 20 41 4e 53 49 2d 43 |l to por|t ANSI-C|
|000061e0| 2f 55 6e 69 78 2d 63 6f | 6d 70 61 74 69 62 6c 65 |/Unix-co|mpatible|
|000061f0| 20 63 6f 64 65 20 74 6f | 20 74 68 65 20 4d 61 63 | code to| the Mac|
|00006200| 2e 0d 0d 50 6c 65 61 73 | 65 20 73 65 6e 64 20 6d |...Pleas|e send m|
|00006210| 65 20 65 6d 61 69 6c 20 | 69 66 20 79 6f 75 20 77 |e email |if you w|
|00006220| 61 6e 74 20 6d 65 20 74 | 6f 20 6d 61 69 6c 20 79 |ant me t|o mail y|
|00006230| 6f 75 20 6d 79 20 63 6f | 64 65 20 28 49 20 6c 69 |ou my co|de (I li|
|00006240| 6b 65 20 70 65 65 72 0d | 72 65 76 69 65 77 20 6f |ke peer.|review o|
|00006250| 66 20 6d 79 20 63 6f 64 | 65 29 20 6f 72 20 74 6f |f my cod|e) or to|
|00006260| 20 70 6f 73 74 20 69 74 | 20 69 6e 20 74 68 65 20 | post it| in the |
|00006270| 6e 65 77 73 67 72 6f 75 | 70 2e 0d 0d 2d 2d 52 6f |newsgrou|p...--Ro|
|00006280| 6c 61 6e 64 20 20 20 20 | 20 20 20 20 20 20 20 20 |land | |
|00006290| 65 6d 61 69 6c 3a 20 52 | 6f 6c 61 6e 64 4b 77 65 |email: R|olandKwe|
|000062a0| 65 40 41 43 4d 2e 6f 72 | 67 0d 0d 2b 2b 2b 2b 2b |e@ACM.or|g..+++++|
|000062b0| 2b 2b 2b 2b 2b 2b 2b 2b | 2b 2b 2b 2b 2b 2b 2b 2b |++++++++|++++++++|
|000062c0| 2b 2b 2b 2b 2b 2b 0d 0d | 3e 46 72 6f 6d 20 64 38 |++++++..|>From d8|
|000062d0| 38 2d 6a 77 61 40 68 65 | 6d 75 6c 2e 6e 61 64 61 |8-jwa@he|mul.nada|
|000062e0| 2e 6b 74 68 2e 73 65 20 | 28 4a 6f 6e 20 57 64 74 |.kth.se |(Jon Wdt|
|000062f0| 74 65 29 0d 44 61 74 65 | 3a 20 31 31 20 4a 75 6c |te).Date|: 11 Jul|
|00006300| 20 31 39 39 34 20 30 38 | 3a 33 31 3a 35 34 20 47 | 1994 08|:31:54 G|
|00006310| 4d 54 0d 4f 72 67 61 6e | 69 7a 61 74 69 6f 6e 3a |MT.Organ|ization:|
|00006320| 20 54 68 65 20 52 6f 79 | 61 6c 20 49 6e 73 74 69 | The Roy|al Insti|
|00006330| 74 75 74 65 20 6f 66 20 | 54 65 63 68 6e 6f 6c 6f |tute of |Technolo|
|00006340| 67 79 0d 0d 49 6e 20 3c | 62 68 6f 72 6c 69 6e 67 |gy..In <|bhorling|
|00006350| 2d 30 39 30 37 39 34 31 | 39 35 31 30 30 30 30 30 |-0907941|95100000|
|00006360| 31 40 73 70 61 6d 2e 70 | 63 2e 74 72 69 6e 63 6f |1@spam.p|c.trinco|
|00006370| 6c 6c 2e 65 64 75 3e 20 | 62 68 6f 72 6c 69 6e 67 |ll.edu> |bhorling|
|00006380| 40 6d 61 69 6c 2e 74 72 | 69 6e 63 6f 6c 6c 2e 65 |@mail.tr|incoll.e|
|00006390| 64 75 20 28 42 72 79 61 | 6e 20 48 6f 72 6c 69 6e |du (Brya|n Horlin|
|000063a0| 67 29 20 77 72 69 74 65 | 73 3a 0d 0d 3e 4c 6f 6f |g) write|s:..>Loo|
|000063b0| 6b 69 6e 67 20 61 74 20 | 74 68 69 73 20 69 6e 20 |king at |this in |
|000063c0| 72 65 76 65 72 73 65 2c | 20 68 6f 77 20 63 61 6e |reverse,| how can|
|000063d0| 20 49 20 75 73 65 20 61 | 20 66 75 6c 6c 20 70 61 | I use a| full pa|
|000063e0| 74 68 6e 61 6d 65 20 74 | 6f 20 61 63 63 65 73 73 |thname t|o access|
|000063f0| 20 61 20 66 69 6c 65 0d | 3e 6f 72 20 66 6f 6c 64 | a file.|>or fold|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.