home *** CD-ROM | disk | FTP | other *** search
/ ftp.mactech.com 2010 / ftp.mactech.com.tar / ftp.mactech.com / csmpdigest / csmp-digest-v3-069 < prev    next >
Text File  |  2010-09-21  |  61KB  |  1,499 lines

  1. Received-Date: Sat, 19 Nov 1994 15:31:47 +0100
  2. From: pottier@clipper.ens.fr (Francois Pottier)
  3. Subject: csmp-digest-v3-069
  4. To: csmp-digest@ens.fr
  5. Date: Sat, 19 Nov 1994 15:31:42 +0100 (MET)
  6. X-Mailer: ELM [version 2.4 PL23]
  7. Mime-Version: 1.0
  8. Content-Type: text/plain; charset=ISO-8859-1
  9. Content-Transfer-Encoding: 8bit
  10. Errors-To: listman@ens.fr
  11. Reply-To: pottier@clipper.ens.fr
  12. X-Sequence: 75
  13.  
  14. C.S.M.P. Digest             Sat, 19 Nov 94       Volume 3 : Issue 69
  15.  
  16. Today's Topics:
  17.  
  18.         Animation Techniques
  19.         Control Strip Tester Available!
  20.         Dragging to a background app?
  21.         GeoPort-GeoPod Documentation - Does it exist?
  22.         How to get list of files in folder
  23.         Sample code for Launching appl from SC++ or TC.
  24.         Subject: Apple PR: MacOS Software Developer's Kit
  25.  
  26.  
  27.  
  28. The Comp.Sys.Mac.Programmer Digest is moderated by Francois Pottier
  29. (pottier@clipper.ens.fr).
  30.  
  31. The digest is a collection of article threads from the internet newsgroup
  32. comp.sys.mac.programmer.  It is designed for people who read c.s.m.p. semi-
  33. regularly and want an archive of the discussions.  If you don't know what a
  34. newsgroup is, you probably don't have access to it.  Ask your systems
  35. administrator(s) for details.  If you don't have access to news, you may
  36. still be able to post messages to the group by using a mail server like
  37. anon.penet.fi (mail help@anon.penet.fi for more information).
  38.  
  39. Each issue of the digest contains one or more sets of articles (called
  40. threads), with each set corresponding to a 'discussion' of a particular
  41. subject.  The articles are not edited; all articles included in this digest
  42. are in their original posted form (as received by our news server at
  43. nef.ens.fr).  Article threads are not added to the digest until the last
  44. article added to the thread is at least two weeks old (this is to ensure that
  45. the thread is dead before adding it to the digest).  Article threads that
  46. consist of only one message are generally not included in the digest.
  47.  
  48. The digest is officially distributed by two means, by email and ftp.
  49.  
  50. If you want to receive the digest by mail, send email to listserv@ens.fr
  51. with no subject and one of the following commands as body:
  52.     help                        Sends you a summary of commands
  53.     subscribe csmp-digest Your Name    Adds you to the mailing list
  54.     signoff csmp-digest            Removes you from the list
  55. Once you have subscribed, you will automatically receive each new
  56. issue as it is created.
  57.  
  58. The official ftp info is //ftp.dartmouth.edu/pub/csmp-digest.
  59. Questions related to the ftp site should be directed to
  60. scott.silver@dartmouth.edu. Currently no previous volumes of the CSMP
  61. digest are available there.
  62.  
  63. Also, the digests are available to WAIS users.  To search back issues
  64. with WAIS, use comp.sys.mac.programmer.src. With Mosaic, use
  65. http://www.wais.com/wais-dbs/comp.sys.mac.programmer.html.
  66.  
  67.  
  68. -------------------------------------------------------
  69.  
  70. >From whsands@netcom.com (Tom Williams)
  71. Subject: Animation Techniques
  72. Date: Tue, 1 Nov 1994 07:41:03 GMT
  73. Organization: NETCOM On-line Communication Services (408 261-4700 guest)
  74.  
  75. Hi Everyone.
  76.  
  77.   I am interrested in the different aproaches for storing all of a 
  78. programs sprites for a project.  In particular, a game.  As I browse 
  79. through many Mac Games' Resource Forks, I come across two common 
  80. aproaches.  The first is to have each sprite (usually no larger than 
  81. 32x32) contained in its own PICT resource.  The second is to merge all 
  82. the sprites into one big huge pict resource.  The second aproach seems 
  83. more logical since you could simply create a gworld, copy the entire pict 
  84. into the gworld and then copybits the rects of the part of the image you 
  85. want to display on the screen at one time.
  86.  
  87.   Does anyone have any arguments and possibly some C source code around 
  88. pertaining to the second method?
  89.  
  90. Thanks in advance,
  91.  
  92. Warm Regards,
  93.  
  94.  
  95. Tom Williams.
  96.  
  97. +++++++++++++++++++++++++++
  98.  
  99. >From posto881@cs.uidaho.edu (DuckMan)
  100. Date: 1 Nov 1994 19:41:10 GMT
  101. Organization: University of Idaho, Moscow, Idaho
  102.  
  103. Tom Williams (whsands@netcom.com) wrote:
  104. : Hi Everyone.
  105.  
  106. :   I am interrested in the different aproaches for storing all of a 
  107. : programs sprites for a project.  In particular, a game.  As I browse 
  108. : through many Mac Games' Resource Forks, I come across two common 
  109. : aproaches.  The first is to have each sprite (usually no larger than 
  110. : 32x32) contained in its own PICT resource.  The second is to merge all 
  111. : the sprites into one big huge pict resource.  The second aproach seems 
  112. : more logical since you could simply create a gworld, copy the entire pict 
  113. : into the gworld and then copybits the rects of the part of the image you 
  114. : want to display on the screen at one time.
  115.  
  116. :   Does anyone have any arguments and possibly some C source code around 
  117. : pertaining to the second method?
  118.  
  119. : Thanks in advance,
  120.  
  121. : Warm Regards,
  122.  
  123.  
  124. : Tom Williams.
  125.  
  126. I tryed the second method myself and it seems to work very well.  The only 
  127. problem I'm having now is with the copymask.
  128.  
  129. I have no problem using copymask as long as the source rects line up on the
  130. lefthand side (source.left==0). but if its any distence away funny things 
  131. start to happen.  Any suggestions?
  132.  
  133.  
  134. DuckMan...
  135.  
  136.  
  137. +++++++++++++++++++++++++++
  138.  
  139. >From kenlong@netcom.com (Ken Long)
  140. Date: Wed, 2 Nov 1994 18:05:36 GMT
  141. Organization: NETCOM On-line Communication Services (408 261-4700 guest)
  142.  
  143. Tom Williams (whsands@netcom.com) wrote:
  144.  
  145. :   Does anyone have any arguments and possibly some C source code around 
  146. : pertaining to the second method?
  147.  
  148. A most excellent example of this, in all its simplicity, is in the C 
  149. source called "swar" available on the alt.sources.mac server, in volume8.
  150.  
  151. There's another one in C called Cellusoft Graphics Demo, also at the 
  152. site, but it's more complex and may not work right.
  153.  
  154. Of course, ant John Calhoun game source (Pascal) does this.  Glypha II 
  155. (color) especially.
  156.  
  157. A third method is direct to screen drawing/animation.  See the Arashi 
  158. source for this. v1.1 crashes an LC but v1.0 does not.
  159.  
  160. -Ken-
  161.  
  162. +++++++++++++++++++++++++++
  163.  
  164. >From ingemar@lysator.liu.se (Ingemar Ragnemalm)
  165. Date: 2 Nov 1994 19:21:24 GMT
  166. Organization: (none)
  167.  
  168. whsands@netcom.com (Tom Williams) writes:
  169.  
  170. >  I am interrested in the different aproaches for storing all of a 
  171. >programs sprites for a project.  In particular, a game.  As I browse 
  172. >through many Mac Games' Resource Forks, I come across two common 
  173. >aproaches.  The first is to have each sprite (usually no larger than 
  174. >32x32) contained in its own PICT resource.  The second is to merge all 
  175. >the sprites into one big huge pict resource.  The second aproach seems 
  176. >more logical since you could simply create a gworld, copy the entire pict 
  177. >into the gworld and then copybits the rects of the part of the image you 
  178. >want to display on the screen at one time.
  179.  
  180. The big advantage with keeping each sprite as a separate resource -
  181. preferrably not a PICT but rather a "cicn" or icon suite - is that it
  182. makes it much easier to match the icon and the mask. Editing icons
  183. in ResEdit is easy in that respect.
  184.  
  185. With huge PICTs, matching the icon and the mask is much harder. Just imagine
  186. the headache when you make a small change in an icon and have to make the
  187. corresponding change in the mask! You also have to have some way to find
  188. each sprite in the PICTs. The advantage is fast loading and smaller space
  189. on disk.
  190.  
  191. For digestable (that means fairly small) source-code examples of both:
  192.  
  193. the PICT way: Cellusoft Graphics Routines (or whatever the name is - it's
  194. different every time I see it uploaded). Both C and Pascal versions.
  195.  
  196. the icon way: OffscreenToys. Only Pascal until someone ports it.
  197.  
  198. Both should be available from the alt.sources.mac archive (see the a.s.m FAQ).
  199.  
  200.  
  201.  
  202. --
  203. - -
  204. Ingemar Ragnemalm, PhD
  205. Image processing, Mac shareware games
  206. E-mail address: ingemar@isy.liu.se or ingemar@lysator.liu.se
  207.  
  208. +++++++++++++++++++++++++++
  209.  
  210. >From mhl@icf.hrb.com (mark)
  211. Date: 2 Nov 94 16:39:39 EST
  212. Organization: HRB Systems, Inc.
  213.  
  214. In article <398ork$aup@newsy.ifm.liu.se>, ingemar@lysator.liu.se (Ingemar Ragnemalm) writes:
  215. > whsands@netcom.com (Tom Williams) writes:
  216. >>  I am interested in the different approaches for storing all of a 
  217. >>programs sprites for a project.  In particular, a game. 
  218. > The big advantage with keeping each sprite as a separate resource -
  219. > preferably not a PICT but rather a "cicn" or icon suite - is that it
  220. > makes it much easier to match the icon and the mask. Editing icons
  221. > in ResEdit is easy in that respect.
  222.  
  223.         Personally I avoid the mask issue by using the "transparent"
  224.         mode in CopyBits. There are a few tradeoffs involved here.
  225.  
  226.         1) The sprite (in my case a PICT) must appear on a white
  227.         (ForeColor) background. -- Not a problem in my case.
  228.  
  229.         2) The sprite can not contain the color white (ForeColor). --
  230.         Again not a problem. What I do is create my sprites in
  231.         Photoshop, use the magic wand to select the background (white),
  232.         select similar (all white now selected) fill with one tick less
  233.         than white, reselect background, fill white. Now I do not need
  234.         to worry about masking in CopyBits because CopyBits does it for
  235.         me.
  236.  
  237.         This also gives me the benefits of using a 'PICT' versus a
  238.         'cicn'. No size restriction. No color table restriction. 
  239.  
  240.         In addition, I have all the power of photoshop at my disposal.
  241.         Try creating a marble textured sphere in ResEdit's 'cicn'
  242.         editor. In Photoshop - Edit>Fill>Pattern, Filter>Distort>KPT
  243.         Glass Lens Bright. Quod erat demonstrandum.
  244.  
  245.         Naturally, if the pixel map of your 'PICT' is larger than the
  246.         'cicn' you will notice a speed penalty. You may also have a
  247.         custom blitter that can do masking faster than CopyBits, but I
  248.         find this method quite acceptable.
  249.  
  250. -- 
  251. Hope this helps.
  252.  
  253. Mark H. Linton
  254. ____________________________________________________________________
  255. mark \'m‰rk\ n [ME, fr. OE mearc boundary, march, sign; akin to OHG
  256. marha boundary, L margo] 1 a : a conspicuous object serving as a guide
  257. for travelers 2 : A standard or criterion of quality 3 : An object or
  258. point that serves as a guide --idiom. mark time. 1 : To make little or
  259. no progress
  260.  
  261. +++++++++++++++++++++++++++
  262.  
  263. >From Rick_E._Stewart@galaxy.com (Rick E. Stewart)
  264. Date: 05 Nov 1994 18:54:45 GMT
  265. Organization: Galaxy Online Services
  266.  
  267. If your looking for ways of Sprite animation, you should look at the Sprite
  268. Animation Toolkit, or the Animation 
  269. Class Libary.  These can be FTP'd from many Mac Archives.  They can show you
  270. any of the type of animation you want.
  271.  
  272. Rick
  273.  
  274. ---------------------------
  275.  
  276. >From phixus@netcom.com (Chris DeSalvo)
  277. Subject: Control Strip Tester Available!
  278. Date: Sat, 5 Nov 1994 09:36:35 GMT
  279. Organization: NETCOM On-line Communication Services (408 261-4700 guest)
  280.  
  281. I just mailed off version 1.0 of my Control Strip Module Tester to
  282. MacGifts.
  283.  
  284. This is a small application that will host a Control Strip module for
  285. testing purposes.  Anything that you can do in the real Control Strip
  286. you can do in the tester.  This includes:
  287.  
  288. o  Allocating memory blocks that are passed back to your SDEV.
  289. o  Loading your resources during your init phase.
  290. o  A tickle heartbeat for periodic processing.
  291. o  Full support for pop-up menus, Balloon Help and other stuff.
  292.  
  293. No longer will you have to restart your Mac just to check a change of
  294. one line of code.  You can also use it to sample any new modules that
  295. you get without actually having to load them into the system.
  296.  
  297. The util is free.  It should be in the MacGifts distribution sites in
  298. a couple of days.
  299.  
  300. Also available are my module shell and my CD Strip which allows
  301. pops-up a menu of track titles on a mounted audio CD so you can pick a
  302. song to play.  Both are free and available with full C source for
  303. CodeWarrior 4.5.
  304.  
  305. If you have questions about the tester, or would like my sample code,
  306. just email me.  24-hours is usual response time.
  307.  
  308. Thanx,
  309. Chris
  310. -- 
  311. +-----------------------------------------------------------------+
  312. | phixus@netcom.com           |   Macintosh:  Changing the world, |
  313. | Chris De Salvo              |        one person at a time!      |
  314. | Professional Mac Geek       |    -----------------------------  |
  315. | for MacPlay, Inc.           |      (I wish they'd hurry up!)    |
  316. +-----------------------------------------------------------------+
  317.  
  318. Any opinions expressed, or implied, are my own!  They should not be
  319. considered representative of the opinions or policies of my employer,
  320. MacPlay, a division of Interplay Productions, Inc.
  321.  
  322. +++++++++++++++++++++++++++
  323.  
  324. >From neil_ticktin@xplain.com (Neil Ticktin)
  325. Date: Sat, 5 Nov 1994 19:41:40 GMT
  326. Organization: MacTech Magazine/Xplain Corp.
  327.  
  328. In article <phixusCysG0z.L1A@netcom.com>, phixus@netcom.com (Chris
  329. DeSalvo) wrote:
  330.  
  331. >> I just mailed off version 1.0 of my Control Strip Module Tester to
  332. >> MacGifts.
  333. >> 
  334. >> This is a small application that will host a Control Strip module for
  335. >> testing purposes.  Anything that you can do in the real Control Strip
  336. >> you can do in the tester.  This includes:
  337. >> 
  338. >> o  Allocating memory blocks that are passed back to your SDEV.
  339. >> o  Loading your resources during your init phase.
  340. >> o  A tickle heartbeat for periodic processing.
  341. >> o  Full support for pop-up menus, Balloon Help and other stuff.
  342. >> 
  343. >> No longer will you have to restart your Mac just to check a change of
  344. >> one line of code.  You can also use it to sample any new modules that
  345. >> you get without actually having to load them into the system.
  346. >> 
  347. >> The util is free.  It should be in the MacGifts distribution sites in
  348. >> a couple of days.
  349. >> 
  350. >> Also available are my module shell and my CD Strip which allows
  351. >> pops-up a menu of track titles on a mounted audio CD so you can pick a
  352. >> song to play.  Both are free and available with full C source for
  353. >> CodeWarrior 4.5.
  354. >> 
  355. >> If you have questions about the tester, or would like my sample code,
  356. >> just email me.  24-hours is usual response time.
  357.  
  358. Chris,
  359.  
  360. People should also check out the Dec issue which has an article on how to
  361. write control strip modules.  Pretty cool stuff, huh?
  362.  
  363. The issue will be available at the end of this month.
  364.  
  365. Hope it helps,
  366.  
  367. Neil Ticktin
  368. MacTech Magazine
  369.  
  370. - ---------------------------------------------------------------------
  371.            Neil Ticktin, MacTech Magazine (formerly MacTutor)
  372. PO Box 250055, Los Angeles, CA 90025 * 310-575-4343 * Fax: 310-575-0925
  373.  For more info, anonymous ftp to ftp.netcom.com and cd to /pub/xplain
  374.   custservice@xplain.com * editorial@xplain.com * adsales@xplain.com
  375. marketing@xplain.com * accounting@xplain.com * pressreleases@xplain.com
  376.    progchallenge@xplain.com * publisher@xplain.com * info@xplain.com
  377.  
  378. ---------------------------
  379.  
  380. >From an144239@anon.penet.fi (Randall Meadows)
  381. Subject: Dragging to a background app?
  382. Date: Fri,  4 Nov 1994 16:37:12 UTC
  383. Organization: Anonymous contact service
  384.  
  385. I am implementing some Drag-and-Drop code into an existing application.
  386. Due to time constraints and wanting to avoid some major code-rewriting, I
  387. have put in D&D on top of what I have now.  Here is a problem hopefully
  388. someone has run across and can help me out with:
  389.  
  390. My program is in the background.  A drag is started in another application,
  391. say the Finder, and a drop occurs in my program (which tracks the drag as
  392. expected).  There are certain situations where an abnormal condition can
  393. occur, such as a drag containing a file type that I do not support (like a
  394. folder or a volume).  If the drag also contains valid items, most of the
  395. time I want to handle those normally, but some of them require special
  396. handling, like letting the user choose which resources in a Scrapbook file
  397. to select.  In this latter situation, I use a modal dialog box to let the
  398. user select the resources.  (I also use an alert box to notify the user of
  399. errors, which presents the same problem.)
  400.  
  401. But, as I said before, my program is in the background, and so I hang when
  402. the dialog opens up.  I tried forcing my program to the foreground using
  403. SetFrontProcess(), but this doesn't work.  Do I need to (or can I) just sit
  404. in a loop until the foreground process calls WaitNextEvent(), which is when
  405. the process switching occurs?  Or am I totally hosed, and have to disallow
  406. the drag (of at least certain items in that drag)?
  407.  
  408. [Note that I want to try to avoid the Notification Manager as that would
  409. require some massive code changes that I don't really have time to deal
  410. with right now.  Yes, I know, I know...!]
  411.  
  412. !PLEASE! CC: a copy of your reply to me ("meadowsr@fgm.com") as I have to
  413. post through an anonymous server because we don't get newsfeeds here.
  414.  
  415. Any help you can give would be most appreciated.
  416.  
  417. Thanks!!
  418.  
  419. Randall Meadows
  420. meadowsr@fgm.com
  421. "Show me a good loser, and I'll show you a loser."
  422.  
  423.  
  424. - -----------------------------------------------------------------------
  425. To find out more about the anon service, send mail to help@anon.penet.fi.
  426. Due to the double-blind, any mail replies to this message will be anonymized,
  427. and an anonymous id will be allocated automatically. You have been warned.
  428. Please report any problems, inappropriate use etc. to admin@anon.penet.fi.
  429.  
  430. +++++++++++++++++++++++++++
  431.  
  432. >From paul.hoffman@umich.edu (Paul M. Hoffman)
  433. Date: Sat, 05 Nov 1994 09:30:34 -0500
  434. Organization: University of Michigan
  435.  
  436. In article <164336Z04111994@anon.penet.fi>, an144239@anon.penet.fi wrote:
  437.  
  438. > My program is in the background.  A drag is started in another application,
  439. > say the Finder, and a drop occurs in my program (which tracks the drag as
  440. > expected).
  441. > [ ... ]
  442. > In this latter situation, I use a modal dialog box to let the
  443. > user select the resources.  (I also use an alert box to notify the user of
  444. > errors, which presents the same problem.)
  445. > But, as I said before, my program is in the background, and so I hang when
  446. > the dialog opens up.  I tried forcing my program to the foreground using
  447. > SetFrontProcess(), but this doesn't work.  Do I need to (or can I) just sit
  448. > in a loop until the foreground process calls WaitNextEvent(), which is when
  449. > the process switching occurs?  Or am I totally hosed, and have to disallow
  450. > the drag (of at least certain items in that drag)?
  451.  
  452. In your "receive" handler, bundle up all the pertinent info from the drag
  453. and put it into a global "drags to complete" queue, then return noErr. 
  454. Each time through your main event loop, check this queue and do your thing
  455. if there's something there.  Depending on how complicated the drags you
  456. accept are, this could be a bit of work; I've done it with text-only
  457. drags, where it was a cinch.
  458.  
  459. An alternate, and to my mind much more elegant, solution (suggested
  460. recently by Jon Pugh, I think) is to send the drag info to yourself in a
  461. (custom) Apple Event rather than queuing it yourself.  Then you can let
  462. the Apple Event Manager do some (or all) of the notification stuff for you
  463. -- just do something like this in your AE handler:
  464.  
  465.    err = AEInteractWithUser (kAEDefaultTimeout, NULL, MyIdleFunction);
  466.  
  467. and abort the drag completion if err != noErr.  (Put a pointer to a
  468. notification record in the 2nd parameter if you want; see IM:
  469. Interapplication Communication p. 4-50 for more on this, and p.5-21 to
  470. 5-23 for info on idle functions.)  Just make sure you don't set the
  471. direct-dispatch-to-myself bit (I forget its name) when you send the event,
  472. since that would result in a crash like what you're getting now.  And *do*
  473. set the kAECanSwitchLayer bit.
  474.  
  475. You may choose to do this for all drags, or just ones that need user
  476. interaction.  And setting up a notification record really isn't all that
  477. difficult; you should give it a shot -- see IM 6, chapter 24.  Here's a
  478. snippet to set one up (untested, unwarranted, etc.):
  479.  
  480.    NMRec    note;
  481.    note.nmMark = 1;  /* Diamond mark by app name in the app menu */
  482.    note.nmIcon = myIconFamilyHndl;  /* Icon to flash */
  483.    note.nmSound = -1;  /* System beep */
  484.    note.nmStr = "\pThe app 'Foo' needs your help!";  /* Alert string */
  485.    note.nmResp = NULL;
  486.  
  487. You have to get the icon family handle yourself; I can't find any handy
  488. sample code right now.
  489.  
  490. Paul.
  491.  
  492. -- 
  493. Paul Hoffman            +-----+ E-mail: paul.hoffman@umich.edu
  494. Taubman Medical Library | pmh | WWW: http://www.umich.edu/~nkuitse/
  495. University of Michigan  +-----+ "Dragons do not enter into this article"
  496.  
  497. ---------------------------
  498.  
  499. >From cshotton@oac.hsc.uth.tmc.edu (Chuck Shotton)
  500. Subject: GeoPort-GeoPod Documentation - Does it exist?
  501. Date: 28 Oct 1994 16:58:25 GMT
  502. Organization: U.T. Houston
  503.  
  504. I'd really like to get an application running on the Power Mac that
  505. performs like the ApplePhone demo app that shipped with AV Quadras. (It
  506. apparently doesn't run on AV PowerMacs.) Unfortunately, I can't seem to
  507. track down ANY documentation on how to communicate with the GeoPod via the
  508. GeoPort for VOICE telephony applications.
  509.  
  510. Has Apple documented this stuff anywhere? If so, can someone point me to
  511. the source of this information? If not, why hasn't Apple made this info
  512. available?
  513.  
  514. (Sorry if I just missed a discussion on this. I've been out of news reader
  515. contact for a week or so.)
  516.  
  517. +++++++++++++++++++++++++++
  518.  
  519. >From andriccs@post.drexel.edu (C. Stephen Andrichak)
  520. Date: Mon, 31 Oct 1994 11:18:58 -0500
  521. Organization: Pffbbbttt!
  522.  
  523. In article <cshotton-2810941158170001@oacslip202.hsc.uth.tmc.edu>,
  524. cshotton@oac.hsc.uth.tmc.edu (Chuck Shotton) wrote:
  525.  
  526. > I'd really like to get an application running on the Power Mac that
  527. > performs like the ApplePhone demo app that shipped with AV Quadras. (It
  528. > apparently doesn't run on AV PowerMacs.) Unfortunately, I can't seem to
  529. > track down ANY documentation on how to communicate with the GeoPod via the
  530. > GeoPort for VOICE telephony applications.
  531. > Has Apple documented this stuff anywhere? If so, can someone point me to
  532. > the source of this information? If not, why hasn't Apple made this info
  533. > available?
  534.  
  535. I just read in the November issue of MacWorld that the long-awaited
  536. Telephony Tool should be released before the end of the year. Finally,
  537. could it be?!
  538.  
  539. I've not gotten my hopes up yet though. You might check out the
  540. Phonebridge device that was just released, it's a add on that has full
  541. fax/data/voice abilities and you can get it with full developer info for
  542. about $500.
  543.  
  544. Other than that, join the club on waiting. :-)  Let us know if you find
  545. anything.
  546.  
  547. - -------------------------------------------
  548. C.Stephen Andrichak
  549. andriccs@post.drexel.edu
  550. - -------------------------------------------
  551.  
  552. +++++++++++++++++++++++++++
  553.  
  554. >From bcoleman@hayes.com (Bill Coleman)
  555. Date: 31 Oct 94 17:46:31 EDT
  556. Organization: Hayes Microcomputer Products, Norcross, GA
  557.  
  558. In article <cshotton-2810941158170001@oacslip202.hsc.uth.tmc.edu>, cshotton@oac.hsc.uth.tmc.edu (Chuck Shotton) writes:
  559. > I'd really like to get an application running on the Power Mac that
  560. > performs like the ApplePhone demo app that shipped with AV Quadras. (It
  561. > apparently doesn't run on AV PowerMacs.) Unfortunately, I can't seem to
  562. > track down ANY documentation on how to communicate with the GeoPod via the
  563. > GeoPort for VOICE telephony applications.
  564.  
  565. Talk to your friendly Apple evangelist. If you are not an Apple developer,
  566. then you don't have a prayer. If you are a developer, you might have a small
  567. chance.
  568.  
  569. > Has Apple documented this stuff anywhere? If so, can someone point me to
  570. > the source of this information? If not, why hasn't Apple made this info
  571. > available?
  572.  
  573. This stuff is documented somewhere, I'm sure. The Apple engineers that wrote
  574. the stuff had to work from something, right?
  575.  
  576. Why Apple hasn't made this information available is beyond me. Ask Apple. I
  577. know several developers have asked, and no one has yet come up with an
  578. answer.
  579.  
  580. -- 
  581. Bill Coleman, AA4LR                ! Internet: bcoleman@hayes.com
  582. Principal Software Engineer        ! AppleLink: D1958
  583. Hayes Microcomputer Products, Inc. ! CIS: 76067,2327
  584. POB 105203 Atlanta, GA 30348 USA   ! 
  585. Disclaimer: "My employer doesn't pay me to have opinions."
  586. Quote: "The same light shines on vineyards that makes deserts." -Steve Hackett.
  587.  
  588.  
  589. +++++++++++++++++++++++++++
  590.  
  591. >From cshotton@oac.hsc.uth.tmc.edu (Chuck Shotton)
  592. Date: Thu, 03 Nov 1994 11:02:28 -0600
  593. Organization: Academic Computing, UT-Houston
  594.  
  595. In article <1994Oct31.174631.9586@hayes>, bcoleman@hayes.com (Bill
  596. Coleman) wrote:
  597.  
  598. > In article <cshotton-2810941158170001@oacslip202.hsc.uth.tmc.edu>,
  599. cshotton@oac.hsc.uth.tmc.edu (Chuck Shotton) writes:
  600. > > I'd really like to get an application running on the Power Mac that
  601. > > performs like the ApplePhone demo app that shipped with AV Quadras. (It
  602. > > apparently doesn't run on AV PowerMacs.) Unfortunately, I can't seem to
  603. > > track down ANY documentation on how to communicate with the GeoPod via the
  604. > > GeoPort for VOICE telephony applications.
  605. > Talk to your friendly Apple evangelist. If you are not an Apple developer,
  606. > then you don't have a prayer. If you are a developer, you might have a small
  607. > chance.
  608. > > Has Apple documented this stuff anywhere? If so, can someone point me to
  609. > > the source of this information? If not, why hasn't Apple made this info
  610. > > available?
  611. > This stuff is documented somewhere, I'm sure. The Apple engineers that wrote
  612. > the stuff had to work from something, right?
  613.  
  614. > Why Apple hasn't made this information available is beyond me. Ask Apple. I
  615. > know several developers have asked, and no one has yet come up with an
  616. > answer.
  617.  
  618. Here's the best answer so far from Apple DTS. There is no documentation
  619. that corresponds to the interfaces used to develop ApplePhone. It was
  620. written to internal, undocumented interfaces. The closest thing to
  621. documentation on how to play with the GeoPort/GeoPod is contained in the
  622. "Telephone Manager" CTB extensions. This info is available from APDA. The
  623. Telephone Manager is a part of System 7.5 and is also available on the
  624. most recent Developer's CD (TelMgr 1.1, or something like that.) 
  625.  
  626. My best guess is that the Telephone Manager is an extended set of
  627. routines, added to the CTB to allow control of telephony devices in
  628. addition to data-oriented comm hardware. The only example telephone tool
  629. that comes with the TM is an ISDN tool for use with the defunct Apple ISDN
  630. card. Whether the product from APDA comes with a GeoPod tool is unclear.
  631. If there isn't a GeoPod tool then this software is useless since Apple
  632. hasn't documented how you talk to a GeoPod, making it impossible for 3rd
  633. parties to write a GeoPod tool.
  634.  
  635. All of this is confused by the fact that Open Transport is ultimately
  636. supposed to mean the end of the CTB. Since no mention of telephony has
  637. been made in any of the Open Transport documentation, it isn't clear what
  638. happens to the Telephone Manager in the future.
  639.  
  640. But most of all, it isn't clear why Apple is including big chunks of
  641. system software capability in 7.5 without making developers aware of it
  642. and providing them with appropriate documentation. Apple gets a big black
  643. eye on this subject, IMHO.
  644. --_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_\_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
  645. Chuck Shotton                             \ 
  646. Assistant Director, Academic Computing     \   "Are we there yet?"
  647. U. of Texas Health Science Center Houston   \ 
  648. cshotton@oac.hsc.uth.tmc.edu  (713) 794-5650 \ 
  649. _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-\-_-_-_-_-_-_-_-_-_-_-_-_-
  650.  
  651. +++++++++++++++++++++++++++
  652.  
  653. >From RobTerrell@vmedia.com (Rob Terrell)
  654. Date: 3 Nov 1994 22:48:15 GMT
  655. Organization: Jecta Development Corp.
  656.  
  657. In article <cshotton-0311941102280001@oac2.hsc.uth.tmc.edu>
  658. cshotton@oac.hsc.uth.tmc.edu (Chuck Shotton) writes:
  659.  
  660. > Here's the best answer so far from Apple DTS. There is no documentation
  661. > that corresponds to the interfaces used to develop ApplePhone. It was
  662. > written to internal, undocumented interfaces. The closest thing to
  663. > documentation on how to play with the GeoPort/GeoPod is contained in the
  664. > "Telephone Manager" CTB extensions. This info is available from APDA. The
  665. > Telephone Manager is a part of System 7.5 and is also available on the
  666. > most recent Developer's CD (TelMgr 1.1, or something like that.) 
  667.  
  668. No, the Telephone Manager is an API in its own right...It doesn't
  669. connect with CTB at all. So when the CTB goes away, the tel manager
  670. will still be around. Unfortunately.
  671.  
  672. I worked on a project for a large telcom firm and tried like hell to
  673. get the Geoport APIs out of Apple. None was made available, not even to
  674. a large telcom firm that's deeply in bed with Apple. 
  675.  
  676. > Whether the product from APDA comes with a GeoPod tool is unclear.
  677. > If there isn't a GeoPod tool then this software is useless since Apple
  678. > hasn't documented how you talk to a GeoPod, making it impossible for 3rd
  679. > parties to write a GeoPod tool.
  680.  
  681. It doesn't, and you're right, it's useless. The telephone manager lets
  682. you do things like place calls, transfer calls, answer calls, and so
  683. forth. It doesn't actually IMPLEMENT these features, it just provides a
  684. callable API for them.
  685.  
  686. If you want these features for a particular phone system, you'll need
  687. to write a telephone tool. There are very few tools out there. There is
  688. NO tool for the GeoPort. I repeat--no GeoPort tool.
  689.  
  690. Cypress Research gives away a tool for the SupraFax modem that their
  691. PhonePro program uses to interface with it. You can then use this tool
  692. with any other Telephone Manger program out there...of which, I only
  693. know of one, which a friend of mine wrote. (It's a totally cool
  694. AppleScript interface for the telephone manager. Dials the phone,
  695. transfers calls if you're on a Centrex system, that kind of thing.)
  696.  
  697. Even so, there's no voice support in the telephone manager yet; it's
  698. supposed to be in the next version which hasn't yet materialized. This
  699. means you can't do voicemail-type apps without serious hacking. (We
  700. used a second sound card for sound in/out, hooked up to the line
  701. through a little black box I concocted from Radio Shack.) I think
  702. Cypress hacked voice support through the Telephone Manager's
  703. 'device-specific' calls, but I'm not sure.
  704.  
  705. The only guy I know who actually has other Telephone Tools for other
  706. modems is Michael Spizer at Glen Canyon Software. He has posted stuff
  707. about it on Applelink a long time back.
  708.  
  709. Feel free to call, write, fax, and mail-bomb the Apple Telephony
  710. Evangelist, Michael Bayer (Bayer1@applelink.apple.com). He's a total
  711. wad who, in my experience, never returns email or phone calls, never
  712. provides support or accurate information about Apple's plans, and may
  713. simply make your life hell. He wasn't any help in making our product
  714. come to life. It will make you want to switch to TAPI. But don't.
  715.  
  716. Rob
  717.  
  718. +++++++++++++++++++++++++++
  719.  
  720. >From sdk@cci.com (Stephen Knight)
  721. Date: Sat, 5 Nov 1994 19:24:27 GMT
  722. Organization: Northern Telecom
  723.  
  724. In article <39bpbf$ige@redstone.interpath.net>, RobTerrell@vmedia.com (Rob
  725. Terrell) wrote:
  726.  
  727. > In article <cshotton-0311941102280001@oac2.hsc.uth.tmc.edu>
  728. > cshotton@oac.hsc.uth.tmc.edu (Chuck Shotton) writes:
  729. > > Here's the best answer so far from Apple DTS. There is no documentation
  730. > > that corresponds to the interfaces used to develop ApplePhone. It was
  731. > > written to internal, undocumented interfaces. The closest thing to
  732. > > documentation on how to play with the GeoPort/GeoPod is contained in the
  733. > > "Telephone Manager" CTB extensions. This info is available from APDA. The
  734. > > Telephone Manager is a part of System 7.5 and is also available on the
  735. > > most recent Developer's CD (TelMgr 1.1, or something like that.) 
  736. > No, the Telephone Manager is an API in its own right...It doesn't
  737. > connect with CTB at all. So when the CTB goes away, the tel manager
  738. > will still be around. Unfortunately.
  739.  
  740.    True.
  741.  
  742. > I worked on a project for a large telcom firm and tried like hell to
  743. > get the Geoport APIs out of Apple. None was made available, not even to
  744. > a large telcom firm that's deeply in bed with Apple. 
  745.  
  746.    True.
  747.  
  748. > > Whether the product from APDA comes with a GeoPod tool is unclear.
  749. > > If there isn't a GeoPod tool then this software is useless since Apple
  750. > > hasn't documented how you talk to a GeoPod, making it impossible for 3rd
  751. > > parties to write a GeoPod tool.
  752. > It doesn't, and you're right, it's useless. The telephone manager lets
  753. > you do things like place calls, transfer calls, answer calls, and so
  754. > forth. It doesn't actually IMPLEMENT these features, it just provides a
  755. > callable API for them.
  756. > If you want these features for a particular phone system, you'll need
  757. > to write a telephone tool. There are very few tools out there. There is
  758. > NO tool for the GeoPort. I repeat--no GeoPort tool.
  759.  
  760.    True.
  761.  
  762. > Cypress Research gives away a tool for the SupraFax modem that their
  763. > PhonePro program uses to interface with it. You can then use this tool
  764. > with any other Telephone Manger program out there...of which, I only
  765. > know of one, which a friend of mine wrote. (It's a totally cool
  766. > AppleScript interface for the telephone manager. Dials the phone,
  767. > transfers calls if you're on a Centrex system, that kind of thing.)
  768. > Even so, there's no voice support in the telephone manager yet; it's
  769. > supposed to be in the next version which hasn't yet materialized. This
  770. > means you can't do voicemail-type apps without serious hacking. (We
  771. > used a second sound card for sound in/out, hooked up to the line
  772. > through a little black box I concocted from Radio Shack.) I think
  773. > Cypress hacked voice support through the Telephone Manager's
  774. > 'device-specific' calls, but I'm not sure.
  775.  
  776.    You're correct.  Cypress's tool uses the "device-specific" calls to use
  777. voice support.  It requires a voice-modem.  In theory, they have a new box
  778. in beta that will provide the POTS interface that the GeoPort does.
  779.  
  780. > The only guy I know who actually has other Telephone Tools for other
  781. > modems is Michael Spizer at Glen Canyon Software. He has posted stuff
  782. > about it on Applelink a long time back.
  783.  
  784.    His name is Michael Speiser and he seems a pretty neat guy to talk to.
  785.  
  786. > Feel free to call, write, fax, and mail-bomb the Apple Telephony
  787. > Evangelist, Michael Bayer (Bayer1@applelink.apple.com). He's a total
  788. > wad who, in my experience, never returns email or phone calls, never
  789. > provides support or accurate information about Apple's plans, and may
  790. > simply make your life hell. He wasn't any help in making our product
  791. > come to life. It will make you want to switch to TAPI. But don't.
  792.  
  793.   Bayer will return email...sometimes.  He also promises that their
  794. GeoPort TM tool will even slice bread.  But, he won't tell when it will be
  795. done and after awhile he stops answering the email (no, I didn't bomb
  796. him.  he said their tool (when ready) would be great.  he asked for my
  797. mail address so that non-disclosures could be sent.  I sent it to him
  798. and....
  799.  
  800.   So, since the GeoPort is useless (it makes an expensive modem), the
  801. current choices Cypress Research and Collaboration Technologies. 
  802. Collaboration is advertising "PhoneBridge".  They currently have a $500
  803. developer program (comes with beta software and hardware, when the
  804. hardware goes final you get a free upgrade).  Their talk is that they can
  805. satisfy our requirements (it'll be interesting to see if they can walk).
  806.  
  807. Oh well
  808.  
  809. -- 
  810. Steve Knight
  811. Northern Telecom
  812. Rochester, NY
  813.  
  814. +++++++++++++++++++++++++++
  815.  
  816. >From sw@network-analysis-ltd.co.uk (Sak Wathanasin)
  817. Date: Mon, 7 Nov 94 09:15:37 GMT
  818. Organization: Network Analysis Ltd
  819.  
  820.  
  821. In article <sdk-0511941528450001@47.216.192.238> 
  822. (comp.sys.mac.programmer,comp.sys.mac.comm), sdk@cci.com (Stephen Knight) 
  823. writes:
  824.  
  825. > current choices Cypress Research and Collaboration Technologies. 
  826. > Collaboration is advertising "PhoneBridge".  They currently have a $500
  827. > developer program (comes with beta software and hardware, when the
  828. > hardware goes final you get a free upgrade).
  829.  
  830. Do these guys actually exist? I've sent them email about 3 times with no 
  831. response. It doesn't bode well...
  832.  
  833. Sak Wathanasin
  834. Network Analysis Limited
  835. 178 Wainbody Ave South, Coventry CV3 6BX, UK
  836.  
  837. Internet: sw@network-analysis-ltd.co.uk 
  838. uucp:     ...!uknet!nan!sw                       AppleLink: NAN.LTD
  839. Phone: (+44) 203 419996 Mobile:(+44) 850 587411  Fax: (+44) 203 690690
  840.  
  841. +++++++++++++++++++++++++++
  842.  
  843. >From Darrin Cardani <Darrin.Cardani@AtlantaGA.NCR.COM>
  844. Date: Fri, 4 Nov 1994 21:27:36 GMT
  845. Organization: AT&T Global Information Solutions, Atlanta
  846.  
  847. >In article <39bpbf$ige@redstone.interpath.net> Rob Terrell writes: 
  848. >In article <cshotton-0311941102280001@oac2.hsc.uth.tmc.edu>
  849. >cshotton@oac.hsc.uth.tmc.edu (Chuck Shotton) writes:
  850. >
  851. >> Here's the best answer so far from Apple DTS. There is no documentation
  852. >> that corresponds to the interfaces used to develop ApplePhone. It was
  853. >> written to internal, undocumented interfaces. The closest thing to
  854. >> documentation on how to play with the GeoPort/GeoPod is contained in the
  855. >> "Telephone Manager" CTB extensions. This info is available from APDA. The
  856. >> Telephone Manager is a part of System 7.5 and is also available on the
  857. >> most recent Developer's CD (TelMgr 1.1, or something like that.) 
  858. [...]
  859. >I worked on a project for a large telcom firm and tried like hell to
  860. >get the Geoport APIs out of Apple. None was made available, not even to
  861. >a large telcom firm that's deeply in bed with Apple. 
  862.  
  863. etc.
  864.  
  865. Are you aware of the following press release from Apple?
  866. - -----forwarded stuff------
  867. Support Grows for Apple GeoPort Standard 10/21/94
  868.  
  869. CUPERTINO, CALIFORNIA, U.S.A., 1994 OCT 21 (NB) -- Apple Computer's  (NASDAQ:
  870. APPL) GeoPort interface, first announced in 1993, has gained new support from 10
  871. influential computer and telephony vendors. GeoPort is a plug-and-play, backward
  872. compatible serial interface with a bandwidth 200 times that of a standard serial
  873. port.
  874.  
  875. The 10 companies declaring GeoPort to be their preferred cross-platform
  876. computer-telephony interconnect standard are: AOX, Inc., AT&T Corp., Crystal
  877. Semiconductor Corp., Cypress Research Corp., IBM Corp., Motorola, Inc., SAT
  878. Groupe SAGEM, Siemens PN, Siemens Rolm Communications, Inc., and Zilog, Inc.
  879.  
  880. Mark Orr, business manager in Apple's PC division, considered the announcement a
  881. turning point, telling Newsbytes, "We think it has the ability to become a
  882. communications standard throughout the PC world. Now we're going to go out and
  883. work the issue from an evangelism point of view."
  884.  
  885. Orr explained, "The real problem is that there has developed a solid
  886. infrastructure and technological momentum in both the telephony and PC
  887. communities. The result is that the phone and the PC haven't been able to
  888. communicate very well. There has been no means to bridge the 6-inch gap between
  889. the PC and the phone sitting next to it. GeoPort lets that happen, not just in
  890. the context of a single platform or a single telephone, but with any computer,
  891. any telephone, anywhere in the world."
  892.  
  893. Beyond providing a broad bandwidth physical connection, Apple Computer says
  894. GeoPort also hides the differences between connected computers and
  895. communications systems, and allows any kind of data to pass between them. That
  896. makes it a superior cross-platform communications tool, Apple said.
  897.  
  898. Apple has ambitious plan for GeoPort. The firm believes its design offers strong
  899. appeal in both computer and telephony markets. It cites potential uses including
  900. fax and data transmission, video conferencing, and "white board" type data
  901. sharing regardless of telephones, lines, connections or computers used in a
  902. link.
  903.  
  904. Technically, GeoPort supports most common telephone APIs (application
  905. programming interfaces) including AT&T/Novell's TSAPI, IBM's CallPath,
  906. Microsoft's TAPI, or Apple's Telephone Manager. It works with phone lines from
  907. POTS (plain old telephone service) to T1/E1 links and supports computer data,
  908. voice, fax, modem, voice or video data transfer. It also allows multiple
  909. simultaneous information streams, such as voice plus video.
  910.  
  911. (Craig Menefee/19941021/Press Contact: Maureen O'Connell, Regis McKenna, Inc.,
  912. 408-862-6689; or Lisa Byrne, Apple Computer, Inc., 408-862-5154)
  913.  
  914.  
  915.  
  916.  
  917.  
  918.  
  919.  
  920. +++++++++++++++++++++++++++
  921.  
  922. >From sdk@cci.com (Stephen Knight)
  923. Date: Tue, 8 Nov 1994 02:21:06 GMT
  924. Organization: Northern Telecom
  925.  
  926. In article <100338.e785p5@Ph.network-analysis-ltd.co.uk>,
  927. sw@network-analysis-ltd.co.uk wrote:
  928.  
  929. > In article <sdk-0511941528450001@47.216.192.238> 
  930. > (comp.sys.mac.programmer,comp.sys.mac.comm), sdk@cci.com (Stephen Knight) 
  931. > writes:
  932. > > current choices Cypress Research and Collaboration Technologies. 
  933. > > Collaboration is advertising "PhoneBridge".  They currently have a $500
  934. > > developer program (comes with beta software and hardware, when the
  935. > > hardware goes final you get a free upgrade).
  936. > Do these guys actually exist? I've sent them email about 3 times with no 
  937. > response. It doesn't bode well...
  938.  
  939.    You've probably already received mail from Wayne by now, but...try
  940. "wayne@collab.com".  He always replies to me.
  941.  
  942. -- 
  943. Steve Knight
  944. Northern Telecom
  945. Rochester, NY
  946.  
  947. +++++++++++++++++++++++++++
  948.  
  949. >From sdk@cci.com (Stephen Knight)
  950. Date: Tue, 8 Nov 1994 02:43:37 GMT
  951. Organization: Northern Telecom
  952.  
  953. In article <CyrIA0.BDK@attatl.AtlantaGA.NCR.COM>,
  954. Darrin.Cardani@AtlantaGA.NCR.COM wrote:
  955.  
  956.   [ comments on Apple's lack of GeoPort documentation, snip ].
  957.  
  958. > Are you aware of the following press release from Apple?
  959. > -------forwarded stuff------
  960. > Support Grows for Apple GeoPort Standard 10/21/94
  961.  
  962.   [ Apple press release, snip ].
  963.  
  964. Unfortunately, as long as GeoPort documentation is still unreleased from
  965. Apple, the GeoPort makes a neat fax-modem.  Big deal.  You wouldn't
  966. believe how irritated I get everytime I see a Compaq ad bragging about
  967. their speech or phone handling.  The last time I looked at an article in
  968. Computer Telephony on phone handling Apple wasn't mentioned (they had been
  969. mentioned in a previous article...months ago).  As far as I can see, Apple
  970. isn't even considered a player.  Sorry folks, the wound is
  971. self-inflicted.  It will be even more pitiful if any of those other
  972. box-making companies release their APIs before Apple (question at the 94
  973. WWDC: "when are you going to document the GeoPort APIs?"  answer: "uhhh,
  974. we haven't decided yet").
  975.  
  976. We've been wanting to release telephony capable applications to our
  977. customers for over a year.  Well, it looks like we're finally going to,
  978. but it won't be with GeoPort.  Hellooooo Collaboration Technologies!!!
  979.  
  980. -- 
  981. Steve Knight
  982. Northern Telecom
  983. Rochester, NY
  984.  
  985. +++++++++++++++++++++++++++
  986.  
  987. >From RobTerrell@vmedia.com (Rob Terrell)
  988. Date: 8 Nov 1994 16:01:28 GMT
  989. Organization: Jecta Development Corp.
  990.  
  991. In article <sdk-0711942247550001@47.216.192.236>
  992. sdk@cci.com (Stephen Knight) writes:
  993.  
  994. > Unfortunately, as long as GeoPort documentation is still unreleased from
  995. > Apple, the GeoPort makes a neat fax-modem.  Big deal.  You wouldn't
  996. > believe how irritated I get everytime I see a Compaq ad bragging about
  997. > their speech or phone handling. 
  998.  
  999. I've got to agree with Stephen. The situation has been unbearable for
  1000. over a year now. Until I quit my previous job, I spent a day a week
  1001. trying to pry GeoPort secrets out of Apple. 
  1002.  
  1003. Press releases are bullshit. If I can't get the inforamtion to program
  1004. for a product, it's useless.
  1005.  
  1006. Apple once was touting their Telepohny Apps, but not anymore. The AV
  1007. Mac "Answering Machine" barely works, and despite the fact that legions
  1008. of programmers have wanted to make a real, working version, Apple
  1009. refuses to release the specs. I honestly can't imagine why. 
  1010.  
  1011. +++++++++++++++++++++++++++
  1012.  
  1013. >From amanda@intercon.com (Amanda Walker)
  1014. Date: 8 Nov 1994 20:36:48 -0500
  1015. Organization: InterCon Systems Corporation, Engineering Dept.
  1016.  
  1017. RobTerrell@vmedia.com (Rob Terrell) writes:
  1018. >Feel free to call, write, fax, and mail-bomb the Apple Telephony
  1019. >Evangelist, Michael Bayer (Bayer1@applelink.apple.com). He's a total
  1020. >wad who, in my experience, never returns email or phone calls, never
  1021. >provides support or accurate information about Apple's plans, and may
  1022. >simply make your life hell. He wasn't any help in making our product
  1023. >come to life. It will make you want to switch to TAPI. But don't.
  1024.  
  1025. I wouldn't go that far, even speaking as someone who'se been nagging
  1026. Apple about GeoPort docs for over a year (I even asked Michael about
  1027. it point-blank at this year's WWDC, to applause from the crowd :)).
  1028.  
  1029. Documentation and support software for the GeoPort architecture is
  1030. inexcusably late, but I'm not going to start laying the blame at
  1031. Michael's or anyone else's feet.  Taking the DSP out of the Power
  1032. Macs probably did a lot to set back the progress, since they then
  1033. had to invent a new real-time scheduler to replace ARTA, come up with
  1034. new Sound Manager components, and so on.
  1035.  
  1036. I'm not singing their praises just yet, but then again I'm glad I
  1037. don't work at Apple whenever I read about the latest reorg in MacWeek :).
  1038. Engineers and evangelists are seldom the problem, in my experience.
  1039.  
  1040. Amanda Walker
  1041. InterCon Systems Corporation
  1042.  
  1043. +++++++++++++++++++++++++++
  1044.  
  1045. >From mancini@fysik.uu.se (Derrick C. Mancini)
  1046. Date: Wed, 9 Nov 1994 10:03:12 GMT
  1047. Organization: MAX-Lab, Lunds Universitet
  1048.  
  1049. In article <CyrIA0.BDK@attatl.AtlantaGA.NCR.COM>,
  1050. Darrin.Cardani@AtlantaGA.NCR.COM wrote:
  1051. > Are you aware of the following press release from Apple?
  1052. > -------forwarded stuff------
  1053. > Support Grows for Apple GeoPort Standard 10/21/94
  1054. > CUPERTINO, CALIFORNIA, U.S.A., 1994 OCT 21 (NB) -- Apple Computer's  (NASDAQ:
  1055. > APPL) GeoPort interface, first announced in 1993, has gained new support
  1056. (rest of press released deleted)
  1057.  
  1058. Yes, but that still doesn't make any of the necessary information public
  1059. or indicate what new products, if any, that Apple might introduce or upgrade.
  1060. If anything, this might suggest why Apple has been so closed-mouthed and
  1061. sluggish with this stuff, since they may have needed to be hush-hush or
  1062. were still finalizing compromised standards during negotiations with their
  1063. new "partners".  If so, then it is about time for Apple to step forward with
  1064. more support and public info in this area.  Still, I wouldn't be surprised
  1065. if there was a lead time provided for these big "partners".  Anyone at Apple
  1066. want to comment?
  1067.  
  1068. Hmmm.
  1069.  
  1070. Guess not.
  1071.  
  1072. -- 
  1073. The XRAYMAN
  1074.  
  1075. +++++++++++++++++++++++++++
  1076.  
  1077. >From Darrin Cardani <Darrin.Cardani@AtlantaGA.NCR.COM>
  1078. Date: Wed, 9 Nov 1994 18:02:16 GMT
  1079. Organization: AT&T Global Information Solutions, Atlanta
  1080.  
  1081. Sorry for the repost (if you see this twice). I think our servers
  1082. were having trouble when I posted this originally. Here it is again.
  1083.  
  1084. >In article <CyrIA0.BDK@attatl.AtlantaGA.NCR.COM> Darrin Cardani  writes: 
  1085. >>In article <39bpbf$ige@redstone.interpath.net> Rob Terrell writes: 
  1086. >>In article <cshotton-0311941102280001@oac2.hsc.uth.tmc.edu>
  1087. >>cshotton@oac.hsc.uth.tmc.edu (Chuck Shotton) writes:
  1088. >>
  1089. >>> Here's the best answer so far from Apple DTS. There is no documentation
  1090. >>> that corresponds to the interfaces used to develop ApplePhone. It was
  1091. >>> written to internal, undocumented interfaces. The closest thing to
  1092. >>> documentation on how to play with the GeoPort/GeoPod is contained in the
  1093. >>> "Telephone Manager" CTB extensions. This info is available from APDA. The
  1094. >>> Telephone Manager is a part of System 7.5 and is also available on the
  1095. >>> most recent Developer's CD (TelMgr 1.1, or something like that.) 
  1096. >[...]
  1097. >>I worked on a project for a large telcom firm and tried like hell to
  1098. >>get the Geoport APIs out of Apple. None was made available, not even to
  1099. >>a large telcom firm that's deeply in bed with Apple. 
  1100. >
  1101. >etc.
  1102. >
  1103. >Are you aware of the following press release from Apple?
  1104. >-------forwarded stuff------
  1105. >Support Grows for Apple GeoPort Standard 10/21/94
  1106. >
  1107. >CUPERTINO, CALIFORNIA, U.S.A., 1994 OCT 21 (NB) -- Apple Computer's  (NASDAQ:
  1108. >APPL) GeoPort interface, first announced in 1993, has gained new support from 
  1109. 10
  1110. >influential computer and telephony vendors. GeoPort is a plug-and-play, 
  1111. backward
  1112. >compatible serial interface with a bandwidth 200 times that of a standard 
  1113. serial
  1114. >port.
  1115. >
  1116. >The 10 companies declaring GeoPort to be their preferred cross-platform
  1117. >computer-telephony interconnect standard are: AOX, Inc., AT&T Corp., Crystal
  1118. >Semiconductor Corp., Cypress Research Corp., IBM Corp., Motorola, Inc., SAT
  1119. >Groupe SAGEM, Siemens PN, Siemens Rolm Communications, Inc., and Zilog, Inc.
  1120. >
  1121. >Mark Orr, business manager in Apple's PC division, considered the announcement 
  1122. a
  1123. >turning point, telling Newsbytes, "We think it has the ability to become a
  1124. >communications standard throughout the PC world. Now we're going to go out and
  1125. >work the issue from an evangelism point of view."
  1126. >
  1127. >Orr explained, "The real problem is that there has developed a solid
  1128. >infrastructure and technological momentum in both the telephony and PC
  1129. >communities. The result is that the phone and the PC haven't been able to
  1130. >communicate very well. There has been no means to bridge the 6-inch gap between
  1131. >the PC and the phone sitting next to it. GeoPort lets that happen, not just in
  1132. >the context of a single platform or a single telephone, but with any computer,
  1133. >any telephone, anywhere in the world."
  1134. >
  1135. >Beyond providing a broad bandwidth physical connection, Apple Computer says
  1136. >GeoPort also hides the differences between connected computers and
  1137. >communications systems, and allows any kind of data to pass between them. That
  1138. >makes it a superior cross-platform communications tool, Apple said.
  1139. >
  1140. >Apple has ambitious plan for GeoPort. The firm believes its design offers 
  1141. strong
  1142. >appeal in both computer and telephony markets. It cites potential uses 
  1143. including
  1144. >fax and data transmission, video conferencing, and "white board" type data
  1145. >sharing regardless of telephones, lines, connections or computers used in a
  1146. >link.
  1147. >
  1148. >Technically, GeoPort supports most common telephone APIs (application
  1149. >programming interfaces) including AT&T/Novell's TSAPI, IBM's CallPath,
  1150. >Microsoft's TAPI, or Apple's Telephone Manager. It works with phone lines from
  1151. >POTS (plain old telephone service) to T1/E1 links and supports computer data,
  1152. >voice, fax, modem, voice or video data transfer. It also allows multiple
  1153. >simultaneous information streams, such as voice plus video.
  1154. >
  1155. >(Craig Menefee/19941021/Press Contact: Maureen O'Connell, Regis McKenna, Inc.,
  1156. >408-862-6689; or Lisa Byrne, Apple Computer, Inc., 408-862-5154)
  1157. >
  1158. >
  1159. >
  1160. >
  1161. >
  1162. >>
  1163.  
  1164.  
  1165.  
  1166.  
  1167.  
  1168.  
  1169. +++++++++++++++++++++++++++
  1170.  
  1171. >From bereskin@apple.com (Ken Bereskin)
  1172. Date: Fri, 4 Nov 1994 21:06:35 GMT
  1173. Organization: Apple Canada Inc.
  1174.  
  1175. In article <39bpbf$ige@redstone.interpath.net>, RobTerrell@vmedia.com (Rob
  1176. Terrell) wrote:
  1177.  
  1178. > If you want these features for a particular phone system, you'll need
  1179. > to write a telephone tool. There are very few tools out there. There is
  1180. > NO tool for the GeoPort. I repeat--no GeoPort tool.
  1181.  
  1182. JABRA ships a preliminary telephone tool with its EarPhone product that
  1183. works with the GeoPort Telecom Adapter and an application (Power Dialer)
  1184. that allows you place/answer voice calls under direct user or AppleScript
  1185. control.
  1186.  
  1187. Its cool and it works! Its called the 'Jabra PowerTelephoneTool' and
  1188. appears to be developed by CTM Development (Get Info... credit).
  1189.  
  1190. Ken
  1191.  
  1192. +++++++++++++++++++++++++++
  1193.  
  1194. >From bereskin@apple.com (Ken Bereskin)
  1195. Date: Fri, 4 Nov 1994 21:06:35 GMT
  1196. Organization: Apple Canada Inc.
  1197.  
  1198. In article <39bpbf$ige@redstone.interpath.net>, RobTerrell@vmedia.com (Rob
  1199. Terrell) wrote:
  1200.  
  1201. > If you want these features for a particular phone system, you'll need
  1202. > to write a telephone tool. There are very few tools out there. There is
  1203. > NO tool for the GeoPort. I repeat--no GeoPort tool.
  1204.  
  1205. JABRA ships a preliminary telephone tool with its EarPhone product that
  1206. works with the GeoPort Telecom Adapter and an application (Power Dialer)
  1207. that allows you place/answer voice calls under direct user or AppleScript
  1208. control.
  1209.  
  1210. Its cool and it works! Its called the 'Jabra PowerTelephoneTool' and
  1211. appears to be developed by CTM Development (Get Info... credit).
  1212.  
  1213. Ken
  1214.  
  1215. ---------------------------
  1216.  
  1217. >From clark@halcyon.com alt.emulators.ibmpc.apple2 alt.emusic alt.engr.explosives alt.ernie-pook alt.etc.passwd alt.etext alt.eunuchs.questions alt.exotic-music alt.exploding.kibo alt.fairs.renaissance alt.fan.addams.wednesday alt.fan.albedo alt.fan.alok.vijay (Charles W. Clark alt.bbs.gigo-gateway alt.bbs.internet alt.bbs.lists alt.bbs.lists.d alt.bbs.majorbbs alt.bbs.metal alt.bbs.pcboard alt.bbs.pcbuucp alt.bbs.searchlight alt.bbs.unixbbs alt.bbs.unixbbs.uniboard alt.bbs.uupcb alt.bbs.waffle alt.bbs.)
  1218. Subject: How to get list of files in folder
  1219. Date: Thu, 03 Nov 1994 15:29:59 -0800
  1220. Organization: Marunaka Translation Service
  1221.  
  1222. Hello All!
  1223.  
  1224. Could someone please tell me how to go about getting FSspec or
  1225. SFReply-type information for all of the files in the current directory
  1226. (folder)?
  1227. I have been struggling with this problem and haven't been able to find any
  1228. Toolbox routines for this. (I am using Symatec C++). Any assistance
  1229. greatly appreicated.
  1230.  
  1231. Thanks in Advance,
  1232. Charlie Clark
  1233.  
  1234. +++++++++++++++++++++++++++
  1235.  
  1236. >From trygve@netcom.com (Trygve Isaacson)
  1237. Date: Fri, 4 Nov 1994 11:46:04 GMT
  1238. Organization: Wall Data Incorporated
  1239.  
  1240. In article <clark-0311941529590001@blv-pm0-ip14.halcyon.com>,
  1241. clark@halcyon.com wrote:
  1242.  
  1243. > Could someone please tell me how to go about getting FSspec or
  1244. > SFReply-type information for all of the files in the current directory
  1245. > (folder)?
  1246. > I have been struggling with this problem and haven't been able to find any
  1247. > Toolbox routines for this. (I am using Symatec C++). Any assistance
  1248. > greatly appreicated.
  1249.  
  1250. PBGetCatInfo is the call. Here's one way to do it. You need to have the
  1251. vRefNum of the volume (disk) and the dirID of the folder. See IM:Files
  1252. 2-43 for details. I hope this helps!
  1253.  
  1254. void EnumerateFolder(short vRefNum, long dirID)
  1255.      {
  1256.      Str31      name;
  1257.      CInfoPBRec pb;
  1258.      OSErr      err
  1259.      short      index = 1;
  1260.  
  1261.      pb.dirInfo.ioNamePtr = name;
  1262.      pb.dirInfo.ioVRefNum = vRefNum;
  1263.  
  1264.      while (err == noErr)
  1265.          {
  1266.          pb.dirInfo.ioFDirIndex = index;
  1267.          pb.dirInfo.ioDrDirID = dirID; // gotta set it each time!
  1268.  
  1269.          err = PBGetCatInfo(&pb, false);
  1270.  
  1271.          if (err == noErr)
  1272.              {
  1273.              if ((pb.hFileInfo.ioFlAttrib & 0x10) == 0x10) // folder bit
  1274.                  ProcessASubFolder(&pb);
  1275.             else
  1276.                  {
  1277.                  pb.dirInfo.ioDrDirID = dirID; // changed by PBGetCatInfo
  1278.                  ProcessAFile(&pb);
  1279.                  }
  1280.              }
  1281.  
  1282.          index++;
  1283.          }
  1284.      }
  1285.  
  1286. To get an FSSpec for the file (or subfolder) you could do this:
  1287.  
  1288. void ProcessAFile(CInfoPBRec *filePB)
  1289.     {
  1290.     OSErr  err;
  1291.     FSSpec anFSSpec;
  1292.  
  1293.     err = FSMakeFSSpec(filePB->dirInfo.ioVRefNum,
  1294.                        filePB->dirInfo.ioDrDirID,
  1295.                        filePB->dirInfo.ioNamePtr,
  1296.                        &anFSSpec);
  1297.     etc.
  1298.     }
  1299. ....................................................................
  1300. Trygve Isaacson       trygve@netcom.com       Wall Data Incorporated
  1301.              file://ftp.netcom.com/pub/trygve/home.html
  1302. ....................................................................
  1303.  
  1304. ---------------------------
  1305.  
  1306. >From lam@isd.jpl.nasa.gov (R. Lam)
  1307. Subject: Sample code for Launching appl from SC++ or TC.
  1308. Date: 2 Nov 1994 19:47:05 GMT
  1309. Organization: JPL
  1310.  
  1311. Hi,
  1312.  
  1313. I'm looking for some sample code to launch an application (i.e
  1314. GIFConverter)
  1315. from a Symantec C or C++ programming environment. Can anyone point me
  1316. to
  1317. the right place please? Thanks in advance.
  1318.  
  1319. Ray Lam
  1320. lam@isd.jpl.nasa.gov
  1321.  
  1322. +++++++++++++++++++++++++++
  1323.  
  1324. >From mhl@icf.hrb.com (mark)
  1325. Date: 2 Nov 94 17:00:18 EST
  1326. Organization: HRB Systems, Inc.
  1327.  
  1328. In article <398qbp$5to@lo-fan.jpl.nasa.gov>, lam@isd.jpl.nasa.gov (R. Lam) writes:
  1329. > Hi,
  1330. > I'm looking for some sample code to launch an application (i.e
  1331. > GIFConverter) from a Symantec C or C++ programming environment. 
  1332. > Can anyone point me to the right place please? Thanks in advance.
  1333. > Ray Lam
  1334. > lam@isd.jpl.nasa.gov
  1335.  
  1336.         ftp.apple.com://dts/mac/sc/snippets/processes/launchwithdoc2.hqx 
  1337.  
  1338. -- 
  1339. Hope this helps.
  1340.  
  1341. Mark H. Linton
  1342. ____________________________________________________________________
  1343. mark \'m‰rk\ n [ME, fr. OE mearc boundary, march, sign; akin to OHG
  1344. marha boundary, L margo] 1 a : a conspicuous object serving as a guide
  1345. for travelers 2 : A standard or criterion of quality 3 : An object or
  1346. point that serves as a guide --idiom. mark time. 1 : To make little or
  1347. no progress
  1348.  
  1349. +++++++++++++++++++++++++++
  1350.  
  1351. >From Scott.Francis@SuperMac.com (Scott Francis)
  1352. Date: Fri, 04 Nov 1994 13:02:02 -0800
  1353. Organization: SuperMac
  1354.  
  1355. In article <398qbp$5to@lo-fan.jpl.nasa.gov>, lam@isd.jpl.nasa.gov (R. Lam)
  1356. wrote:
  1357.  
  1358. > Hi,
  1359. > I'm looking for some sample code to launch an application (i.e
  1360. > GIFConverter)
  1361. > from a Symantec C or C++ programming environment. Can anyone point me
  1362. > to
  1363. > the right place please? Thanks in advance.
  1364.  
  1365.  
  1366. Assuming you've got an FSSpec for the app you want to launch (if not,
  1367. check out PBCatSearch or other mechanism to find the app you want).  The
  1368. following snippet should get you started...
  1369.  
  1370. {
  1371. FSSpec         anFSSpec;
  1372. LaunchParamBlockRec
  1373.             launchPB;
  1374.  
  1375.  
  1376.     launchPB.launchBlockID = extendedBlock;
  1377.     launchPB.launchEPBLength = extendedBlockLen;
  1378.     launchPB.launchFileFlags = launchNoFileFlags;
  1379.     launchPB.launchControlFlags = launchNoFileFlags + launchContinue;
  1380.     launchPB.launchAppSpec = &anFSSpec;
  1381.  
  1382.     LaunchApplication(&launchPB); 
  1383. }
  1384.  
  1385. If you wanted to have the app open a document, you need to add AE stuff
  1386. (If you know the app is HL event aware -- check size resource) before the
  1387. LaunchApplication and set aLaunchPB.launchAppParameters to point to an
  1388. AEDesc's dataHandle.  (Let me know if want that code, too.)
  1389.  
  1390. --Scott
  1391.  
  1392. ---------------------------
  1393.  
  1394. >From tuc@dingo.cs.wisc.edu (Brian Cole)
  1395. Subject: Subject: Apple PR: MacOS Software Developer's Kit
  1396. Date: 4 Nov 1994 18:01:53 GMT
  1397. Organization: University of WI, Madison -- Computer Sciences Dept.
  1398.  
  1399. found at ftp://ftp.austin.apple.com/Apple.Support.Area/Apple.Press.Releases/
  1400. (edited for brevity)
  1401.  
  1402. ] Cupertino, California--October 31, 1994--Responding to developer
  1403. ] requests, Apple Computer, Inc. today announced availability of a
  1404. ] software developer's kit that combines most of its existing software
  1405. ] developer's kits into one convenient--and very affordable--package.
  1406. ] For U.S. $299, developers can purchase an annual subscription to the
  1407. ] new Mac  OS Software Developer's Kit (SDK), which is available on a
  1408. ] CD-ROM and includes quarterly updates.
  1409. ]     Another important benefit of the Mac OS Software Developer's Kit is
  1410. ] its streamlined approach to software licensing.  Subscribers
  1411. ] automatically will be able to redistribute certain system extension
  1412. ] files and libraries with programs they develop that require these
  1413. ] components.
  1414.  
  1415. ]      With a subscription to the Mac OS Software Developer's Kit,
  1416. ] developers will receive a disc each quarter that contains the most
  1417. ] recent versions of almost all of Apple's system-software extensions,
  1418. ] making it convenient to track these most recent extension releases
  1419. ] and incorporate support for them into applications.  In addition to
  1420. ] the system-software extensions, the Mac OS SDK includes programming
  1421. ] interfaces and libraries, sample code, and technical documentation.
  1422.  
  1423. ] The initial release of Mac OS SDK includes SDKs for the following
  1424. ] software extensions:
  1425. ]  
  1426. ] Apple Guide                                    MacODBC
  1427. ] Apple Open Collaboration Environment (AOCE)    MacOSI  Connection
  1428. ] Apple Remote Access                            MacSNMP
  1429. ] Apple Remote Access Modem                      MacTCP
  1430. ] Apple Shared Library Manager                   MacX.400
  1431. ] AppleScript                                    MacX25
  1432. ] AppleSearch                                    MIDI Management Tools
  1433. ] AppleShare  API                                Network Software Installer
  1434. ] AppleTalk  Wide Area                           Open Transport
  1435. ] ColorSync                                      PlainTalk
  1436. ] Communications Toolbox                         QuickDraw  GX
  1437. ] Control Strip                                  QuickTime
  1438. ] Designing PCI Cards & Drivers                  Sound Manager
  1439. ] File System Manager                            Telephone Manager
  1440. ] Installer                                      Thread Manager
  1441. ] Macintosh Drag and Drop                        XTND
  1442. ] Macintosh Easy Open
  1443.  
  1444. ] Members worldwide of Apple's Partners Program will receive one
  1445. ] subscription to the Mac OS SDK without charge as one of the benefits
  1446. ] of the program.  For other developers, subscriptions to the Mac OS
  1447. ] Software Developer's Kit are available immediately through APDA
  1448.  
  1449. ] APDA
  1450. ] Apple Computer, Inc.
  1451. ] P.O. Box 319
  1452. ] Buffalo, NY 14207-0319
  1453. ] 800-282-2732 (U.S.A.)
  1454. ] 800-637-0029 (Canada)
  1455. ] 716-871-6555 (International)
  1456. ] 716-871-6511 (Fax)
  1457.  
  1458.  
  1459. -- 
  1460. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~   _______    _____   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1461. Brian A. Cole                 |_   _  |  |  ___|  http://www.cs.wisc.edu/~tuc/
  1462. Head Consultant                 | | | |__| |___       The speed of time is
  1463. tuc@cs.wisc.edu                 |_| |__________|      3600 seconds per hour.
  1464.  
  1465. ---------------------------
  1466.  
  1467. End of C.S.M.P. Digest
  1468. **********************
  1469.  
  1470.  
  1471.