HDTenEightyP/NetNews huggingface dataset:
From: mhall@occs.cs.oberlin.edu (Matthew Hall)
Newsgroups: comp.sys.mac.programmer
Subject: Shareware legality question
Date: 31 Aug 92 20:43:47 GMT
Distribution: comp.sys.mac.programmer
Organization: Oberlin College Computer Science
X-Posted-From: occs.cs.oberlin.edu
X-Posted-Through: sol.ctr.columbia.edu

Hello-

I submitted a shareware copyrighted program to sumex-aim.  In the
README file I included a line that read <Public domain houses, such as
Educorp, must contact me before distributing this program>.  I guess I
aint no legal wizard, and I should have worded that more carefully.

A few months later, I recieved a letter and a complimentary CD-ROM
from NAUTILUS saying that they had published my program on the disc.
Now there are several reasons I would like to have been asked
beforehand.
First, the program is going commercial, and I would like to have put a
demo version of the new program on instead.
Second, I would like to have made the shareware fee plea a little
stronger, since people who buy disks from these places think that they
do not need to pay my fee.
Third, I feel I have the right to ask for a fee from them.  A CD-ROM
is actually pretty hefty, but since I do not have a drive, To me, its
utterly useless.
And last, I just plain asked to know beforehand, and they should have
asked.

Do I have any rights here, or did I goof with my language.  Or should
I just write a kind/nasty letter explaining to them how I feel.  It
disturbs me a little that these people are using my program to make a
profit (not, of course, that people are buying the NAUTILUS CD in
droves because of it, but still) Does anybody have a similar
experience?

-matt hall

--


-------------------------------------------------------------------------------
Matt Hall.    mhall@occs.cs.edu  OR  SMH9666@OBERLIN.BITNET
              (216)-775-5805 (That's a Cleveland Area code. Lucky Me)

"If a man comes up to you and says:
	'A dog just carried away your ear.'
Do you run after the dog, or search first for your ear?" - Moon over Morocco
  
Newsgroups: comp.sys.mac.programmer
From: reynhout@cs.uri.edu (Andrew Reynhout)
Subject: Re: IM 1-7  vs New: FILES, PROCESSES, MEMORY Books
Organization: University of Rhode Island, Computer Science Dept.
Date: Wed, 2 Sep 1992 22:19:18 GMT

In article <BtLxGB.Hp0@taligent.com> keith@taligent.com (Keith Rollin) writes:
>If you can wait (and have the bucks), I'd suggest getting the new books. As
>you've seen, there are three now, and probably about 12 more in the wings. The
>whole new suite is intended to replace the old IM I-VI, as well as many of the
>technotes and sample code that DTS puts out. They are chock full of samples,
>and include a lot more background and tutorial material.

   As an aside, are the code examples in C this time?  

   Andrew

-- 
   Andrew <reynhout@cs.uri.edu>    "If you remind me of my dog,
                                    we'll probably get along"  -jane siberry
   meow
From: tim.meade%theweb@meaddata.com (Tim Meade) 
Newsgroups: comp.sys.mac.programmer
Subject: STUFFIT FORMAT
Date: 29 Aug 92 10:32:00 GMT
Distribution: world
Organization: The Web BBS 1-513-436-9011 6 Lines 1200 News groups 50,000 files!
Reply-To: tim.meade%theweb@meaddata.com (Tim Meade) 

I am in need of the Stuffit or Unstuffit format. Is this in the public
domain?  I want to do a conversion program and would like to be able to
directly handle these files.  Any help would be apprecitive.

Please email me at tim.meade%theweb@meaddata.com


                thanks....Tim
                                                                                                  
Newsgroups: comp.sys.mac.programmer
From: Anders Wallgren <anders@verity.com>
Subject: Re: Things I'd like to see: SourceBug
Organization: Verity, Inc., Mountain View, CA, USA
Date: Thu, 3 Sep 92 22:06:59 GMT
X-Xxmessage-Id: <A6CBDB69AE02C897@pokey.verity.com>
X-Useragent: Nuntius v1.1.1d9
X-Xxdate: Thu, 3 Sep 92 23:10:33 GMT

In article <ksand-010992172559@wintermute.apple.com> Kent Sandvik,
ksand@apple.com writes:
>Yeah, I asked for this nifty feature in SourceBug. Same with
MacBrowse
>(or Mouser), but the original code (the app shipping) is written
using
>MacApp 2.0.1, so it's a little bit harder to achieve. Otherwise I
agree,
>long TTextListViews should by default support the
TKeySelectionBehavior.

This assumes that the list is sorted, which isn't necessarily true
- TKeySelectionBehavior works in weird ways (from the user's
perspective) on non-sorted list.  Perhaps a flag to turn it on
would be better than always having it on.

anders
Newsgroups: comp.sys.mac.programmer
From: thor@vivaldi.psu.edu (Thomas Moertel)
Subject: What are Apple's future plans for C++ and MacApp?
Organization: Pennylvania State University
Distribution: comp
Date: 26 Aug 92 23:46:12

The folks at Apple have done a wonderful job with MPW C++ 3.2, but I
can't help but be envious of my MS-DOS friends who have C++ compilers
that compile directly into native code, support templates, and support
exception handling.  I'd hate to think Apple was losing developers
because their development tools are a behind the times (e.g., cfront
2.1).  I can't find anything on ETO#8 that indicates either templates
or exception handling will be in any near term MPW C++ release.  Even
worse, I've heard net chatter saying that Apple's new Lucid C++
compiler will be without templates and exceptions, as well.  Can this
possibly be true?  (Please say it's not. ;-)

With this in mind, can anybody tell me what Apple's near- and
long-term plans are for C++?

And because I'm really curious, how will MacApp fit into the new C++
picture?  With C++ compiler support for exception handling, the
TObj::Initialize() and TObj::IObj() methods, as well as FailInfo-based
exception handling, could be a thing of the past. (wow!)

Please, somebody tell me I'll have a mighty C++ compiler with
templates and exception handling in the near future.  (I don't know
how I'll ever convince my DOS-based developer friends to even *look*
at a Mac without a top-notch C++ compiler.)

Thanks in advance for any info or uncanny predictions!


--

Tom Moertel                 Pennsylvania State University
thor@vivaldi.psu.edu        "Them bats is smart. They use radar!"  ;-)
From: triantos@acsu.buffalo.edu (Nick B Triantos)
Newsgroups: comp.sys.mac.programmer
Subject: Help needed with low level File Manager calls
Date: 1 Sep 92 15:52:57 GMT
Distribution: comp
Organization: The University at Buffalo
Originator: triantos@lictor.acsu.buffalo.edu

Hi.

I'm kinda new to programming on the Mac, so please bear with me.  I'm trying to
figure out PBMountVol.  In a nutshell, my code defines

    VolumeParam myParmBlk;

then makes the following calls:

    myParmBlk.ioVRefNum=i;
    gMyErr = PBMountVol((ParmBlkPtr)&myParmBlk);

as i goes from 0 to 7.  With i=0, I get gMyErr==paramErr, which is expected.
At i=1, I get gMyErr==-65, which is not listed as a File Manager error code in
IM-II, page 138, or IM-VI, page 25-62.  On my computer, a SyQuest 44MB
cartridge drive resides at SCSI ID 1, and is mounted when I run this through
the debugger.  For i from 2 to 6, I got gMyErr==nsDrvErr, which makes sense
since I don't have any drives at those addresses.  I should mention, by the
way, that myParmBlk.ioResult is always the same as gMyErr.

Now my questions.

1.  Am I correct in assuming that ioVRefNum should be set to the SCSI id of the
drive I'm trying to mount?

2.  What is result code -65?

3.  If I'm correct in Q. 1, shouldn't I get a result code of -55 (volOnLinErr)
when ioVRefNum=1?

Many thanks for any help,

-Nick




--
Nick Triantos    internet: triantos@acsu.buffalo.edu
                 AOL:      Triantos
"Scientists tell us that the fastest animal on earth, with a top speed of
120 ft/sec, is a cow that has been dropped out of a helicopter." - Dave Barry
Newsgroups: comp.sys.mac.programmer
From: bratton@sparc3.cs.uiuc.edu (Alex Bratton)
Subject: Looking for some sample appletalk ATP code...
Keywords: appletalk
Organization: University of Illinois at Urbana-Champaign
Date: Tue, 1 Sep 1992 03:36:35 GMT

I've been doing some work with ATP, trying to get a socket opened and the
name registered.  It returns noErr, but when I examine the network from
another computer, the new socket doesn't show up.  It also produces an
error (no matching name) when I try to unregister the name.

If you have some sample code (ATP) that opens, registers, and dumps some
data, I'd really appreciate seeing it.  This has been bugging me for a while
and I think I need to look at some working code to see what I'm missing.

I'm sticking with ATP to insure system 6 & 7 compatability.

Thanks,
Alex Bratton
From: REEKES@applelink.apple.com (Jim Reekes)
Newsgroups: comp.sys.mac.programmer
Subject: Re: out of memory in ThC 5 when dbugging
Date: 24 Aug 92 19:28:06 GMT
Followup-To: comp.sys.mac.programmer
Organization: Apple Computer, Inc.

In article <1992Aug21.150738.10377@kingston.ac.uk>,
santadog@isys.kingston.ac.uk wrote:
> 
> SCENARIO:
> I am trying to use a copy of Think C 5 to debug someone else's code (I would
> normally use MPW). He has taken his manuals home and has gone on holiday,
> leaving me with the problem of not really knowing how to run the debugger (or
> much else for that matter, but mostly I have worked it out).
> 
> PROBLEM DEFINITION:
> When I mark the 'Use debugger' menu item in the Project menu and then select
> Run (after marking the appropriate source files in the Project window) I get
> the following (debugger) message:
> 
> 'out of memory'
> 
> THINGS I HAVE TRIED:
> I have tried setting Think C to anything up to a 7Mb  partition and then I
> tried setting the debugger 'application' to 2Mb and also increasing the
> partition for the actual project to double what it should be (normally 750k). I
> have increased the VM to 13 Mb without any other applications running and I
> still get the same error in all these separate cases. ???
> I have a MacIIci, system7.1.1, 8Mb RAM. am trying to use ThinkC ver 5.0.
> 
> Can anyone help, please ?
> 
> Simon Lucas
> School Of Information Systems
> Kingston University
> santadog@isys.kingston.ac.uk

Do you have WallPaper running?  It's a cdev that create desktop patterns,
and I've
found that there's a bad interaction with Think C that orphans memory with
every
step you take. :->

-----------------------------------------------------------------------
Jim Reekes, Polterzeitgeist  |     Macintosh Toolbox Engineering
                             |          Sound Manager Expert
Apple Computer, Inc.         | RAll 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.S
From: bear@netcom.Netcom.COM (Blair M. Burtan)
Newsgroups: comp.sys.mac.programmer
Subject: Looking for IGES format info
Date: 28 Aug 92 20:15:31 GMT
Reply-To: bear@netcom.com (Blair M. Burtan)
Distribution: comp
Organization: Mattel Toys, Inc.

Greetings,
   I'm looking for a book or article or document that details the IGES
graphics format.  In specific, I've got some models that are built with
surfaces and I need to import them into Sculpt 3D or some other modelling
program.  If there's a commercial package for doing this, that would be
great.
-- 
+----------------------------------------------------------------------+
+ Blair M. Burtan:  bear@netcom.com bear@csa.bu.edu bear@bu-pub.bu.edu +
+ My opinions don't necessarily reflect those of Mattel Toys, so there +
+ "If it's not baroque, don't fix it."  - Beauty and The Beast         +
+----------------------------------------------------------------------+
Newsgroups: comp.sys.mac.programmer
From: david@oahu.cs.ucla.edu (David Dantowitz)
Subject: Xterm for Mac?
Originator: david@oahu.cs.ucla.edu
Organization: UCLA Computer Science Department
Date: Mon, 24 Aug 92 01:08:53 GMT


I'd like to do some Xwindows programming form my Mac over ethernet,
has anyone used (created) packages that can do this?

Thanks.

-- 
David Dantowitz
david@cs.ucla.edu

Singing Barbershop when I'm not doing parallel simulation
Newsgroups: comp.sys.mac.programmer,comp.sys.mac.system
From: k044477@hobbes.kzoo.edu (Jamie R. McCarthy)
Subject: Re: Does anyone recognize _Jackson?
Followup-To: comp.sys.mac.system
Organization: Kalamazoo College
Date: Fri, 4 Sep 1992 16:14:18 GMT

Roger.W.Brown@dartmouth.edu (Roger W. Brown) writes:
>I frequently see this symbol in MacsBug when my Quadra crashes:
>_Jackson. I haven't looked through the Tech Notes yet.

You won't find it there.  :-)

>I wondered if
>anyone knows what it is. It does something with color icons.

It's an internal trap that QuickDraw uses for doing stuff with memory.
Those branches to _DisposCIcon+xxxx don't necessarily have anything to
do with color icons.  And if you ever hit the _Debugger trap in there,
something went wrong _before_ the trap was called.  Giving the app more
memory may or may not fix it;  it's worth a try.

And it gets its name from Jackson Pollock, the modern painter whose name
was given to early versions of Color QuickDraw.  (Or is it 32-bit
QuickDraw?  I've never been good at trivia...)

>I just
>want to know that it isn't a virus, and maybe that it is from an
>extension that may be causing trouble.

Nope, it's in your machine's ROM.  (It's hard to put a virus there.)

Note the followup;  hopefully csmp won't start up another flood of
_Jackson trivia...?
-- 
 Jamie McCarthy      Internet: k044477@kzoo.edu      AppleLink: j.mccarthy
 The essence of OOP:  "After some hacking, I finally got the program to
 work, but I'm still not sure why." - David Marcovitz (marcovitz@uiuc.edu)
Newsgroups: comp.sys.mac.programmer
From: pxi@lesti.hut.fi (Pekka M Salonen)
Subject: Re: GetPictInfo bug with QuickTime Picts? Develop sez...
Reply-To: pxi@vipunen.hut.fi
Organization: Helsinki University of Technology, Finland
Date: 1 Sep 92 23:17:10


In article <8350@sirius.ucs.adelaide.edu.au> mpradhan@medicine.adelaide.edu.au (Malcolm Pradhan) writes:
...
<    I have found that if the PICT is quicktime compressed (JPEG, Video)
<   no palette is returned and no error is signalled from the GetPictInfo
<   call - pretty frustrating.

<    The only way I can see of getting around this is to create an gworld,
<   draw the compressed PICT into it and then GetPixMapInfo. Tedious and
<   memory intensive!

<    Has anyone found a way of getting a clut or palette from a QT compressed
<   PICT? Is this a known bug which will soon be fixed in System 7.1 and
<   QT 1.5? :-)

<   Regards
<   Malcolm

In Mac Q&A in develop issue 11 this was discussed, here's a quote:

"Q Is it my imagination, or does GetPictInfo return a bit depth of 1 on 
QuickTime compressed PICT files?

A Yep! This is what's happening: The Picture Utilities Package doesn't know of 
the QuickTime Compressed Pixmap opcode (0x8200), so it just skips over the 
opcode's data; then it finds the PackBitRect opcode containing the 
black-and-white pseudo-alert that you get when you draw the picture on a 
machine that doesn't have QuickTime installed, and GetPictInfo reports back 
this alert.

Trivia: When QuickTime is installed, it displays the compressed image and 
then ignores the following PackBitRect since QuickTime knows it's only 
the black-and-white alert."

Reprinted here sans permission, don't think anybody will mind.
So this is a known thingie. That's all I know.

	pekka




--
ha!
Newsgroups: comp.sys.mac.programmer
From: Glen.Stewart@f175.n2240.z1.ieee.org (Glen Stewart)
Subject: RE: I wonder...
Organization: FidoNet node 1:2240/175 - The Associati, Grand Blanc MI
Date: Fri, 21 Aug 1992 13:45:01 GMT

Terminal 2.2 is a full-featured telecom program that is released with source
code (Think C 5.02 project).  Feel free to call and get it here.


--  
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
 Glen Stewart - Internet: Glen.Stewart@f175.n2240.z1.ieee.org
Newsgroups: comp.sys.mac.programmer
From: Stuart Cheshire <cheshire@cs.stanford.edu>
Subject: Re: Adding Balloon help to my App...
X-Xxmessage-Id: <A6CA497711010010@bolo.stanford.edu>
X-Xxdate: Wed, 2 Sep 92 18:35:35 GMT
Organization: Stanford University
X-Useragent: Nuntius v1.1.1d7
Date: Wed, 2 Sep 92 17:35:38 GMT

In article <1992Sep2.132611.23290@utkux1.utk.edu> Danny W. McCampbell,
danny@utkux1.utk.edu writes:
>Is there an easy way to add balloon help to my Application.

I do my Balloon help by reading IMVI and using SaRez which comes with
Think C.

However, a friend showed me Resorcerer, and it is brilliant (in many
respects, not just that of its handling of Balloon help resources). If
you can afford it, I would recommend that you buy it. I intend to as soon
as I can.

Stuart Cheshire <cheshire@cs.stanford.edu>
 * Liliore Green Rains Houses Resident Computer Coordinator
 * Stanford Distributed Systems Group Research Assistant
 * Macintosh Programmer
From: ulfis@cyklop.nada.kth.se (Anders Ulfheden)
Newsgroups: comp.sys.mac.programmer
Subject: How to change font and size of controls
Date: 23 Aug 92 21:18:22 GMT
Distribution: comp
Organization: Royal Institute of Technology, Stockholm, Sweden

SetDAFont() works for changing font of dialog items. TextFont() and TextSize
should change the font and size for my stattext items, but they dont!
SetDAFont() changes fonts for all items in dialogs. How can I change the size?

When should SetDAFont() and corresponding TextFont/Size() be called when
doing dialogs? IM I-VI is quite sparse in this subject...

Can anyone tell me how/why the Dialog Manager mess with the font setting, i e
TexFont() and TextSize() for Stattext and Edittext items?

Thanks!!

ulfis
--
+------------------------------------------------------------------------------
|  Anders Ulfheden
|  USENET:  ulfis@nada.kth.se		AppleLink: SW0429
|  Royal Institute of Technology
|  Stockholm, Sweden
From: ldo@waikato.ac.nz (Lawrence D'Oliveiro, Waikato University)
Newsgroups: comp.sys.mac.programmer
Subject: Re: JPEG <-> JFIF with QT.
Date: 4 Sep 92 17:31:21 +1200
Followup-To: comp.sys.mac.programmer
Organization: University of Waikato, Hamilton, New Zealand

In article <mackid-280892211810@toysrus.engin.umich.edu.>, mackid@engin.umich.edu (Mike Neil) writes:
>
>   I noticed that the Pict Viewer App that
> comes on the QT CD was able to read and write JFIFs.  So I looked at
> it a bit more, and fould that the data portion that is returned from a
> CompressImage call is in the JFIF format (Someone give the QT guys another
> cookie).  So basically you can read a JFIF file into memory pass it into
> the DecompressImage call (You will need to make a Info block by hand).
> and you will get a decompressed image out.  Very Cool.
>
> P.S.  Couldn't find any mention of this in the QT docs so my guess is
> it is an unsupported feature.

I had a read of the JFIF specs. The main thing it offers you over vanilla
JPEG is the X and Y resolution information, which gives you some idea of what
scale to view the image at. It is true, though, that the QuickTime JPEG
compressor reads and writes a standard JPEG data stream (well, it would have
to, wouldn't it?). Thus it's very easy to read and write JPEG files on a
QuickTime-equipped Mac.

Things get a little harder, though, if the image is too big to fit in memory
all at once. Then you have to figure out how to use data loading and unloading
routines with the Image Compression Manager...

Here's one useful piece of information about the JPEG data stream, for those
(like me) who have never seen a copy of the JPEG spec: if you want to determine
the size of the image, look for a hex FF byte followed by a hex C0 byte. Skip
the next three bytes, and you will find a 2-byte integer containing the number
of lines, followed by a 2-byte integer containing the number of columns. Both
are in big-endian format (ie on a Mac, you don't have to worry about it).

Thanks to Dolf Starreveld at Storm Technology for telling me this, along with
several other interesting things, a long time ago...

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+12:00
Ask not for whom the phone rings; it rings for you.
Newsgroups: comp.sys.mac.programmer
From: d88-jwa@dront.nada.kth.se (Jon W{tte)
Subject: Re: dereferencing Handles( was Re: incrementation differences...)
Originator: d88-jwa@dront.nada.kth.se
Organization: Royal Institute of Technology, Stockholm, Sweden
	<1992Aug25.150911.19008@bnr.ca> <1992Aug25.161818.8069@hobbes.kzoo.edu>
Date: Tue, 25 Aug 1992 22:38:38 GMT

> k044477@hobbes.kzoo.edu (Jamie R. McCarthy) writes:

   Lists of which Toolbox routines do and don't move memory can be found in
   appendices of several Inside Macintoshes.  The definitive list is in the
   Inside Mac X-Ref (and probably in NIM: Memory as well...)


ALL toolbox calls except BlockMove move memory; or will do
sometime in the future, bug-fixed or INIT-patched.

-- 
- I have decided that it is not boxes but my lack of skill that's the problem.
- Traitor! This kind of attitude will get you nowhere around here. If you must
  know, it's not your boxes that are the problem, it's your lack of a
  sufficient number of boxes. Go out and buy something.
Newsgroups: comp.sys.mac.programmer
From: jerrymo@ecs.comm.mot.com (Jerry Morrow)
Subject: Looking for good C Graphics book, to write arcade style game   
Organization: secure_comm
Date: Tue, 25 Aug 1992 23:33:44 GMT
Followup-To: jerrymo@ecs.comm.mot.com
Keywords: THINK C, Graphics     


I'm trying to learn how to program arcade style games, 
for example, from simple 'pong' to more complex games like 'Mario Bros.' 
I have a background in c programming and I'm looking for a book, 
preferably Mac, or even IBM that will bring me through the process.
A tutorial, not a reference manual.  

email to jerrymo@ecs.comm.mot.com
or reply on the net

Thanks,
Jerry Morrow   


Newsgroups: comp.sys.mac.programmer
From: sdorner@qualcom.qualcomm.com (Steve Dorner)
Subject: Re: Human Interface questions, specific functionality
Organization: Qualcomm, Inc., San Diego, CA
Date: Thu, 27 Aug 1992 22:59:25 GMT

erh0362@tesla.njit.edu (Elliotte Rusty Harold) writes:
>	1.  Control-H generates the same ASCII character as the forward delete
>	key on the extended keyboard.  Should my application perform a delete
>	(i.e. Clear) when Control-H is pressed or should I trap that event? 

There are similar equivalences for some other keys.

I think you should let it be a forward delete; I mean, it's not like you
have big plans for control-h, right?  Might come in handy for somebody
who didn't have an extended keyboard, too.

Other people disagree vehemently with this, but I think they just didn't
get to play outside when they were kids.
-- 
Steve Dorner, Qualcomm, Inc.
Yes, I'm still working on Eudora and it's still free.
From: dent@DIALix.oz.au (Andrew Dent)
Newsgroups: comp.sys.mac.programmer
Subject: Re: Extensions to list manager
Keywords: listmanager tables matrix spreadsheet
Date: 31 Aug 92 15:35:28 GMT
Organization: DIALix Services, Perth, Western Australia

DataPak software have two products which extend the List Manager
Bag of Tricks is a low-cost C library (usable from Pascal) which includes
a replacement for the List manager (VERY easy to use, multiple-selects, >32kb
data etc.)

They have a fancy Matrix Engine product that is designed for implementing
full ledger-style lists, including grid drawing, simple math, virtual memory
etc.

I've used the Bag of Tricks product in a FoxBase XCMD to do true scrolling
list dialogs - it's very easy to use.

Just a couple of suggestions for non-TCL approaches!

Contact DataPak on 206 573 9155
CompuServe 76424,3027
Applelink D0142

I've used a LOT of their products and continue to be impressed!

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