HDTenEightyP/NetNews huggingface dataset:
From: cconstantine@galaxy.gov.bc.ca
Newsgroups: comp.sys.mac.programmer
Subject: MPW 3.2.4 update, please help!
Date: 29 Sep 92 10:40:41 -0700
Organization: BC Systems Corporation

Hi there fellow programmers.  We have just ordered MPW C 3.2.3 from Apple
Canada (They aren't shipping 3.2.4 as of yet) and was wondering if any of you
developers would be kind enough to send me/us the mpw 3.2.4 update (not the
full system, just the update so that we can update ours when it comes in next
week)  This would be appreciated, please let me know via e-mail.  

I hope there isn't a copyright infringment on this or anything, if there is,
then don't worry about it, but I was wondering if it could be done.

Thanks.
-- 
Carl B. Constantine
CCONSTANTINE@galaxy.gov.bc.ca
	"Opinions are mine only!!"
Newsgroups: comp.sys.mac.programmer
From: brady@cs.tcd.ie (Michael Brady)
Subject: External clocking of Serial Ports?
Followup-To: comp.sys.mac.programmer
Organization: University of Dublin
Date: Tue, 29 Sep 1992 14:34:59 GMT

If you are clocking the serial ports externally for increased speed, do you
make use of the same Serial Driver calls? Obviously you have to tell the
port to use an external clock, but apart from that, is anything special? Is
it still asynchronous?

Thanks

------------------
Mike Brady
Computer Science Department, Trinity College Dublin, Ireland
From: de19@umail.umd.edu (Dana S Emery)
Newsgroups: comp.sys.mac.programmer
Subject: Re: MacTCPCommonTypes & typedef unsigned char b_8.
Date: 27 Sep 92 14:48:53 GMT
Followup-To: comp.sys.mac.programmer
Organization: Personal

In article <Bv74rq.5EH@gate.demon.co.uk>, davidj@daveland.demon.co.uk
(David Johnston) wrote:

[...]

>  It fell over wanting MacTCPCommonTypes.h, so I found me a copy
> of this somewhere and stuck it in. It then fell over with
> "Illegal redeclaration of b_8"
> at the line "typedef unsigned char b_8" in MacTCPCommonTypes.h.
> 
> Fair enough, *except* I've scanned every last byte of my hard
> disk and can't find any file or library which refers to b_8.
> 
> How can I be redeclaring this? Why doesn't the rest of the world
> have this problem? And why aren't I more succesful with women?
> Are these problems linked? Inquring minds want to know.
> 

I have had some difficulty dealing with Thc 5.0.3 on a project started
under 5.0.2, in my case the linker is declareing a symbol undefined which
neither I nor Symantec DTS can locate.

I wonder if they test this stuff the same way we do?

--

Dana S Emery <de19@umail.umd.edu> | "Novo, de Novo,
                                  |     de novo, de no-o-o-o-o---, 
                                  | Novemba come an' dey gonna go home."
Newsgroups: comp.sys.mac.programmer
From: tree@kira.uvm.edu (Tom Emerson)
Subject: Re: Think Pascal and ResEdit questions
Organization: University of Vermont, EMBA Computer Facility
Date: Mon, 28 Sep 1992 18:22:01 GMT

In article <lcee1bINNlej@utkcs2.cs.utk.edu> eijkhout@cupid.cs.utk.edu (Victor Eijkhout) writes:

   1/ using system 7 I would like to have both Pascal and ResEdit open, but
   if I'm editing the resource, Pascal has trouble finding elements (menubar
   for instance) in it. So I have to close the resource every time I want
   to test run the program. Is there an explanation / work-around for this?

There is no workaround. The resource file can *not* be open in two
applications simultaneously. One way to deal with that is to put your resource
file in the open special item in ResEdit's File menu.

   2/ I have programmed mouse-and-menu programs before on the Atari ST, and
   the resource construction programs there gave you a possibility to
   give symbolic names to items in the resource, which you then used in your
   program. This way alterations in the resource do not necessitate alterations
   in the program. Is such a thing possible with ResEdit, combined with Think
   Pascal?

Not as such. You can define a group of constants in your source file for
particular parts of your dialog or for resource id's. I'm not sure I
understand how the symbolic names of the Atari system differ from the resource
id's used with the Mac?

Tom
--
   Tom Emerson                                    Technical Support
   Language Products Group                     Symantec Corporation
			Internet: tree@uvm.edu
From: hp48sx@wupost.wustl.edu (HP48SX Archive Maintainer)
Newsgroups: comp.sys.mac.programmer
Subject: Finding the selected files in Finder
Date: 26 Sep 1992 09:04:03 -0500
Organization: Washington University in Saint Louis, MO USA
NNTP-Posting-Host: wuarchive.wustl.edu

I have know added a menu to the finder, and would like it to operate on
the currently selected files in the finder. Is there any way I can find
these files ? I don't care about supporting system 6.

I looked at Stuffit MagicMenu (they nicely  left the MacsBug symbols in
it :^), but it does lots of atching, and seems to track the selections
itself. There must be an easier way.

thanks in advance,
Povl
-- 
Povl H. Pedersen             hp48sx@wuarchive.wustl.edu
HP48sx archive maintainer

All Opinions (C) Copyright the Intergalactic Thought Association
From: rer@sun1x.res.utc.com (Rick E Romkey)
Newsgroups: comp.sys.mac.programmer
Subject: Music woes...
Date: 2 Oct 92 13:13:19 GMT
Organization: United Technologies Research Center
X-Xxmessage-Id: <A6F1C6322D011E65@dcemac.res.utc.com>
X-Xxdate: Fri, 2 Oct 92 09:26:10 GMT
X-Useragent: Nuntius v1.1.1d9


I am currently working on the finishing touches of my first
production software for the Mac, but I'm having some trouble
playing my startup "tune".  Essentially, I have a dialog floating
in the front and I want my music to play continuously until 
the user dismisses it.  The music is four separate resources,
and I attempted to add them all to the channel, but they are
too big and bomb my Mac.  So I wanna only add my new
portions after the old ones have been played and the channel
is clear and keep looping between them.

I assume I use the SndChannelStatus() cmd, but I keep hosing
up the parameters required.  I wanna do :

(Think C 5.0)

soundErr = SndChannelStatus( soundChannel, sizeof(*status), status );
	if ( status->scChannelBusy != true ) {
		add some more music;
	}
	else {...

soundErr returns -50, paramErr.

Help!

Please reply by Email, so I can hand this project in before I leave
here!

Rick
From: hp48sx@wupost.wustl.edu (HP48SX Archive Maintainer)
Newsgroups: comp.sys.mac.programmer
Subject: Re: call for beta testers
Date: 30 Sep 1992 11:00:33 -0500
Organization: Washington University in Saint Louis, MO USA
NNTP-Posting-Host: wuarchive.wustl.edu

Please note that in the current beta version ZoneRanger requires system
7 and 32-bit adressing enabled. So you should not rush for it unless you
are running this configuration on your mac. It will work later without
requiring 32-bit adressing, or so the docs say.
-- 
Povl H. Pedersen             hp48sx@wuarchive.wustl.edu
HP48sx archive maintainer

All Opinions (C) Copyright the Intergalactic Thought Association
From: de19@umail.umd.edu (Dana S Emery)
Newsgroups: comp.sys.mac.programmer
Subject: Re: If I have the old, do I need to buy the new Inside Mac?
Date: 1 Oct 92 08:47:58 GMT
Followup-To: comp.sys.mac.programmer
Organization: Personal

In article <1992Sep30.221526.26751@panix.com>, jbm@panix.com (John
Mignault) wrote:
> 
> [...] I was wondering, before I decide to spend another $200 or so on the 
> six new books, just how much I'll actually need them if I already own the 
> original six.

well, actually its going to be more like 15 new volumes, and the TN are
going to be withdrawn as they are obsoleted by the new volumes, so you
probably should get them, after all, apple's new publishing venture might
go broke if we decided to boycott it.
--

Dana S Emery <de19@umail.umd.edu> | "Novo, de Novo,
                                  |     de novo, de no-o-o-o-o---, 
                                  | Novemba come an' dey gonna go home."
Newsgroups: comp.sys.mac.programmer
Subject: Problem with Apple Events
From: mafk_s@chv.lincoln.cri.nz
Date: 5 Oct 92 11:45:13 +1200
Organization: Crown Research Inst., New Zealand

I have been experimenting with Apple Events (actually from the Macintosh C
Programming Primer Vol 1,  2nd edition) and have run into problems.  The
intructions for sending an Apple Event say you have to call AECreateDesc(),
AECreateAppleEvent() and AESend().  The first two calls return 0 (i.e. good) 
error codes, but AESend() returns an error code of -609, invalidConnection.  Does
anyone know what this error code means and how to correct it?  IM6 is not at
all clear on this point.  Thanks.
From: deslade@vaxsar.vassar.edu
Newsgroups: comp.sys.mac.programmer
Subject: <None>
Date: 28 Sep 92 10:28:37 +1000
Organization: Vassar College

Please help me.  I am using CustomGetFile in a call like this:


  CustomGetFile (nil, -1, openTypeList, NewSFInfo, ScanFontsID, dialogOrigin,
                 NewGetDirDlgHook, FontFileFFilter, nil, nil, nil);


All my types check out, and my program works when I put nil where
FontFileFFilter is. However, when I put FontFileFFilter in, it always crashes. 
I have no idea what is going on.  Here is the filter function:


  static pascal Boolean FontFileFFilter (CInfoPBPtr p, void *myDataPtr)
  {
     if (Prefs.SuitcaseChoice == kUseSuitcases)
           return ((p->hFileInfo.ioFlFndrInfo.fdType != 'FFIL') &&
                   (p->hFileInfo.ioFlFndrInfo.fdType != 'zsys'));
        else
           return (false);
  }

Can anyone see anything here that might cause problems?  Thanx in advance.

	-dennis
-- 
+----------------------------------------+----------------------------------+
|                                        |   Standard disclaimer for rent.  |
|  Dennis Slade Jr.                      |         +++++++++++++++          |
|  Box 3533, Vassar College              |         Inquire within.          |
|  Poughkeepsie, NY  12601               +----------------------------------+
|  internet: deslade@vaxsar.vassar.edu   |      Develop the world...        |
|  bitnet:   deslade@vassar.bitnet       |    Develop yourself...           |
|                                        |  AIESEC: in a country near you!  |
+----------------------------------------+----------------------------------+
From: Michael Brennan <mikeb@sam.amgen.com>
Subject: Re: Tabs in TextEdit
Organization: Amgen
X-Useragent: Nuntius v1.1
Date: Tue, 29 Sep 1992 21:28:41 GMT

In article <Bv1EEu.Dw@news.cso.uiuc.edu> David M Marcovitz,
dmmg1176@uxa.cso.uiuc.edu writes:
>I have written a simple, editor as part of my application.  It
>implements a basic styled-text TextEdit area and saves the data to a
>'TEXT' and a 'styl' resource.  The problem is that I want to implement
>TABS in a coherent way.  

There's a TCL class available at ftp.brown.edu (I forget the author's
name) that replaces the CEditText class and supports tabs.  I haven't
used it, but I've heard others speak highly of it.  It does NOT use
TextEdit and is not limited to 32K or less as TextEdit is.
From: urlichs@smurf.sub.org (Matthias Urlichs)
Newsgroups: comp.sys.mac.programmer
Subject: Re: Q: MacApp3 -Debug/SourceBug crashes?
Date: 30 Sep 1992 00:15:41 +0100
Organization: University of Karlsruhe, FRG
NNTP-Posting-Host: 127.0.0.1

In comp.sys.mac.programmer, article <ksand-200992120249@wintermute.apple.com>,
  ksand@apple.com (Kent Sandvik) writes:
> 
> Well, printf/cout and similar standard outputs needs a place to 
> print text on.

Is there any documentation about how the I/O library finds out where to
send its output? Dumpobj'ing the code showed some rather obscure access to
a low-memory global which seems to be a special MPWish callback hook.

-- 
Magic is real (unless declared integer).
                              Wiz Zumwalt
-- 
Matthias Urlichs  --  urlichs@smurf.sub.org -- urlichs@smurf.ira.uka.de   /(o\
Humboldtstrasse 7 -- 7500 Karlsruhe 1 -- Germany  --  +49-721-9612521     \o)/
From: de19@umail.umd.edu (Dana S Emery)
Newsgroups: comp.sys.mac.programmer
Subject: Re: Text File Creators
Date: 4 Oct 92 07:55:03 GMT
Followup-To: comp.sys.mac.programmer
Organization: Personal

In article <1992Oct3.204232.5689@netcom.com>, mspace@netcom.com (Brian
Hall) wrote:
> 
> 		"Rich",		// BBEdit
> 		"ttxt",		// TeachText
> 		"FWRT",		// FullWrite
> 		"MACA",		// MacWrite
> 		"MWII",		// MacWrite II
> 		"MSWD",		// Microsoft Word
> 		"MPS ",		// MPW
> 		"KAHL",		// Think C

 		"NISI",		// Nisus
   "MPS ",  // MPW shell
   "SUMX",  // Mailstrom

--

Dana S Emery <de19@umail.umd.edu> | "Novo, de Novo,
                                  |     de novo, de no-o-o-o-o---, 
                                  | Novemba come an' dey gonna go home."
Newsgroups: comp.sys.mac.programmer
From: kravitz@foxtail.com (Jody Kravitz)
Subject: SCSI Disk Format & Initialization
Summary: How does system decide to mount a disk
Keywords: SCSI format disk initialize bootstrap
Organization: The Foxtail Group
Date: Sun, 27 Sep 1992 17:16:11 GMT

Could someone explain to me (or point me to the appropriate CURRENT
reference) how it is decided if a SCSI disk is a valid Mac disk.

I have used a shareware progrogram SCSI Format&Init to initialize a 40 Meg
drive.  However I find that I must use the 'mountem' FKEY to get it to
mount after a reboot.  This leads me to wonder if the data structures
put on the disk by SCSI Format&Init are current.

Thanks

Jody
From: chuck@gte.com (Chuck Hoffman)
Newsgroups: comp.sys.mac.programmer
Subject: PrCloseDoc error code?
Date: 2 Oct 92 19:10:54 GMT
Followup-To: comp.sys.mac.programmer
Organization: GTE Laboratories

After executing a PrCloseDoc with background printing off, PrError returns
-108 (iMemFullErr - not enough room in heap zone).  At the beginning of the
program, I do a MaxApplZone followed by twenty MoreMasters, and the SIZE
resource is set to over a megabyte.  I'm only printing one page.  Also the
program works fine with background printing on.  The printer port pointer
seems to be valid both before and after the call to PrCloseDoc.  Using
THINK C 5.0.3.  Any ideas?  I'm stumped.  I have MacsBug, but do not know
680x0 Assembly Language.

(HELP!)

Chuck Hoffman
chuck@gte.com
GTE Laboratories, Waltham, Massachusetts, USA
(617) 466-2131
=====================================
I'm not sure why we're here, but I am sure that while we're here we're
supposed to help each other.
=====================================
Newsgroups: comp.sys.mac.programmer
From: fixer@faxcsl.dcrt.nih.gov (Christopher Tate)
Subject: Still looking for Resorceror...
Reply-To: fixer@faxcsl.dcrt.nih.gov
Organization: Computer Systems Laboratory, DCRT, NIH
Date: Thu, 1 Oct 1992 13:55:26 GMT

The continuing story...

I'm trying to contact the Mathemaesthetics corporation, authors/distributors
of the Resorceror application, with little success.  I tried using the
Internet address "resorceror@applelink.apple.com", but that bounced.

Anyone have any other ideas?

-- Chris Tate
Newsgroups: comp.sys.mac.programmer
From: cmumford@iat.holonet.net (Chris Mumford)
Subject: Mixing AppleEvents and PPC Toolbox???
Organization: HoloNet (BBS: 510-704-1058)
Date: Sun, 27 Sep 1992 16:02:52 GMT


Xref: sparky comp.sys.mac.programmer:16137 comp.lang.smalltalk:1908
From: Stephen Cooper <stephen@csd.uu.se>
Newsgroups: comp.sys.mac.programmer,comp.lang.smalltalk
Subject: Re: Little Smalltalk - Mac version ?
Date: 26 Sep 1992 13:35:42 GMT
Organization: Uppsala University
Distribution: world
NNTP-Posting-Host: mac-4.csd.uu.se
X-UserAgent: Nuntius v1.1.1d7
X-XXMessage-ID: <A6EA33CC94010C8A@mac-4.csd.uu.se>
X-XXDate: Sat, 26 Sep 92 14:35:40 GMT

In article <4294@moscom.com> Tom Maszerowski, tcm@moscom.com writes:
> Question:
> 
>   Is Little Smalltalk available anymore and does it still support the
>Mac, even minimally? I have THINK C 5 and can owrk from source code if
>need be.

Yes, but it's still in version 3 (the one you have).  As far as a mac
version, the documentation talks about getting standard window interface
routines from an ftp site.  This window interface can compile to several
different platforms (but I've head of problems w/PC).  We're testing the
X version, but the mac version shouldn't be more complicated than
compiling the stdwindows on a mac...
If you need more info (ftp sites etc) mail me.  I'm in kind of a hurry
right now.

/Stephen
-----------------------------------------------------------
Stephen Cooper  	       	       	+46-(0)18-18 10 73 (voice)
Computing Science Dept  	       	+46-(0)18-52 12 70 (fax) 
Uppsala University, Sweden      	stephen@csd.uu.se
From: dbassett@bonnie.ics.uci.edu (Douglas Scott Bassett)
Subject: Quickdraw region drawing algorithm
Newsgroups: comp.sys.mac.programmer
Reply-To: dbassett@ics.uci.edu (Douglas Scott Bassett)
Organization: Univ. of Calif., Irvine, Info. & Computer Sci. Dept.
Date: 5 Oct 92 21:01:16 GMT

Does anyone have an algorithm to traverse and display a quickdraw region?
Simple regions are easy enough. I'm having trouble with complex regions
which have holes in them. Any help is appreciated.   Doug
From: lari@strauss.cs.unc.edu (Humayun Lari)
Newsgroups: comp.sys.mac.programmer
Subject: Re: What does DrawPicture() want?
Date: 26 Sep 92 20:58:31 GMT
Organization: The University of North Carolina at Chapel Hill

In article <1992Sep24.203552.3392@midway.uchicago.edu> ejw1@midway.uchicago.edu writes:
[calling DrawPicture causes exception with memFullErr]

I ran into a similar problem the other day, while implementing a
CDiskPictFile class that would draw pictures directly from disk.

Here's my analysis of what happened -- perhaps your situation is similar:
1. DrawPicture asks for lots of memory (perhaps it wants to allocate a pixmap
   as large as the picture).
2. Since there isn't enough memory, the TCL's grow zone function is executed,
   and tries to free memory (e.g. from the rainy day fund) in the hope that
   that will satisfy the request.

   That doesn't work. So, the grow zone function checks whether the allocation
   is permitted to fail. Nope -- I haven't called SetAllocation(kAllocCanFail).
   Since an unfulfilled memory request could cause crashes, it raises a
   memFullErr exception.

My solution was to enclose the DrawPicture call with calls to SetAllocation.
DrawPicture worked fine; perhaps it uses temporary memory if necessary?
To see if DrawPicture actually managed to draw the picture, I took a look at
QDError and also checked whether the rainy day fund had been depleted.

Anyone know of a more elegant way of handling this?


Humayun Lari
(lari@cs.unc.edu)
Newsgroups: comp.sys.mac.programmer
From: siegel@world.std.com (Rich Siegel)
Subject: Re: Symantec & Borland connection?
Organization: GCC Technologies
Date: Mon, 28 Sep 1992 18:22:11 GMT

In article <lcedmaINNlej@utkcs2.cs.utk.edu> eijkhout@cupid.cs.utk.edu (Victor Eijkhout) writes:
>
>last week I bought Think Pascal, and started porting a program
>that I once wrote on teh IBM PC in Borland Turbo Pascal.
>Now, both Pascals use modules, which are not standard. And the
>way they realize modules are virtually the same. (And very much
>different from a modular Pascal that I once used on the Atari ST.
>That one had the best module structure, by the way.)
>
>So I was wondering:
>Is there a connection between Symantec and Borland?

Actually, because John Sculley and I wear the same kind of running shoes,
he's actually my twin brother. We were separated at birth, though.

8-D

The separate-compilation model that THINK Pascal, MPW Pascal, and Turbo
Pascal use is based on the original UCSD Pascal extensions. The adoption
of a common set of language extensions isn't an indicator of any intimate
relationship between two companies (Borland and Symantec are at each
other's throats at this moment, as a matter of fact).

R.



-- 
-----------------------------------------------------------------------
Rich Siegel                              Internet: siegel@world.std.com
Software Engineer & Toolsmith
GCC Technologies
From: de19@umail.umd.edu (Dana S Emery)
Newsgroups: comp.sys.mac.programmer
Subject: sys 6.1 wish list (was JPartialResources.{c,h})
Date: 28 Sep 92 16:30:16 GMT
Followup-To: comp.sys.mac.programmer
Organization: Personal

In article <72838@apple.Apple.COM>, grobbins@Apple.COM (Grobbins) wrote:
> 
> In article <1992Sep25.225952.24833@hobbes.kzoo.edu> k044477@hobbes.kzoo.edu (Jamie R. McCarthy) writes:
> >mgleason@cse.unl.edu (Mike Gleason) writes:
> >>I nominate that the FSSpec calls be added to a new System version 6.1.
> >>There are probably other bits (like partial resources, even though they're
> >>not used often) that could be added to a 6.1 that wouldn't require the rest
> >>of the 7.0 OS.
> >Ideally, Apple would release small code libraries (object code maybe?)
> >that would do the Right Thing for things like the new FSSpec calls under
> >both 7 and 6.
> 

Yes, but My list would include the Alias manager, and polyglot script
support.

I suspect that Apple held some internal straw polls, and couldnt come to
any usefull concensus.  Since they can more easily charge for system 7.0.x
than for 6.0.x++, its not too hard to understand the present policy.

Understanding doesnt make me like it any more, you understand.

> If your main desire is for FSSpecs, it's easy to write wrapper
> functions.  Alternatively, most FSp---- and Alias Manager calls
> are available under System 6.0.7 if QuickTime is installed, so that
> is one way to modernize old system versions.
> 
> Grobbins             grobbins@apple.com

Thanks very much for that info, mr Grobbins. Guess there really is
something to this gestalt buisness.
Now if only the techwriters would discuss gestalt more dependably, then
maybe we could start developing the habit.

--

Dana S Emery <de19@umail.umd.edu> | "Novo, de Novo,
                                  |     de novo, de no-o-o-o-o---, 
                                  | Novemba come an' dey gonna go home."
From: iron@imag.fr (Francois Menneteau)
Newsgroups: comp.sys.mac.programmer
Subject: Word 5 problems
Date: 5 Oct 92 13:07:06 GMT
Organization: IMAG Institute, University of Grenoble, France


I wrote my thesis with Word 5 on a Macintosh with no access to a printer.
As the document is large, I chain the various chapters.

So When I wanted to print it, I put my documents on a other mac, and big
surprise, Word 5 printed only the first chained file and said it could not
find the next one!!!!!! (I suppose It must store a vrefnum or somethink like
that which is really not portable from one mac to an other).

So my question (extremely simple in fact) is: does any other user experience
such a behaviour ? Is there a solution to solve the problem without being
obliged to build again the chain of files ?

Thanks in advance.
-- 
Francois Menneteau ()   __|||||__   () "... I had their lives in my hands
================== ()    /O   O\    () their fate their fortune in my visions
iron@imag.fr       ()    - .|. -    () No one believed in my true prophecy
================== ()     \=^=/     () And now it's too late."  (Iron Maiden)
From: cconstantine@galaxy.gov.bc.ca
Newsgroups: comp.sys.mac.programmer
Subject: Re: MPW 3.2.4 update, please help!
Date: 29 Sep 92 10:57:00 -0700
Organization: BC Systems Corporation

In article <1992Sep29.104042.1036@galaxy.gov.bc.ca>, cconstantine@galaxy.gov.bc.ca writes:
> Hi there fellow programmers.  We have just ordered MPW C 3.2.3 from Apple
> Canada (They aren't shipping 3.2.4 as of yet) and was wondering if any of you
> developers would be kind enough to send me/us the mpw 3.2.4 update (not the
> full system, just the update so that we can update ours when it comes in next
> week)  This would be appreciated, please let me know via e-mail.  
> 
> I hope there isn't a copyright infringment on this or anything, if there is,
> then don't worry about it, but I was wondering if it could be done.
> 
> Thanks.

Sorry, I forgot to add that it is the MPW C 3.2.4 BUNDLE update that I wanted.

Thanks again if it is possible.
-- 
Carl B. Constantine
CCONSTANTINE@galaxy.gov.bc.ca
	"Opinions are mine only!!"
Newsgroups: comp.sys.mac.programmer