HDTenEightyP/NetNews huggingface dataset:
From: jkreibic@sumter.cso.uiuc.edu (Jay Arnold Kreibich)
Subject: Re: DogCow.. Moof..?
Organization: University of Illinois at Urbana
Date: Wed, 11 Nov 1992 16:51:37 GMT

In article <BxBL4L.1nA@Novell.COM> Mel Walker <mwalker@novell.com> writes:
> In article <6NOV199213212251@csa1.lbl.gov> SCOTT I CHASE,
> sichase@csa1.lbl.gov writes:
> >Oh, dear God.  Not again.  Can't we just tell him this time, and spare
> >me 452 posts about missing tech notes, Finder noises, resedit, etc., 
> >ad nauseum?
> 
> No.
> 

One must prove themselves worthy before learning the sacrid knowledge of  
the legendary DogCow....

-j
Newsgroups: comp.sys.mac.programmer
From: kent@sunfs3.Camex.COM (Kent Borg)
Subject: Menu Bar Shape
Organization: Camex Inc., Boston MA
Date: Thu, 05 Nov 1992 17:33:47 EST


Why is it that about the time Finder launches on a Powerbook the
curved corners at the top of the screen get squared?  The bottom
corners are still round, but not the top corners.  Why?

-kb


--
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
Newsgroups: comp.sys.mac.programmer
From: blob@gallant.apple.com (Brian Bechtel)
Subject: Re: Where do I get information on the PowerBook Power Manager?
Date: Tue, 10 Nov 1992 00:23:31 GMT
Organization: Apple Computer Inc.

dlb5404@tamsun.tamu.edu (Daryl Biberdorf) writes:


>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?

Inside Mac volume 6 has the latest information about the Power Manager.
This information applies to the Powerbooks as well as the original
Portable.

--Brian Bechtel     blob@apple.com     "My opinion, not Apple's"
From: udmorrow@mcs.drexel.edu (Daniel Morrow)
Newsgroups: comp.sys.mac.programmer
Subject: Re: The Forgetful Finder
Date: 9 Nov 92 00:31:55 GMT
Organization: Drexel University

In article <CSTROCKB.92Nov6232011@csws12.cs.sunysb.edu> cstrockb@cs.sunysb.edu (Caleb Strockbine) writes:
>In article <1992Nov5.174108.20232@hobbes.kzoo.edu> k044477@hobbes.kzoo.edu (Jamie R. McCarthy) writes:
>
>   Every once in a while, when you restart, the Finder will forget some
>   information about one or more windows.  Sometimes they're open windows,
>   sometimes not.  It remembers icon placements, but not the View-By,
>   window size, or window location.  I've never noticed any pattern to it.
>
>I don't know the explanation for this, but I've seen it too. I've ONLY seen

I'm running a Mac IIsi, with the Tuner, and I've seen it happen plenty.

It mostly happens to me after I bomb the machine.

For instance, I'll have a window that is all small icons. When I restart
(sometimes) they'll be all large icons in the same spots where the small
icons were. Then, when I view by small icon again, the icons get all cramped
and I have to re-drag them all back to their previous locations.

-Dan.
From: ScottPetrack@HAIFASC3.VNET.IBM.COM
Date: Wed, 11 Nov 92 22:32:25 IDT
Newsgroups: comp.sys.mac.programmer
Subject: AIFF-C - need some docs and some info please
Reply-To: PETRACK@HAIFASC3.VNET.IBM.COM
Disclaimer: This posting may contain no views at all
News-Software: Usenet 3.0

I would like to get a copy of all documentation pertaining to AIFF-C,
the "audio interchange file format with compression."  APDA to here
is *extremely* slow, so if someone could actually send me directly the
files I would be incredibly grateful.

With or without the files, I hope that you (yes you) can help me with the
following information:

  1. Do the APDA documents provide information about the actual compression
algorithms used, or are do they give information only about file formats?

  2. Is some single algorithm or set of algorithms part of the AIFF-C standard,
or is AIFF-C only a way for compatible compressors and decompressor to
exchange files? Presumably in the second  case, there is a tag in the header
which identifies uniquely the algorithm. Is a developer meant to
"register" his tag with APPLE? Can I get a list of available algorithms
that are used with AIFF-C?

  3. If the actual compression is part of the standard, or if Apple uses
  some well defined set of algorithms, are these algorithms described
in the APDA documents? Are they described anywhere else? Are they,
in fact, open standards or are they some secret proprietary algorithms?

I am anxious to understand whether AIFF-C represents a particular
compression technology, or only a file transfer format. If you can help me,
I really appreciate it.

If there is a better place to send this note, *please* let me know about it.

Replies to me or to this forum please.
Thanks very much,
Scott Petrack (PETRACK@haifasc3.vnet.ibm.com)
From: Craig Kloeden <ckloeden@f.itd.adelaide.edu.au>
Newsgroups: comp.sys.mac.programmer
Subject: WaitNextEvent availability
Date: 12 Nov 1992 05:12:09 GMT
Organization: University of Adelaide
Distribution: world
NNTP-Posting-Host: mac146.mednorth.adelaide.edu.au
X-UserAgent: Nuntius v1.1.1d12
X-XXMessage-ID: <A7282BD0BA01CC92@mac146.mednorth.adelaide.edu.au>
X-XXDate: Thu, 12 Nov 92 23:42:08 GMT

Under what Systems (with and without MultFinder) does
WaitNextEvent exist?

Also, is there an easy way to tell if it is available?
I have looked at the stuff in IM VI but the references
to GetTrapAddress and NGetTrapAddress confuse me
somewhat. Like when is NGetTrapAddress available and
how do you interpret what it returns etc.

Thanks in advance,

    Craig

---
 Craig Kloeden                    E-Mail: ckloeden@f.itd.adelaide.edu.au
 Road Accident Research Unit      Phone : +61 8 228 5885
 The University of Adelaide       Fax   : +61 8 232 4995
 Australia                        Disclaimer: Not this little black duck!
Newsgroups: comp.sys.mac.programmer
Subject: Re: C error in MPW -- What's wrong?
From: Bruce@hoult.actrix.gen.nz
Date: Sat, 07 Nov 92 03:01:41 +1300 (NZDT)
X-Mailer: rnMac Buggy, I mean Beta, Test Version


Sheesh.  I was asleep at the wheel when I wrote:

> CHEN JiaTyan writes:
> 
> > |    C -i 'MacintoshHD:Project:SHILPA:include:' -d MAC 6 
> 
> 
> That should be "-d MAC=6"


I completely failed to notice the stuff just before the part I quoted
that clearly was using the "6" as the MPW line continuation character.

Whoops!
From: gil@cse.ucsc.edu (Elmer Fudd)
Newsgroups: comp.sys.mac.programmer
Subject: ovals & friends
Date: 11 Nov 1992 20:31:50 GMT
Organization: University of California, Santa Cruz (CE/CIS Boards)
NNTP-Posting-Host: arapaho.ucsc.edu

howdi net,

i have a coupla questions about drawing stuff.

(1)  how do i draw an oval in different colors (not just patterns)
     what i do now is:
        SetRect ( &circleRect, 315, 235, 325, 245 );
	PaintOval ( &circleRect );
	FillOval(&circleRect, white);
     what i'd like to do is something like FillOval but with true
     colors.

(2)  how do i set 1 pixel to on

thanks
-gil
Newsgroups: comp.sys.mac.programmer
From: wingo@apple.com (Tony Wingo)
Subject: Re: AppleTalk packets OR ATP and DDP, oh how they echo
Date: Fri, 13 Nov 1992 00:50:17 GMT
Organization: Apple Computer
Followup-To: comp.sys.mac.programmer

In article <jsuker.721590370@orion.oac.uci.edu>, jsuker@orion.oac.uci.edu
(Johnathon Suker) wrote:
> 
> Netters and AppleTalk Folks,
> 
> 	I have come screaming to a halt in front of a brick wall known as
> AppleTalk ATP and DDP packets.  I have this program I am trying to write
> (dont we all) which will utilize the ECHO PROTOCAL.  Unfotunately, everything
> I have read (Inside Mac, Inside AppleTalk, Programming with AppleTalk) merely
> state that EP is implemented throught DDP.  And DDP is not directly accessible
> to the programmer 

The program interface to DDP is described in detail in Inside Macintosh,
Vol. II, pp 281-286.

-tony

>>usual disclaimer<<
Newsgroups: comp.sys.mac.programmer
From: lsr@taligent.com (Larry Rosenstein)
Subject: Re: Button() not callable from interrupt ?
Followup-To: comp.sys.mac.programmer
Organization: Taligent, Inc.
Distribution: comp
Date: Mon, 9 Nov 1992 18:23:05 GMT

In article <ROBERT.92Nov9103642@wsooti11.info.win.tue.nl>,
robert@wsooti11.info.win.tue.nl (Robert Lukassen) wrote:
> 
> mouse-button from an interrupt-routine. I know that the state of the 

Use OSEventAvail with a 0 mask.  The event record will contain the state of
the mouse button.

Larry Rosenstein
Taligent, Inc.

lsr@taligent.com
From: inglehar@bert.eecs.uic.edu (James Inglehart)
Newsgroups: comp.sys.mac.programmer
Subject: ThinkC or ThinkPascal?
Summary: Should I buy ThinkC or ThinkPascal?
Keywords: ThinkC, ThinkPascal, Mac programming environments
Date: 7 Nov 92 22:59:52 GMT
Organization: University of Illinois at Chicago

I've used Macs for years, but never programmed one. Now I need to
develop a GUI front-end for some existing software (with drawing
and graphing capabilities) that runs on the Mac (none of the end-
users will have Unix workstations). I can't spend a fortune on a
development package, and I need something I can learn to use fairly
quickly.

What should I use? ThinkC or ThinkPascal or something else? What
else do I need to get started? (ResEdit, I assume. What's the
latest version?) What books should I use? The "ThinkC Programming
Primer?" How soon will I need "Inside Macintosh" Vols. 1-6?

Just what is the difference between ThinkC and ThinkPascal (besides
the languages, I mean)? I can handle either language, so I want the 
most powerful package. (I understand the Toolbox is written in Pascal.
Should I choose ThinkPascal for consistency?)

Are there other development environments I should consider instead?

Any advice from those who know on how I can go from total ignorance
to Mac programming proficiency will be greatly appreciated.

James Inglehart
Department of Electrical Engineering & Computer Science
University of Illinois at Chicago
From: robert@wsooti11.info.win.tue.nl (Robert Lukassen)
Newsgroups: comp.sys.mac.programmer
Subject: Button() not callable from interrupt ?
Date: 9 Nov 92 09:36:42 GMT
Distribution: comp
Organization: Eindhoven University of Technology, the Netherlands

Hi,

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?

Robert
--
+--------------------------------------+--------------------------------------+
|  Robert 'MacBear' Lukassen           |  Eindhoven University of Technology  |
|  Email: robert@info.win.tue.nl       |  The Netherlands                     |
+--------------------------------------+--------------------------------------+
| 'So logically ?  If she weighs the same as a duck, she's made of wood...    |
|  And therefore ?  ...a WITCH !!!!'   - Monty Python, the Holy Grail.        |
+-----------------------------------------------------------------------------+
From: pbonner@apple.com (Pace Bonner)
Newsgroups: comp.sys.mac.programmer
Subject: Re: Think C: Utilities?
Date: 10 Nov 92 18:55:34 GMT
Article-I.D.: goofy.32856
Organization: Apple Computer, Inc.
X-UserAgent: Nuntius v1.1.1d12
X-XXDate: Tue, 10 Nov 92 18:53:11 GMT

In article <1992Nov1.202655.4100@ncar.ucar.edu> Art Urban,
urban@stout.atd.ucar.edu writes:
>As a soon to be owner of Think C 5.0.3, I was wondering what utilities
there
>are for customizing the environment? I know there used to be something
which
>would provide a popup-menu in the titlebar, showing function names, or
some
>such. Are there anyother shareware, freeware, anyware utilities I might
>enjoy? Thanx!

I use a  product called CMaster by Jersey Scientific.  You can probably
find info about it on AppleLink.  It is one of those utilities that once
you have it you wonder how you ever got along without it.

Pace

P.S.  This is my opinion and in no way reflects the opinions of Apple
Computer even though I know a bunch of people in Apple who use it.  :)
************************************************************************
Pace Bonner
Apple Computer, Inc.
Internet:pbonner@apple.com
AppleLink:P.BONNER
America Online:P.Bonner
CIS:76350,105
From: sk3@doc.ic.ac.uk (S Karathanos)
Newsgroups: comp.sys.mac.programmer
Subject: Z-Modem Protocol Source needed
Keywords: Z-Modem, Chuck Forsberg (Omen Technology inc)
Date: 8 Nov 92 15:08:36 GMT
Organization: Department of Computing, Imperial College, University of London, UK.
NNTP-Posting-Host: oak29.doc.ic.ac.uk


Dear Netters,

I'm searching for a c-source using the Z-Modem protocol. Chuck Forsberg of
Omen Technology is probably the Author. Please tell my where to search for
piece of code.

Thanks, Stephan
Newsgroups: comp.sys.mac.programmer
From: cplai@csie.nctu.edu.tw ()
Subject: "Ruler", "marquee"?
Organization: Dep. Computer Science & Engin. of Chiao Tung Univ., Taiwan, ROC
Date: Thu, 5 Nov 1992 12:25:14 GMT

HI:
   I am new to Mac programming, I just switch from X window (Sun) to Mac.

   I am doing a project about image processing, first of all, can someone
   tell me how to program the "Ruler" and "marquee"?


scott
cplai@ccsun5.csie.nctu.edu.tw

Organization: Junior, Electrical and Computer Engineering, Carnegie Mellon, Pittsburgh, PA
Newsgroups: comp.sys.mac.programmer
Date: Fri, 13 Nov 1992 17:20:33 -0500 
From: "Aaron J. Whitney" <NIKITA+@CMU.EDU>
Subject: Emacs-like editor for MPW 3.2

I have become very accustomed to emacs and am looking for some way to
integrate an emacs-type editor with MPW 3.2  Is there any such product
on the market?  Has anyone come up with a comparable solution?  Mostly,
I am just looking for some way to bind keys and for a couple of
functions that emacs offers (ie. goto-line).  Currently I am using
QuickKeys to do some of this but it is certainly not a sufficient
solution.  Thanks.
____________________________________________________________________________
A.J. Whitney
Carnegie Mellon University               Internet: NIKITA+@cmu.edu
Box 4777                                 Bitnet  : NIKITA+%cmu.edu@carnegie
Pittsburgh, PA  15213-3890                    or : NIKITA+@cmu
(412) 268-6034                           UUCP    :  ...!uunet!cmu.edu!NIKITA
____________________________________________________________________________
Newsgroups: comp.sys.mac.programmer
From: mhall@mark1.comp.sys.mac.programmer (Matthew Hall)
Subject: FAST fixed point math?
Organization: Oberlin College Computer Science
Date: Fri, 13 Nov 1992 15:46:42 GMT
Distribution: comp.sys.mac.programmer
X-Posted-From: mark1.cs.oberlin.edu
NNTP-Posting-Host: sol.ctr.columbia.edu

Hello-
	Right now, I am working on some sound analysis software.  I
want to seperate a sound into frequency bins, which I can do, however
I do it very slowly.  I have tried using the math coprocessor and
apples built in fixed point math, but either method I choose, the time it takes
to create to compute each frequency bin is at least as long as the
sound (and there are enough freqeuncy bins to make this really slow).

The main loop of my procedure is:
for i:=1 to soundlength do
begin
  x:=x+samplenumber[i]; {the sample is converted to -128..127 first}
  xTemp:=r*(a*x-b*y);
  y:= r*(b*x+a*y);
  x:=xtemp;
end;

I disassembled this - I don't think it will get much faster with the
FPU if I code it in assembly.  Maybe twice as fast.  However, when I
disassembled the Fixed point version, I saw that for each
multiplication, it took 35 operations.  With 6 multiplications, plus
the extra stuff, it was over 250 operations (oops, I just saw myself
being boneheaded.  I can combine r*a and r*b before the loop) well,
it'll be over 170 operations per sound sample.
	Now, does anyone have any blazingly fast fixed point assembly
code?  I know that fixed point math can be faster than the math
coprocessor (in this case, with the traps, it was much slower, but I
have seen programs where it surpassed the math coprocessor by quite a
margin) It does not need to do any error checking, as my data
shouldn't cause errors.  I would really like to speed this process up.

Thank you,
matt hall
 
--
-------------------------------------------------------------------------------
Matt Hall.    mhall@occs.oberlin.edu  OR  SMH9666@OBERLIN.BITNET
              (216)-775-6613 (That's a Cleveland Area code. Lucky Me)

                         F(X)=M*X*(1-X)  

Newsgroups: comp.sys.mac.programmer
From: nateh@quake.sylmar.ca.us (Nate Hawthorn)
Subject: Apple
Organization: Quake Public Access, Sylmar CA
Date: Wed, 11 Nov 1992 13:21:08 GMT

Hey Apple,
 
I saw that commercial on TV where there are two guys trying to
install "WINDOWS" on their PC in order to make it "MORE PRODUCTIVE".
 
CONGRADULATIONS!!!
 
You guys finally started expressing "out loud" what I (and others)
have been trying to tell these PC guys for quite a while now.
 
You think they will listen?
 
I doubt it, because for them to realize what yo uare talking about
they need to have bought a PC already and also have gone through
the HELL that a PC gives you.
 
At that point, they have spent MANY hours and read MANY books figuring 
the stupid PC out, and WON'T LISTEN because they will have to admit to 
being stupid.
 
Anyway, the commercials are good, and I am glad you are running them just 
to rub it in anyway!
 
It's too bad that when you go to a store, they would rather sell you a PC 
instead of a Mac because of the $$ PROFIT MARGIN $$ on the CLONER PC's 
that are out there. It really pisses me off when I go in and the guy 
tells me how good the "386 System" is and won't even show me the Mac 
that's on the other table.
 
Anyway, there's another thing that is interesting with the PC:
 
As you know, the PC ispatched over and over a million times to get it to 
be like NEWER TECHNOLOGY, such as WINDOWS is just a PATCH FOR DOS.
 
You will notice that the programs for the PC are getting larger and 
larger. I mean BIG, like 4 MEGS and up.
 
Mac programs are getting larger, but not that much!
 
The reason:
 
They have to write / include all their OWN CODE for what we call the
"ToolBox" (ROM) every time they write something!
 
That's the joke!
 
And what's worse is that since each program carries it's own code,
then each programmer must DEBUG his code. This leads to some
packages becomming BUGGY, and these poor guys can never find
out whats wrong (besides that, they are always tied up answering the 
service phone lines!).
 
Anyway, I give up with PC people. I figure after they all discover that 
they still don't hhave a Mac after installing Windows, they MIGHT just 
get a brain and get a Mac. If not, that's their problem.
 
Thanks for a fine computer, and trying to make life BETTER and more 
productive (instead of throwing OLD TECHNOLOGY at us and trying to tell 
us it's great) !!
 
Nate...
From: bwilliam@oyster.smcm.edu (Bill Williams)
Newsgroups: comp.sys.mac.programmer
Subject: How to use Default Button in Modeless Dialog
Date: 5 Nov 92 18:39:46 GMT
Organization: St. Mary's College of Maryland
X-UserAgent: Nuntius v1.1.1d10
X-XXMessage-ID: <A71EE38F790201D2@williams.smcm.edu>
X-XXDate: Thu, 5 Nov 92 19:43:27 GMT

I am an ad-hoc programmer currently updating a data acquisition and
control program I wrote a long time ago, and I have the following
question:  is there some way to make the "OK" button in a modeless
dialog sensitive to the "enter" key?  If so, how do I do it?  It's dead
easy, of course, in a modal dialog, but I can see how it might not be
possible in a modeless box, since some other window could be foremost. 
But I'm 99% sure I've seen other applications that do this.

Help?
___________________________________
William E. Williams, bwilliam@oyster.smcm.edu
Divison of Natural Sciences and Mathematics
St. Mary's College of Maryland
St. Mary's City, MD 20686
Newsgroups: comp.sys.mac.programmer
From: simsh@marcus.its.rpi.edu (Chewbacca)
Subject: Re: Another THINK C 5.0.3 bug?
Date: Mon, 9 Nov 1992 17:51:24 GMT

simsh@crockett1a.its.rpi.edu (Chewbacca) writes:

>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?

Oh shoot! This was my mistake. Thanks to Ephraim Vishniac for pointing it out
to me. I looked up in the manual about it. I didn't realize it meant you
actually have to recompile the entire library from scratch to turn on 4-bit
ints. I tried that and it worked. Sorry to waste bandwidth over this.
-- 
-------------------------------------------------------------------------------
     Hillel Sims                        e-mail: simsh@rpi.edu
     >:-) The Smiling Vulcan            Rensselaer Polytechnic Institute
From: Joe.Francis@dartmouth.edu (Joe Francis)
Newsgroups: comp.sys.mac.programmer
Subject: THINK C 5 Debugger and System 7.1
Date: 11 Nov 92 20:53:54 GMT
Organization: Dartmouth College, Hanover, NH
X-Posted-From: InterNews1.0a5@newshost.dartmouth.edu

This is probably a FAQ but I don't see any posts reffering to it at my
site.  

Is there an updater for the THINK C Debugger?  Mine worked fine with
7.0 but crashes on startup with 7.1.
Organization: Penn State University
Date: Tue, 10 Nov 1992 08:03:31 EST
From: <DGB4@psuvm.psu.edu>
Newsgroups: comp.sys.mac.programmer
Subject: Sample code for INITs in Think Pascal 4.x.x wanted.

As a novice mac programmer I am looking for some usefull sample code.
I have both Think C and Think Pascal available but I would prefer the
code in Think Pascal.Specifically, I would like to see some examples of
simple INITs, preferable system 7.x.x compatible.

The project that I have in mind is similar to the ChooserUser INIT.
I want the Mac to ask for a user name upon startup and not let the
user merely cancel out. I need this for a small Appletalk network.
I would eventually like to expand it to include some type of usage
monitoring but that is a little way down the road.

Any and all info will be greatly appreciated.

Thanks,
DGB4@psuvm.psu.edu

P.S. I have all of Inside Mac and I have the Pascal and C primers.
My Think C is 4.x.x (I havn't gotten around to upgrading yet) and
Think Pascal 4.0.5.
Newsgroups: comp.sys.mac.programmer