HDTenEightyP/NetNews huggingface dataset:
From: nerm@apple.com (Dean Yu)
Subject: Re: Problem with AddResMenu() on PowerBook 160, System 7.1
Date: Sun, 8 Nov 1992 00:02:31 GMT
Distribution: usa
Organization: Apple Computer, Inc.
Followup-To: comp.sys.mac.programmer

In article <1992Nov6.183503.13768@midway.uchicago.edu>,
chh9@quads.uchicago.edu (Conrad Halling) wrote:
> 
> I am adding the names of 81 resources to a menu in my program, using
> either AddResMenu() or InsertResMenu().  These routines sort the names
> before adding them to the list.
> 
> AddResMenu() and InsertResMenu() suddenly stopped working when I switched
> to a PowerBook 160 running System 7.1.  The names are partially but not 
> completely sorted.  I have experimented, reducing the number of resources 
> down to as low as 8, yet the names are still not sorted correctly.
> 
> This does not seem to be a problem with the sorts of resources most people
> use these routines for, 'DRVR' (now Apple menu items) and 'FONT'.  Of
> course, with these types of resources, the code must be very different
> since most Apple menu items are not really 'DRVR' resources and most
> fonts are not really 'FONT' resources.
> 
> I don't know if this is a bug with System 7.1 or in the PowerBook 160 ROMs
> since I don't (for the moment) have access to another Mac that is running
> System 7.1.
> 
> Can anyone verify this behavior?
> 

  Check your resource IDs.  The guts of AddResMenu and InsertResMenu were
re-written for 7.1 to be more "international friendly".  It sorts in
ranges, based on the script code.  (This is documented in IM 6, about which
fonts are associated with which script system.)  We just got a little
overzealous, and all resources wound up getting sorted this way instead of
just fonts.  Bug or feature, you make the call.

-- Dean Yu
   Blue Meanie, Negative Ethnic Role Model, etc.
   Apple Computer, Inc.
Newsgroups: comp.sys.mac.programmer
From: uowen@mitre.org (Ulysses D. Owen)
Subject: MPW SADE - how to step through multiple source files ?
Organization: The MITRE Corporation
Distribution: World
Date: Thu, 5 Nov 1992 13:26:09 GMT

Organization: The MITRE Corporation

My software team is currently constructing a software application in the 
MPW C environment. We have the source files, object files, include files 
and the actual compiled application all in different directories 
(folders). Subsequently when we try to use the SADE debugger to step 
through the code we get no source code window but instead receive assembly 
line instructions in the worksheet window. We have set the directory 
(using the directory command), the target (using the target command) and 
the source paths (using the sourcepath command) to all the directories 
containing code. We have linked this as an application and not as an MPW 
tool. We still get no source window to step through the code with, as we 
did receive with the 'c tutorial 1' example included with the SADE 
package. How do we do it ?

Any thoughts, ideas, or help would be appreciated !!

Ulysses Owen               (703) 883-5935
E Mail                     UOwen@mitre.org


Newsgroups: comp.sys.mac.programmer
From: menes@statistik.tu-muenchen.de (Rainer Menes)
Subject: Basic on a Mac Quadra 700
Keywords: Easy to use and well integrated in the mac enviroment
Originator: menes@suniams2.statistik.tu-muenchen.de
Organization: Technische Universitaet Muenchen, Germany
Date: Mon, 9 Nov 1992 14:15:56 GMT


Hey all,

I am now using a Mac for 2 years, and I am still missing a good Basic-Compiler for my Mac.
Before I moved to the Mac I had an Atari Mega ST 4 with Omikron-Basic interpreter and compiler
and was very satisfied with this enviroment. Now my question what Basic enviroments on the
market with interpreter + compiler will give me a Mac like programming language with
toolbox support (System 7.1, quicktime etc.)? The compiler + interpreter must support the Quadra
because that is my working maschine.

Please dont start a war if C, Pascal, Basic or what ever is the best programming language. I
personally do all my programming in work with C and Occam (a parallel programming language for
transputer and parallel-computers), but at home I love Basic for its type and play like 
programming.

If the are any demos around on the net plase give me a FTP-adresse for it. If there is interrest
in this special thing I will summerize the mail.

Thanks for your help

Rainer Menes

email: menes@statistik.tu-muenchen.de

P.S: Hope this is not FAQ.
From: pcastine@tubkom.prz.tu-berlin.de (Peter Castine)
Newsgroups: comp.sys.mac.programmer
Subject: Re: Keys to activate THINK Back?
Date: 12 Nov 92 16:27:41 GMT
Organization: TU-Berlin TUBKOM, Germany

In article <2!n1dvj@rpi.edu> simsh@marcus.its.rpi.edu (Chewbacca) writes:
>Hi, could anyone tell me the keys to activate THINK Back? I forgot what they
>are, and don't want to set the PREF resource so it comes on all the time.
>Thanks!
>

Hold down Shift when you choose Update or Compile. You can also command-shift
U and command-shift-K.


================================================================================
 Peter Castine                            |
 Technische Universitaet Berlin           |  "Errors and anachronisms ought to
 Sekretariat H51                          |   be few. If they do occur, I take
 Fachgebiet Kommunikationswissenschaften  |   full responsibility like Richard
 Strasse des 17. Juni 135                 |   Nixon..."
 W-1000 Berlin 12                         |                     -- Gore Vidal
 Germany                                  | 
================================================================================

-- 
================================================================================
 Peter Castine                            |
 Technische Universitaet Berlin           |  "Errors and anachronisms ought to
 Sekretariat H51                          |   be few. If they do occur, I take
From: matti@my.sm.luth.se (Matti Larborn)
Newsgroups: comp.sys.mac.programmer
Subject: Great Works 2.0 - was: THINK Assembler PLEASE!?!?!
Date: 13 Nov 92 16:47:53 GMT
Organization: Lule} University
X-UserAgent: Nuntius v1.1.1d11
X-XXMessage-ID: <A7299AC7A001037B@sm-emac15.sm.luth.se>
X-XXDate: Fri, 13 Nov 92 16:47:51 GMT

In article <1992Nov10.134104.187@physc1.byu.edu> , seth@physc1.byu.edu
writes:
>...to buy MPW just to get a decent assembler. Does anyone know of a
cool, 32-bit
>clean, system 7 savvy assembler from ANYONE besides Consulair and MPW?
Too bad
>Symantec doesn't have one. They make such nice products, I am sure
they...

Yes! They make Great products! One of them is Great Works 2.0. I have
tried
the demo version of this program and have encountered some bugs, all
when printing documents. The rounded edged boxes in the drawings doesn't
print with shades. I mean that such an object with shade prints without
the
shade on a StyleWriter. A large (whole page) box of this kind makes my
system
work several minutes with the file and then quit because the harddisk
became full (the file was more than 13 Mb).

The first document I ever tried to print made Great Works crash!

This was the demo version 2.0.1. Now I wonder (since this is a Great
Program and
I mean it!) when Symantec is coming out with a bug fix to Great Works?

	--Matti Larborn, Sweden
From: peirce@outpost.SF-Bay.org (Michael Peirce)
Newsgroups: comp.sys.mac.programmer
Subject: Re: PhotoCD Woes?
Date: 11 Nov 92 18:27:32 GMT
Reply-To: peirce@outpost.SF-Bay.org (Michael Peirce)
Organization: Peirce Software
X-Mailer: uAccess - Macintosh Release: 1.6v1


In article <kaufman.721362647@Xenon.Stanford.EDU> (comp.sys.mac.programmer), kaufman@Xenon.Stanford.EDU (Marc T. Kaufman) writes:
> us277614@mmm.serc.3m.com (Dave T. Berquist) writes:
> 
> >The 4.0 drivers are also available on AppleLink.  I believe (and this is
> >from memory) that they are somewhere in the Apple Software Updates
> >folder.
> 
> I downloaded the driver from ftp.apple.com -- it works just fine with
> PhotoCD and my CD-SC (Sony 8001).  I thought about downloading from
> Applelink, but it is 400K and I have NEVER had a large download work
> with Applelink.  Internet is more better if you got it. :-)
> 
> For the benefit of others not so fortunate, I hope Apple puts the driver
> on a Developer CD.

They put it on the "QuickTime 1.5 for Developers" CD-ROM.  This was
sent out to folks who beta tested QT 1.5.  I'm not sure how others
can get it, it expect you;ll be able to get it through APDA.

This CD-ROM also contains a number of new movies in the new Compact
Video format.  It's really a big improvement over what 1.0 could do.
It's nice to see bigger movies playing well off of (my old Apple) CD-ROM
drive!

I guess I'll have to run down to the local photo shop and get a Photo-CD
made up to try this out with my old Apple Drive.  Cool...

--  Michael Peirce      --   peirce@outpost.SF-Bay.org
--  Peirce Software     --   Suite 301, 719 Hibiscus Place
--                      --   San Jose, California USA 95117
--  Makers of...        --   voice: (408) 244-6554 fax: (408) 244-6882
--            SMOOTHIE  --   AppleLink: peirce & America Online: AFC Peirce
Newsgroups: comp.sys.mac.programmer
From: k044477@hobbes.kzoo.edu (Jamie R. McCarthy)
Subject: The Forgetful Finder
Organization: Kalamazoo College
Date: Thu, 5 Nov 1992 17:41:08 GMT

I'm looking for a technical explanation of this from anyone in the know.
No reason, I'm just curious.  I'm running 7.0.1.

Every once in a while, when you restart, the Finder will forget some
information about one or more windows.  Sometimes they're open windows,
sometimes not.  It remembers icon placements, but not the View-By,
window size, or window location.  I've never noticed any pattern to it.

What's the scoop?
-- 
 Jamie McCarthy      Internet: k044477@kzoo.edu      AppleLink: j.mccarthy
 I suppose ya don't think I was run over by a streetcar!
From: seth@physc1.byu.edu
Newsgroups: comp.sys.mac.programmer
Subject: THINK Assembler PLEASE!?!?!
Date: 10 Nov 92 06:41:04 GMT
Article-I.D.: physc1.1992Nov10.134104.187
Distribution: world
Organization: Brigham Young University

Hi. Yet another person loking for a DECENT assembler for the Mac. I own the 
Consulair assembler, but it is very archaic, and I am tired of having to 
reconfigure my system every time I want to use it. I also do not want to have
to buy MPW just to get a decent assembler. Does anyone know of a cool, 32-bit
clean, system 7 savvy assembler from ANYONE besides Consulair and MPW? Too bad
Symantec doesn't have one. They make such nice products, I am sure they would
have a great assembler. (anyone from symantec reading?) Since they have the
ability to include inline assembly in their THINK C compiler, one would think
that it would not be terribly difficult for them to make the THINK Assembler.
Hey, what a great idea! (again, anyone from Symantec reading?!?)
Seth Leigh
BYU Physics Dept.
"Fools mock, but they shall mourn..." (Ether 12:26)
From: time@ice.com (Tim Endres)
Newsgroups: comp.sys.mac.programmer
Subject: Re: How do you make a master disk?
Date: Wed, 11 Nov 92 21:27:36 EST
Organization: ICE Engineering, Inc.
Reply-To: time@ice.com (Tim Endres)
X-Mailer: uAccess - Macintosh Release: 1.6v2


In article <1992Nov11.161005.23758@kth.se> (comp.sys.mac.programmer), petrus@stacken.kth.se (Lars Petrus) writes:
>    Some software products are sold on disks that can not be copied - or so
> I'm told. This means that you can have an installer program on that disk,
> and only allow a limited number of installations from that disk.
> 
>    But I can not see any way that this can be accomplished. If you copy a disk
> you copy every byte of is, and thats that.
> 
>    Any ideas?

One way this is done is to use a special disk drive to write the disk
and write data at a higher rate than the typical Macintosh can write
it. However, the typical Mac drive is capable of reading this faster
written data. Thus, you can read it all day long, but you need the
special drive to write it.

I do not know if this is still done or not.


tim endres - time@ice.com

Register your company in the Internet Business Pages!
 ...send email to "ibp-info@msen.com" for details...

USENET - a slow moving self parody... ph
Newsgroups: comp.sys.mac.programmer
From: d91ms@efd.lth.se (Magnus Strand)
Subject: PolyRgn?
Organization: Lund Institute of Technology, Sweden
Date: Fri, 13 Nov 1992 13:40:29 GMT

According to IM I (page 191) you can convert a polygon into a region,
but I can't find any documentation on how to do it. Does anyone know
if this is possible?

Thanks in advance.


Magnus Strand
E-mail: d91ms@efd.lth.se



Newsgroups: comp.sys.mac.programmer
From: aep@world.std.com (Andrew E Page)
Subject: Re: xxx to Postscript
Organization: The World Public Access UNIX, Brookline, MA
Date: Wed, 11 Nov 1992 13:36:27 GMT


Trick #1

    You can use the Sys 7 "LaserWriter" package under sys 6.  I've
done this.  I was working in an environment where there was a good
deal of "Sys 7 Paranoia", but the LW would have to reinitialize after
someone printed with a different version.  

Trick #2

    This takes some quick handles.  As soon as you hit the "Print"
button, do a <cmd>-<shift>-F.  Then it will start generating the
PS file for you.  Caution...   There is a difference between
using f and F.  One gets you the Apple dict included with the
print job (esstentially the contents of the LaserWriter Prep
file).  If you are intent on taking this PostScript file to 
anther system you should make sure that the dictionary is in there.

-- 
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.
From: jxs18@po.CWRU.Edu (Jerry Sy)
Newsgroups: comp.sys.mac.programmer
Subject: need Get folder dialog sample code
Date: 12 Nov 1992 11:53:14 GMT
Organization: Case Western Reserve University, Cleveland, OH (USA)
Reply-To: jxs18@po.CWRU.Edu (Jerry Sy)
NNTP-Posting-Host: hela.ins.cwru.edu


How do I convert the StandardGetFile dialog to allow the user to
choose a Folder (and return the FSSpec of the folder) with the 
ability to create a new folder if desired .

any help is appreciated.

thanks

jerry

Newsgroups: comp.sys.mac.programmer
From: Juha Pirttil <juha@skynet.oulu.fi>
Subject: Changing the sampling frequency of the Apple Sound Input Driver ???
X-Xxdate: Fri, 13 Nov 92 13:38:41 GMT
Organization: Department of Physics, University of Oulu
X-Useragent: Nuntius v1.1.1d12
Date: Fri, 13 Nov 1992 13:49:32 GMT

We are going to use the built in sound input system of the Mac to
sample difference Doppler signals from navigational satellites. The
built in sound input system seems to be OK for the job. However there
is a slight problem. You can not change the sample rate from 22 kHz.
This frequency is unnecessarily high for us and produces too large
files (>20 MB).

Is there an easy way to change the sample rate to 5 kHz? Or could
someone at Apple make me a special version of the driver which 
samples the data at 5 kHz. I have already looked at the driver and
it seems to me that the modification is not impossible (but it is
very difficult without the sourve code). 

I think that if the sample rate of the built in sound input would
be adjustable, the Mac would be a most elegant data collecting
environment in many scientific applications.

 ********************************************************************
 *                     J u h a   P i r t t i l {                    *
 *                                                                  *
 *      juha@skynet.oulu.fi            addr. Yliopistokatu 38/521   *
 *      tel: 358-81-361661                   90570 Oulu             *
 *                                           Finland                *
 *      Macintosh Programmer                                        * 
 ********************************************************************
From: waldemar@toast.ai.mit.edu (Waldemar Horwat)
Newsgroups: comp.sys.mac.programmer
Subject: MacHack '93 Call for Papers
Date: 10 Nov 1992 22:48:41 GMT
Organization: MIT Artificial Intelligence Lab
Distribution: world
NNTP-Posting-Host: toast.ai.mit.edu
Keywords: MacHack conference


                                Call for Papers

               Technical Conference for Macintosh Developers '93
                              June 16 - 19, 1993
                              Ann Arbor, Michigan


The MacHack '93 Proceedings Committee is soliciting papers for the eighth
annual Technical Conference for Macintosh Developers (MacHack '93).  The
conference is a technical forum on the Macintosh computer and personal
computing in general and includes programming, networking, operating system,
tools, novice, business, and research tracks.

Possible topics include, but are not limited to:

  Direction of Personal Computing
  Object-Oriented Programming
  Parallel Processing
  Intelligent Applications
  OCE
  Networking
  Databases
  Graphics and Multimedia
  User Interface Research
  Computers in Education

  Newton and other PDAs
  RISC computing
  A/UX
  OS/2 and Microsoft Windows
  Macintosh Hardware and Cards
  International Programming
  Programming Languages and Tools

  Case studies
  Project Development
  Software Maintenance and Reliability
  Starting a Computer Business
  Changing Computer Marketplace
  Legal Aspects of Computing

  Useful Programming Techniques


Paper presenters will receive free conference registrations and special
recognition.  Conference attendance is limited to 300 (and is expected to sell
out).

Please submit short abstracts (one page or less) by February 1, 1993.  Papers
are due by May 3, 1993.


                        For more information contact:

                          Waldemar Horwat, Proceedings Chairman or
                          Aimee Moran, Expotech:

                        Expotech, Inc.
                        1264 Bedford Rd.
                        Grosse Pointe Park, MI 48230
                        313-882-1824

                        Internet: waldemar@ai.mit.edu,
                                  expotech@aol.com
                        CIS: 72000,400
                        AppleLink, GEnie or MacNet: EXPOTECH
From: andyc@ai.mit.edu (Andrew D. Christian)
Newsgroups: comp.sys.mac.programmer
Subject: Re: Powerbook track ball buttons (click and hold)
Date: 6 Nov 92 12:31:53
Organization: MIT Artificial Intelligence Laboratory
NNTP-Posting-Host: cocoa-puffs.ai.mit.edu
In-reply-to: cklarson@flauta.engr.ucdavis.edu's message of 5 Nov 92 20:56:19 GMT


In article <18921@ucdavis.ucdavis.edu> cklarson@flauta.engr.ucdavis.edu (Christopher Klaus Larson) writes:

   I don't know about the new PB's (160,180,210,230) but in the older
   models the two buttons were physically wired together so there is *no*
   way to tell them apart from inside the machine.

At a talk the other week, David Levy (who designed the trackball for
the Duos) mentioned that the buttons on the PB 210 & 230 are in fact
electrically separate, but the driver software currently doesn't
discriminate between them.

		Andrew Christian
		andyc@ai.mit.edu

--


         - Andy
Newsgroups: comp.sys.mac.programmer
From: jcohen@wam.umd.edu (Justin Robert Cohen)
Subject: IM in printable formats???
Organization: University of Maryland, College Park
Date: Thu, 12 Nov 1992 23:05:41 GMT

Hi, I'm sure this is a FAQ but does anyone know if the text of Inside Macintosh
is available in easily printable form?  That is, I've seen it as Hypercard 
stacks on ftp.apple.com, but I'd like to easily print parts of it so a format
such as MacWrite, text, or (as if) PostScript would be nice.

Thanks for any suggestions.

Justin Cohen           jcohen@umdhep.umd.edu
University of MD
Physics Dept.
From: peirce@outpost.SF-Bay.org (Michael Peirce)
Newsgroups: comp.sys.mac.programmer
Subject: Re: How to tell screen depth?
Date: 13 Nov 92 23:56:02 GMT
Reply-To: peirce@outpost.SF-Bay.org (Michael Peirce)
Organization: Peirce Software
X-Mailer: uAccess - Macintosh Release: 1.6v1


In article <BxM74p.JzH@news.iastate.edu> (comp.sys.mac.programmer), niko@iastate.edu (Nikolaus E Schuessler) writes:
> In article <jvp.721588860@cpre1.ee.iastate.edu> jvp@vlsi2.ee.iastate.edu (Jim Van Peursem) writes:
> >  How do I tell the screen depth of the monitor that one of my window's is
> >in?  I don't want to know if the computer has color quickdraw.  I want to
> >know whether to draw the window in color or not based on the pixel depth
> >of the screen.  Can anyone point me in the right direction please?
> >
> 
> You will wan't to use some combination of GetMaxDevice (or GetDevice on
> something you know to be on the screen you're interested in). I forget exactly
> what all the parameters are, but it returns a bitmap or window which
> has a '.pixelDepth' field... if it is greater than 1 then color!
> 
> Inside Mac V should have the details... Look under 'GetMaxDevice' ...

Also check into DeviceLoop().  It lets your code work when the window
straddles more than one window.  It's fairly straightforward to use.

--  Michael Peirce      --   peirce@outpost.SF-Bay.org
--  Peirce Software     --   Suite 301, 719 Hibiscus Place
--                      --   San Jose, California USA 95117
--  Makers of...        --   voice: (408) 244-6554 fax: (408) 244-6882
--            SMOOTHIE  --   AppleLink: peirce & America Online: AFC Peirce
Newsgroups: comp.sys.mac.programmer
From: zobkiw@world.std.com (Joe Zobkiw)
Subject: CopyBits & Color Mapping
Organization: The World Public Access UNIX, Brookline, MA
Date: Wed, 11 Nov 1992 12:13:50 GMT

CopyBits and Color Mapping

I've created a 'ppat' resource using ResEdit with the standard 256
color palette. It is 16x16 pixels in size and contains one solid
color (rgb = 0xbbbb,0x0000,0x0000). When ResEdit saves the ppat
resource it includes only one entry in it's color table (the
correct entry), sets it's pixelSize field to 1 since the  pixMap
data can be represented in 1 bit per pixel. The data is  all 0's
and the 0th entry in the color table is the correct rgb value for
the red mentioned above. This is logical.

I create an offscreen PixMap (using code from a tech note) that
definitely works. The offscreen is created at 8 bits deep using the
color table of the main device which (I assume) is the same
standard 256 colors I used in ResEdit when in 8 bit color.

I pull some code antics to make a PixMap out of the ppat resource
after getting it from a resource via GetPixPat(). For all intents
and purposes I have a PixMap that is 100% valid for the mentioned
ppat.

The Problem:
When I CopyBits from the ppat pixMap to the new 8 bit offscreen
pixMap, it SEEMS that CopyBits sees that pixelSize = 1 and
therefore ignores  the color table associated with it. It then
seems to see that since the pixMap data is all 0's it must be white
and hence maps it to white in the destination 8 bit pixMap (entry 0
in the destination color table). This is WRONG from what I WANT
and EXPECT to happen! I expect that CopyBits will see that the ONE
entry in the ppat is RED and will map it accordingly.

I've tried changing the foreground color and background color to
the red in the ppat color table before CopyBits-ing and it has no
effect.  Why is CopyBits not looking at the color table? This
sounds like a  bug, is it documented? If the color table is there,
it should be taken into account.

NOTE: If I use enough colors (more than 2) in the ppat to force
pixelSize to be > 1 then everything works fine. This is what leads
me to believe that CopyBits ignores the color table when pixelSize
= 1.

FillCRect works fine, but it will be more of a pain for me to use
this since I am parsing the ppat resources and donUt neccesarily
want them aligned and whole in the destination. I also do not have
a port to go with these offscreen pixMaps and do not want to create
one.

Ideas? Confirmations? Flames? ;)

Thanks in advance.


-- 
-------------------------------------------------------------
joe zobkiw         zobkiw@world.std.com        aol: aflzobkiw

macintosh.midi.synthesis.c.oop.asm.communications.graphics...
Newsgroups: comp.sys.mac.programmer