HDTenEightyP/NetNews huggingface dataset:
From: d88-jwa@dront.nada.kth.se (Jon Wtte)
Newsgroups: comp.sys.mac.programmer
Subject: Re: File creator problem
Date: 11 Jan 93 18:43:09 GMT
Organization: Royal Institute of Technology, Stockholm, Sweden

In <1993Jan11.145114.16500@adimail.uucp> tel@adimail.uucp (Terry Monks) writes:

>But when the BBS program reads the files, I fined the creator has
>changed back to MPS . What happened? The code is in MPW Pascal, and
>does no more than

>		  open(file, filename);	  
>		  readln(file,string);
>		  close(file);

Pascal, obviously...

Anyway, the libraries you use set the creator of the file
it creates (or opens) to 'MPS ' for "basic" I/O - you are
using the standard I/O routines which is considered ultra
tacky.

Instead, use the OS calls like FSOpen (better: HOpen) and
FSRead.

Cheers,

						/ h+
-- 
 -- Jon W{tte, h+@nada.kth.se, Mac Hacker Deluxe --
   This sig less than 3 lines: Improve the UseNet S/N ratio!
Newsgroups: comp.sys.mac.programmer
From: lsr@taligent.com (Larry Rosenstein)
Subject: Re: Locating someone on AppleLink (from the Internet)
Followup-To: comp.sys.mac.programmer
Organization: Taligent, Inc.
Date: Wed, 6 Jan 1993 18:06:14 GMT

In article <1993Jan6.132738.28176@prz.tu-berlin.de>,
pcastine@tubkom.prz.tu-berlin.de (Peter Castine) wrote:
> 
> sure if this was some special service provided by the QuickMail<->AppleLInk
> gateway, or if the mail was simply sent on to AppleLink. On the assumption

My impression was that this function was provided by the gateway.  It would
take your request, call up AppleLink and do the find using the AppleLink
service.

> Oh, I almost forgot who to address the mail to. Unfortunately, I don't have
> access to aforementioned LAN right now, so I can't check that out.

That's the thing; you needed to address the QuickMail to any address on the
gateway mailcenter.

Larry Rosenstein
Taligent, Inc.

lsr@taligent.com
Newsgroups: comp.sys.mac.programmer
Distribution: world
From: GioF@ultramac.uucp (Gio Favignano)
Organization: Odyssey Ultraware, Inc
Date: Mon, 11 Jan 1993 03:04:19 CDT
Subject: Perspective Program

I have a construction Business and would like to get some software that I know
is available for DOS. I have seen it used in Home Remodeling stores that
assist the saleman in giving the customer a perspective view of a kitchen
remodel. You enter a floor plan and where you want the cabinet and appliances,
and the software can give you a perspective view of any wall.
Thanks in advance!
Giovanni (John) Favignano
St. Louis, Mo.
I can Be reached at*
GioF@oui.com,interNet
GioF@AOL.com,interNet
GioF <<< America Online (AOL)
314/837-8391                

Newsgroups: comp.sys.mac.programmer,comp.os.ms-windows.programmer.tools,comp.windows.ms.programmer
From: grover@brownie.cs.unlv.edu (Kevin Grover)
Subject: Re: Stallman and friends
Reply-To: grover@isri.unlv.edu
Organization: Information Science Research Institute (UNLV-ISRI)
Date: Wed, 6 Jan 93 00:32:22 GMT

In article <D2150035.mrrnh5@outpost.SF-Bay.org>, peirce@outpost.SF-Bay.org (Michael Peirce) writes:
) 
) As to making "rash" comments, my comments were quite considered.
) I've been anti-GNU for years now.  They simple don't believe that
) people like me have the right to protect work as intellectual
) property.  I make a living developing software and selling it - I
) take this whole subject very seriously and I view the FSF ideas as
) a threat.
) 

Have you read any of the FSF literature?  It was my understanding
(from the reading and a talk Stalman gave) that the idea of the FSF
was not necessaraly that all software should be free, but rather that
you should be free to write what you want.  I.e. there should be no
software patents or look and feel patents.

This DOES NOT mean that you can copy someones code!!  The code would
still be protected by a copyright.  He wants to help lowever software
cost by eliminating many useless patents awarded for ideas that have
been around for a long time (i.e. back and store, and xor to a
screen!).  Many things that A LOT of moderatly clever programmers
would probably come up w/ themselves if they had a need for them, but
now can not use due to the patents.  There is a lot of cost(time)
involved in researching patents and paying for the use of those you
might violate.  In fact, there are companies that do nothing but sell
patents.

This is a grossly over simplification of what I remember.  There are
many other points, and there are also some drawbacks (i.e. like what
if a little 2 man company creates a wonderfull new program to do
something in a very easy way, what's to stop a major company from
duplicating the idea.  The large company could pay for more and better
advertising, etc.  However, the question may not have any meaning
because, even if the compan 'stole` the program and the little company
sued, the large company could keep the thing in court until the little
company was broke)

- kev
Newsgroups: comp.sys.mac.programmer
From: urban@yoda.fsl.noaa.gov (Art Urban)
Subject: TCL: Bizzare Behavior Time
Organization: Forecast Systems Lab, NOAA, Boulder CO, USA
Date: Mon, 11 Jan 1993 17:02:31 GMT

I'll cut right to the problem...

Swatch reports that my application's heap has gone BAD BAD BAD BAD
(Swatch's words, not mine). I followed the source code until this condition
occured, and it happens right after a call to new ( anObject ). My TRY,
CATCH, ENDTRY doesn't blow up, so the call must've worked, yet my heap is
cooked. I'd look into the code for new, but there is no way to get it into
the debugger to trace it (is there?). 

Also, this problem *used to* crash badly enough that even Macsbug could not
recover (on a StripAddress call which I did not make). The odd thing about
this is that when I turned on 32 bit addressing for the Mac, my program
doesn't crash, but the heap still gets scrambled.

I have to admit, that this is somewhat fun playing detective, but I'm
getting frustrated with this problem, so some pointers would really help!

Thanx!

-- 
Art Urban 					        urban@yoda.fsl.noaa.gov
===============================================================================
 "Look, he's being attacked by creamy nugget centers."		 	 -Joel
===============================================================================
From: dstrout@sun.rest.tasc.com. (Dave Strout)
Newsgroups: comp.sys.mac.programmer
Subject: Newbie TCL question on mouse clicks
Date: 11 Jan 1993 17:25:14 GMT
Organization: TASC
Distribution: usa
Reply-To: dstrout@sun.rest.tasc.com
NNTP-Posting-Host: pluto.aitc.rest.tasc.com


Beginner question on mouse clicks.  I made a copy of the TCL starter app,  
and put these lines in the Draw method in CStarterPane()

TextFont(1);
MoveTo(50,50);
DrawString("\pHello World");

That works fine.  Every new doc has "Hello world" in it.  But when I move  
those same lines to the DoClick method, (Idea being draw it only after I  
click in the window) nothing happens.  In fact, if I put SysBeep(1) in the  
DoClick(), It doesn't beep.  What else do I need to do?

Thanks,

dave.

--
Dave Strout	dstrout@sun.rest.tasc.com
Thompson's Rule for First Time Telescope Makers:
It's easier to make a 4 inch mirror then a 6 inch mirror
than it is to make a 6 inch mirror.
/* Opinions expressed are not the official position of TASC. */
From: KTizzard@exeter.ac.uk (Keith Tizzard)
Newsgroups: comp.sys.mac.programmer
Subject: MPW Link error message: help please
Date: 12 Jan 93 14:55:34 GMT
Organization: University of Exeter
X-Xxmessage-Id: <A7788C051C010465@keith.ex.ac.uk>
X-Xxdate: Tue, 12 Jan 93 14:53:57 GMT
X-Useragent: Nuntius v1.1.1d16

I am developing a C++ program under MPW.

In trying to sort out some logical errors I have added a number of output
statements
sending information to cerr.

Everything compiles perfectly well but then the linker fails with the
message:

### Link: Error: Jump table offset into code segment is greater than 32K.
(Error 50) GETPTRSIZE


There seems to be some critical point when this happens.  I have a number
of such
tracing statements in and working but when another is added I encounter
this 
problem.

Has anybody any idea what I might try in order to overcome this
difficulty?



Keith Tizzard
MSOR Department
Unversity of Exeter
UK
email: K.Tizzard@exeter.ac.uk
From: wjb@cscsun2.larc.nasa.gov (William J. Bene)
Newsgroups: comp.sys.mac.programmer
Subject: Setting Default Directory
Date: 6 Jan 1993 12:39:14 GMT
Organization: NASA Langley Research Center, Hampton, VA  USA
Reply-To: wjb@cscsun2.larc.nasa.gov (William J. Bene)
NNTP-Posting-Host: cscpk.larc.nasa.gov

Given the following FSSpec record:

  vRefNum - volume reference number
  parID   - directory ID of parent directory
  name    - DIRECTORY name

How can I set the default directory to FSSpec.name?  In other words, I have a 
routine that allows a user to select folder name instead of a file name and
I want that folder to be the default directory. I am using this routine with 
an existing MacFortran application which expects all files used with Fortran 
reads and writes to be in the default directory.  IM VI states that it can be 
done, but never explains how to do it.  

Any ideas would be appreciated!


Thanks,


Will
=========================================
William J. Bene
Computer Sciences Corporation
wjb@cscsun2.larc.nasa.gov


Newsgroups: comp.sys.mac.programmer,comp.os.ms-windows.programmer.tools
From: troy@cbme.unsw.EDU.AU (Troy Rollo)
Subject: Re: Stallman and friends
Organization: University of New South Wales
Date: Fri, 8 Jan 1993 20:27:08 GMT

From article <gtall.726514732@ogre>, by gtall@ogre.cica.indiana.edu (Gerry Allwein):
> I just a simple yes or no answer to a simple question: does a parser produced
> by GNU Bison fall under the FSF copyright?

No, it doesn't. However if that parser is part of a commercial product or
used as part of a commercial product it is in violation of the license for
Bison, which is unique among the GNU tools in that it is the only tool for
which the output cannot be used for commercial purposes.
--
_______________________________________________________________________________
troy@cbme.unsw.EDU.AU	      Overworked, overcommited and always multitasking.
Opinions expressed are not those of the CBME or UNSW, but are my opinions only.
You are free to adopt them.   I suggest you adopt them.    You will adopt them!
Newsgroups: comp.sys.mac.programmer
From: neeri@iis.ethz.ch (Matthias Neeracher)
Subject: Re: Where to get DisInfectant source
Followup-To: comp.sys.mac.programmer
Organization: Integrated Systems Laboratory, ETH, Zurich
Date: Tue, 5 Jan 1993 18:00:47 GMT

In article <zeng-040193161338@zeng.apple.com>, zeng@apple.com (T. Zeng) writes:

> Is it true that DisInfectant source is available on the internet ?

The directory tree walking and user interface code yes, but not the actual
virus checking code.

> If it is true, could somebody tell me where I can get the source code ?

ftp 129.105.113.52, pub/disinfectant/sample24.sea.hqx

Matthias

-----
Matthias Neeracher                                      neeri@iis.ethz.ch
   "He carried an automatic pistol in one pocket and a rabbit's
    foot in the other" -- Ayn Rand, _Atlas Shrugged_
From: niel@cars.com (Niel Bornstein)
Newsgroups: comp.sys.mac.programmer
Subject: Re: moof?
Date: Wed, 6 Jan 93 13:02:09 EDT
Organization: NMB productions
Reply-To: chinchilla!niel@cars.com
Distribution: world
X-Mailer: uAccess - Macintosh Release: 1.6v1


>>>>moof?
>>>foom!
>>omfo!
>oomf?
ofom.

Niel

---------------------------------------------------------------------------
| Niel M. Bornstein                              chinchilla!niel@cars.com |
|                                            ...csn!sable!chinchilla!niel |
|  _   _   _   ___                              71730.1056@compuserve.com |
| | | | | | | | __)                          1352 North Morningside Drive |
| | | | | | | | (_                                Atlanta, Georgia  30306 |
| | |_| |_| |_| __)  productions          (404) 872-6883   (404) 551-8075 |
|--------------------------------------------------------------------------
Newsgroups: comp.sys.mac.programmer
From: mike@uunet!tellab5!odgate (Mike J. Kelly)
Subject: Re: Archiving projects in THINK C. Any easy way to do it?
Keywords: THINK C, archive, source code
Organization: Odesta Corporation
Distribution: usa
Date: Thu, 7 Jan 1993 15:06:10 GMT

wbridgm@hubcap.clemson.edu (William T. Bridgman) writes:

>I am currently working on a project in THINK C using objects.  The
>project has become rather large and I find it convenient to archive
>the source code before making another round of major enhancements.
>This is easy enough when all your source code is in one folder but
>gets much more complex when it is scattered among multiple folders
>such as libraries of my own routines which are also still
>undergoing revisions.  I would like to keep all of my own code that
>operated together intact for this archive.  This makes it easier to
>track down problems when revision n+1 suddenly doesn't work any
>more and you've made major changes in a number of source files.

>Does anyone out there know of an archiving program which can read a
>THINK C project file and copy files from the folders of your choice
>(I'm not really interested in copying the TCL or the standard
>libraries) to another folder so they can be archived with something
>like Compact Pro or other software?  For some reason I seem to
>recall there was a program like this for THINK Pascal.

>Thanks for any help you can provide.

>Tom
>-----------------------------------------------------------------------
>|  William T. "Tom" Bridgman, M.S.   | wbridgm@hubcap.clemson.edu     |
>|  Department of Physics & Astronomy |                                |
>|  Clemson University                |"Black Holes under Construction.|
>|  Clemson, SC   29634-1911          |       WATCH YOUR STEP!"        |
>-----------------------------------------------------------------------

We just use MPW scripts for this.  MPW may suck as a compiler, but it's
a pretty nice Unix-like scripting environment on the Mac.  If you're
interested, mail me and I'll send you some of our scripts.
From: noah@apple.com (Noah Price)
Newsgroups: comp.sys.mac.programmer
Subject: Re: Duplicate Object in Think C?
Date: 4 Jan 93 18:14:03 GMT
Followup-To: comp.sys.mac.programmer
Organization: (not the opinions of) Apple Computer, Inc.

In article <1992Dec20.203018.6764@netcom.com>, mspace@netcom.com (Brian
Hall) wrote:
> 
> Have you tried newObj = oldObj->Copy();  Copy is a method of the CObject
> class.  It will make a copy of the object, but you may want to override
> it in subclasses to make sure it makes a copy of the data, and not a copy
> of the references to data, if that is what you want.

CObject::Copy uses HandToHand to duplicate the whole kit 'n caboodle (sp?).
 They note in the source that objects are just handles, so this should copy
all the data in the object.  If the object contains handles to other data,
you may need a subclass which knows if you just want the handle copied, or
if the data it references should be duplicated too.  Did we just say the
same thing?  Maybe so... :-)

(hey, I'm glad I read this group... this question just made me think about
it enought that I may know the cause of a bug I spent at least two days
chasing last week!)

noah

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
noah@apple.com                                 Macintosh Hardware Design
...!{sun,decwrl}!apple!noah   (not the opinions of) Apple Computer, Inc.
From: mellon@ncd.com (Ted Lemon)
Newsgroups: comp.sys.mac.programmer
Subject: Re: Why the Piracy? Here's why...
Date: 5 Jan 93 20:38:54 GMT
	<noah-040193095748@noah.apple.com>
Followup-To: comp.sys.mac.programmer
Organization: Network Computing Devices, Inc.
In-reply-to: noah@apple.com's message of 4 Jan 93 18:04:21 GMT


>Yah, people use that argument for shoplifting as well... I picked up MS
>Word at the educational price of about $99 when I was in school.  Just a
>little more than the price of two textbooks, and useful for a heck of a lot
>more classes!

When you shoplift, you're preventing the owner of the item that you
steal from selling it to anybody.  When you pirate software, you're
preventing the owner of the software from selling it to you.  It seems
to me that there is a big difference between these two things - in the
first case, there's a tangible loss of profit, where in the second
case, there's only a loss of opportunity, which may be nearly
valueless, depending on whether or not you would have bought the
software if you couldn't steal it.

This is a complicated issue, and not susceptible to simple answers
like the one that you propose above.

			       _MelloN_

--
mellon@ncd.com						uunet!lupine!mellon
Member of the League for Programming Freedom.   To find out how software
patents may cost you your right to program, contact lpf@uunet.uu.net
From: das@eplunix.UUCP (David Steffens)
Newsgroups: comp.sys.mac.programmer
Subject: Re: Think C bug? [sprintf]
Date: 12 Jan 93 19:36:34 GMT
Organization: Eaton-Peabody Lab, Boston, MA

In article <1993Jan10.225559.1549@midway.uchicago.edu>,
grass@cs.uchicago.edu (Joshua Grass) writes:
> Yes, you are correct, there are problems with sprintf....

OK, I'll bite.  Do you want to post some example code?
Or do we just have to take your word for it?

> PS Give Think a nasty call, I did, and if enough of us do it, they might
> get off their butts and fix it.  (This error was also in ver. 4.0)

If you gave them as much information as you gave us,
I'm not suprised that they just ignored you.
-- 
David Allan Steffens       | I believe in learning from past mistakes...
Eaton-Peabody Laboratory   | but why does a good education require so many?
Mass. Eye & Ear Infirmary, 243 Charles Street, Boston, MA 02114
{harvard,mit-eddie}!eplunix!das    Tel (617) 573-3748    Fax (617) 720-4408
Newsgroups: comp.sys.mac.programmer
From: howard@netcom.com (Howard Berkey)
Subject: Re: how do you do automated GUI testing?
Organization: Netcom Online Communications Services (408-241-9760 login: guest)
Date: Mon, 4 Jan 1993 22:29:55 GMT

In article <1993Jan4.205127.25229@kth.se> d88-jwa@dront.nada.kth.se (Jon Wtte) writes:
>In <7750@dove.nist.gov> bagwill@swe.ncsl.nist.gov (Bob Bagwill) writes:
>
>>How does Apple (if they choose to respond) do automated testing
>>of the GUI aspect of their product?
>
>>How do "professional" Mac developers do automated testing of
>>their products?
>
>Apple has a very good product called Virtual User that lets
>you create customized or random sessions and play them back
>over a network to a lot of macs at the same time.
>
>It's good, and I haven't seen anything better on any other
>platform. I seem to remember the arrangements about it being
>very inexpensive too.
>

You can say that again.  Similar tools for the PC are ~3-500 dollars,
and x-based tools start around $3-15,000.  (They do more though.  Not an
order of magnitude more, however.)  VU is supposedly a good package.

-Howard

-- 
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
Howard "Pasty-faced" Berkey                       	   howard@netcom.com
		    I just don't want to know, anymore.
... .. ...   ... .. ...   ... .. ...    ... .. ...   ... .. ...   ... .. ...
From: soetji+@G.GP.CS.CMU.EDU (Soetjianto)
Newsgroups: comp.sys.mac.programmer
Subject: RESEDIT: putting a dlg item in front of another dlgitem?
Date: 5 Jan 93 16:46:13 GMT
Organization: School of Computer Science, Carnegie Mellon
Originator: soetji@G.GP.CS.CMU.EDU

I am trying to put a button in the middle of an user item using ResEdit.
The problem is the button always sinks behind the user item.
My effort to bring the button to the front by renumbering the items is
to no avail.
Could anyone help?

thanks,
Soetji
Newsgroups: comp.sys.mac.programmer
From: neath@brazil.psych.purdue.edu (Ian Neath)
Subject: Re: Why the Piracy? Here's why...
Organization: Purdue University
Date: Thu, 7 Jan 1993 17:24:05 GMT

In article <1993Jan7.155907.19880@mail.cornell.edu> Tim Larkin 
(tsl1@cornell.edu) writes:
> In article <MELLON.93Jan5123854@pepper.ncd.com> Ted Lemon,
> mellon@ncd.com writes:
>> This is a complicated issue, and not susceptible to simple answers
>> like the one that you propose above.
[some deletions]
> It makes no difference whether piracy is most
> like shoplifting or most like illegal parking or most like serial
> killing.
> It's wrong even if it's easy and low risk. If it's wrong, don't do it.
> There's nothing complicated about it. It is fully susceptible to a simple
> answer.

A hypothetical question:
Would you rather I pirate some software from you (or park in your parking
space illegally) or would you rather I make you viction number 6 in a
series of a dozen grizly murders?  
--
      Ian Neath        | There are four kinds of people in this world:
neath@psych.purdue.edu | cretins, fools, morons and lunatics - U. Eco
Newsgroups: comp.sys.mac.programmer
From: cluther@morticia.cnns.unt.edu (Clay Luther)
Subject: Making the cursor *larger*
Organization: University of North Texas
Date: Fri, 8 Jan 1993 17:37:25 GMT

I need to find out how to make the cursor phyically larger on the screen,
perhaps two to four times larger than the normal cursor size.  We use high-
resolution monitors (146 pixels/inch) and the normal 16 bit cursors are
very hard to see.

Sigma Designs has a utility that doubles and triples the size of any cursor
algorithmically.  We would like to be able to do the same in our program
using our own code if possible.

Any help is appreciated.

Thanks.
-- 
Clay Luther
cluther@morticia.cnns.unt.edu
Xref: sparky comp.sys.mac.programmer:20810 comp.os.ms-windows.programmer.tools:1896 comp.os.ms-windows.programmer.misc:4645
From: alan@xserver.uts.amdahl.com (Alan Bomberger)
Newsgroups: comp.sys.mac.programmer,comp.os.ms-windows.programmer.tools,comp.os.ms-windows.programmer.misc
Subject: Re: Stallman and friends
Date: 6 Jan 93 17:31:08 GMT
Organization: Amdahl

Gosh I hate to step into a political argument but I thought
I was the only one who had trouble with FSF.  They don't mind
making money on software (you pay FSF to develop software) but
they do make it impossible to distribute the cost of software
development (once FSF delivers the software you paid them to
develop you must give it away).  This philosophy if followed
by others would certainly stop speculative software development.

Why would I pay FSF (or anyone else with the same philosophy)
X thousand dollars to develop software and then have no way
to recover my costs?  Because it is good for society?  I have
heard these arguments before in other political and economic
discussions.  Who is paying for development of GCC?  Why?

Do you think there would be such excellent software in such
large volumes for the Mac (or any other system) if there were
no way for the developers of that software to make money?  Semantec
would give away SAM?  I must be a capitalist or something.

There! That ought to get the juices flowing!

Peace
-- 
Newsgroups: comp.sys.mac.programmer,comp.os.ms-windows.programmer.tools,comp.windows.ms.programmer