HDTenEightyP/NetNews huggingface dataset:
From: peterc@cubetech.com (Peter Creath)
Newsgroups: comp.sys.mac.programmer
Subject: IM6 on disk or full docs on Process Manager
Date: Sun, 4 Oct 92 20:37:37 CDT
Organization: Cube Technologies
Reply-To: peterc@cubetech.com
Distribution: world

Well, at the moment I'm too poor to shell out money for Inside Mac
VI so I can read all the nifty features of the Process Manager.

Is IM VI available on electronic media anywhere?  Can I FTP it?  (Can
someone mail it to me?)

And if not, could somebody mail me the documentation for the Process
Manager calls?

Many thanks...

----------------------------------------------------------------------------
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: mshields%peruvian.utah.edu@cs.utah.edu (Michael S Shields)
Subject: Re: Update events and modal dialog boxes
Date: 3 Oct 92 00:40:03 MDT
Summary: Thanks
Organization: University of Utah CS Dept


Thanks for the help in my search.  It is in TN 304.  I thought it was earlier
so I ended up looking in the totally wrong place!!

Mike
mshields@peruvian.utah.edu

Newsgroups: comp.sys.mac.programmer
From: oster@well.sf.ca.us (David Phillip Oster)
Subject: Re: 'TEXT' and 'styl' resources
Organization: Whole Earth 'Lectronic Link
Date: Fri, 2 Oct 1992 07:38:06 GMT

TEXT resource are just handles to text. styl resources are
StScrpHandles. They are fully documented in the TextEdit chapter of
Inside Mac vol 5. Note: they are really only good in a single Macintosh,
becuase they refer to fonts by id number instead of by name, and the
system is allowed to renumber fonts from mac to mac. If you are goin g
to use them in a real program, remember to include a translation table
that maps the font ids to font names, and remember to use it when you
read a styl resource.
Newsgroups: comp.sys.mac.programmer
From: D. Jay Newman <dn5@apix.psu.edu>
Subject: Flight Simulator Plane format?
Organization: Penn State
X-Useragent: Nuntius v1.1
Date: Mon, 05 Oct 92 14:01:24 GMT

Hi:

Can anybody help me with the file format for a plane
definition file for Microsoft Flight Simulator?

I am working on a package to teach basic airplane design, and
our faculty member had the idea that if a student could see his
design perform in the air using Microsoft Flight Simulator, he
would get a better idea of how well he did.

We have asked Microsoft for the file format, but they won't
give it to us.

We're not writing a competing game, but rather an educational
product.

Thanks in advance.

()()()()()()()()()()()()() CBEL--Teaching & Learning Technologies ()()()
D. Jay Newman     !  Cautious, careful people always casting about to
dn5@psuvm.psu.edu !  preserve their reputation and social standing never
dn5@apix.psu.edu  !  can bring about a reform.  -- Susan B. Anthony
From: jlawrie@fraser.sfu.ca (John William Lawrie)
Subject: How do you use CDLOGDialog
Summary: need information about how to use radio buttons with the CDLOGDialog
Keywords: Think c
Organization: Simon Fraser University, Burnaby, B.C., Canada
Date: Sun, 4 Oct 1992 09:48:26 GMT

Does anybody know how to use radio buttons correctly with the CDLOGDialog class
with think c?  I have figured out how to get them working as a dummy interface,
but i do not know how to check to see which button is on because the IDLOGDialog
functing does not return anything.  How do you access the cRadioGroupPane that
encloses the radio button?

Any help would be greatly appreciated.

John
From: deadman@garnet.berkeley.edu (Ben Haller)
Newsgroups: comp.sys.mac.programmer
Subject: ResEdit bug?
Date: 29 Sep 1992 01:50:01 GMT
Organization: Stick Software
Distribution: world
NNTP-Posting-Host: garnet.berkeley.edu

[Please reply to this by e-mail, as I am not a regular subscriber
 to this group any more...]

  Not knowing the correct bug reporting channels to use, since I'm
not a registered developer or anything, I figure posting a bug here
is pretty likely to get to Apple...
  It is also an interesting bug from a programming perspective, so please,
no flames...
  The bug is that ResEdit seems to allocate blocks in the MFTempMem heap,
lock them, and somehow they don't get deallocated when you quit.  This
is with version 2.1.1, the latest I know of.  The evidence of this is
that if I run ResEdit, copy a resource or two, and then quit, the
Finder says that the largest contiguous block is ~3MB, where it was
~5MB before running ResEdit.  I don't have this problem with any other
applications as far as I know.
  MacsBug bears out the locked-MFTemp-block theory: examining the main
MF heap shows the locked blocks sitting smack in the middle of my free
blocks and fragmenting them.
  There is, however, no conclusive evidence that it isn't due to something
other than ResEdit, except that it happens when I run ResEdit and doesn't
when I don't.  I don't feel like turning off all my INITs, file sharing,
etc. - the problem is not totally repeatable anyway, so it would be
impossible to get a conclusive result.
  First of all: anybody else experience this?  Second of all: how is this
possible?  I thought all MFTempMem used by an application was automatically
freed when it quit.  How could this not happen?  Is ResEdit somehow munging
block headers somewhere?

-Ben Haller (deadman@garnet.berkeley.edu)
Newsgroups: comp.sys.mac.programmer
From: usgcjsx@gsusgi2.gsu.edu (Felix_T._Cat)
Subject: Pascal for Quadra (System 7?)
Organization: Georgia State University
Date: Tue, 6 Oct 1992 04:47:05 GMT


Does anyone know of any shareware compilers for
the mac quadra running system 7?

System 6?

-- 
/oo\ ---------------------------------------------------------------- /Oo\
 ~~                                                                    ~~
DO not attempt to adjust your television set...     A REAL Atari FAN!       
We are controlling transmission..                   A REAL Genesis FAN!      
usgcjsx@gsusgi2.gsu.edu                             A REAL Felix FAN!
I STILL think Freaks should have won an Oscar!      Kerry King is my Dad!
WHAT WAS THAT NUMBER ? Thats usgcjsx@gsusgi2.gsu.edu
/oO\ ---------------------------------------------------------------  /OO\
 ~~                                                                    ~~
From: fixer@faxcsl.dcrt.nih.gov (Christopher Tate)
Subject: Looking for Resourceror
Reply-To: fixer@faxcsl.dcrt.nih.gov
Organization: Computer Systems Laboratory, DCRT, NIH
Date: Mon, 28 Sep 1992 12:03:15 GMT

I'm looking to get hold of Resourceror (from Mathemaesthetics, according to
the FAQ), but I don't know where to find that company.  Anybody have any info?

(And as an aside, perhaps the FAQ should include contact information for the
companies whose products are discussed therein?)

-- Chris
Newsgroups: comp.sys.mac.programmer
From: korfhage@weston.poly.edu (Willard Korfhage)
Subject: Zooming in and out of Panes in TCL
Organization: Polytechnic University, New York
Date: Sat, 3 Oct 92 17:20:12 GMT

Has anybody created a TCL Panorama (or maybe a Pane) that can zoom in
and out?

   Willard
   korfhage@weston.poly.edu
Newsgroups: comp.sys.mac.programmer
From: aep@world.std.com (Andrew E Page)
Subject: Gestalt Return Value for 24-bit addressing?
Organization: The World Public Access UNIX, Brookline, MA
Date: Fri, 2 Oct 1992 13:22:52 GMT


    What does the Gestalt Trap return when 24-bit addressing is
in effect?  It returns a 0,1, or 2 when various flavors of 32-bit
is in effect, at least according to GestaltEqu.a.  Or does it
simply pass back a non-zero result code in D0?

-- 
Andrew E. Page   (Warrior Poet) |   Decision and Effort The Archer and Arrow
Mac Consultant                  |     The difference between what we are
Macintosh and DSP Technology    |           and what we want to be.
Newsgroups: comp.sys.mac.programmer
From: kpols@balaena.bio.vu.nl (Kees Pols)
Subject: Sources of a POP server for the Mac
Organization: Dept. Genetics, Free Univ., Amsterdam
Date: Mon, 28 Sep 1992 14:36:15 GMT

Dear netters,

A friend of mine lacking Internet access asked me to post next message:

I'm looking for the sources of a POP Server that runs on the Macintosh.
I'm aware of MailStop, but that doesn't include the sources.

The POP isn't too difficult to implement, but I thought I'd ask first
before developing it for myself. I can't just run MailStop, since my
only e-mail connection to the net is through a MacPost mailserver.
What I want is to pickup my mail at that server using the POP protocol.

Please send any replies directly to me at schulte@klin.far.ruu.nl,
since I don't have access to Usenet News (yet), if there's an interest,
I'll let you all know about any info I get,

thanks in advance,

Bas Schulte.
Internet: schulte@klin.far.ruu.nl
Newsgroups: comp.sys.mac.programmer
From: zaphod@bluemoon.rn.com (Peter Bierman)
Subject: Re: Postscript downloading.
Organization: Blue Moon BBS ((614) 868-998[024])
Date: Sat, 26 Sep 92 22:42:36 EDT

ramirez@mcclb0.med.nyu.edu writes:

> 	I am looking for the source code (C, C++ or Pascal) to download a
> PostScript file to a Laserwriter II.  I need to be able to parse the header
> (%%) Fields.  I need to get the name of the machine that created it and the
> number of pages.

I don't know if this helps, but I remember reading somewhere that the LW 
driver parses out something like "EnamulatorFont" or some name of a font 
that  when it encounters, it will send as postscript to the printer.

The cool thing about this was that you could use Font/DA mover and resedit 
to make a copy of something like monaco and rename it the name of this 
trigger font, and then just print postscript straight from any word 
processor, or printing code.


---
The opinions I express are rarely my own, because my own are far too
outragous to post here.

IntNet:zaphod@bluemoon.use.com   FutureNet: #33@#10
The Metropolis (614)-846-1911
---
From: calb@waikato.ac.nz
Newsgroups: comp.sys.mac.programmer
Subject: Call to turn off PB100 screen?
Date: 1 Oct 92 12:44:39 +1200
Organization: University of Waikato, Hamilton, New Zealand

Can any one tell me what, if any, C code I can use to turn of the screen of my
PB100.  
I wish use my computer to run long simulations, and for data logging.  
Thus it will be pluged in to the power, and in no sleep mode.  This is no going
to do the screen any good.  If I could turn it off at the start of a run,
and back on at the end this would solve my problem.

Thanks very much

+-----------------------------------------------------------------------+
| Craig Lynch-Blosse                          The University Of Waikato |
| e-mail: calb@Waikato.ac.nz                                   Hamilton |
| Second star to the right, and straight on till morning    New Zealand |
+=======================================================================+
Newsgroups: comp.sys.mac.programmer
Subject: Re: DogCow Calls
From: hammett@sbsu1.aukuni.ac.nz (Tim Hammett)
Date: Tue, 29 Sep 1992 22:03:35 GMT
Organization: University of Auckland, New Zealand.

stud08@cc4.kuleuven.ac.be (Karl Pottie) writes:
>As a true dogcow fan , I'd like to know what the toolbox calls
>enable/disableDogCow() do? On which systems are they available ?

I think you'll find they're just aliases to the _Unimplemented trap,
so they'll do whatever that trap does(probably nothing interesting).
From the MPW Traps.h file:

#define _Unimplemented                 0xA89F
#define _InitDogCow                    0xA89F
#define _EnableDogCow                  0xA89F
#define _DisableDogCow                 0xA89F
#define _Moof                          0xA89F

(Incidentally, I couldn't find any of the DogCow traps in any of the
AIncludes files, a serious omission IMHO :-))

--
Tim Hammett, Botany Dept, Auckland University, New Zealand.
t.hammett@aukuni.ac.nz   Phone: +64-9-373-7599 x8365    FAX: +64-9-373-7416
Newsgroups: comp.sys.mac.programmer
From: koch@eis.cs.tu-bs.de (Andreas Koch)
Subject: Any further info on ComponentWorkshop?
Organization: TU Braunschweig,Informatik,EIS,West Germany
Date: Tue, 6 Oct 1992 14:04:53 GMT

Does anyone have any further information on ComponentWorkshop
(price, availability) that hasn't been mentioned in Frameworks
yet?

FYI: ComponentWorkshop seems to be an integrated C++ development
environment featuring an incremental compiler and a SmallTalk-like
work environment + libraries. However, applications can be ``extruded''
from the system, thus eliminating the overhead often associated with
SmallTalk.

Newsgroups: comp.sys.mac.programmer
From: jbm@panix.com (John Mignault)
Subject: If I have the old, do I need to buy the new Inside Mac?
Date: Wed, 30 Sep 1992 22:15:26 GMT
Organization: PANIX Public Access Unix, NYC
Keywords: Inside Mac

The subject line just about says it all. The bookstore where I work just
got three volumes of the new Inside Mac, and 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. I understand they're
probably pretty cool and slick and suchlike, but if I can afford not to buy
them ( at least right now ), I won't. Any opinions?

John Mignault
jbm@panix.com
From: cshotton@oac.hsc.uth.tmc.edu (Chuck Shotton)
Newsgroups: comp.sys.mac.programmer
Subject: ADSP CTB Tool
Date: 30 Sep 92 14:30:57 GMT
Followup-To: comp.sys.mac.programmer
Organization: Academic Computing

I have a few questions about Apple's ADSP connection tool for use with the
Comm Toolbox:

1) Is version 1.0 the latest version?

2) Is it possible to use this tool to connect 2 processes on the same Mac?
(Don't ask why, or suggest AppleEvents. It's for debugging purposes, and I
can't seem to make it work.)

3) Just what ARE the proper arguments to put into the configuration dialog
box? The notes I got with the Basic Connectivity disk are sketchy at best.
Can the tool use normal AppleTalk wild cards (i.e. "=") for specifying
acceptable incoming hosts when "listening?"

--_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
Chuck Shotton                      |    
Ass't Director, Academic Computing |       "This space for rent."
UT Health Science Center Houston   |  
cshotton@oac.hsc.uth.tmc.edu       |         
_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
From: rc05@gte.com (Ramesh Chandak)
Newsgroups: comp.sys.mac.programmer
Subject: Using GetText : how do I get a Str255 string ?
Date: 2 Oct 92 04:20:42 GMT
Organization: GTE Laboratories Incorporated, Waltham MA

A pointer to pointer to GetText returns a single character.  How do I
get the entire string and store it as type Str255 ?  I need to pass this type
to a function to be able to achieve the desired functionality.

Please email your responses to Ramesh at rc05@gte.com.  Thanx.

- Ramesh
Newsgroups: comp.sys.mac.programmer
From: mspace@netcom.com (Brian Hall)
Subject: Warning to CTB tool developers
Organization: Netcom - Online Communication Services  (408 241-9760 guest) 
Date: Mon, 5 Oct 1992 00:49:38 GMT

For FT Tool Makers:
Do not assume that the portRect of the window passed in to FTNew has 0,0 as its topLeft.  Some tools I have tested with an app I am working on have trouble positioning their status window when the topLeft is negative (ie, will place it partially offscreen, but place it fine when the topLeft is 0,0).

Also, some tools do not seem to take into account the owner windows position when positioning windows/alerts.

For all tool makers:
It is nice when a tool centers its alerts/windows. Especially ones you see often such as connection status windows.


-- 

 \ | /   | Brian Hall                 mspace@netcom.com
 - : -   | Mark/Space Softworks       Applelink: markspace
  /|\    |                            America Online: MarkSpace
 |-+-|   |
/-\|/-\  | The tornado ate my powerbook.
From: absurd@applelink.apple.com (Tim Dierks, software saboteur)
Newsgroups: comp.sys.mac.programmer
Subject: Re: Questions relating to direct-to-screen drawing
Date: 30 Sep 92 02:00:03 GMT
Followup-To: comp.sys.mac.programmer
Organization: MacDTS Marauders

In article <1992Sep29.120452.28513@hobbes.kzoo.edu>,
k044477@hobbes.kzoo.edu (Jamie R. McCarthy) wrote:
> dougm@cns.caltech.edu (Doug McNaught) writes:
> >
> >  A friend of mine is working on a program that draws directly to the
> >screen in a window, and he has some questions about StripAddress...
> >
> >His name is Alexei Lebedev and he can be reached at 
> >  70534.404@CompuServe.COM
[...]
> >4). I use screenbits.baseAddr to get screen memory's base address. Is this 
> >address 32 bit clean no matter what? (I guess it should be, since it doesn't 
> >point to a memory manager block.) Is this a base address of the main screen?
> 
> Is it 32-bit clean?  Probably, but why take a chance?  StripAddress is a
> very quick call.  Is it the baseAddr of the main screen?  Yes.

I meant to mention this in my previous post, but I forgot.  You should
_not_ strip the address of the main screen.  It will always, and
must always be a true 32-bit address.  Here's why:

In the 24-bit memory map, there is 1 Megabyte of space allocated to
each NuBus card at the locations xxs00000 - xxsFFFFF.  In the original
slot manager, with original color QuickDraw, this was big enough to
hold all screens.  (I can't remember ever seeing a screen with more
than 1024 x 1024 pixels before 32-bit QD).  However, if you go to 32-
bit deep, even a standard 640 x 480 screen will be too big; its RAM
won't fit into the 1 Mb space (640 x 480 x 4 bytes/pixel) = 1228800
bytes = 1.2 Mb.  That means that all deep screens must be located
in an area of the address map which is only accessible in 32-bit
mode.  For convenience, cards from some manufacturers are always
located in the 32-bit address space so they don't have to support
having RAM at two different addresses.

Given all that, let's assume that you've got a 32-bit screen whose 
base address is CC010000 (this is the base address of my 8o24 GC
card, in slot C).  Let's also say you've booted up into 24 bit mode.
If you switch into 32-bit mode and use this address, you'll be
just hunky-dory.  If you attempt to use StripAddress() however,
bad things will happen: the top byte of CC010000 will be masked
off, making it into 00010000, which is most definitely not your
screen buffer.  This means that the base address of any screen
GDevice's pixel map must be "pre-stripped" so it can be used as
a raw 32-bit address, because you can't strip it (or any other
pointer that might point into a NuBus card outside of the
minor slot space).

Tim Dierks
MacDTS, but I speak for the spleen.
Newsgroups: comp.sys.mac.programmer
From: alans@inthehat.engin.umich.edu (Alan Steremberg)
Subject: Student Mac Programmers
Date: Mon, 28 Sep 92 19:11:57 EDT
Organization: University of Michigan Engineering, Ann Arbor
Distribution: umich
Originator: alans@inthehat.engin.umich.edu


==========================
STUDENT MAC PROGRAMMERS
==========================

There will be a meeting on Wednesday Sept 30 
in the Chrysler building.  The room number
will be posted outside room 143.  

Student Mac Programmers is a student organization 
dedicated to learning about mac programming.  Our members
have various levels of knowledge about the macintosh.

This meeting we will discuss in-depth macsbug.

In addition, we will discuss ideas for the group project that
planning.  Currently, all we have decided is that it will be 
a color networkable game.

Bring a few dollars for pizza,

Hope to see you there.

Alan Steremberg
President
ps. if you would like more info please send me Email!
Newsgroups: comp.sys.mac.programmer
From: tree@kira.uvm.edu (Tom Emerson)
Subject: Re: Unloading Segments
Organization: University of Vermont, EMBA Computer Facility
Date: Mon, 28 Sep 1992 12:37:48 GMT

In article <1791@argentic.gts.org> sc@argentic.gts.org (Sterling Chipperfield) writes:

   I had a program set up so that each procedure was in a difference code
   segment.  After the main event loop, I had each segment "unloaded".  Why
   is it that some of the procedures worked fine, while others did not.  When 
   I removed the unloading portion of the program, everything seemed to run
   smoothly.  Any ideas? Does one have to check that the segment is loaded
   before calling the unload command or does the computer know not to unload
   a segment that is not already there?

Calling unload seg on an unloaded segment is effectively a nop; it doesn't
cause a problem. You can run into problems if a segment is unloaded and
purged, and then a function attempts to return to a function in a purged
segment: the return address is on the stack, and the return doesn't go through
the jump table and you shoot off into random data. Messy.

Tom
--
   Tom Emerson                                    Technical Support
   Language Products Group                     Symantec Corporation
			Internet: tree@uvm.edu
Newsgroups: comp.sys.mac.programmer
From: ccons@wuecl.wustl.edu (Christopher L. Conser)
Subject: IM online
Organization: Washington University, St. Louis MO
Date: Wed, 30 Sep 1992 16:26:47 GMT

We would like to get the most current version of Inside Macintosh online.
Would someone be so kind as to tell me what site these are at
(ftp.apple.com, I presume) and in what directory.
Thanks,
Chris
ccons@wuecl.wustl.edu
Newsgroups: comp.sys.mac.programmer
From: chrism@col.hp.com (Chris Magnuson)
Subject: Re: HELP: Where is gawk or awk (MPW)?
Date: Wed, 30 Sep 1992 02:39:20 GMT
Organization: HP Colorado Springs Division

 Got it!  Thanks.
From: dbassett@bonnie.ics.uci.edu (Douglas Scott Bassett)
Subject: Quickdraw region implementation
Newsgroups: comp.sys.mac.programmer
Reply-To: dbassett@ics.uci.edu (Douglas Scott Bassett)
Organization: Univ. of Calif., Irvine, Info. & Computer Sci. Dept.
Date: 28 Sep 92 22:19:16 GMT

Does anyone know exactly how Quickdraw regions are implemented on the MAC?


Newsgroups: comp.sys.mac.programmer
From: karlberg@e.kth.se (KRILLE_KROKODIL)
Subject: Changing 'STR#'s
Reply-To: karlberg@e.kth.se (KRILLE_KROKODIL)
Organization: KTH, Royal Institute of Technology, School of Electrical Engineering
Date: Thu, 1 Oct 1992 01:01:10 GMT

How do I change the contents of STR  and STR# recources from Think Pascal?

Martin

-------------------------------------------------------------------------------
                                    If you have a living frog for breakfast,   
                                    nothing worse can happen during the day.  
Newsgroups: comp.sys.mac.programmer
From: wjb@cscsun2.larc.nasa.gov (William J. Bene)
Subject:  Hex Editor
Reply-To: wjb@cscsun2.larc.nasa.gov (William J. Bene)
Organization: NASA Langley Research Center, Hampton, VA USA
Date: Wed, 30 Sep 1992 19:01:36 GMT

Does anyone know of a shareware hex editor?  Specifically, I am looking for 
an editor that will allow me to look and edit the data fork in hexidecimal.  
I know ResEdit works with the resource fork but does it have any extensions 
that will access the data fork?

Thanks,

Will

=====================================
William J. Bene
Computer Sciences Corporation
wjb@cscsun2.larc.nasa.gov
Newsgroups: comp.sys.mac.programmer
From: stud08@cc4.kuleuven.ac.be (Karl Pottie)
Distribution: world
Date: Monday, 28 Sep 1992 12:53:19 +01
Organization: K.U.Leuven - Academic Computing Center
Subject: Restart @interrupt time with VN

Hi,

I'm writing an init which reboots the mac after a system error. For this
purpose, I call the toolbox routine Restart() at interrupt time. This
works fine except when VM is running. When VM is running the mac simply
blanks its screen and locks up. I tried using DeferUserFN(), but it didn't
help.

How do I reboot (restart) a macintosh at interrupt time ? Any quick
and dirty methods ? Any clean method ?

Please respond to me directly

Karl