HDTenEightyP/NetNews huggingface dataset:
From: speno@clam.rutgers.edu (John P. Speno)
Newsgroups: comp.sys.mac.programmer
Subject: Finder Idea
Date: 15 Dec 92 23:21:58 GMT
Distribution: comp.sys.mac.programmer
Organization: Rutgers University -- Camden, New Jersey.


Here is an idea I'd like to implemented but I don't have the talent to
do it myself. Normaly when you drag a file(s) onto a folder in the
Finder, the folder is highlighted and when you release the mouse
button, the file is placed inside the folder. However, if your final
destination for that file is a folder within a folder within a folder,
you'll have to open the first two folders to get to your destination.
I'd like to be able to have the file placed in the destination without
having to open all those super-folders(as opposed to sub-folders) so
why not immplement it? Say if the user holds down the control key
after releasing the mouse button, a standard put file dialog comes up
and lets you put the file as far deep within sub-folders as you desire.

Of course, I have no idea if this is possible and if you don't think
it's a good idea then ignore it. No flames please. If anyone tries
this out, send me a free copy. :)
--
=A==l===================+==l===============ro=======a================d=====s= 
John P. Speno		| Disclaimer: Everything I say is my own propaganda.
Trumps R' Us		|  Rutgers Camden, Computer Science Club Secretary. 
speno@clam.rutgers.edu	|		Resistance Is Futile.
==le===========a=======d+=====t=o====Am=========b===========e============r===
From: perm@csd.uu.se (Per Mildner)
Newsgroups: comp.sys.mac.programmer
Subject: AESuspendTheCurrentEvent & friends
Date: 15 Dec 92 17:37:26
Organization: Computing Science Dept.,Uppsala University, Sweden
Distribution: world
NNTP-Posting-Host: groucho.csd.uu.se

I'm trying to use AESuspendTheCurrentEvent and
AEResumeTheCurrentEvent but doesn't seem to get it to work. I cannot
find any sample that uses this nor find anything in any of the
archive.

What I wan't: in my AE handler call AESuspendTheCurrentEvent, later
(after several WaitNextEvent) call a routine that does
AEResumeTheCurrentEvent with the same AppleEvent and reply that was
used when calling AESuspendTheCurrentEvent (I assume that is the right
reply to use?). This should now dispatch to a procedure I supply to
AEResumeTheCurrentEvent wich in turn processes the event in the usual
manner. The problem is that I get error -1704 (not a valid descriptor
record) when I call AEResumeTheCurrentEvent (and possibly already at
the Suspend, don't remember).

Does anyone have any sample code that does this? Any info or pointers
would be much appreciated.
PS. I used Think C for this with paranoid settings (ie require
prototypes etc). I have the ETO and Developer CDs.

Thanks in advance,
--
Per Mildner			perm@CSD.UU.SE
Computing Science Dept.		tel: +46 18181049
Uppsala University, Sweden	fax: +46 18521270
From: bosse@etek.chalmers.se (Bo Rosenquist)
Newsgroups: comp.sys.mac.programmer
Subject: Where to find old (<100) csmp digest issues?
Date: 19 Dec 92 19:12:19 GMT
Organization: Chalmers University of Technology, Gothenburg, Sweden

I'm interested in the 88:th issue of vol 1 of the csmp digest.
I have looked in the info-mac archive with no luck.
Is it to be found anywhere?

Grateful for answer.

Bo Rosenquist
bosse@etek.chalmers.se
Newsgroups: comp.sys.mac.programmer
Distribution: world
From: Sean_S._Lee@uu0570.foggybottom.com
Organization: Foggy Bottom / Washington, D.C.
Date: Fri, 18 Dec 1992 18:37:41 EST
Subject: Harvest C

Hello, I'm just a poor H.S. student that is wondering how to get Harvest C.
Where is Harvest C located on InterNet? Is it there? Can I get it via mail.
How much for postage and handling? I'm desperate for a C compiler (and I
wouldn't mind if it was free).
Thanks,          Sean*
Foggy Bottom - your FirstClass Mac connection in Washington, DC

Newsgroups: comp.sys.mac.programmer
From: rhall@next02.cc.umanitoba.ca. (Roger Hall)
Subject: How to write After Dark Modules?
Keywords: DARK!
Reply-To: rhall@ccu.umanitoba.ca
Organization: University of Manitoba, Winnipeg, Canada
Date: Sat, 19 Dec 1992 20:39:55 GMT

Hi there,

	Can somebody tell me in detail how to write After Dark modules.  
(either 'C' or Pascal).

	Also, can you email a typical fully commented source code to me?

	Thank you!

--------------------------------------------------------------------------
sorry no sig.
Newsgroups: comp.sys.mac.programmer
From: begley@l14h13.jsc.nasa.gov
Subject: New Mac C Compiler?
Keywords: Compiler, C, Mainstay
Organization: Lockheed Engineering and Sciences
Distribution: usa
Date: Fri, 18 Dec 1992 14:36:06 GMT

   I just received the winter issue of Mainstay's advertisement
magazine, "Face to Face".  It announces a new (?) C compiler called
VIP-C.  It is said to be an extention of their Visual Interactive
Programming environment introduced in 1986.  VIP-C is due to be
debuted in the first quarter of 1993.  
   The one screen display in the ad shows a split window with the
code on the right half, a flowchart of the code with an arrow indicating
where your cursor is in the flowchart, and the while and if branching
words highlighted in the code.  The ad says that they have simplified
the complexity of the toolbox calls by combining the most common calls
into 500 VIP-C functions which are available with a mouse click.  THe
VIP-C functions and the toolbox calls are also stored in customizable
palettes.  The run-time module creates independent double-clickable
applications.
   As I JUST bought THink C last month, I am unlikely to give this a
try for a long time, but I wondered if anyone has had access to a
pre-release version and might offer a review/comparison with Think C
and MPW.
Newsgroups: comp.sys.mac.programmer
From: Kees de Ridder <keesr@cc.mey.nl>
Subject: Re: comments on ObjectMaster?
X-Useragent: Nuntius v1.1.1d13
Date: Tue, 15 Dec 1992 09:36:41 GMT
X-Xxdate: Tue, 15 Dec 92 09:38:46 GMT
Organization: Moret Ernst & Young

In article <1992Dec14.173801.8011@fcom.cc.utah.edu> Eric C. Kofoid,
kofoid@bioscience.utah.edu writes:
>How does Acius do it? Has anybody played with ObjectMaster? If so, what
>all 
>does it do and what is it like to use? 
>
>ooo Dr. Cancer ooo
>

I use ObjectMaster for quite some time now and it is superb! The editor is
very nice. Creating new classes can be done easily. Just do some mouse
clicks and
name entries and object master adds the correct texts in the source file
and in the interface files. You can look into your sources file by file
or 
via a class browser. In mine opinion it's a splended timesaver!
---
Internet:         ||   AppleLink:   ||   Voice:        
keesr@cc.mey.nl   ||   Hol0146      ||   (0)10-4074255 
---
Newsgroups: comp.sys.mac.programmer
From: mtc@mundil.cs.mu.OZ.AU (Michael Trevor CUTTER)
Subject: Uniquely identifying a Mac? How?
Organization: Computer Science, University of Melbourne, Australia
Date: Mon, 14 Dec 1992 23:34:35 GMT

We are looking for a way to uniquely identify a Mac, probably one on a network,
but not necessarily. Is the serial number or similar available somewhere in the
ROMs or parameter RAM? (Highly unlikely, I know - specially since PRAM can be
reset)

We are considering assigning each mac a unique chooser name then disabling the
Sharing Setup Control panel...this is the best solution so far.

Any assistance would be wonderful.

Regards,
	Mike.
-- 
Michael Cutter                        email: mtc@mundil.cs.mu.oz.au
Ictinus Network Development Team             mtc@arbld.unimelb.edu.au
BCAT Development Team                 snail: c/- 3 Barton Street
Department of Architecture & Building        Hawthorn, VIC, 3122 
University of Melbourne, Australia           AUSTRALIA
Sort of 3rd Year Computer Scientist   phail: 61-3-853 9717
Newsgroups: comp.sys.mac.programmer
Subject: Assembly with C question...
From: seth@physc1.byu.edu
Date: 12 Dec 92 23:25:59 -0700
Distribution: world
Organization: Brigham Young University

Hi. I have a question about assembly language and C. Here is a snippet of
C code, followed by the same thing disassembled.
 
 
main()
{
	Init();
	MakeMenus();
	MakeWindow();
	AddrsSet();
	MakeGrid();
 
 
main:
00000000        JSR       $0000(A5)
00000004        JSR       $0000(A5)
00000008        JSR       $0000(A5)
0000000C        JSR       $0000(A5)
00000010        JSR       $0000(A5)
 
 
My question is, why are all the function calls done in this way? How can I 
tell what the offset relative to a5 is? I am confused. I have till now only
done assembly in the MDS (sad, sad) assembler. (yes, I was the one whining
about it a few weeks ago. The class is over, and now I can do assembly with 
the inline assembler of THINK C like so many of you suggested...)
In the MDS Assembler we always could tell just what our offsets were, 
becaused we used labels. I don't understand how all these function calls can
be made with an offset of $0000(a5). Isn't a5 the global area? Why are the 
function calls going there anyways? Shouldn't they be going to the code area,
with offsets relative to the PC? I obviously don't see what is supposed to be
going on here, and I would appreciate it if one of you assembly gurus would 
enlighten me...
 
Thanks,
Seth Leigh
BYU Physics Dept.

Newsgroups: comp.sys.mac.programmer
From: joofung@iss.nus.sg (Wong Joo Fung)
Newsgroups: comp.sys.mac.programmer
Subject: API for ccMail
Keywords: ccMail, API
Date: 11 Dec 92 01:34:59 GMT
Organization: ISS, Singapore
X-Newsreader: Tin 1.1 PL4

Hi:

Does ccMail have a API for the Macintosh? If so, how can I get it (re:
AppleLink contact address, etc)?

Regards,
JooFung
Newsgroups: comp.sys.mac.programmer
From: bhat@mullauna.cs.mu.OZ.AU (Timothy Alan Heath BELL)
Subject: Re: Scheme interpreter
Organization: Computer Science, University of Melbourne, Australia
Date: Wed, 16 Dec 1992 12:20:49 GMT

CS19242521D@LUST.LATROBE.EDU.AU (COX, PETER) writes:

>Does anyone know of an ftp-able free/shareware scheme interpreter for the Mac
>(LC)? I would really appreciate one to do programming rather than use PC scheme 
>on a horrid IBM compatible

ftp to:
archie.au
The file is:
/micros/mac/umich/development/languages/gambitscheme1.8.cpt.hqx

-r--r--r--   1 mac      staff      20240 Oct 26 21:33 gambitscheme1.8.cpt.hqx

There may be a later version around, but this one's quite good. I fiddled
around with it for a while earlier in the year when I did an introductory
scheme course. If you pay the shareware fee, they give you the compiler as well.

I hope this helps.

---.- ---- - ----- --------- -- ------ ----- --- ----- -------- ---------
Tim Bell.	Computer Science, University of Melbourne , Australia
bhat@mullauna.cs.mu.oz.au  --  This account is due to die on  14/12/92.
------- --------- --- -- --- -------- ---- ------ -- ------ ---- --- ---
Xref: sparky comp.sys.mac.programmer:20000 comp.sys.mac.apps:18728
From: sti@batman.cs.hut.fi (Sami-Jaakko Tikka)
Newsgroups: comp.sys.mac.programmer,comp.sys.mac.apps
Subject: Looking for a Prolog that runs on PB100
Date: 17 Dec 1992 23:10:06 GMT
Organization: Helsinki University of Technology, CS lab
Distribution: inet
NNTP-Posting-Host: batman.cs.hut.fi
Keywords: prolog, interpreter, pb100


Hi!

I'm looking for a Prolog interpreter (well I won't say no for a
compiler either) that would run on PB 100 (yes, I'm a patient man :).
A free or a cheap one would be good as I am only a poor student who
wants to get his course assignment done.

Any help would be much appreciated.
--
Sami.Tikka@hut.fi                                  "Live Long and Prosper!"
---------------------------------------------------------------------------
         TV-viisautta: "Vaate on puhdas kun siin{ ei ole tahroja."
From: dswartz@sw.stratus.com (Dan Swartzendruber)
Newsgroups: comp.sys.mac.programmer
Subject: Memory control
Date: 18 Dec 1992 18:56:05 GMT
Organization: Stratus Computer, Inc.
Distribution: world
NNTP-Posting-Host: redondo.sw.stratus.com

Are there any (un)documented hooks into the VM system?  The only things
I've been able to find have been things like GetPhysical.  I'm looking
for calls to let me look at (and change) the VM mapping information for
a virtual page (yeah, I know.  Don't try this at home...)  I work on this
kind of stuff every day for 680x0 machines, so I know how to write my own
code to do this, but not if it has to coexist with MacOS.  Am I wasting my
time?

-- 

#include <std_disclaimer.h>

Dan S.
Newsgroups: comp.sys.mac.programmer
From: bcoleman@hayes.com (Bill Coleman)
Newsgroups: comp.sys.mac.programmer
Subject: Re: Alg. for Detection of Monspaced Fonts
Date: 15 Dec 92 15:08:17 EDT
Organization: Hayes Microcomputer Products, Norcross, GA

In article <1992Dec11.174609.27269@dartvax.dartmouth.edu>, Eric.J.Baumgartner@dartmouth.edu (Eric J. Baumgartner) writes:
> In article <scott.724029618@phylo>
> scott@phylo.life.uiuc.edu (Scott Howard) writes:
> 
>> My Application requires that all fonts it uses are monospaced
>> and will allow the user to choose display fonts that meet that requirement.
>
> Check out the FontRec structure and FMSwapFont. The first field in
> FontRec tells you if the font's proportional or fixed width.

Nice idea in theory.

However, I have yet to see a single font whose "fontType" field was set
to anything other than "propFont."

This has been a "bug" (or at least an incomplete execution of a feature)
since 1984.

-- 
Bill Coleman, AA4LR                ! CIS: 76067,2327    AppleLink: D1958
Principal Software Engineer        ! Packet Radio: AA4LR @ W4QO
Hayes Microcomputer Products, Inc. ! UUCP: uunet!hayes!bcoleman
POB 105203 Atlanta, GA 30348 USA   ! Internet: bcoleman%hayes@uunet.uu.net
Disclaimer: "My employer doesn't pay me to have opinions."
Quote: "The same light shines on vineyards that makes deserts." -Steve Hackett.

Newsgroups: comp.sys.mac.programmer
From: kkirksey@world.std.com (Ken B Kirksey)
Subject: SFDialog Wierdness
Organization: The World Public Access UNIX, Brookline, MA
Date: Thu, 17 Dec 1992 02:00:25 GMT

I had a little resource problem a few months ago when I was writing a 
SFGetFolder kind of routine.  I got the routines working fine, but this
problem just kind of bugged me.  
 
Try to open DITL -6042 in the System file using ResEdit.  This is the
default open dialog box.  You'll get the following message:
 
"This resource cannot be edited with the custom DITL editor because one or
more help items are not at the end of the list.  You may open this resource
using the DITL template."
 
Thinking it might make a difference, I typed in the Rez source for the
default Open dialog (on pp. 3-18 & 3-19 of _Inside Macintosh: Files_),
compiled it with Rez, and then tried to open the compiled resource in
ResEdit.  Same message.
 
So, does anyone know why this is happening, and if there is any workaround?
Many thanks in advance.
 
                             Ken


-- 
+----------------------------+------------------------------------------------+
| Ken Kirksey                | "A man cannot be too careful in his choice     |
| kkirksey@world.std.com     |  of enemies."                                  |
| The World, Brookline, MA   |                - Oscar Wilde                   |
From: udmorrow@mcs.drexel.edu (Daniel Morrow)
Newsgroups: comp.sys.mac.programmer
Subject: checking for ShutDown under syste 6.
Date: 19 Dec 92 23:34:43 GMT
Distribution: usa
Organization: Drexel University, Dept. of Math. and Comp. Sci.

Under system 6, it seems that when the computer shuts down, the system just
looks for the File menu, and then the Quit item and posts the proper event
to trigger this. (I really don't know how it works).

But if I choose not to have a File menu in the menu bar (This program does
no filing) the machine cannot shut down.

I really don't want a File menu at all for the program (read: game) since
the only files it saves are preference and high scores.

So, what I need to know is, well, is there some OSEvent or something that I
can check for in the event loop when the machine is shutting down so I can 
make it quit myself?

(This is not a problem for sys 7 since I just have to check for the Apple
event.)

Thanks.
-Dan.
Newsgroups: comp.sys.mac.programmer
From: lsr@taligent.com (Larry Rosenstein)
Subject: Re: Uniquely identifying a Mac? How?
Followup-To: comp.sys.mac.programmer
Organization: Taligent, Inc.
Date: Sat, 19 Dec 1992 03:01:59 GMT

In article <1992Dec17.105813.18407@jarvis.csri.toronto.edu>,
ematias@dgp.toronto.edu (Edgar Matias) wrote:
> 
> Isn't that the idea?  If you are going to have a copy protection scheme,
> I'd think that would be the best type.  Least amount of hassle for the
> user, yet still protects the software industry's interests.  Of course,

You'd think so, but I remember visiting a Lisa customer who had problems
because he had to keep track of which set of diskettes went with which
machine.

Larry Rosenstein
Taligent, Inc.

lsr@taligent.com
From: edw@distant.uucp (Ed Watkeys)
Newsgroups: comp.sys.mac.programmer
Subject: Re: Background your Sound!
Date: Fri, 11 Dec 92 18:32:17 EST
Organization: Distant Software
Reply-To: edw%distant@bts.com
X-Mailer: uAccess - Macintosh Release: 1.6v2


In article <ingemar.724077533@isy> (comp.sys.mac.programmer), ingemar@isy.liu.se (Ingemar Ragnemalm) writes:
> werner@dewey.soe.berkeley.edu (John Werner) writes:
> 
> >In article <1992Dec09.173722.69189@uu0570.foggybottom.com> Daniel_R._Sandler@uu0570.foggybottom.com writes:
> >>OK,ok, to the point:  How do I play sound while something else is ahppening,
> >>like so many games for the Mac, and even HyperCard?  If my games have to stop
> >>and pause to let a sound play, it really ruins the hole effect.
> 
> >It's not that hard.  Use SndPlay, with the last "async" parameter set
> >to TRUE.  The catch is that this only works if you're using your own
> >sound channel.  So the code looks something like this:
> 
> (code deleted)
> 
> Speaking of asynchronous sound, what are the "rules" about several channels
> open at once? I have tried to make two channels for sampled sounds (on an
> LC), to play a sequence of notes on one of them (with a snd installed as
> "instrument") and various sound effects on the other. I get "not enough
> hardware". What information have I missed? Can't I have two sampled sound
> channels, or can't I use one of them for melodies?
> 
> What can be done and what can't when using several channels?

I think this is addressed in the Sound Manager chapter of IM VI. If I recall,
you get a 'not enough hardware' error if you ask for too many channels with
too high a quality. This is hardware dependent, of course. :)

Ed

> Ingemar Ragnemalm

--
Edwin H. Watkeys III                                   edw@distant.uucp
Distant Software                               dsinc!jabber!distant!edw
+1 215 387 7971                                     edw%distant@bts.com
Newsgroups: comp.sys.mac.programmer
From: positron@engin.umich.edu (Jonathan Scott Haas)
Subject: Book recommendation needed
Date: Fri, 18 Dec 92 04:04:37 EST
Organization: University of Michigan Engineering, Ann Arbor

Greetings. I am a programmer who is fairly new to the Mac but who
has many years of C programming experience behind him. I'm looking
for a Mac book that goes beyond the introductory stage, into *advanced*
programming. I have _Using_the_Macintosh_Toolbox_with_C_, which is
nice, but doesn't go far enough. Specifically, what I'd like to do
is have a window containing a color picture that uses a palette other
than the system palette, that scrolls properly with scroll bars, whilst
the user clicks and drags irregularly-shaped pieces of the picture, which
show outlines and rubber bands as they drag, scrolling the picture
appropriately if the user drags outside the window, and... but you get
the idea. A basic book just isn't going to cut it. Any recommendations?

Oh, one other thing... my budget is limited, so I can't run out and buy
the whole _Inside_Mac_ just yet. I've heard there's an electronic version
available... can anyone confirm/deny this?

-- 
__/\__  Jonathan S. Haas         | Jake liked his women the way he liked
\    /  University of Michigan   | his kiwi fruit: sweet yet tart, firm-
/_  _\  positron@engin.umich.edu | fleshed yet yielding to the touch, and
  \/                             | covered with short brown fuzzy hair.
Newsgroups: comp.sys.mac.programmer
From: sgccncr@citec.oz.au (Nick Russell)
Subject: How to use BinHex
Organization: CITEC
Date: Fri, 18 Dec 1992 02:19:40 GMT


Novice Question - binhex


Can anyone tell me how to make application programs from .hqx files using
BinHex v4.0.

When I try I get a .cpt document but can see no way of making it into a program
much less running it.

AdvTHANKSance
Newsgroups: comp.sys.mac.programmer
From: ericsc@microsoft.com (Eric Schlegel)
Subject: Re: How to write a software that simulate a disk drive (volume)
Date: 17 Dec 92 17:20:36 GMT
Organization: Microsoft Corporation
Keywords: question, disk drive, volume, big problems, wizards wanted

In article <1992Dec16.220502.25022@netcom.com> creiman@netcom.com (Charlie Reiman) writes:
>arminl@tabaqui.informatik.rwth-aachen.de (Armin Luetkenhaus) writes:
>
>>I'm going to write a piece of software that simulates a disk drive
>>on the Macintosh.
>>I want to mount a drive, i.e. make it appear on the desktop, make it
>>accessible to all file system calls and map these calls to my own
>>routines.
>
>Writing an external file system (High Sierra, Messy DOS mounters, etc)
>is a sticky, nasty, unfun business. The path of least resistance seems
>to be Apple's XFS, which is buried under much offical voodoo. It's
>tough to get any docs for it and Apple keeps saying 'It'll change! Stay
>away! Keep back! We're warning you!'

Has anyone else noticed that Apple's PC Exchange product *includes* the
fabled File System Manager, described at the '89 WWDC as a possible technology
in System 7? At any rate, the gestaltHasFileSystemManager bit is set in the
return value from gestaltFSAttr when PC Exchange is installed. Now if only 
they'd document it...

-eric
-----
My opinions, not Microsoft's.
Newsgroups: comp.sys.mac.programmer
From: Gavin Eadie <Gavin@UMich.EDU>
Subject: Re: Puzzled: Serial PowerBook I/O
Date: Fri, 18 Dec 92 09:10:31 EST
Organization: U of Michigan Information Systems
X-Useragent: Nuntius v1.1.1d13
X-Xxmessage-Id: <A7574600F401BA11@forfar.uis.itd.umich.edu>
X-Xxdate: Fri, 18 Dec 92 14:10:24 GMT

In article <1992Dec17.222300.16232@cs.aukuni.ac.nz> Andrew James       
Willmott, awil2@cs.aukuni.ac.nz writes:
> .......... I would imagine that
>OpenDriver("Ain"...) should turn the port for you.
 
      OpenDriver is documented as turning on the Power ... Gav
Newsgroups: comp.sys.mac.programmer
From: david@oahu.cs.ucla.edu (David Dantowitz)
Subject: SFPutFile does not re-draw dialog (?)
Organization: UCLA, Computer Science Department
Date: Thu, 17 Dec 92 05:22:44 GMT


I'm calling the SF put file routine in my program, but before my
program calls SFPutFile, my  screen saver kicks in, then I move the mouse,
the screen is re-drawn and I have a blank dialog box staring me in the
face.  How can I get the SFPut dialog to redraw properly?

Any help would be appreciated.

Thanks,
	David
-- 
David Dantowitz
david@cs.ucla.edu

Singing Barbershop when I'm not doing parallel simulation