HDTenEightyP/NetNews huggingface dataset:
From: ngse18@castle.ed.ac.uk (J R Evans)
Newsgroups: comp.sys.mac.programmer
Subject: Re: TopSoft contacts
Date: 2 Jan 93 10:19:07 GMT
Organization: Edinburgh University

jimlynch@netcom.com (Jim Lynch) writes:

>Meetings, oh yes, there is a weekly (quite regular) meeting of TopSoft
>folks via the internet on Wednesday nights. It currently is starting at
>6:00 PM PST, which wraps around to 10am Thursday in Perth, where Peter
>Lewis hosts the meeting. Telnet to Peter's Chat Line (134.7.122.51 1420).

And wraps to 0300 CET (0200 UT), if I've got my time zones right.  Pity, 
but it rather looks as if only the most dedicated Jolt drinkers are
likely to join from Europe!

Russ
From: robohen@ocf.berkeley.edu (Henry Robertson)
Newsgroups: comp.sys.mac.programmer
Subject: Short Question
Date: 1 Jan 1993 01:00:57 GMT
Organization: U.C. Berkeley Open Computing Facility
NNTP-Posting-Host: tsunami.berkeley.edu

I am learning how to use Think C.  I bought a book, "Programming Quickdraw"
yesterday, and they assume you have Inside Macintosh already.  I can follow\
along what Quickdraw is saying, but the one question is, what do I have
to #include at the beginning in order to use quickdraw commands?

Thanks.
From: junz@coos.dartmouth.edu (Jun Zhang)
Newsgroups: comp.sys.mac.programmer
Subject: Background Sound Recording
Summary: Background sound recording
Keywords: Asynchrous, sound manager
Date: 28 Dec 92 19:53:12 GMT
Organization: Dartmouth College, Hanover, NH

I am trying to write a small application in which the cursor position
is located every 20 ms while sound is recorded in the background.

I would like my application to run on most of the Macs.  So, the
solution is to use external sound recorder on Macs such as IIci, 
or to use built in sound recorder on Macs such as IIsi.

I have not found any example code around on background sound 
recording.  Could anyone give me some ideas?  Working source code
would be greatly appreciated.  (I would like to know on what kind 
of machine your code actually works.)

A related question is that if I am going to use hardware from
Articulate Systems, Inc., does the sound manager also work in the same
way as it does with MacRecorder?

Jun Zhang
junz@coos.dartmouth.edu
From: mlake@irscscm.UUCP (Marshall Lake)
Newsgroups: comp.sys.mac.programmer
Subject: Business Opportunity
Date: 28 Dec 92 13:35:21 GMT
Reply-To: mlake@irscscm.UUCP (Marshall Lake)
Distribution: usa
Organization: Internal Revenue Service, Washington, DC


We at TEAM Software are considering putting together a catalogue of
computer software for the end user.  This software could be any type
(entertainment, utility, educational, etc.) and run on any platform
(PC, Amiga, Macintosh, Atari, NeXT, UNIX, etc.).  The software would be
inexpensive to the end user (we envision $5 to $15).  It would be kept
inexpensive by not including any type of packaging and providing the
documentation as a disk file.  We would not necessarily exclude higher
priced software, however.

For this approach to work we feel we would need to offer a lot of
product in the catalogue.  We have access to extensive mailing lists for
various platforms.  The programmer would retain all rights to the
software and there would be a contract between the programmer and TEAM
Software.  We expect the programmer to make a royalty of 10% to 15% of
our gross.

Do you know anyone who might be interested in providing software for
something like this?


Marshall Lake
TEAM Software
POB 7332
Washington, DC  20044-7332
tel 703-533-2132
fax 703-538-4598
uucp ...!uunet!{media,mimsy!bogart}!irscscm!mlake
Internet mlake@irscscm.UUCP
CIS 73717,3174
GEnie MLAKE

-- 
Marshall Lake
...!uunet!{media,mimsy!bogart}!irscscm!mlake
mlake@irscscm.UUCP
Newsgroups: comp.sys.mac.programmer
From: plau@qucis.queensu.ca (Peter S. Lau)
Subject: Re: C++
Organization: Computing and Information Science, Queen's University at Kingston
Date: Tue, 22 Dec 1992 21:29:57 GMT

In article <1992Dec19.191524.368345@magicbb.uucp> sharkman@magicbb.uucp (Matt Daw) writes:

>You can buy MPW C++ from APDA or there's also Zortech C++. Go for MPW if you
>have the money because it supports MacApp, Zortech doesn't.

Even you don't have the $$$, don't even bother with Zortech C++
on the Mac because it doesn't work!

pete
Newsgroups: comp.sys.mac.programmer
From: nagle@netcom.com (John Nagle)
Subject: Re: Business Opportunity
Organization: Netcom - Online Communication Services  (408 241-9760 guest) 
Distribution: usa
Date: Tue, 29 Dec 1992 18:25:28 GMT

mlake@irscscm.UUCP (Marshall Lake) writes (twice):
>We at TEAM Software are considering putting together a catalogue of
>computer software for the end user.  This software could be any type
>(entertainment, utility, educational, etc.) and run on any platform
>(PC, Amiga, Macintosh, Atari, NeXT, UNIX, etc.).  The software would be
>inexpensive to the end user (we envision $5 to $15).  It would be kept
>inexpensive by not including any type of packaging and providing the
>documentation as a disk file.  We would not necessarily exclude higher
>priced software, however.

       Two companies already do this.  One is EDUCORP, which is oriented
towards CD-ROMs, but also sells low-priced software on disks.  The other
is some outfit which puts big racks of disks in places like electronics
surplus stores.  Their product can be seen at Wierd Stuff Warehouse in 
Sunnyvale CA.

       Educorp is probably the one to emulate.  They publish a catalog,
bound as a paperback book.  Educorp sells software at a flat rate of $6.99
per disk (1990 price).  There are other deals ("Software Mystery Grab
Bag, $0.99/disk"), but the flat rate is the basic idea.  Educorp was
Mac-oriented in 1990, but things may have changed.  They offered
542 disks in 1990, and for $1,349.58, you could buy all of them.
Or for $199, the whole thing on CD-ROM.

       The offer they make to developers is that if you submit a disk, and 
they accept it, they send you 1 to 5 disks of other software back.  Thrill.

					John Nagle
From: ksand@apple.com (Kent Sandvik )
Newsgroups: comp.sys.mac.programmer
Subject: Re: ETO#9 MacApp won't build - C - Fatal Error : 407
Date: 31 Dec 92 23:35:27 GMT
Followup-To: comp.sys.mac.programmer
Organization: (Evil Eye Creature from Mars, Inc.)

In article <1992Dec31.014659.8917@reed.edu>, bowman@reed.edu (BoBolicious)
wrote:
> I meant, "buildprogram -e", not "cplus -e".

OK, -e will make sure that buildprogram will completely rebuild the
program, independently of dependencies.

> I could swear buildprogram -e worked...but at the moment I'm working on
> some non-MacApp stuff and don't have the drive space or patience to test it
> out, but I'm pretty damn sure I *never* threw out any dump files, but just
> threw the -e in there and everything worked ok.  As long as the necessary
> make rules for the load files are in there somewhere, this should work.

I guess you had a load/dump dependency in your makefile, that was
triggered by the -e flag, so you got fresh new dump files. In the case
of MacApp there's no such flag, so people should be careful when they
switch compiler versions and MacApp versions.

Kent
-------------------
Kent Sandvik (UUCP: ....!apple!ksand; INTERNET: ksand@apple.com)
DISCLAIMER: Private activities on the Net.		
"Don't just do something!  Stand there!"  -- Mystery Science Theater 3000
From: dsb@osustat.mps.ohio-state.edu (David S. Blumenthal)
Newsgroups: comp.sys.mac.programmer
Subject: Help using KMAP/KCHR from on-screen keyboard
Date: 30 Dec 1992 22:10:22 GMT
Organization: OSU Statistical Computing Laboratory
Distribution: world
NNTP-Posting-Host: osustat.mps.ohio-state.edu

The saga of the virtual keyboard continues...

Does anyone have the formats for KMAP, KCHR, and KCOD resources?  In my on-
screen virtual keyboard, I need a quick and flexible way to translate mouse
clicks into key down and key up events.  Currently, I translate the mouse
position into a box number, to serve as a raw key code.  I need to use a
KMAP resource to translate that into a virtual key code that will be passed
to the system's KCHR resource for translation into ASCII.

Questions:

1)  What is the format of the KMAP resource, are there any ResEdit editors for
    them, and where can I find the standard virtual key codes that an American
    keyboard emulator should produce for each desired key?

2)  What is the best way to translate virtual key codes into ASCII?  Can I use
    KeyTrans, or should I deal directly with the system's KCHR?  Is KeyTrans
    available on System 4.1 on a Plus?  How do I deal with dead keys?

3)  Once I have the correct virtual key code and ASCII value, how do I post
    the appropriate key event?  Will PostEvent do what I want, or do I need
    something more modern or lower level to get the control I need?

4)  How do I make the system ask me what modifier keys are down, not just for
    posted events, but for anything that checks?


I would really like my keyboard to take over all the functionality of an
external keyboard, to the extent that a general purpose application will not
be able to tell the difference (obviously anything that deals with ADB will
notice something wrong :-).

Thanks for all the help.  Slowly but surely this thing is taking shape.

-Dave Blumenthal

-----------------------------------------------------------------------
| Dave Blumenthal                  | The Ohio State University        |
| dsb@osustat.mps.ohio-state.edu   | Statistical Computing Laboratory |
------ There is a fine difference between insight and insanity. -------
From: jdsmc@chevron.com (David McCormick)
Newsgroups: comp.sys.mac.programmer
Subject: Help: TC 5.0.4 project keeps getting corrupted
Date: 23 Dec 92 17:59:10 GMT
Followup-To: comp.sys.mac.programmer
Organization: Chevron Petroleum Technology Co.

Dear Netters:

I have been using Think C 5.0.4 and debugger 5.0.3 and my projects keep
getting
corrupted on the second make or compile. I am running Sys 7.0.1 Tuneup
1.1.1
on a IIsi with a bunch of INITs. I have CMaster 1.0.9 for the editor.
Has anyone had any flakey behavior with any INITs or these system params?
Any help greatly appreciated.

David McCormick
Chevron Petroleum Technology Co.
La Habra, CA
jdsmc@chevron.com
Newsgroups: comp.sys.mac.programmer
From: koehn@vms.macc.wisc.edu
Subject: Re: TCL: Did I Cheat, or What?
Organization:  University of Wisconsin Academic Computing Center
Date: 30 DEC 92 16:22:47    

In article <1992Dec30.171952.16320@fsl.noaa.gov>, urban@yoda.fsl.noaa.gov (Art Urban) writes...

>Last night I thought it would be great if I could write a CMouseTask
>subclass which drags visual entities around in a window. Fine. I created a
>subclass of CPane and in it invoked my CDragOutlineTask in a TrackMouse()
>call. Much to my surprize this "nearly" worked. The problem I had was that
>the click in CMyPane was invoking the Prepare() method which sets up a
>clipRgn equal to CMyPane's aperture. Ergo, my DragGrayRgn() call was
>getting clipped to CMyPane's bounding rectangle...not exactly what I was
>hoping for.
> 
>So, I began to look for a method (inherited or otherwise) which would allow
>me to redefine the clipRgn. I found none, so I passed a Prepare() message
>to CMyPane's enclosure which conveniantly was theMainPane. This did the
>trick. My gray region now is visible and clipped within the window. The
>question is however, did I cheat? Was there a better way to achieve my
>desired result?
>Art Urban 					        urban@yoda.fsl.noaa.gov

I recently wrote a similar routine, and came up with the same results, and even 
the same quasi-guilty feelings of "Should I be doing this in some other way?", 
but I couldn't find anything that was viable.

One possibility that occurs to me in retrospect, however, is that the code to 
drage the CPane around could be handled by the enclosing pane. Ergo you would 
have some code in your pane's DoClick routine that called 
itsEnclosure->DragPane(this) or some other custom-written code. That code would 
set up a MouseTask, and the DoTracking() method would call 
itsPane->DrawGreyBorder() (again, your code, not TCL) to move it around.

This seems like a very ugly, round-about way of doing this, however, it has some 
advantages. The enclosing Pane knows if it's a Panorama, for instance, and would 
be able to call AutoScroll() when necessary.

Hope this helps,
Brad Koehn
koehn@macc.wisc.edu
Newsgroups: comp.sys.mac.programmer
From: cpage@adobe.com (Chris Page)
Subject: Re: Word to RTF Info
Followup-To: comp.sys.mac.programmer
Organization: Adobe Systems, Inc.
Distribution: usa
Date: Tue, 22 Dec 1992 03:25:36 GMT

In article <1h1qatINNhl1@terminator.rs.itd.umich.edu>,
roger@oit.itd.umich.edu (Roger Espinosa) wrote:
> 
> Apologies if this is old news, but I was hoping someone could give me
> a quick pointer to documentation as to the Word 5.0 file format.

Call Microsoft in Redmond, Washington and ask them for the Word 5.0 file
format
documentation. At my last job I wrote word processor file translators all
day
and every company that produced a word processor was willing to give us
documentation on their file formats. You can get the RTF documentation from
them also.

You may end up having to talk to the product manager of a given
application.
In the case of Word, there are different managers for different platforms.
Be
sure to ask for the Word for Macintosh product manager if you are directed
to
a manager.

Chris Page
Adobe Systems, Inc.
cpage@mv.us.adobe.com

Disclaimer: these are my own opinions and not necessarily those of my
employer.
This is the Minimalist(tm) .sig, not to be confused with the Null(tm) .sig.
From: speth@cats.ucsc.edu (James Gustave)
Newsgroups: comp.sys.mac.programmer
Subject: Source code for Mac->MacBinary available?
Date: 4 Jan 93 03:42:14 GMT
Organization: University of California; Santa Cruz
NNTP-Posting-Host: am.ucsc.edu


  Can someone tell me where to get some C source code for converting mac files
to and from the newest MacBinary format?
  I've read the specifications in the file macbinary-II-standard.txt from
ftp.apple.com, but I don't want to re-invent the wheel and write the routines
myself.  Thanks a lot.

-- 
________________________________________________________________________________
james speth          finger for pgp 2.0 public-key           speth@cats.ucsc.edu
Newsgroups: comp.sys.mac.programmer
From: rmah@panix.com (Robert Mah)
Subject: Forcing clipboard conversion
Date: Wed, 30 Dec 1992 21:14:14 GMT
Organization: PANIX Public Access Unix, NYC

Anyone have any suggestions on how to force applications to convert their 
private scrap to public scrap?  

Multifinder/System7 does this by setting the convertClipboard flag when
applications get suspend/resume events, but I have a background-only app
and they don't get major context switches (and thus no suspend/resumes).

BTW, I don't mind writing an INIT or something -- anything to get the job
done!

Cheers,
Rob
-- 
[--------------------------------------------------]
[  Robert S. Mah   |  "Every day an adventure,     ]
[  rmah@panix.com  |   every moment a challenge."  ]
[--------------------------------------------------]
From: mkelly@mystix.cs.uoregon.edu (Michael A. Kelly)
Newsgroups: comp.sys.mac.programmer
Subject: C.S.M.P. Digest V1 #227 Available
Date: 25 Dec 92 12:07:39 GMT
Article-I.D.: cs.1992Dec25.120739.16478
Followup-To: poster
Organization: University of Oregon Computer and Information Sciences Dept.


C.S.M.P. Digest             Fri, 25 Dec 92       Volume 1 : Issue 227

Today's Topics:

	Claris Apple Events
	64-bit multiply and divide on 68000
	Time Manager Sample Code...
	How to call FORTRAN subroutines from Excel (Summary)
	best way to pause in app ?
	Simulating odoc event from THINK Pascal?
	Whip me, beat me, what to do with DISCIPLINE?



The Comp.Sys.Mac.Programmer Digest is moderated by Michael A. Kelly.

The digest is a collection of article threads from the internet newsgroup
comp.sys.mac.programmer.  It is designed for people who read c.s.m.p. semi-
regularly and want an archive of the discussions.  If you don't know what a
newsgroup is, you probably don't have access to it.  Ask your systems
administrator(s) for details.  If you don't have access to news, there is
no way that I know of for you to post articles to the group.

Each issue of the digest contains one or more sets of articles (called
threads), with each set corresponding to a 'discussion' of a particular
subject.  The articles are not edited; all articles included in this digest
are in their original posted form (as received by our news server at
cs.uoregon.edu).  Article threads are not added to the digest until the last
article added to the thread is at least one month old (this is to ensure that
the thread is dead before adding it to the digest).  Article threads that
consist of only one message are generally not included in the digest.

The entire digest is available for anonymous ftp from ftp.cs.uoregon.edu
[128.223.8.8] in the directory /pub/mac/csmp-digest.  Be sure to read the
file /pub/mac/csmp-digest/README before downloading any files.  The most
recent issues are available from sumex-aim.stanford.edu [36.44.0.6] in the
directory /info-mac/digest/csmp.  If you don't have ftp capability, the sumex
archive has a mail server; send a message with the text '$MACarch help' (no
quotes) to LISTSERV@ricevm1.rice.edu for more information.

The digest is also available via email.  Just send a note saying that you
want to be on the digest mailing list to mkelly@cs.uoregon.edu, and you will
automatically receive each new issue as it is created.  Sorry, back issues
are not available through the mailing list.

Send administrative mail to mkelly@cs.uoregon.edu.


-- 
_____________________________________________________________________________
Michael A. Kelly                                               Senior Partner
mkelly@cs.uoregon.edu                                      High Risk Ventures
_____________________________________________________________________________
Newsgroups: comp.sys.mac.programmer
From: Jeff E Mandel <mandel@tmc.tulane.edu>
Subject: ETO#9 MacApp won't build - C - Fatal Error : 407
X-Xxmessage-Id: <A766196B96013009@mandel.anes.tulane.edu>
X-Xxdate: Tue, 29 Dec 92 21:04:11 GMT
Organization: Tulane University School of Medicine
X-Useragent: Nuntius v1.1.1d13
Date: Tue, 29 Dec 1992 21:14:29 GMT
Nntp-Posting-Host-[nntpd-22680]: mandel.anes.tulane.edu

I finally got my ETO #9 today, and installed the latest MPW (3.2.3) using
the recommended procedure, and the latest C++, and copied MacApp 3.01 to
my hard disk. I fired up MPW, set the MacApp directory, and executed my
MABuild:

MABuild myApp -autobuild -debug -Sym -Names

MABuildTool - v. 3.0.1 Release 6/10/92          Start: 2:55:39 PM 12/29/92

Copyright Apple Computer, Inc. 1986-1992
All Rights Reserved.

Target Folder: "Programs:MacApp 3.0.1:Libraries:.Debug Sym:"
Making:        MacApp.Lib.MAMake
Rezzing:       Debug.r
Rezzing:       Defaults.r
Rezzing:       MacApp.r
Rezzing:       ResourceLib.r
Rezzing:       Dialog.r
Rezzing:       Editions.r
Assembling:    FloatWindow.a
Linking:       FloatWindow.a
Rezzing:       Printing.r
Compiling:     Geometry.cp
warning: -d or -u option(s) will not affect code saved in dump file
# C - Fatal Error : 407
# could not proceed, BAD VERSION NUMBER in Dump file
# No error (OS error 0)
#----------------------------------------------------------------------
---------------------------------------------------------
    File ":C.pipe.code.c"; Find !0:
#----------------------------------------------------------------------
---------------------------------------------------------
# C - Aborted !
### MPW Shell - Execution of Programs:MacApp 3.0.1:Libraries:.Debug
Sym:MacApp.Lib.MakeIt terminated.
### MPW Shell - Execution of MABuild terminated.

I have copied the MacApp libraries folder a second time, but still no
results.

Suggestions?

Jeff E Mandel MD MS
Associate Professor of Anesthesiology
Tulane University School of Medicine
New Orleans, LA

mandel@vax.anes.tulane.edu
From: anderson@Apple.COM (Clark Anderson)
Newsgroups: comp.sys.mac.programmer
Subject: Re: string.h and scrolling
Date: 3 Jan 93 22:02:32 GMT
Distribution: comp.sys.mac.programmer
Organization: Apple Computer Inc., Cupertino, CA

Arto Leskinen: string.h and scrolling:
>What is easiest way to move contest of
>an rectangle into another position.

ScrollRect();

----------------------------------------------------------
Clark Anderson                 BellNet: 408-974-4593
Apple Computer, Inc.         AppleLink: C.ANDERSON
                              InterNet: anderson@apple.com
"I speak only for myself..."
----------------------------------------------------------
From: bowman@reed.edu (Mr. Stress Tensor)
Newsgroups: comp.sys.mac.programmer
Subject: Re: The same thing I have...
Date: 29 Dec 92 23:47:18 GMT
Article-I.D.: reed.1992Dec29.234718.14003
Organization: Reed College, Portland, OR

In article <1992Dec29.194058.28135@fcom.cc.utah.edu> dmitry@chemistry.chem.utah.edu (Dmitry Boldyrev) writes:
>Hello,
>I have the same problem with thick lines..
>Please help!

Technote #175 reveals how to use SetLineWidth for a LaserWriter.
See also notes 91, 73, & 183.  Sorry, I don't know what they are under the
new technote format, but the info's there somewhere.

cheers,
bobo              In seeking the unattainable,
bowman@reed.edu            simplicity only gets in the way.
Ask not what's inside your head but what your head's inside of. - W. Mace