home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / mac / programm / 14026 < prev    next >
Encoding:
Text File  |  1992-08-14  |  3.3 KB  |  68 lines

  1. Newsgroups: comp.sys.mac.programmer
  2. Path: sparky!uunet!math.fu-berlin.de!news.uni-stuttgart.de!rz.uni-karlsruhe.de!stepsun.uni-kl.de!oinone.kit.uni-kl.de!sold
  3. From: sold@kit.uni-kl.de (Christoph Sold)
  4. Subject: Re: Australian Mac systems
  5. Message-ID: <sold.54.713825579@kit.uni-kl.de>
  6. Lines: 55
  7. Sender: news@rhrk.uni-kl.de
  8. Organization: Universitaet Kaiserslautern
  9. References: <1992Aug12.093523.3242@otago.ac.nz> <1992Aug12.165059.10056@waikato.ac.nz>
  10. Date: Fri, 14 Aug 1992 20:52:59 GMT
  11. Lines: 55
  12.  
  13. In article <1992Aug12.165059.10056@waikato.ac.nz> ldo@waikato.ac.nz (Lawrence D'Oliveiro, Waikato University) writes:
  14. >Subject: Re: Australian Mac systems
  15. >From: ldo@waikato.ac.nz (Lawrence D'Oliveiro, Waikato University)
  16. >Date: 12 Aug 92 16:50:59 +1200
  17. >In article <1992Aug12.093523.3242@otago.ac.nz>, a certain Woody Allen lookalike
  18. >writes:
  19. >
  20. >> I am trying to detect in my application whether or not the user is in Australia
  21. >> - which includes New Zealand in a remarkably insensitive slight to my country -
  22. >> and I have been doing The Right Thing: calling IUGetIntl(0) and checking the
  23. >> intl0Vers field to see what version of the system is running.
  24. >>
  25. >> I have just discovered that this won't work for most of my Australian/NZ  users
  26. >> who are using their Macs as they came out of the box, not unreasonably. (The
  27. >> first thing I always do with a new Mac is repartition the hard disk to pick up
  28. >> the extra 2-4 megabytes and reinstall the system). But if you leave it alone,
  29. >> that standard Australian Mac is set to verUS! The Australian international
  30. >> resources are there, but the International control panel isn't. So most users
  31. >> will just carry on and occasionally wonder why the day and the month in their
  32. >> dates are the wrong way round.
  33. >>
  34. >> What I'm going to have to do is check directly for the presence of the
  35. >> Australian itl0/itl1 resources in the System file. Which is not exactly the way
  36. >> things ought to be. Why don't new Macs come properly configured?
  37. >
  38. >I've bitched about this too. I think the fault lies with Apple Australia
  39. >(who I assume are the ones responsible for creating "Z" versions of systems).
  40. >The installer script for *every* Z system I've ever seen will install the
  41. >right resources, but will leave the region setting (and date format) at 0
  42. >(US) instead of 15 (Austral[as]ian). To add insult to injury, when you update
  43. >your system to a newer version, the Installer will change the region code
  44. >back to 0, if you had it configured to something else! And of course the
  45. >installer script leaves out the "International" control panel for some reason...
  46. >
  47. >Perhaps Aussies are getting used to things American. After all, Keating
  48. >heads the "Labor" party, doesn't he?
  49. >
  50. >In which case, maybe it's time for an NZ-specific system...
  51. >
  52. >Lawrence
  53. >living in what is probably still the second-most loyal of Britain's former
  54. >colonies (after the Falkland Islands...)
  55.  
  56. Of course, you can do it the hard way: Assuming the user has set up the 
  57. right location in the Map control panel, you can ask the system for its 
  58. location. See Inside Macintosh, Vol VI, Worldwide Software (or something the 
  59. like).
  60.  -Christoph
  61.  
  62. Christoph P. Sold                   CATS Software GmbH
  63.                                     Mussbacher Landstr.2
  64.                                     W-6730 Neustadt (Weinstrasse)
  65. ger.xse0035@applelink.apple.com     Germany
  66.  
  67. "If an apple is fun, what the heck is an appletree?"
  68.