HDTenEightyP/NetNews huggingface dataset:
From: samk@microsoft.com (Sam Kho)
Subject: Re: Why the Piracy? Here's why...
Date: 27 Jan 93 06:55:27 GMT
Organization: Microsoft Corporation

In article <tal691.728050731@huxley> tal691@huxley.anu.edu.au (Tonio Loewald) writes:
>UC525655@mizzou1.missouri.edu (M.Eaton) writes:
>
>It's worse than that. The vendors are probably lying: they won't
>lower prices if piracy stops -- that's the problem. Otherwise, why
>
>And the pirates are lying. Most of them won't pay for software no
>matter how cheap it is (within practical limits).
>--
>
>Here's a _really_ bad solution to get things rolling.
>The government puts a tax on computers (based on overall oomph,
...
>the software publishers, who also get money from the govt
>taxes based on apparent popularity (from central distribution
>
>This has a lot of advantages, but requires the government to
>_efficiently administrate a large program_ -- ie. the tooth fairy.

the day that software vendors will giving away software and
pirates will be offering to pay for free software will come
before the day government becomes efficient!

  - sam -


Newsgroups: comp.sys.mac.programmer
From: soetji+@G.GP.CS.CMU.EDU (Soetjianto)
Subject: LDEF -> resource file?
Originator: soetji@G.GP.CS.CMU.EDU
Organization: School of Computer Science, Carnegie Mellon
Date: Fri, 29 Jan 1993 00:24:08 GMT

What is the best way to put a LDEF procedure (which I
write using THINK Pascal) into a resource file?

thanks,
Soetji@g.gp.cs.cmu.edu
Newsgroups: comp.sys.mac.programmer
From: kjt001@dunix.drake.edu (Devil Bunny!)
Subject: How to change an int to a string in Think C?
Organization: Drake University, Des Moines, Iowa, USA
Date: Sat, 23 Jan 1993 19:13:36 GMT

I'm working with Think C 4.0, and I need to display a number in a dialog
with ParamText, but I don't know how to do it.  If I use the following:

ParamText("\p"+number,"","","");

It gives me garbage instead of a number.  So I figure I need to change
the number to a text string first.  I tried using sprintf to do this,
but it seems to work incorrectly (gives me the wrong number) the first
time, and then later, it gives me 'odd address' error when the following
line is reached:

	thePart = FindWindow(gTheEvent.where, &whichWindow);
	switch(thePart)

The sprintf line is written as follows:

		timeOfClick = (thisclick-lastclick);
		sprintf(textLine,"\p%d",timeOfClick);
		ParamText(textLine,"","","");

with the following definitions:

	char		*textLine;
long int	lastclick,thisclick,timeOfClick;


Can anyone help me?  Is there a better way to convert a number to text
than sprintf?  Or don't I need to?


Thanks for any help!


-- 
|   Kevin Tieskoetter    kjt001@acad.drake.edu  kjt001@dunix.drake.edu    |
|                               Drake University
|          Des Moines, IA...Where men are men, women are scarce,          |
|                       And sheep are nervous!                            |
From: rieger@msen.com (Steve Rieger)
Newsgroups: comp.sys.mac.programmer
Subject: Re: Think Reference 2.0 Review
Date: 21 Jan 1993 22:35:07 GMT
Organization: Msen, Inc. -- Ann Arbor, Michigan
NNTP-Posting-Host: garnet.msen.com
X-Newsreader: TIN [version 1.1 PL8]

Duane Murphy (damurphy@wc.novell.com) wrote:
: In article Mark Sproul, Sproul@sproul.sproul.com writes:
: >When it is fully installed it occupies 7.1 meg

: 7.1 meg is a little much, but I do understnad why.  Is it practical to 
: install Think Reference on a server?  Is it possible for people to share 
: the database on the server?  (No licenesing problems here, you still need 
: the app to see the database.)

: Thanks,
: ...Duane

:   +------------------------+--------------------------------------------+
:   | Duane Murphy           | My opinions are mine, mine, and only mine; |
:   | damurphy@wc.novell.com |      Except when they are also yours.      |
:   | Macintosh Software QA  |                                            |
:   +------------------------+--------------------------------------------+
Newsgroups: comp.sys.mac.programmer
Subject: Think C's Editor and Large Files
From: russells@ccu1.aukuni.ac.nz (Russell Street)
Date: Tue, 26 Jan 1993 04:42:13 GMT
Organization: University of Auckland, New Zealand.

Does ThinkC have problems with editing large files?  In the course of
trying to debug a program I generated a largish (200-400K) text file
and tried to use the ThinkC editor to search for simple regular
expressions (like ^0 0).  After a while it complained it was out of
memory and eventually crashed -- once with a complete freeze and once
with a (recoverable) system error [before I went to MPW to view the
file :( -- and then to UNIX to awk, grep, search etc :-) ].

Is the editor supposed to handle these size files?
---------------------------------------------------------
Russell Street (r.street@auckland.ac.nz)
	"Speeches are like steer horns -- a point here, a
	point there and a lot of bull in between" -- Anon
From: mattes@urz.unibas.ch
Newsgroups: comp.sys.mac.programmer
Subject: Think Ref 2.0 update
Date: 21 Jan 93 13:24:09 MET
Organization: University of Basel, Switzerland

Does anybody knows the update price for Think Reference 
from vesion 1.0 to 2.0.
From where can I order the update

Thanks for your help

Frank Mattes 
Institute for Medical Microbiology
Petersplatz 10
4003 Basel / Switzerland
Newsgroups: comp.sys.mac.programmer
From: REEKES@applelink.apple.com (Jim Reekes)
Subject: Re: Can background-only apps use the Notification Manager?
Date: Thu, 28 Jan 1993 07:22:07 GMT
Organization: Apple Computer, Inc.
Followup-To: comp.sys.mac.programmer

In article <1993Jan28.133852.593@otago.ac.nz>, stanger@otago.ac.nz (Nigel
Stanger) wrote:
> 
> Can background-only apps use the Notification Manager? The
> article in develop #9 doesn't say, the Process Manager chapter in
> IM6 says almost nothing, and the NM chapter doesn't say one way
> or the other. At a guess, I would say that they can (given that
> things like VBL tasks can use it). Anybody out there know??

Yes. In fact the reason for the Notification Manager was created was to
support background only appliations.

-----------------------------------------------------------------------
Jim Reekes, Polterzeitgeist  |     Macintosh Toolbox Engineering
                             |          Sound Manager Expert
Apple Computer, Inc.         | "All opinions expressed are mine, and do
20525 Mariani Ave. MS: 81-KS |   not necessarily represent those of my
Cupertino, CA 95014          |       employer, Apple Computer Inc."
From: ldo@waikato.ac.nz (Lawrence D'Oliveiro, Waikato University)
Newsgroups: comp.sys.mac.programmer
Subject: Re: AIFF-C Compression Details
Date: 22 Jan 93 11:08:02 +1300
Organization: University of Waikato, Hamilton, New Zealand

In article <1993Jan19.080743.21743@tc.cornell.edu>, eacj@theory.TC.Cornell.EDU (Julian Vrieslander) writes:
> And what happened to the MACE package?  I cannot find any reference to it
> in my latest copy of the APDA catalog.  Is Apple still licensing this code?
> Does it work on 16-bit samples?  Or is MACE the same as the system-level
> routines described in IM VI?

MACE support was rolled into the enhanced Sound Manager that first appeared
in System 6.0.6/6.0.7. You no longer need to make low-level SndControl calls
to special "snth" resources (I'm not sure if these are still supported);
instead, you use new Sound Manager calls.

As far as I'm aware, MACE compression still only works with 8-bit samples.
And not only is it a lossy algorithm, but the loss in quality is quite audible.
It's recommended mainly for speech applications.

Lawrence D'Oliveiro                       fone: +64-7-856-2889
Computer Services Dept                     fax: +64-7-838-4066
University of Waikato            electric mail: ldo@waikato.ac.nz
Hamilton, New Zealand    37^ 47' 26" S, 175^ 19' 7" E, GMT+13:00
Q: What's the most frequently-occurring keyword in the C interface files?
A: "pascal"
From: haddaway@umbc.edu (Mr. Todd Haddaway)
Newsgroups: comp.sys.mac.programmer
Subject: Mac Databases
Date: 25 Jan 1993 12:55:56 -0500
Organization: Univ. of MD, Baltimore County
Distribution: usa
NNTP-Posting-Host: umbc5.umbc.edu
Keywords: database

I know I've seen this question a while back, but please forgive me!

I am just starting out with both C and Mac programming.  I'm sure I
need a database for my first application (student info tracker for
my wife who is a teacher).  I have heard of two packages: C-Tree and
InsideOut.  Does anyone have any knowledge of either package??
How about a phone number for C-Tree (I have InsideOut's).   

Thanks!

Todd
From: kanderso@mabillon.ICS.UCI.EDU (Kenneth Anderson)
Subject: Re: SANE num2str problem
Newsgroups: comp.sys.mac.programmer
Date: 25 Jan 93 19:14:03 GMT

In comp.sys.mac.programmer you write:

>Hi,

Howdy,  I got stung on this problem once.  You need to go into the
Preferences dialog within Think C 5.04.  You will see an option on one
of the screens that refers to "the native floating point format" or something
like that.  I can't remember the exact phrase.  You will need to check
that option.  Then your program should compile fine....

Ken

P.S. If this sounds incoherent just say so, and when I get home tonight,
I can post the exact option that you should check...
Newsgroups: comp.sys.mac.programmer
From: d88-jwa@hemul.nada.kth.se (Jon Wtte)
Subject: Re: Help for Poor Student
Organization: Royal Institute of Technology, Stockholm, Sweden
Date: Tue, 26 Jan 1993 19:38:51 GMT

In <1993Jan26.160238.22397@st-andrews.ac.uk> akm@st-andrews.ac.uk (Alasdair Macdonald) writes:

>A couple of questions which may be loosely conneted.

>   TextEdit. I have a dialog box with a user item for
>   putting text into. I then put a scroll bar beside it

>   I could implement continuos scrolling using StillDown
>   but that lets the user move the mouse off the scroll

>   HowUs it done? Sorry if itUs a FAQ.

NOT! It's not done. It's against the HIG. I hate it.

If you _want_ to do it, do it in your thumb tracking
function (I assume you have Inside Mac volume I...)
You could get the mouse position, and scroll the text
to where the mouse is relative to the control's rect,
with the values limited to max/min scrollable, of
course.

>2. I would like to use thing like Gestalt but have no 

This is a hard one. The obvious response is "upgrade,"
but maybe you can find the MPW libraries and headers
lying around somewhere, and try converting them?

Cheers,

						/ h+
-- 
 -- Jon W{tte, h+@nada.kth.se, Mac Hacker Deluxe --
   The word "politics" is derived from the word "poly", meaning
   "many", and the word "ticks", meaning "blood sucking parasites".
                     -- Larry Hardiman
Newsgroups: comp.sys.mac.programmer
From: Dmitry Boldyrev <dmitry@chemistry.chem.utah.edu>
Subject: Re Help wanted w/dialogs & static text
X-Xxmessage-Id: <A5A4B52E2002C4C9@quadra.chem.utah.edu>
X-Xxdate: Thu, 23 Jan 92 15:08:46 GMT
Organization: University of Utah
X-Useragent: Nuntius v1.1.1d17
Date: Sun, 24 Jan 93 01:06:00 GMT

Are you using ParamText(param0, param1, param2, param3); ?
May be you forgot to set up params ? Else, it should work...
I've tried it and it works ok.!
Newsgroups: comp.sys.mac.programmer
From: d88-jwa@cyklop.nada.kth.se (Jon Wtte)
Subject: Re: Hardware Protection Keys
Organization: Royal Institute of Technology, Stockholm, Sweden
Distribution: world,local
Date: Sun, 24 Jan 1993 21:57:38 GMT

In <23JAN199318502476@violet.ccit.arizona.edu> theeric@violet.ccit.arizona.edu (Eric Hegstrom - THEERIC) writes:

>I don't know about ADB devices but the company I used to program
>for used read/writable protection keys for the SCSI port (transparent
>to any devices I tried to hook up).

1) I'm all out of SCSI devices
2) I wouldn't trust anything that isn't a real SCSI unit
   on any of my SCSI buses. All my important data goes there,
   and some of that data needs to go there FAST.

Cheers,

						/ h+
-- 
 -- Jon W{tte, h+@nada.kth.se, Mac Hacker Deluxe --

   Cookie Jar: Vanilla Yoghurt with Crushed Oreos.
Newsgroups: comp.sys.mac.programmer
From: smargari@nmsu.edu (Susan Margarit)
Subject: process info problems
Organization: NMSU Computer Science
Distribution: comp.sys.mac.programmer
Date: Sun, 24 Jan 1993 22:49:51 GMT

Consider the following code fragment:

err := GetFrontProcess(psn);
err := GetProcessInformation(psn,info);

after the first line, err is 0 but after the second line, I get error
-50 (process serial number is invalid). It seems like a pretty
straight forward piece of code. Why does it fail? (sys 7.1). It
doesn't matter if I run it standalone or in TP projects, foreground or
background.

Jim Margarit (smargari@nmsu.edu)
Newsgroups: comp.sys.mac.programmer
From: mhall@occs.cs.oberlin.edu (Matthew Hall)
Subject: Re: Resources
Followup-To: comp.sys.mac.programmer
Organization: Oberlin College Computer Science
Date: Mon, 25 Jan 1993 13:40:51 GMT
X-Posted-From: occs.cs.oberlin.edu
NNTP-Posting-Host: sol.ctr.columbia.edu

In article <keith-240193173900@kip-50.taligent.com> keith@taligent.com (Keith Rollin) writes:

>   In article <rudolph.727824463@unixg.ubc.ca>, rudolph@unixg.ubc.ca
>   (Christopher E Rudolph) wrote:
>   > 
>   > Can anyone tell me if there is an quick way of opening an applications
>   > resource fork and then cycling through every resource in the application
>   > so that I can display them in a list.
>   > 
>   > ie) simaler to what resource editors do
>   > 
>   > I basically want to know what methods are available to read off every
>   > resource in an applications resource fork?
>   > 
>
>   The right way is to go back to Inside Mac IV and read the descriptions of
>   the functions Get1IndType, Get1IndResource, Count1Types and
>   Count1Resources. You would then write a function sort of like the
>   following:
>
>   short numTypes, numResources, typeIndex, resIndex;
>   ResType type;
>   Handle resource;
>
>   numTypes = Count1Types();
>   for (typeIndex = 1; numIndex <= numTypes; ++typeIndex)
>   {
>       Get1IndType(&type, typeIndex);
>       numResources = Count1Resources(type);
>       for (resIndex = 1; resIndex <= resTypes; ++resIndex)
>       {
>	   resource = Get1IndResource(type, resIndex);
>	   MessWithResource(resource);
>       }
>   }

You will speed it up Much More, if you bracket this code with
SetResLoad(FALSE)..SetResLoad(TRUE), since the resource manager will
not read in the resource, but just it's name, number, and (size?),
Thereby cutting down on possible disk access and memory useage.  Of
course, if you need to manipulate or read data from a resource, you
will have to load it in by calling LoadResource, or if you saved the
handle, GetResource.
Just a note - be sure to call SetResLoad(TRUE) before doing anything
that possibly might just perhaps use resources (such as manipulating a
list, opening a window, jumping to a routine in another segment) since
if these things have been purged or not loaded yet, they wont get
loaded, and you may have a little mess on your hands.

Hope this helps,
-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)
From: ldo@waikato.ac.nz (Lawrence D'Oliveiro, Waikato University)
Newsgroups: comp.sys.mac.programmer
Subject: Re: Still another question (sorry)
Date: 22 Jan 93 11:13:26 +1300
Followup-To: comp.sys.mac.programmer
Organization: University of Waikato, Hamilton, New Zealand

In article <absurd-190193014259@seuss.apple.com>, absurd@apple.apple.com (Tim Dierks, software saboteur) writes:
>
> Read Inside Mac V, chapter 7.

Better to read Inside Mac VI, chapter 20 instead. Even if you're not using
System 7, the new chapter still has the updates for the System 6.0.x Palette
Manager.

Lawrence
wondering where he can get one of those pump-action toys for shooting
plastic balls, that feature so prominently on the QuickTime 1.5 developer CD.
From: freek@phil.ruu.nl (Freek Wiedijk)
Subject: Re: Why the Piracy? Here's why...
Organization: Department of Philosophy, University of Utrecht, The Netherlands
Date: Sun, 24 Jan 1993 17:23:08 GMT

jason@ab20.larc.nasa.gov (Jason Austin) writes:
>Start a company,
Adobe Systems

>invent a language,
Postscript

>and get implementors to buy the rights to the language from you.
I don't think Adobe gets paid for third party Postscript
RIPs.  I think that's exactly the reason why those RIPs
exist.

Freek
--
Third theory of Phenomenal Dynamics:  The difference between
a symbol and an object is quantitative, not qualitative.
Newsgroups: comp.sys.mac.programmer
From: John_Shepardson.esh@qmail.slac.stanford.edu (John Shepardson)
Subject: Re: Help dragging icon outlines?
Followup-To: comp.sys.mac.programmer
Organization: Stanford Linear Accelerator
Date: Thu, 28 Jan 1993 17:53:45 GMT

In article <16B6312B41.UC525655@mizzou1.missouri.edu>,
UC525655@mizzou1.missouri.edu (M.Eaton) wrote:

> Does anyone have a code example to drag the outline of an icon around
> the screen (a la Finder)? I have the icon, and I can follow the cursor,
> plotting the icon, and I can erase what I plotted, but this also erases
> other icons etc. I decided to switch over to using IconSuiteToRegion
> and FrameRgn. But all I've accomplished is to confuse myself...

Use DragGrayRegion.  You may have to set the Port to the WMgrPort (watch
the clipregion) to access the entire screen.
Newsgroups: comp.sys.mac.programmer
From: jeremyr@dcs.qmw.ac.uk (Jeremy Roussak;Guest of Distributed Systems Lab)
Subject: Re: Can background-only apps use the Notification Manager?
Organization: Computer Science Dept, QMW, University of London
Date: Thu, 28 Jan 1993 07:41:09 GMT

In <1993Jan28.133852.593@otago.ac.nz> stanger@otago.ac.nz (Nigel Stanger) writes:

>Can background-only apps use the Notification Manager? The
>article in develop #9 doesn't say, the Process Manager chapter in
>IM6 says almost nothing, and the NM chapter doesn't say one way
>or the other. At a guess, I would say that they can (given that
>things like VBL tasks can use it). Anybody out there know??

As I understand it, *anyone* can use the notification manager.
Background apps, extensions, interrupt tasks, you name it.
I presume there are some constraints related to whether your
completion routine will still be around (if your bg-app is
planning to quit and puts up a notification, you have to make
sure it doesn't quit before the completion routine is called,
or find some other way around this problem), but that's about
it.

Jeremy
Newsgroups: comp.sys.mac.programmer
Subject: Re: 'aete' TMPL wanted
From: andrewb@nezsdc.icl.co.nz (Andrew Bevin)
Date: Thu, 21 Jan 93 20:48:32 GMT
Organization: Fujitsu New Zealand

In article <1993Jan20.184006.15422@uts.uni-c.dk> povlphp@uts.uni-c.dk (Povl H. Pedersen) writes:
>Subject says it all. Please mail me an aete TNPL if you have one.
>I am going to start doing some AE stuff.
>-- 
>Povl H. Pedersen   -   Macintosh specialist. Knows some DOS and UNIX too.
>pope@imv.aau.dk    -   povlphp@uts.uni-c.dk

I would also, greatly appreciate an aete TNPL, if you have such a beast
please mail a copy to me as well.


-- 
Andrew Bevin      			                     andrewb@icl.co.nz
SDC, Fujitsu New Zealand                      ## I do not speak for Fujitsu! ##
Auckland, New Zealand   
-------------------------------------------------------------------------------
From: rparker@eagle.csc.calpoly.edu (Earendil)
Newsgroups: comp.sys.mac.programmer
Subject: Re: Subverting the Think C Editor
Date: 29 Jan 93 03:46:58 GMT
Organization: California Polytechnic State University, San Luis Obispo


In article <1993Jan27.181924.13346@kronos.arc.nasa.gov> joshr@kronos.arc.nasa.gov (Joshua Rabinowitz-Summer-91) writes:
>
>I am seriously considering getting CMaster or ObjectMaster.
>It seems to me that their functions overlap.  Which is better (in your
>opinions?) - btw, I'm programming in TCL, if that effects the decision.
>
>I would be very interested in user's experiences with the two products.
>It seems objectmaster and CMaster are both heavily recommended.
>
  I was able to see a demo of CMaster when I went to a friends house during 
Christmas.  I was amazed at what it could do, and how it helped make your
time in Think C a much enjoyable time.  Whenever I can scrape up the spare
cash, AND find it in this god forsaken place, I am going to buy it.

Rick Parker


-- 
rparker@blackbird.calpoly.edu                 ||    
Earendil @ Flesh & Blood                      ||   
Earendil @ TMI
Newsgroups: comp.sys.mac.programmer
From: peter@cujo.curtin.edu.au (Peter N Lewis)
Subject: Re: "GLOBAL System Variables", Help!!!
Followup-To: comp.sys.mac.programmer
Organization: NCRPDA, Curtin University
Date: Tue, 26 Jan 1993 03:17:57 GMT

In article <1993Jan21.200510.7950@fcom.cc.utah.edu> Dmitry Boldyrev
<dmitry@chemistry.chem.utah.edu> writes:
>Does anyone know how to write/read Global variables in THINK Pascal ?
>I have an address of CurActivate ($0A64) and size (4).
>Think Reference says that it's a "Global Variable", but
>when I tried to use it in Pascal it says "unknown indef.".
>" MyWindow := CurActivate; "

I do it thusly:

	const
		ToolScratch = $9CE;

var
			ToolScratchP: ^ptr;

begin
		ToolScratchP := POINTER(ToolScratch);
 { then use or set ToolScratchP^ }
end;

Unfortunately, THINK Pascal doesn't support globals, so this is the only
way of doing it, I think.  I'm not sure if there isn't an interface you
could include that has all the global addresses defined, I just paste them
in with ObiWan :-)
   Peter.

_______________________________________________________________________
Peter N Lewis <peter@cujo.curtin.edu.au>             Ph: +61 9 368 2055
From: dent@DIALix.oz.au (Andrew Dent)
Newsgroups: comp.sys.mac.programmer
Subject: Smalltalk/V users?
Date: 28 Jan 1993 22:44:17 +0800
Organization: DIALix Services, Perth, Western Australia
NNTP-Posting-Host: localhost.dialix.oz.au
Summary: Any comments
Keywords: Digitalk  Smalltalk/V
X-Newsreader: NN version 6.4.19 #1

Hi

I'm interested in the progress of Smalltalk/V for the Mac. Does it now have
a runtime-only version or way of producing an executable?

What's the support for colour in the interface?

Hopefully

Andy Dent (A.D. Software - Mac & VAX programming)
94 Bermuda Dve, BALLAJURA  Western Australia  6066
Phone/Fax: 09 249 2719 (local)  +619 249 2719 (International)
       Internet: dent@DIALix.oz.au    Compuserve: 100033,3241
From: rudolph@unixg.ubc.ca (Christopher E Rudolph)
Newsgroups: comp.sys.mac.programmer
Subject: Re: Symantec's Address & Telephone #
Date: 22 Jan 93 19:13:27 GMT
Organization: The University of British Columbia
NNTP-Posting-Host: unixg.ubc.ca
Keywords: Symantec

In <rudolph.727719797@unixg.ubc.ca> rudolph@unixg.ubc.ca (Christopher E Rudolph) writes:

>Hello all,

>I still haven't received my upgrade notice in the mail (probably because
>I'm in Canada) so I would like to call Symantec directly to get the upgrade.

>So can someone please supply me w/ Symantec's phone number and address. 
>All I really need is the phone # though.

>Thanks,

>Chris Rudolph (ComputerScience, UBC) <rudolph@unixg.ubc.ca>
>|| Point To Ponder - What Is Meaning? ||

Kind of a stupid question.  I had all my Think Books right beside.  Never
thought to look at their back covers..heh..Sorry..I guess it must be a Monday
 
For those of you who don't have any Think Products:
 
Symantec Corporation
10201 Torre Avenue
Cupertino, CA  95014-2132
 
Tele: 408/253-9600
 
-------------------------
 
Chris Rudolph (ComputerScience, UBC) <rudolph@unixg.ubc.ca>
Newsgroups: comp.sys.mac.programmer