HDTenEightyP/NetNews huggingface dataset:
From: leonardr@netcom.com (Leonard Rosenthol)
Subject: Strange uses for QuickTime (Re: Adding Balloon help)
Date: Tue, 08 Sep 92 17:16:24 GMT
Organization: Netcom - Online Communication Services  (408 241-9760 guest) 

In article <1992Sep8.154613.10915@bmers95.bnr.ca> ross@bnr.ca (Ross Brown) writes:
>In article <1992Sep4.162113.17663@hobbes.kzoo.edu> k044477@hobbes.kzoo.edu
>(Jamie R. McCarthy) writes:
>>TidBITS doesn't seem to have anything about QuickTime in balloons.
>>Leonard R.'s movie-for-a-finder-icon hack is mentioned (hey, Leonard,
>>want to upload that somewhere?) but that's it.
>
>
	Actually there was a hack at MacHack which put QTMovies into balloon
help balloons.  It was written by Cameron Esfashani of umich.  It is on the
MacHack CD, so I would assume it will make it to the world soon now that the 
CD is out.
 
>You're right, Jamie, the movie was in a Finder icon, not in a balloon.  My
>error.  I think I'd rather see the movie in an icon, especially if you could
>turn the movie on and off by selecting/deselecting the icon.
>
	Well, MovieFinder (the QTMovies instead of icons hack), has gone
through a number of revisions in terms of how is plays the movies - originally
we had them playing all the time, which looked cool but took some serious CPU
time (they at least turned off when the Finder was in Bkground).  The current
version has them playing when selected, which seems a bit nicer overall.

	I would love to release it to the world, but it has no HI - you have
to screw with alias records and stuff to create the "movie icon".  The code
has been licensed to Baseline who has incorporated it into their "I Like Icon"
product which has an HI...(NOTE: I don't get anything on ILI sales, so I don't
care ifyou buy it or not ;).  If somebody has the time and interest in giving
MovieFinder an HI, drop me a note and we'll see what can be worked out.



-- 
-----------------------------------------------------------------------------
Leonard Rosenthol			Internet: 	leonardr@netcom.com
Director of Advanced Technology		AppleLink:	MACgician
Aladdin Systems, Inc.			GEnie:		MACgician
From: mxmora@unix.sri.com (Matthew Xavier Mora)
Newsgroups: comp.sys.mac.programmer
Subject: Re: Shareware legality question
Date: 14 Sep 92 20:21:12 GMT
Followup-To: comp.sys.mac.programmer
Distribution: comp.sys.mac.programmer
Organization: SRI International

In article <BuG2sM.E5I@news.udel.edu>, kurisuto@chopin.udel.edu (Sean J.
Crist) wrote:
> I remember reading that you don't have to register your work with the
> Library of Congress for your work to be copyrighted; all you have to
> do is include a copyright notice in the form (c) 1992 by Joe Smith.
                                               ^^^

Won't do. It has to be the real copyright symbol or the word Copyright.
"(c)" is not covered.


Matt
From: hp48sx@wupost.wustl.edu (HP48SX Archive Maintainer)
Newsgroups: comp.sys.mac.programmer
Subject: Re: PGP - public key encryption for the Mac!!
Date: 12 Sep 1992 11:06:12 -0500
Organization: Washington University in Saint Louis, MO USA
NNTP-Posting-Host: wuarchive.wustl.edu

Please do not download pgp from the site in New Zealand.
As the site mentions: No everseas ftp, it costs them money.
I suggest you check with archie for a closer site or download it from:
nic.funet.fi   /pub/msdos/utilities/sysutl     (Europe)
urth.acsu.buffalo.edu   /pub 
gatekeeper.dec.com   /.2/micro/msdos/pgp 
pc.usl.edu   /pub/msdos/crypto

just to mention a f. Use archie if you want more addresses.
-- 
Povl H. Pedersen             hp48sx@wuarchive.wustl.edu
HP48sx archive maintainer

All Opinions (C) Copyright the Intergalactic Thought Association
Xref: sparky comp.sys.mac.programmer:15125 comp.realtime:1057
From: arnold@i81s15.ira.uka.de (Arnold Niedermaier)
Newsgroups: comp.sys.mac.programmer,comp.realtime
Subject: Re: A/ROSE
Date: 8 Sep 1992 08:51:50 GMT
Organization: University of Karlsruhe, FRG
Distribution: world
NNTP-Posting-Host: i81s15.ira.uka.de


In article <1992Sep3.201212.22863@dartvax.dartmouth.edu>, mac@coos.dartmouth.edu (Alex Colvin) writes:
|> I'm looking for a realtime operating system to run on embedded 680x0s.
|> I'm using a macintosh as a development platform.
|> Someone mentioned A/ROSE as a possibility. I can't find anything
|> about it.
|>         Is it supported?
|>         Is it supported by MPW?
|>         Does it run only in a nubus slot on a macintosh, or can it
|>         stand alone?
|> 	Is it any use?
|>         Is there someone I can call to get details?
|> 
|>                 Alex Colvin
|>                 603/643-7309
|>                 mac@coos.dartmouth.edu

--
We are using A/ROSE the Apple/Realtime Operating System Environment in our
macintosh laboratory at the institute for computer design and fault tolerance.
In our configuration A/ROSE runs on Serial NB MCP cards plugged in nubus slots
on macintosh computers. These cards are connected with Apple V24/RS232 cables and
form a distributed system. 
We also use MPW as a development environment.platform. In order to run 
the programs under A/ROSE you have to link some spezial libraries.
When we run a distributed application on the cards we use the Macs as
I/O devices to monitor and control the programflow. Our main interests are
to examine fault-tolerant mechanisms and fault-tolerant protocols. 
Therefore we have developed a communication kernel which provides communication
promitives and a fault injection tool to trigger particular fault situations.
Until now we have implemented and tested several fault-tolerant protocols 
on this system. 
Our expierence with A/ROSE is the following:
    - the programs have to be implemented in C or assembler
    - there is no support for floating point operations 
A/ROSE together with the Serial NB Card satisfies our application requirements
and we are going to use it in more areas.
 
******************************************************************************
Arnold Niedermaier                               *   Tel.:   49-721-608-3910
Universitaet Karlsruhe                           *   Fax.:   49-721-370455
Inst. fuer Rechnerentwurf und Fehlertoleranz     *   E-Mail: arnold@ira.uka.de
Postfach 69 80                                   *   
W-7500 Karlsruhe 1 Germany                       *
From: andyp@treehouse.uucp (Andy Peterman)
Newsgroups: comp.sys.mac.programmer
Subject: Re: Asynch Serial IO
Date: 12 Sep 92 07:14:43 GMT
Reply-To: treehouse!andyp@gvgpsa.gvg.tek.com
Organization: The Treehouse

In article <jpurlia-110992084343@129.46.5.45> jpurlia@qualcomm.com (John 
Purlia) writes:
>Has anyone had any luck passing data out the serial ports asynchronously?
>I'm passing buffers of data with asynch calls to PBWrite, which seems to
>work fine (though, how would I know; I'm not connected to anything yet!),
>but my program freezes when I quit and call KillIO.  A press of the
>programmer's switch shows the toolbox wandering around inside of
>FluhEvents.  In a nutshell, here's what I'm doing (lots of stuff excluded,
>of course):
> ...
>/* This is called when I quit the program */
>void closeSerial (void) {
>    KillIO (AoutRef);
>    KillIO (AinRef);
>    CloseDriver (AinRef);
>    CloseDriver (AoutRef);
>}
>
>The app freezes as soon as it hits the first KillIO call.  When I make the

Just yesterday I wrote some code VERY similar to yours using asynchronous 
serial calls (for PBWrite, anyway) and it seems to work fine.  In fact, I 
left out the KillIO's and decided to put them in after all - I didn't think
they were really necesarry, but it can't hurt.  It still works fine with 
the KillIO's.

In fact, to test it, I made a call to PBWrite with a very long write (10K 
bytes) just before the KillIO like you have above and still no crash.

It should work - there must be something you're doing wrong.  My first 
guess was that your 'gTransmitPB' wasn't global, but I assume the 'g' means
it is.  Check that it really hangs around.  Another thing to check for is 
to see if the refNums are valid - make sure you're not calling closeSerial
twice!  I usually set the refNums to 0 after a close (and before the Open)
and test the refNum before closing (and killing).

Anyway, hope this helps...
-- 
Andy Peterman                       
treehouse!andyp@gvgpsa.gvg.tek.com  
(916) 273-4569                      
Newsgroups: comp.sys.mac.programmer
From: hd12@ellis.uchicago.edu (hui  dong)
Subject: How to creat customized (shape, color...) control dial?
Reply-To: hd12@midway.uchicago.edu
Organization: University of Chicago Computing Organizations
Date: Mon, 7 Sep 1992 09:47:31 GMT

I don't like the standard dial one can creat using ResEdit, but prefer
customized thumb button, without Up & Down button, like the one in Sound
Control Panel (I noticed the 'button' in fact is a PICT!). Is there a simple
way to do this, or do I have to draw the 'button' myself everytime? Any help
will be very appreciated.




Newsgroups: comp.sys.mac.programmer
From: Anders Wallgren <anders@verity.com>
Subject: Re: MPW Error, Help me please!
Organization: Verity, Mountain View, CA, USA
Date: Tue, 15 Sep 92 20:58:49 GMT
X-Xxmessage-Id: <A6DB9D87F201C897@pokey.verity.com>
X-Useragent: Nuntius v1.1.1d10
X-Xxdate: Tue, 15 Sep 92 22:02:47 GMT

In article <frederia.716556234@isy.liu.se> Frederic Aron,
frederia@isy.liu.se writes:
>"MPW Tools: Pascal aborted: unable to swap in tool segment"

This error message really should be changed to read:

"MPW Tools:Pascal aborted unable to swap Pascal code segment into
memory"

You have to increase you MPW Shell partition - it's trying to read
a code segment from the Pascal compiler but doesn't have enough
memory to do so.
Newsgroups: comp.sys.mac.programmer
From: mike@wang.com (Mike Sullivan)
Subject: Query: How to launch an application from an init
Organization: Wang Labs, Lowell MA, USA
Date: Wed, 09 Sep 92 19:59:28 GMT
Keywords: launch application init

I need to launch an application from an init, based on recieving a 
message on AppleTalk.  Does anyone have a code fragment that does this?
Pointers to readily accessible info also welcome.



Thanks in advance..

mike

-- 
  ______________________
 /  __              __  \  | Michael J. Sullivan    |     Love all
|  |  \  /\  |\ |  /  `  | | Independent            |     Serve all
|  |__/ /--\ | \|  \__T  | | mike@WANG.COM          |  Save the Planet
 \______________________/  | FUN FUN FUN FUN FUN FUN|   - Rock Hard -
Newsgroups: comp.sys.mac.programmer
From: bwilliam@iat.holonet.net (Bill Williams)
Subject: Re: INIT Idea/Request
Organization: HoloNet (BBS: 510-704-1058)
Date: Wed, 9 Sep 1992 05:10:48 GMT

I feel only very large blocks of memory that NEVER ar locked during a call
to waitnextevent should be put in temporary memory.

It sickens me to have to reboot all the time in system seven on a stock
system on a 8 meg machine (not mine) because even after quitting nearly
every application the damned free memory is fragmented AND LOCKED by
foolish people who abuse temporary memory.

BWilliams
From: peterc@cubetech.com (Peter Creath)
Newsgroups: comp.sys.mac.programmer
Subject: Re: Kudos to NOW for 4.0 Startup Manager
Date: Wed, 9 Sep 92 18:23:26 CDT
Organization: Cube Technologies
Reply-To: peterc@cubetech.com
            


In article <aland.715963776@chaos.cs.brandeis.edu> (comp.sys.mac.programmer), aland@chaos.cs.brandeis.edu (Alan D.) writes:
> bwilliam@iat.holonet.net (Bill Williams) writes:
> >[flame flame flame re: bad crossposting, which I read on comp.sys.mac.apps,]
> >[much to my amusement]
> >A more serious flaw of programs that do show their inits is the fact that
> >they draw them after they have run and not during (when crashing it is
> >very offesive).
> 
>   I don't agree that the inits should show icons during processing...
> I thought that drawing the icon afterwards was a good thing, because
> it showed that you (the init) loaded successfully.

What they SHOULD do is have at least two icons: 1 for saying "I'm
beginning to load" (so if it crashes, you know which one it is), and
1 for saying "I've successfully loaded".  Most already have two, but
one is for "I've sucessfully loaded" and "I couldn't load".  At least
3 (in other words, excluding animation) is optimum.

Of course SAM is just obnoxious and has about 16 that it randomly
chooses from (different colors).

----------------------------------------------------------------------------
Peter Creath                 "When I was a boy I was told that anybody could
peterc@cubetech.com           become president; I'm beginning to believe it."
                                                           -- Clarence Darrow
Newsgroups: comp.sys.mac.programmer
From: d88-jwa@dront.nada.kth.se (Jon W{tte)
Subject: Re: Please HELP - Need source code or general help with ICONs
Originator: d88-jwa@dront.nada.kth.se
Organization: Royal Institute of Technology, Stockholm, Sweden
Date: Mon, 14 Sep 1992 10:42:54 GMT

> kjt001@dunix.drake.edu (Kevin Tieskoetter) writes:

   Can anyone direct me to source code that deals with Icons?  Code for
   simple things like clicking, dragging, highlighting, double-clicking,
   etc...?

   Apparently, there aren't any toolbox routines for these things, so I was
   wondering if a library or something similar existed.  If not that, could

Huh!? You get MouseDown events, you draw into a one-bit offscreen GrafPort
to see what's hit, you call CopyBits for various highlighting features,
you call GetDblTime() to see if something's double-clicked, ...

   someone give me advice on the best way to handle such things?  I'm
   relatively new to macintosh programming, and I'm working in Think C 4.0
   right now.

Or use the Think Class Library, it's good. Read the documentation
(OOP programming manual)

-- 
Jon W{tte, h+@nada.kth.se, Sweden, Phone +46-8-107069

Help eradicate FIDO-Net <-> Usenet gateways in our time!
From: baer@qiclab.scn.rain.com (Ken Baer)
Newsgroups: comp.sys.mac.programmer
Subject: Need portable code for reading PICT files
Date: 15 Sep 92 19:16:49 GMT
Organization: SCN Research/Qic Laboratories of Tigard, Oregon.


I need some C code to read PICT files (not resources) that I can port to
other platforms (Windows, Amiga, Indigo, etc).  I looked at some of the
code on the Develop CD ROM and found the code to read a PICT into a
PicHandle, but I need portable code for UnPackBits().  I am not planning
to support imbedded opcodes, just bitmap data.

Any code or pointers to code will be greatly appreciated.

	-Ken Baer.
	baer@qiclab.scn.rain.com
-- 
    //    -Ken Baer.  Programmer/Animator, Hash Enterprises
  \X/     Usenet: baer@qiclab.UUCP  /  Office: (206)573-9427
          "Hey, I think a glacier just passed us!" - Andy from Joyride
From: bwilliam@oyster.smcm.edu (Bill Williams)
Newsgroups: comp.sys.mac.programmer
Subject: Publish/Subscribe sample Pascal code wanted
Date: 11 Sep 92 16:15:20 GMT
Organization: St. Mary's College of Maryland
X-UserAgent: Nuntius v1.1.1d9
X-XXMessage-ID: <A6D63EA4630101D2@williams.smcm.edu>
X-XXDate: Fri, 11 Sep 92 17:16:36 GMT

The subject about says it.  I've had a data-acquisition program around
for some time, and I'd like to be able to open a Microsoft Excel
document and have it updated (in real time -- will this work?) by the
program.  The sample code for publish/subcribe at bric-a-brac is in c. 
No hablo C.
___________________________________
William E. Williams, bwilliam@oyster.smcm.edu
Divison of Natural Sciences and Mathematics
St. Mary's College of Maryland
St. Mary's City, MD 20686
Newsgroups: comp.sys.mac.programmer
From: peppert@iastate.edu (Bob the Ho)
Subject: .mod writer for Mac
Summary: I want one
Keywords: .mod
Organization: Iowa State University, Ames IA
Date: Wed, 9 Sep 1992 02:13:09 GMT

ANyone who has any information on how to write .mods on the Mac, please mail
me.  I'm creating a new game (very similar to Final Fantasy II for you SNES 
freaks) and want to make use of .mod format because it's small, and the
player source I have is fast.

If anyone can help or has anything to add... peppert@iastate.edu
From: gurhs@uniwa.uwa.edu.au (Rhys Hollow)
Newsgroups: comp.sys.mac.programmer
Subject: Re: How to <<Readln>> from a text referenced by a handle??
Date: 16 Sep 1992 11:23:15 +0800
Organization: The University of Westrn Australia
NNTP-Posting-Host: uniwa.uwa.edu.au

peter@cujo.curtin.edu.au (Peter N Lewis) gives a useful example of
implementing a Readln with a handle-referenced block of text :

>{$R-}

But wait!  What is this?? Turning Rangechecking off?  I wonder what that
could be for?  What's that you say?  Think Pascal will range check if
you try to set the length byte of the string?  Think Pascal will range
check if you access the string s[x] where x is greater than Length(s)?
You're kidding right?  Think Pascal couldn't possibly be that stupid
surely?  Oh dear, I think it is.

<Rhys bangs head against the wall <bang> <bang> <bang> >

>procedure ReadALine(h:handle; var s:str255);
[Body of procedure deleted]
>end;


Hmm, don't forget to turn Range Checking back on Pete!

Rhys.
--
Rhys Hollow (gurhs@uniwa.uwa.oz.au) "ee'er by gum he's a bad'un!" -DangerMouse.
From: tasavard@phy.duke.edu (Tom Savard)
Newsgroups: comp.sys.mac.programmer
Subject: Using Spinside Macintosh-is there a find next command?
Date: 15 Sep 92 22:04:37 GMT
Distribution: usa
Organization: Duke University Physics Dept.; Durham, N.C.

I am new to C programming and Mac programming in general.  As a toolbox
reference, I have been using Spinside Macintosh.  When I use the find
command on an object, I can only get to the first reference the object in
each card.  If I 'find' again, I either get the same reference or the
first reference in the next card.  Never do I get the next reference in
the SAME card (which is usually what I need).  Any suggestions?  Please
reply via email.

Thanks!!


-- 
	Tom Savard				(919)-660-2515
	Physics	
	Box 90305/Duke University
	Durham, N.C.      27708-0305
From: Andrew Gilmartin <Andrew_Gilmartin@Brown.Edu>
Newsgroups: comp.sys.mac.programmer
Subject: Q: GrayRgn + Menu bar region
Date: 6 Sep 1992 20:38:06 GMT
Organization: Brown University
Distribution: world
NNTP-Posting-Host: cis_staff-kntx12.cis.brown.edu
X-UserAgent: Nuntius v1.1.1d7
X-XXDate: Sun, 6 Sep 92 21:42:13 GMT

With WaitNextEvent() you can specify when to receive mouse
moved messages by specifying a region within which you don't
care about the mouse's movement but outside of which you do.
When the mouse is outside of the front window, I only care to
be notified when the mouse moves into the front window. This is
simply done using a region that is the difference between the
desktop and my window, for example

		RectRgn( theWindowRgn, &theWindowRect );
		XorRgn( GetGrayRgn(), theWindowRgn, theCursorRgn );

The problem is that GetGrayRgn() excludes the menu bar and so I
get mouse moved messages when the mouse moves there. Is there a
clean way to get the full screen region (desktop and menu bar)?
Thanks.

--
Andrew Gilmartin
Computing & Information Services
Brown University

Andrew_Gilmartin@Brown.Edu
(401) 863-7305
Newsgroups: comp.sys.mac.programmer
From: ejw1@kimbark.uchicago.edu (Eric Weidl)
Subject: Easiest way to find my PSN (Process Serial Number)
Reply-To: ejw1@midway.uchicago.edu
Organization: Academic and Public Computing
Date: Mon, 14 Sep 1992 21:33:45 GMT


Howdy,
	Is there any easy way to determine my own Process Serial Number?  
After looking through IM VI, NIM:Processes and MacProgPrimer V1, it seems 
like the only way to do it is to loop through all current processes using 
GetNextProcess() until I find myself, then return the PSN.  Is there an 
easier way?

	The reason I want to know my PSN is so that I can call
SetFrontProcess() to bring myself to the foreground in response to an 
AppleEvent.  I've tried every combination of parameters in AESend() and 
AEInteractWithUser(), but to no avail.  So, I thought I'd try SetFrontProcess.

Eric
-- 
===================================================================
               Eric Weidl    e-weidl@uchicago.edu
      University of Chicago -- Academic and Public Computing
===================================================================
Newsgroups: comp.sys.mac.programmer
From: chuq@gallant.apple.com (Chuq Von Rospach)
Newsgroups: comp.sys.mac.programmer,comp.sys.mac.system
Subject: Re: Does anyone recognize _Jackson?
Date: 4 Sep 92 19:31:38 GMT
Organization: I is a writur

Roger.W.Brown@dartmouth.edu (Roger W. Brown) writes:

>I frequently see this symbol in MacsBug when my Quadra crashes:
>_Jackson.

Yes, usually when an after dark module crashes.


-- 
Chuq "IMHO" Von Rospach, ESD Support & Training (DAL/AUX) =+= Member, SFWA
  chuq@apple.com | GEnie: MAC.BIGOT | ALink:CHUQ =+= Editor, OtherRealms

    I believe there should be a constitutional amendment outlawing the
Newsgroups: comp.sys.mac.programmer
From: steven@monu6.cc.monash.edu.au (Steve Stergakis)
Subject: hypertalk field problem
Organization: Monash University, Caulfield Campus
Date: Thu, 10 Sep 1992 03:00:00 GMT


has anyone written any scripts in hypertalk to handle
extracting multiple lines out of a scrollable
field...

eg if there is a field

+----------------------------------+
|				   |
| fred				   |
| steve				   |
| clown				   |
|				   |
+----------------------------------+

i need a script that would allow me to place... lets say fred 
and clown (but not steve) so that i can use them for 
some processing...
any ideas...  i need something that will allow the user
to select multiple fields with the mouse (perhaps even deselect
when they make a mistake).. so that i can do some processing
on the fields...

thanks in advance
steven

Newsgroups: comp.sys.mac.programmer
From: omh@cs.brown.edu (Owen M. Hartnett)
Subject: Re: 2up, double-sided printing
Organization: Brown University Department of Computer Science
Date: Fri, 11 Sep 1992 01:40:27 GMT

If you can get a copy, and then move your data into it, good ole FullWrite
professional will do this.

What a shame it had to be bought by such a MacMalContent as Borland.

-Owen

Owen Hartnett				omh@cs.brown.edu
"FAITH, n. Belief without evidence in what is told by one who speaks
		without knowledge, of things without parallel."
			-Ambrose Bierce - The Devil's Dictionary
Newsgroups: comp.sys.mac.programmer,comp.sys.mac.apps