HDTenEightyP/NetNews huggingface dataset:
From: time@ice.com (Tim Endres)
Newsgroups: comp.sys.mac.programmer
Subject: Re: Writing apps that use plug-ins?
Date: 9 Apr 92 14:51:07 GMT
Article-I.D.: tbomb.1CE00001.0jh0bl
Reply-To: time@ice.com (Tim Endres)
Organization: ICE Engineering, Inc.
X-Mailer: uAccess - Macintosh Release: 1.5v5


Please take a look at integrating "tcl" into your applications
instead of external code resources!!!

Tickle-tcl gives you a COMPLETE scripting language, plus Apple Events,
PLUS external code resources (including the ability to load your own
"coercion" routines for Apple Events)! Furthermore, Ed Lai at Apple
is writing code to let Tickle run HyperCard XCMDs and XFCNs, as well
as FKeys (Shift-Cmd-Number). All of this for free with NO effort.

To see what "tcl" is, go get tickle from the MSEN ftp server and have
a look (ftp.msen.com - pub/vendor/ice/tickle).
Why go to all the effort that has alread been done for you?

Several applications are currently being written to include "tcl"
including Alpha and Harvest C. More will be forthcoming and all will
be "script-compatbile".

tim.

In article <9813@bgsuvax.bgsu.edu> (comp.sys.mac.programmer), dnebing@bgsu.edu (Mr. Neb) writes:
> >From article <1992Apr7.232048.9295@sbcs.sunysb.edu>, by rhorn@csws11.ic.sunysb.edu (Robert Horn):
> > The plug in has no access to your applications jump tables (?) (at least in 
> > THINK languages) and so would not be able to call your application's routines 
> > unless you pass the addresses of the routines to your plug-in resource/routine, 
> > and could only then call your routines through the pointers to the functions.
> > (Pascal can't do this as it doesn't allow you to call a function through a
> > pointer.) (you might want to glance at your favorite(sp?) C book's section on
> > pointers to functions)
> > 
>  [stuff deleted...]
> 
> 	Just making the call to the code resource should not change the value
> of the A5 register, which points to the application's global variables as
> well as the jump table.  If you knew (through previous compilation) the
> correct offset into the jump table, couldn't you just jump to that location
> in the jump table, using the A5 offset?
> 
> 	As far as I know, it would seem that this should work.  Does anyone
> agree or disagree with this.  I am curious to see if it is felt that this 
> method would work or not.
> 


tim endres - time@ice.com  -or-  uupsi!tbomb!time
ICE Engineering, Inc. - Phone (313) 449 8288 - FAX (313) 449-9208
8840 Main Street, Whitmore Lake, MI  48189
USENET - a slow moving self parody... ph
From: francois@welchgate.welch.jhu.edu (Francois Schiettecatte)
Newsgroups: comp.sys.mac.programmer
Subject: MacBinary source
Date: 10 Apr 92 21:02:32 GMT
Article-I.D.: welchgat.1992Apr10.210232.212
Organization: Johns Hopkins Univ. Welch Medical Library

Hi

I am looking for C source to convert MacBinary files downloaded
from a Unix box to a proper mac file. Ideally this source 
should be public domain, can anybody give me any pointers?


francois



Francois Schiettecatte
Internet: francois@library.welch.jhu.edu
Phone	: (410) 955-7581
Organization: Johannes Kepler University Linz - Computing Center
Date: Tuesday, 7 Apr 1992 11:14:58 CDT
From: Norbert Mueller <K360171@ALIJKU11.BITNET>
Newsgroups: comp.sys.mac.programmer
Subject: BLAS library

According to a recent Newsletter from Language Systems a public domain
linear algebra library exists both in assembly and fortran code on
America Online (LANGSYS). Can some friendly person trnansfer these files:
BLAS1.sit
BLAS2.sit
BLAS3.sit
to either info-mac or comp.binaries.mac

America Online is virtually inaccessible from Europe (at least at
reasonable rates).

Thank you

Norbert Mueller
From: howes@xraylith.wisc.edu (Glenn Howes)
Newsgroups: comp.sys.mac.programmer
Subject: A/Rose and Think C -Possible?
Date: 14 Apr 92 20:03:45 GMT
Organization: Center for X-ray Lithography, UW-Madison

I was wondering if anyone out there has any experience with 
A/Rose. Specifically, whether anyone has managed to port it
to Think C.

-- 
=======================================================
     -when you come to a fork   //        Glenn Howes
      in the road --take it.          //  howes@bert.chem.wisc.edu
Newsgroups: comp.sys.mac.programmer
From: skok@fraser.sfu.ca (Simon Tin-Yul Kok)
Subject: COBOL COMPILER???
Organization: Simon Fraser University, Burnaby, B.C., Canada
Date: Thu, 16 Apr 1992 07:49:55 GMT

Can somebody please tell me if a COBOL compiler exists for the Macintosh
platform?  I have looked in a recent issue of the APDA catalog and did not
find any listing.

Newsgroups: comp.sys.mac.programmer
From: sumner@opusc.csd.scarolina.edu (David Sumner)
Subject: Re: What's the best debugger?
Organization: Univ. of South Carolina, Columbia
Date: Thu, 9 Apr 1992 13:57:02 GMT


 
Michael Peirce writes:
 
>I used TMON a little before it went pro.  I personally don't like
>the pro version.  Its UI makes Jasik's look wonderful.
 
Naturally, there is a lot of room for tastes in the choice of a debugger, 
but just to throw my two cents in, I'll take TMON Pro over Jasik's 
Debugger any day. I personally love the new TMON interface and 
find it easy to use for my purposes. I do like NOSY a lot, however. I 
use it at least as much as I use TMON - and that's quite a bit.
 
David Sumner
From: jess@gn.ecn.purdue.edu (Jess M Holle)
Newsgroups: comp.sys.mac.programmer
Subject: Swapping item lists of dialogs
Date: 17 Apr 92 03:37:52 GMT
Organization: Purdue University Engineering Computer Network

I am posting this for someone who sent it to me to post since
their system was having problems with that.  PLEASE respond to
the mail address that he gives, NOT mine.

/*----------------------------------------------------------------*/

How can I completely replace the item list (DITL) of a already
displaying dialog?  I have a DLOG ID 128 in the resource fork which
points to a DITL 128.  I do GetDialog to get it and then I display it.
After a mouse click, I want to "disconnect" the ID 128 item list from
the dialog (without closing the dialog) and replacing it with
DITL resource ID 256.  I've tried doing (in Pascal):
DialogPeek(theDialog)^.itemList := GetResource('DITL',256) 
but it doesn't work.

If anyone knows how, please tell me.  What I want to do is produce an
effect simmilar to flipping through cards in HyperCard, (without
the visual effects, though...)

Thanks.

Kenji Takeuchi (please e-mail replies to ttak@midway.uchicago.edu)
-------------------------------------------------------------------------

Thanks much.

Kenji Takeuchi
From: jess@gn.ecn.purdue.edu (Jess M Holle)
Newsgroups: comp.sys.mac.programmer
Subject: Using the Math Coprocessor
Date: 17 Apr 92 03:36:03 GMT
Organization: Purdue University Engineering Computer Network

I am posting this for someone who sent it to me to post since
their system was having problems with that.  PLEASE respond to
the mail address that he gives, NOT mine.

/*----------------------------------------------------------------*/

Organization: University of Chicago Computing Organizations
 
I have a program that calculates real/floating point variables
in Pascal.  I'd like to be able to do faster calculations
using a math coprocessor, all, including 68881,2 and the built in
one in the 68040, as well as future ones.  How can I do that
from within THINK Pascal 4.0?  And what is SANE?  I know
what it stands for, but what is it?  What can I use it for?
 
Thanks.
 
Kenji Takeuchi

(please make sure replies are sent to ttak@midway.uchicago.edu)
From: Pete.Gontier@p811.f70.n109.z1.fidonet.org (Pete Gontier)
Sender: Uucp@blkcat.UUCP
Newsgroups: comp.sys.mac.programmer
Subject: Centering window from an INIT; how?
Date: Fri, 10 Apr 1992 23:32:41 -0500

 EK> From: essam@gagme.chi.il.us (Essam Khairullah)
 EK> Newsgroups: comp.sys.mac.programmer
 EK> Organization: Gagme Public Access UNIX, Chicago, Illinois.
 EK> 
 EK> I've written an INIT that pops up a window sometime after startup. 
 EK> Basically, I'd like to know how to be able to center its window in
 EK> the main screen.
 EK> 
 EK> Normally this should be easy, but you don't have access to QuickDraw's
 EK> globals from an INIT, or do you?

Choose one of these three calls: GetWMgrPort, GetGrayRgn, or OpenPort.
From: rsherman@mthvax.cs.miami.edu (Roby Sherman)
Newsgroups: comp.sys.mac.programmer
Subject: Launching "through" the Finder???
Keywords: launching through the finder
Date: 13 Apr 92 23:35:35 GMT
Organization: The Tao of Programming
NNTP-Posting-Host: mthvax.cs.miami.edu

Hello.

How do programs like Super Boomerang and/or the various Hierarchial menu
programs launch through the finder? It doesn't appear that they call the
process manager directly, it seems more like they "double-click" the file
THROUGH the finder. Any ideas on how this is done? Can it be done from an
Application or is this an INIT only feat?


		    thanks...

			    Roby
-- 
rsherman@mthvax.cs.miami.edu					Roby Sherman
From: John_Miller@mindlink.bc.ca (John Miller)
Newsgroups: comp.sys.mac.programmer
Subject: Re:  How do I find out if Multi-finder is running??
Date: 16 Apr 92 05:31:50 GMT
Organization: MIND LINK! - British Columbia, Canada
Distribution: world

In message <702994046.F00004@blkcat.UUCP>,
Pete.Gontier@p811.f70.n109.z1.fidonet.org writes

> JP> From: jpugh@apple.com (Jon Pugh)
>
> JP> Simply look for the MultiFinder file in the System folder (the
> JP> name is actually stored in the System itself as a STR or > JP> STR# if
you want to be international.) If it is missing
> JP> on systems that need it, it's not running.  If it is there,
> JP> open it.  If you get an error MultiFinder is running, otherwise
> JP> it is not running.
>
>I used to do this when I wanted this info. Then I found out that
>you could move a file between directories while it was open.
>MultiFinder's icon could be sitting on the desktop and MF
> would happily keep running.
>
>Obviously, no sane user would do such a thing, right? But when it

Actually, the multimedia computing lab at a local community
college kept the MultiFinder file on the desktop.  The Macs were
set to boot under UniFinder.  If the user wanted to run
MultiFinder, the Command-Option-Double-Click trick was used.
(Of course, if someone had asked me if this was possible, I would
have wisely proclaimed "Don't be silly:  the MultiFinder file
*has* to be in the System Folder.")

So this is one example where the test would fail.  I have no idea
how many installations might use this trick, but it seems
like that the type of thing that might make its way into the
Tips column of magazines or user groups newsletters.

John Miller
Symplex Systems

Newsgroups: comp.sys.mac.programmer
From: mwalker@wc.novell.com (Mel Walker)
Subject: Re: Network copy protection problems
Organization: Novell, Inc.
Date: Mon, 13 Apr 1992 14:48:13 GMT

>> Problem number two is more serious: if the program terminates abnormally (rea
d
>> crashes! (or the user kills it, or whatever)), then the name never gets
>> unregistered.  So when they try to launch again, it says "This copy is alread
y
>> being used!"  Oh, joy.  I tried turning off self-send during the inital name-
>> check, and that seems to work, but when it tries to unregister the name,
>> something fairly horrible must happen, because the Finder almost always
>> crashes a few seconds after I quit.
>
>Patch the ExitToShell trap and do your unregistering there.
>
>Not only are you getting a duplicate name, but worse, NBP still thinks
>it owns the block of memory that contains the original name.  This
>chunk of memory could very well be part of another program's memory
>space now!
>
>--  Michael Peirce         --   peirce@outpost.SF-Bay.org
>--  Peirce Software        --   Suite 301, 719 Hibiscus Place
>--  Macintosh Programming  --   San Jose, California USA 95117
>--           & Consulting  --   voice: (408) 244-6554 fax: (408) 244-6882
>--                         --   AppleLink: peirce & America Online: AFC Peirce


How does one patch the ExitToShell trap to do something? Sample or psuedo code,
please...

--Mel Walker
mwalker@optics.wc.novell.com
** I have not yet developed a snazzy disclaimer **
From: danny@utkux1.utk.edu (Danny McCampbell)
Newsgroups: comp.sys.mac.programmer
Subject: Printing help again?
Date: 8 Apr 92 17:18:39 GMT
Organization: University of Tennessee

Hi all, I posted this message yesterday my our news server went south
so I am posting it again just to be sure you all read it.

I have a small program using modal dialogs that I want to be able to
print some text from.  Well, in one of the dialogs I have a print
button.  When this button in pressed I want some text printed and 
formatted correctly to the laserwriter.

My question is where can I store the text.  The actual text that
the user sees on the screen is located in seperate pict resources.
I want the text to print just like a paged document would.

Also, if I do lets say store the text in a text resource how do 
I load the text into memory to send to the printer.

I have read the tech notes apple puts out and have looked through
Inside Mac V. I, II, and IV.  I still seem to be puzzled. 

Thanks in advance.

Danny
Newsgroups: comp.sys.mac.programmer
From: mwalker@wc.novell.com (Mel Walker)
Subject: MacBinary Source code
Organization: Novell, Inc. - Walnut Creek
Date: Tue, 14 Apr 1992 14:40:26 GMT

Does anyone out there know of a site from which I can download the source
code for doing MacBinary file conversion?  I would much appreciate it.
Thanks,
--Mel Walker                                 mwalker@optics.wc.novell.com
From: ksand@apple.com (Kent Sandvik)
Newsgroups: comp.sys.mac.programmer
Subject: Re: Zortech C++ Summary
Date: 10 Apr 92 01:32:48 GMT
Organization: MacDTS Mongols

In article <JB.92Mar31184617@beryllium.lexicon.com>, jb@lexicon.com (Jim Bailey)
writes:
> In article <13265.29D870EF@zeus.ieee.org>
Ray.Arachelian@f204.n2603.z1.ieee.org (Ray Arachelian) writes:
> 
>    On 03-20-92, CORY@ENIGAMI.MV.COM wrote to ALL:
>    If Zortech C++ for the Mac sucks so badly, why did Symantec bother to buy 
>    it, especially when they already own Think C?
> 
> I think they bought Zortech for the MS-DOS, OS/2 compiler, and got the
> MPW thrown in for free.  They probably didn't give the MPW version
> much weight in the decision.  Symantec is much bigger in the MESS-DOS
> world than in the Mac world.  At least they haven't outright killed it
> yet.

This is just speculation, but why would a company kill a compiler that 
supposedly will work under both environments, something which is a rare
thing today? It sounds market-wise silly to kill one of the selling options.
Remember the tick box wars against Borland and Microsoft...

Cheers,
Kent Sandvik
Dynamic Language Revivalist
Newsgroups: comp.sys.mac.programmer,alt.cd-rom
From: gad@eclipse.its.rpi.edu (Garance A. Drosehn)
Subject: Finding out the SCSI commands for CD-ROM drives
Followup-To: sender
Keywords: CD-ROM SCSI 
Date: Mon, 13 Apr 1992 23:40:30 GMT


Hi,

   I have CD-ROM drives on both my Mac and my NeXTstation.  I'd like to  
write my own programs to play music CD's on either of these platforms.  The  
Apple CD-Remote DA is pretty nice, but there's some extra features I'd like  
to have.
   Note that I don't care about reading *real* CD-ROM discs, I'll let the  
file system worry about that.  I just want to make the keenest music CD  
player that I can come up with...   :-)

   Send followups to me, and I'll post a summary if there is enough  
interest.  Feel free to tell me to RTFM, as long as you include the name of  
the manual that I should be reading...

--
Garance Alistair Drosehn     =     gad@eclipse.its.rpi.edu
ITS Systems Programmer            (handles NeXT-type mail)
Rensselaer Polytechnic Institute;           Troy NY    USA
Newsgroups: comp.sys.mac.programmer
From: ostheim@opal.cs.tu-berlin.de (Joachim Ostheimer)
Subject: Re: no BusErrors when writing to nonexistent NuBusSlot with Quadra
Organization: Techn. University of Berlin, Germany
Distribution: fb20
Date: Tue, 14 Apr 1992 21:17:02 GMT

i have my own buserror routine which filters all read and write busErrors
in empty NubusSlots and this works fine with every 68030 mac.

But with the Quadras i can catch only reads.

You can Check it out with Macsbug: 
   dm FS000000    (  S stands for SlotNr.  )
 ->    Unable to acces that address    (68030 or 68040)

   sm FS000000 abcd
 ->    Unable to acces that address   (68030)
 ->        ( nothing )                (68040)
 
 I even tested all other Vektors ( Interrupt 0-7 ....)
 ... there seems to be a Difference.

Joachim Ostheimer 
Technical University Berlin, Germany.
From: gburges@ccu.umanitoba.ca (Garry Russel Burgess)
Newsgroups: comp.sys.mac.apps
Subject: Eudora - Great Mail System -but prob.
Summary: Can't get it to work with Modem.
Keywords: eudora mail unix
Date: 11 Apr 92 20:38:09 GMT
Organization: University of Manitoba, Winnipeg, Canada

Hi all,

I'm using Eudora as my mail system on an ethernet Unix system and I just love
it, because it puts the friendly  Macintosh interface onto my mail system.

It is supposed to work with a modem as well, except that I can't seem to quite
get into my university.  I only get so far, and then I run into a roadblock
probably because my Eudora needs some ResEdit surgery to make the proper
connection with our Unix mail system. As it stands now, Eudora is setup to 
work with a Cisco system, but the manual says that it could easily be modified
to work with just about any Unix system.  My problem, is that I don't really
know what I'm doing with ResEdit.  

I'm looking for a ResEdit guru, who also knows a lot about communications and 
Unix.  If I could get this problem solved, it would make a lot of people happy
at the University of Manitoba.  Presently we have to use ELM ugghhh.  And that
means those damn primitive "text editors" that give you almost no text editing
capabilities, unless you are willing to jump through a couple of thousand 
learning hoops.  All I really want is a friendly mail system that works like 
a mini word processor, and Eudora does just that.  It actually brings my mail
right to my mac.  The program is the nicest program that I've ever seen on a 
Macintosh - period!!!!

If anyone can help me with this problem, I would be most appreciative.

Garry
Newsgroups: comp.sys.mac.apps,comp.sys.mac.system
From: potts@itl.itd.umich.edu (Paul Potts)
Subject: Re: AutoDoubler conficts
Organization: Instructional Technology Laboratory, University of Michigan
Date: Fri, 10 Apr 92 13:29:02 GMT

In article <1992Apr8.142146.9638@athena.mit.edu> dks@athena.mit.edu (dks) writes:
:
>
>Since 49,432 people have asked me this question in e-mail and a (slightly)
>smaller number have posted it, I'll respond one last time: AD 1.0.6 has a
>creation date of March 25, 1992.  I cannot and will not send you a copy
>but I imagine that you can obtain it by talking to the good people at Salient.
>
>What is it with you people, anyway?

What is with us, Dear Danesh, is that Salient has been quite kind to us
and posted updater programs on Sumex for previous AutoDoubler bug fixes.
We are hoping that they will do the same for 1.6. After all, it is much more
convenient for most Usenetters who are AutoDoubler owners to pull down the
update from Sumex than it is to bug Salient, make them spend money on mailing
us a disk, or ask Lloyd Chambers to personally e-mail each of us our own copy.

If you're going to make provocative statements on the Usenet, you'd better
expect a lot of attention; I remember when I said something like "I'm using
System 7.0 beta 4" and got a million requests for copies of it...
-- 
Paul Potts - potts@itl.itd.umich.edu
Un damne' descendant sans lampe,/ Au bord d'un gouffre dont l'odeur
Trahit l'humide profondeur,/ D'e'ternels escaliers sans rampe... 
   -Baudelaire on DOS/Windows programming
From: derek@netcom.com (Derek LeLash)
Newsgroups: comp.sys.mac.apps
Subject: Re: Word Dictionary Wrong?!?!?
Date: 16 Apr 92 05:40:34 GMT
Organization: Netcom - Online Communication Services  (408 241-9760 guest)

In article <1992Apr9.153115.20611@ccu.umanitoba.ca> umcho000@ccu.umanitoba.ca (Connie Cho) writes:
>
>Actually I quite agree with you about grammar checkers, so I never
>use one (not electronic, that is) I have found that unless you already
>have a good working knowledge of grammar, checkers can really
>confuse you. I always find it handy to have a paperback nearby, in
>which I can browse at will. Which is not to say that checkers aren't
>useful; catching typos such as 'the the' is a worthy function, but
>then again, some word processors (like Nisus!:)) have macros that
>search for doubles. 
>
Interestingly, Word 5's *spelling checker* flags doubled words, which is nice
because it means I don't have to run the grammar checker as often.  :-)
(what it makes of my technical manuals -- oy!)

Derek

-- 
Derek LeLash (derek@netcom.com)   "I pulled into a fast food place, parked, and
Technical Writer/Mac Savant        went in.  I could have yelled my order into
BASYS Automation Systems, Inc.     a clown's mouth and eaten in the car, but I
Sunnyvale, CA  408-720-1236 x201   wanted to show I had class." -- Sue Grafton
From: s924125@minyos.xx.rmit.oz.au (Laurens Lafebre)
Newsgroups: comp.sys.mac.apps
Subject: Re: DosMounter or AccessPC???
Date: 13 Apr 92 17:38:31 GMT
Organization: RMIT Computer Centre, Melbourne Australia.

eboltz@CNDENEXT.MRS.JHU.EDU (Eric S. Boltz) writes:


>I need to get a transparent DOS diskette translation utility for my Dad. The more transparent  
>the better. To my knowledge my choices are Dayna's DOS Mounter or AccessPC.

>Anyone have any recommendations?

O.k with DOS Mounter and Access PC.

DOS Mounter is very slow, and I mean very. If you have a lot on a disk it might
take up to a minute to appear on the desktop.

Access Pc is good - I use it.  It's fast and you can set MSDOS file type to be
opened by a certain application. ie all .exe file will auto be open by WORD 5 oryou favourite worp processor...

I dont' know of any others that are very usefull..

				       OldWolf
From: florian@convex.csd.uwm.edu (Chris Florian)
Newsgroups: comp.sys.mac.apps
Subject: Mac Problems
Date: 15 Apr 92 13:54:08 GMT
Article-I.D.: uwm.1992Apr15.135408.10472
Organization: UW-Milwaukee: Computing Services Division
Originator: florian@convex.csd.uwm.edu


	Okay, don't laugh...

	I have a mac, model: M0001W (That's a first generation Mac
	expanded to 512k.)  

	The problem I am having is that I keep getting System Error
	ID=2 and ID=3.  This may just be because the mac I have is
	just not capable of running the programs I ask of it.  But
	the programs I am trying are old enough that they should run.
	Even the ones that came with the mac often crash, for example
	Microsoft Multiplan.  Any Ideas?

	Secondly,  I have been having a real problem getting a
	communication package to work on this thing?  I had heard that
	there are some non-standard pin configurations on the original
	macs' modem connection.  If anyone knows of a program that
	would work on this mac, and where to find it, please let me
	know.

	My wife and I received it as a gift, and it IS better
	than a typewriter, and some games do work, so...

	Just remember what your mother told you, "If you haven't got
	something nice to say, SHUT UP!"
Newsgroups: comp.sys.mac.apps