HDTenEightyP/NetNews huggingface dataset:
From: iscjcw@uccvma.ucop.edu (Jerry Wilcox)
Newsgroups: comp.sys.mac.programmer
Subject: Re: IM in printable formats???
Date: 13 Nov 92 23:09:56 GMT
Followup-To: comp.sys.mac.programmer
Organization: University of California, Office of the President
NNTP-Posting-Host: ajax.ucop.edu

In article <1992Nov12.230541.20079@wam.umd.edu>, jcohen@wam.umd.edu (Justin
Robert Cohen) wrote:
> 
> Hi, I'm sure this is a FAQ but does anyone know if the text of Inside Macintosh
> is available in easily printable form?

One option would be to subscribe to "d e v e l o p". Such a subscription
gets you the quarterly CD-ROM which has IM, Tech Notes, and other goodies
in an easily printable form.

-----------
Jerry Wilcox - iscjcw@uccvma.ucop.edu
All opinions expressed are MINE -- I'd have a different job if the
University wanted me to speak for it.
Newsgroups: comp.sys.mac.programmer
From: kurisuto@chopin.udel.edu (Sean J. Crist)
Subject: Icon LDEF wanted- icons and the list manager
Organization: University of Delaware
Date: Fri, 13 Nov 1992 23:18:03 GMT

I am trying to write a dialog using the list manager which displays all of
the icons in a file and allows the user to select one (a la HyperCard).  I
have two questions about this.

1.  Does anybody have some handy code for an icon LDEF which they could
give me?  If not, do you know where I could get such code?  A long time
ago, I recall hearing that something like this was available somewhere,
either in a book or from an ftp site.  I only know Pascal, and I don't
have a C compiler, so C code won't help me any.  (I know I could write the
LDEF myself, but LDEFs are impossibly hard to debug, and it would save me
much time if I could track down a ready-made one.)

2.  Assuming I have a suitable LDEF, what do you think is the most
straightforward way to find out the resource number of the selected icon?
One way would be to include both the icon itself and the resource number
in the cell data, and write the LDEF to be smart enough to draw only the
icon.  Does anyone have any suggestion here?

Thank you very much.

--Kurisuto


Newsgroups: comp.sys.mac.programmer
From: leonardr@netcom.com (Leonard Rosenthol)
Subject: Re: processes and passing files to open...
Organization: Netcom - Online Communication Services  (408 241-9760 guest) 
Date: Mon, 9 Nov 1992 00:19:06 GMT

In article <1djv2gINNjhd@mthvax.cs.miami.edu> rsherman@mthvax.cs.miami.edu (Roby Sherman) writes:
>Hi.
>
>Under System 7, is it possible to tell the Process Manager what files to
>open after starting a process? IE: I want Stuff-It Deluxe to launch and
>then open a certain file. Is there any way to do this without Apple
>Events?
>
	Why would you want to do this WITHOUT Apple events??  Using AE's is
the correct way to do this - in fact you can even pass the "open document"
event along with the _LaunchApplication call if you want.

-- 
-----------------------------------------------------------------------------
Leonard Rosenthol			Internet: 	leonardr@netcom.com
Director of Advanced Technology		AppleLink:	MACgician
Aladdin Systems, Inc.			GEnie:		MACgician
From: chubbard@strl.labs.tek.com (Chris Hubbard)
Newsgroups: comp.sys.mac.programmer
Subject: THINK C 4.0.5 & System 7 programming : How?
Date: 11 Nov 92 02:05:53 GMT
Article-I.D.: crl.4902
Reply-To: chubbard@strl.labs.tek.com
Followup-To: comp.sys.mac.programmer
Distribution: na
Organization: STRL, Tektronix Inc, USA

Hello,

I have a copy of THINK C 4.0.5 and I want to do System 7 specific
programming.  What header files or other such things do I need to
get so that I can do this?

Chris
From: gjw2824@hertz.njit.edu (Greg J Weston)
Newsgroups: comp.sys.mac.programmer
Subject: Re: DogCow.. Moof..?
Date: 6 Nov 92 22:18:31 GMT
Article-I.D.: njitgw.1992Nov6.221831.3684
Organization: New Jersey Institute of Technology, Newark, N.J.

Part B (Easier): Moof is the sound the dogcow makes.

Part A (Hide small children): The dogcow is the mascot of Mac DTS. It
first showed up in (I think) an early version of the Cairo font and
drinks Mountain Dew. It is two-dimensional, and cannot be seen
head-on. Apple at one point published a tech note about it (#32, which
had been noted as reserved up until around the time #170 came out, and
I think it got used for real more recently). The LaserWriter setup
(most of the time) has the dogcow as the image in the little image to
show you how the selections you've made will affect the printout. In
the Arabic version, the image was a horse instead.
Newsgroups: comp.sys.mac.programmer
From: howard@netcom.com (Howard Berkey)
Subject: Re: True OOP languages
Organization: Netcom - Online Communication Services  (408 241-9760 guest) 
Date: Thu, 12 Nov 1992 00:29:43 GMT

In article <1992Nov11.171645.1@wombat.newcastle.edu.au> mebhl@wombat.newcastle.edu.au (TUNRA Bulk Solids) writes:
>I've read, on the net, that THINK C and THINK Pascal are not true OOP
>languages because they don't provide operator overloading. Is this true?
>
>Thanks, Simon.

It is true that they don't provide operator overloading.  However,
they do provide both encapsulation and inheritance, which are far more
important measures of object oriented design philosophy than operator
overloading.

-Howard

-- 
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
Howard Berkey						howard@netcom.com
		         Its in my brain now
_________/\______/\_____/\___/\__/\_/\/\/\/\................................

Newsgroups: comp.sys.mac.programmer
From: Daryl_Spitzer@mindlink.bc.ca (Daryl Spitzer)
Subject: XVT's Portability Toolkit
Organization: MIND LINK! - British Columbia, Canada
Date: Fri, 13 Nov 1992 19:57:12 GMT

Does anyone know anything about XVT's Portability Toolkit?  A friend pointed
out their ad. in BYTE.  He tells me it's expensive, but if it does what they
advertise, it would be worth it:

        - supports Mac, Microsoft Windows, OS/2 PM, OPEN LOOK, OSF/Motif
          & character

        - native look & feel

        - access to complete functionality of each system

So is this for real?

(If so, why should one wait for Bedrock?)

--
-------------------------------------------------------------------
 Daryl_Spitzer@mindlink.bc.ca     "Life isn't just, life just is."
         a2251@mindlink.bc.ca              -- Me  (I think.)
-------------------------------------------------------------------
Newsgroups: comp.sys.mac.programmer
Distribution: world
From: Bob_G._Breckenridge@bmug.org
Organization: BMUG, Inc.
Date: Fri, 06 Nov 1992 01:11:07 PST
Subject: Think C wanted

Looking for a copy of Think C.  Please reply if you have one you'd like to get
rid of.
***************************************************************************
             From Planet BMUG, the FirstClass BBS of BMUG, Inc.
              The above message was gatewayed via PostalUnion
***************************************************************************
The message contained in this posting is entirely the poster's personal
opinion.  Any possible, real or perceived, (dis)similarities with the
views held by BMUG, are purely coincidental.
***************************************************************************
Newsgroups: comp.sys.mac.programmer
From: bwilliam@iat.holonet.net (Bill Williams)
Subject: Re: True OOP languages
Organization: HoloNet (BBS: 510-704-1058)
Date: Thu, 12 Nov 1992 05:02:27 GMT

Operator overloading could concevably be done with a large preprocessing
system so therefore should not be a good limiting factor in declaring any
language more or less object oriented.

A Better set of high-end criteria would be : DOES THE THING SUPPORT
MULTIPLE INHERITENCE?

Another good criteria is : DOES THE LANGUAGE SUPPORT DYNAMIC BINDING (As
the Objective-C language evidently does)?

Some languages can be stretched slightly to become better object oriented
languages : Ada with DRAGOON, Modula-3, etc.


Bill Williams

Newsgroups: comp.sys.mac.programmer
From: simsh@crockett1a.its.rpi.edu (Chewbacca)
Subject: Another THINK C 5.0.3 bug?
Date: Mon, 9 Nov 1992 16:22:15 GMT

Hello everyone. Here is my test program:

   #include <stdio.h>

   void main()
   {
      int h;
      h=5;
      printf("%d\n",h);
   }

Simple enough. Well, with 4-bit ints turned on, this program prints out 0.
With 4-bit ints off, it prints 5 like it should. The global optimizer is off.
Is this another bug? Or has it already been seen and I just didn't read about
it?

-- 
-------------------------------------------------------------------------------
     Hillel Sims                        e-mail: simsh@rpi.edu
     >:-) The Smiling Vulcan            Rensselaer Polytechnic Institute
Newsgroups: comp.sys.mac.programmer
From: kent@lloyd.Camex.COM (Kent Borg)
Subject: Re: Macsbug: crashing my system?
Organization: Camex Inc., Boston MA
Date: Tue, 10 Nov 1992 15:03:56 EST

In article <1992Nov10.163433.26807@ncar.ucar.edu> urban@stout.atd.ucar.edu (Art Urban (PROFS)) writes:
>I hope this is the appropriate news group...
>
>I am running Macsbug 6.2.2. For the past several months, when the mac
>crashes, I am not sent to Macsbug. Instead the screen goes completely grey
>(not bitmapped grey, either; solid color), and I have to reset the mac to
>recover. I thought that Macsbug would intercept this condition and intervene
>allowing me to view the stack, etc.

[Sorry, one of those "me too" posts.]

I have also seen this but always blamed the video card.  In my case
Macsbug was there, I could type "es<cr>" or "g<cr>" and it would do
it, I just couldn't see much.  I had the option of moving to a
different Mac, but had I not I would have played with bit depth,
rebuilding systems, etc.

--

Kent Borg            kent@camex.com or kentborg@aol.com (when it is *working*)
                                            H:(617) 776-6899  W:(617) 426-3577
As always, things look better when some costs are left out.
						      -Economist 3-28-92 p. 94
From: fjb20@juts.ccc.amdahl.com (Francis J. Bruening)
Newsgroups: comp.sys.mac.programmer
Subject: what is cmaster?
Date: 12 Nov 92 18:58:14 GMT
Reply-To: fjb20@juts.ccc.amdahl.com (Francis J. Bruening)
Organization: Amdahl Corporation

Greetings,

I've seen mention to cmaster several times, but am unsure what it is? I 
assume it is an editor you can use in the THINK environment (and possibly 
others).  Could someone post or email me a brief overview of this product?

Also where to get it?

thanks!


Francis J. Bruening
fjb20@juts.ccc.amdahl.com <> francisb4j@aol.com
<Insert witty .sig of choice>
Newsgroups: comp.sys.mac.programmer
From: dlb5404@tamsun.tamu.edu (Daryl Biberdorf)
Subject: Where do I get information on the PowerBook Power Manager?
Organization: Texas A&M University, College Station
Date: Mon, 9 Nov 1992 18:41:54 GMT


I am interested in writing some PowerBook power control utilities, but
as near as I can tell, the Power Manager as described in the old
Inside Macintosh books applies only to the Portable, not to the PowerBook
(at least not 100%).  The new Inside Macintosh:Devices book doesn't look
like it will be available until spring 1993.

Can anyone tell me where I can get information about the Power Manager
in the PowerBooks?  Or, do the old Power Manager docs really apply to
the newer machines?


Thanks in advance.

Daryl
-- 
Daryl Biberdorf  N5GJM    d-biberdorf@tamu.edu or  dlb5404@tamsun.tamu.edu

Xref: sparky comp.sys.mac.programmer:18067 comp.sys.mac.system:13766 comp.sys.mac.apps:16836
From: erh0362@tesla.njit.edu (Elliotte Rusty Harold)
Newsgroups: comp.sys.mac.programmer,comp.sys.mac.system,comp.sys.mac.apps
Subject: Re: Respective FAQ's can be found...
Date: 6 Nov 92 05:41:43 GMT
Distribution: usa
Organization: New Jersey Institute of Technology

> A couple of days ago I requested info about where FAQ's can be found
> for the above newsgroups.  Here's the info:
> 
>   pit-manager.mit.edu
> 
> in the directory
> 
>   pub/usenet/comp.sys.mac.*
> 
> Where * is misc, apps, programmer, system, or whatever.  Once you get
> there, you'll realise real quick that it contains a plethora of
> newsgroups (seemingly all of them) with their respective FAQ's.  Just
> cd into the newsgroup you want in the directory in pub/usenet/ .

	Except that the FAQ for this c.s.m.misc, c.s.m.system, and c.s.m.apps 
have not yet been approved for inclusion so you'll have to look at more normal 
Macintosh sites like sumex and rascal for those.  

Elliotte Rusty Harold		Department of Mathematics
elharo@m.njit.edu		New Jersey Inology
erh0362@tesla.njit.edu		Newark, NJ 07102
Newsgroups: comp.sys.mac.programmer
From: dodel@CAM.ORG (Jean-Pierre Dodel)
Subject: MIDIPascal WANTED!!!
Organization: Communications Accessibles Montreal, Quebec Canada
Date: Thu, 5 Nov 1992 19:01:37 GMT

If someone could please send me a copy of the MIDIPascal
library, I would really appreciate it.

thanks,


-JP

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

                       Jean-Pierre Dodel
From: mkelly@mystix.cs.uoregon.edu (Michael A. Kelly)
Newsgroups: comp.sys.mac.programmer
Subject: C.S.M.P. Digest V1 #211 Available
Date: 9 Nov 92 12:30:01 GMT
Article-I.D.: cs.1992Nov9.123001.28043
Followup-To: poster
Organization: University of Oregon Computer and Information Sciences Dept.


C.S.M.P. Digest             Mon, 09 Nov 92       Volume 1 : Issue 211

Today's Topics:

	Moving the mouse pointer-- how?
	Crippled LC Sound Chip? (was Re: Sound Manager Phooey!)
	Execution timing of ODOC
	ICMP
	CountAppFiles --- and starting a child process
	Disassembly with source in MPW?



The Comp.Sys.Mac.Programmer Digest is moderated by Michael A. Kelly.

The digest is a collection of article threads from the internet newsgroup
comp.sys.mac.programmer.  It is designed for people who read c.s.m.p. semi-
regularly and want an archive of the discussions.  If you don't know what a
newsgroup is, you probably don't have access to it.  Ask your systems
administrator(s) for details.  (This means you can't post questions to the
digest.)

Each issue of the digest contains one or more sets of articles (called
threads), with each set corresponding to a 'discussion' of a particular
subject.  The articles are not edited; all articles included in this digest
are in their original posted form (as received by our news server at
cs.uoregon.edu).  Article threads are not added to the digest until the last
article added to the thread is at least one month old (this is to ensure that
the thread is dead before adding it to the digest).  Article threads that
consist of only one message are generally not included in the digest.

The entire digest is available for anonymous ftp from ftp.cs.uoregon.edu
[128.223.8.8] in the directory /pub/mac/csmp-digest.  Be sure to read the
file /pub/mac/csmp-digest/README before downloading any files.  The most
recent issues are available from sumex-aim.stanford.edu [36.44.0.6] in the
directory /info-mac/digest/csmp.  If you don't have ftp capability, the sumex
archive has a mail server; send a message with the text '$MACarch help' (no
quotes) to LISTSERV@ricevm1.rice.edu for more information.

The digest is also available via email.  Just send a note saying that you
want to be on the digest mailing list to mkelly@cs.uoregon.edu, and you will
automatically receive each new issue as it is created.  Sorry, back issues
are not available through the mailing list.

Send administrative mail to mkelly@cs.uoregon.edu.


-- 
_____________________________________________________________________________
Michael A. Kelly                                               Senior Partner
mkelly@cs.uoregon.edu                                      High Risk Ventures
_____________________________________________________________________________
From: arisz@csri.toronto.edu (Aris Zakinthinos)
Newsgroups: comp.sys.mac.programmer
Subject: custom LDEF
Date: 13 Nov 92 20:51:14 GMT
Distribution: na
Organization: Computer Systems Research Institute

I have written a custom LDEF but I am having a problem with horizontal
scrolling.  The Item I want to place in the list is bigger then the viewing
area.  No problem I though I would just make the cell size the size I need.
But when I press the horizontal scroll I don't get the message in my LDEF and
all the happens is the list box just clears.  When I press the horizontal 
scroll bar again to go the the left then my LDEF gets the message and the
list box is updated correctly.  Does anybody have any idea why this isn't 
working.  Other useful details.  The list box has only one column and the
vertical scrolling works fine.

Any help would be appreciated.

Thanks,

Aris. Zakinthinos.
From: terryd@apple.com (TK Davis)
Newsgroups: comp.sys.mac.programmer
Subject: Re: PhotoCD Woes?
Keywords: Photo CD
Date: 6 Nov 92 16:26:37 GMT
Reply-To: terryd@apple.com (TK Davis)
Organization: Apple Computer, Inc.

The PhotoCD can be read on all Apple CD ROMS. The disadvantage of the older 
CDs is that they cannot read multiple sessions. They are single session only.


TK Davis


I can't complain, no one listens anyway!
From: krk@oit.itd.umich.edu (Kenneth Knight)
Newsgroups: comp.sys.mac.programmer
Subject: Re: Reading in jpeg compressed PICT files
Date: 13 Nov 92 18:48:06 GMT
Organization: Instructional Technology Laboratory, University of Michigan
NNTP-Posting-Host: helen.oit.itd.umich.edu

In article <1992Nov12.192450.17388@husc3.harvard.edu> crevier@husc8.harvard.edu (Daniel Crevier) writes:
>
>	I am trying to convert some PICT files that were captured with the
>video spigot into a format called FITS so that I can use them with a program
>called macvista.  My problem is in loading the pict files.  My plan was to
>create a gworld, and then open the PICT files using the source from tech note
>152, and then draw it in the gworld, and then go through it with GetCPixel, and
>convert it.  I can't get it working...  I tried just loading a picture into 
>a CWindow using the source from tech note 152, and it crashes when doing the
>DrawPicture call.  Will this not work with JPEG pictures for some reason?  I 
>can send source if needed.  Any help, or pointers to source to load pictures
>would be appreciated.

I'm not sure this will answer your question,but here goes. You will have to
work with QuickTime. Full documentation on QuickTime is at ftp.apple.com and
you will want to focus on the Image Compression chapter. In brief, you will
need to do the following things:

1. Load your picture dat into a pointer of the proper size.
2. You need to create an ImageDescriptionRecord (actually a handle
   of type ImageDescriptionHandle) and fill it appropriately. Probably the
   easiest way to figure out just what to fill it with would be to run
   one of the sample compression program (again all this is at ftp.apple.com)
   and see what such a record look like when decompressing a JPEG file. You'll
   want to skim the docs here to decide which codec is best for you (i.e., 
    best performance over bestspeed or best-for-the-machine).
3. Once all this is done create a GWorld of the proper size and depth.
4. Use the DecompressImage function:
FUNCTION DecompressImage (data: Ptr; desc: ImageDescriptionHandle; dst: PixMapHandle; srcRect: Rect; dstRect: Rect; mode: Integer; mask: RgnHandle): OSErr;

You'll need to imclude various .h files including codec.h compression.h,
imagedescription.h (I think those names are right).

Good luck.

  ** Ken **
Newsgroups: comp.sys.mac.programmer
From: phils@chaos.cs.brandeis.edu (Phil Shapiro)
Subject: Re: Button() not callable from interrupt ?
Organization: Symantec Corp.
Distribution: comp
Date: Mon, 9 Nov 1992 14:40:20 GMT

>>>>> On 9 Nov 92 09:36:42 GMT, robert@wsooti11.info.win.tue.nl (Robert Lukassen) said:

 > I ran into a bit of trouble the other day when I tried to read the
 > state of the mouse-button from an interrupt-routine. I know that
 > the state of the mouse-button is represented by a single bit in
 > some low-memory variable and this works well, but why does (the old
 > version of) Inside Macintosh claims that Button() can move or purge
 > memory. That is absolutely insane! A simple fetch of a low-memory
 > variable can't trigger a memory move or memory purge. What are they
 > doing that makes calling Button() so dangerous?

I ran into a similar situation with GetMouse(), which IM I also
documents as moving memory. It turns out that the only time Button()
and GetMouse() (as well as some others) move memory is when then
all-but-dead Journaling Mechanism is enabled. (Supposedly it was
reserved in System 7 for a revised version of MacroMaker, one of the
few macro tools that actually used journaling. Thankfully, MacroMaker
rests in peace...)

If you disassemble these routines, you'll find that they check
JournalFlag at 0x8DE to see if journaling is currently enabled. A
possible solution is to add a similar check to your own code and use a
low mem global when necessary; it's probably simpler to always examine
low memory directly.

	-phil
--
   Phil Shapiro                                   Software Engineer
   Language Products Group                     Symantec Corporation
		   Internet: phils@cs.brandeis.edu
Xref: sparky comp.sys.mac.programmer:18069 comp.sys.mac.misc:18869
From: bach@brahms.udel.edu (Baskaran Subramaniam)
Newsgroups: comp.sys.mac.programmer,comp.sys.mac.misc
Subject: Re: Inside Mac (Mail Order)
Date: 6 Nov 92 07:22:19 GMT
Article-I.D.: news.BxA9t7.7Ep
Organization: University of Delaware

In article <1992Nov4.161744.20227@cs.uoregon.edu> alana@majestix.cs.uoregon.edu (Thomas Alan Akins) writes:
>In article <VV3oTB3w165w@bluemoon.rn.com> zaphod@bluemoon.rn.com (Peter Bierman) writes:
>>Here you go. And BTW, APDA sells all the books. Mail-Order places usually 
>>don't save you anything but taxes for books.
 
>In my past experience, especially with Mac'sPlace, these books are very well
>priced compared to bookstores and even educational discount purchases.  Sure,
>you gotta pay $3 for next day air, but buy three or four books at once and
>you'll save quite a bit of money.
 
>My $.015.


I just ordered the three available volumes from Mac's Place for $60 including
$3 for overnight shipping.  Their discount is close to 30% from the list
price.

Baskaran.
Newsgroups: comp.sys.mac.programmer
From: nwc1@midway.uchicago.edu (N.W. Choe)
Subject: looking for next browsing type app.
Followup-To: comp.sys.mac.programmer,comp.sys.mac.apps
Organization: Beaver Consulting Co.
Date: Sun, 8 Nov 1992 19:42:04 GMT

In article <BxBxvL.JHA@access.digex.com>, hacker@access.digex.com (Dark
Hacker) wrote:
> 
> A long time ago I remember playing with a "shell" program that ran on
> the Mac.  It allowed one to view the file system and I think launch
> apps from a shell command prompt.  Anyone know where this program is?
> I've looked on the archives but haven't found it.  Src code would
> be real nice too.

	MPW is nice?!? But seriously, there is a program called... called... hmm.
It had a cute name, but then again, don't they all? Hold on... nope,
couldn't find it. However, Aztec C came with a shell, which worked OK in
this manner. I thought that I could remember the name of the other one once
I started typing. It was a Finder-replacement, if you wanted to keep
neophytes off your Mac.

	I'm looking for a NeXT browser-type program, preferably one that lets you
launch programs from it as well. This would complete my NeXT-ification of
my Mac. All I need now is some black paint...

N.W. Choe, nwc1@midway.uchicago.edu
5454 South Shore Drive, Suite 318
Chicago, IL 60615
312.702.4605
Newsgroups: comp.sys.mac.programmer
From: cent@u.washington.edu
Subject: Disabling a Popup menu item
Organization: Univ. of Wash. 
Date: Fri, 6 Nov 1992 02:39:17 GMT

Greetings-  I would like to disable (make unavailable) a single item in a popup
menu, but have had no luck yet.  Has someone done this?

My popup menu was created in ViewEdit and filled with items with a cmnu
resource with ResEdit.  I believe that  MacApp disables these kinds of
resources and you must enable them in a DoSetupMenu method if you wish them to
be available.

Please help.

Bob Cent,
University of Washington
Newsgroups: comp.sys.mac.programmer