HDTenEightyP/NetNews huggingface dataset:
From: Mathew L. Spolin <ms5477a@auvm.american.edu>
Subject: Nuntius v1.1.1 Questions
X-Xxmessage-Id: <A723DA3A32049637@cyber.hughes.american.edu>
X-Xxdate: Mon, 9 Nov 92 14:04:58 GMT
Organization: Cybervision Productions
X-Useragent: Nuntius v1.1.1d12
Date: Mon, 9 Nov 1992 14:00:29 GMT

I'm using Nuntius to read news these days, mostly because I love the
outline-based
interface.  But, I have a few questions, since the version that I ftp'd
wasn't
distributed with any documentation.

1)  Is anyone else using this program?
2)  If so, can you recommend a good monospaced editor for it?
3)  Is there any way to restrict how large the "group indexes" that
the app builds in the system folder become?  We're pushing 2 megs here...

Thanks,
---Matt Spolin
   Washington DC
From: isc@ucrmath.ucr.edu (interactive software)
Newsgroups: comp.sys.mac.comm
Subject: Need MAC UUCP and Mail Reader
Date: 11 Nov 92 22:58:25 GMT
Distribution: na
Organization: University of California, Riverside

As the title says, we need a Mac UUCP system w. UUCP file transfer
and a mail reader/editor.  UUPC is almost what we need, but the latest
versions seem to have configuration problems.

Please reply to barry@mobdig.com
From: bms@pyramid.com (Bruce Schlobohm)
Newsgroups: comp.sys.mac.comm
Subject: ara script for a prometheus modem
Date: 11 Nov 92 22:06:56 GMT
Organization: Pyramid Technology, San Jose, Ca

I'm searching for an ARA script for the "Prometheus Ultima Home Office"
modem (V.32bis, V.42, MNP, fax, etc).  The documentation for the modem
indicates it is different from the the "Promodem Ultima.

I've checked sumex for possibilities, and found none.  There didn't seem
to be anything close in the "ara-ccl-scripts.hqx" file.
Are there other archives for ARA scripts?

Thanks for your assistance.

-- 
bruce schlobohm
bms@pyramid.com
Newsgroups: comp.sys.mac,comp.sys.mac.hardware
From: michaelh@Xenon.Stanford.EDU (Mike Hennahane)
Subject: Re: When it comes to the crunch, HD Utils don't cut it
Organization: CS Department, Stanford University, California, USA
Date:  5 Nov 92 09:16:45 GMT

tal691@huxley.anu.edu.au (Tonio Loewald) writes:
[hd utilities don't cut it after something goes wrong]

>They'll recover an occasional lost file or fix errors
>that you've never noticed, but when something serious
>happens, you might as well use SCSI probe as Norton's.

>Any comments?

i agree that once something serious happens, not much will help out.
my solution to this is to use good software to format and drive my
hard disk.  i had all sorts of trouble with silverlining and switched
to fwb's hard disk toolkit. no problems at all after that; works great
under a fair amount of duress...

--mike
Organization: H&SS Dean's Office, Carnegie Mellon, Pittsburgh, PA
Newsgroups: comp.sys.mac.programmer
Date: Thu,  5 Nov 1992 16:23:41 -0500 
From: William Conrad Wojciechowski <ww10+@andrew.cmu.edu>
Subject: File Server Manager

Hi,

I am writing a server manager application for Sys 7.x and AShare 3.0
users.  I would like to have access to the information you receive when
you choose 'Sharing...' from the 'File' menu.  In particular, I would
like to get the owner of each folder on a server.

I think a good place to find this info. is in the 'Users & Groups' data
file.  However, I cannot find any documentation that will tell me how to
read the 'Users & Groups' file or where to get the info. you receive
from choosing the 'Sharing...' item in the 'File' menu.

Anybody know of any documentation or sources that could help?

Thanks in advance.

- Will
From: dsb@osustat.mps.ohio-state.edu (David S. Blumenthal)
Newsgroups: comp.sys.mac.programmer
Subject: Re: Super-Floating Windows
Date: 10 Nov 1992 21:08:06 GMT
Organization: OSU Statistical Computing Laboratory
Distribution: world
NNTP-Posting-Host: osustat.mps.ohio-state.edu

Thanks to all who have contributed to this thread so far.  It has helped me
out immensely.

I've done some testing with the "hole in GrayRgn" approach, and it works
sufficiently.  I think that as long as the part of GrayRgn that the window
removes does not stop corresponding to a piece of a monitor, there shouldn't
be any foreseeable problems.  If it does, however, any window in that area
will be affected.

As pointed out, menus function correctly over the affected region.  However,
the window manager does not ignore GrayRgn - update events are not generated
for my window.  Does anyone have any good ideas on how to determine when part
of my window must be redrawn?  Do InvalRect and InvalRgn check for intersection
with GrayRgn?  If not, could I check for intersection between my holeRgn and
the window port's updateRgn?  When would I do this?

The only other events I am interested in are mouseDown and mouseUp.  These get
to the window without regard to GrayRgn.  In order to catch all clicks over my
window, regardless of what would normally overlap, and of what application is
frontmost, I will patch SystemEvent and check theEvent.where (as suggested by
the UseNet Mac Programming Guide).

I really appreciate your comments.

-----------------------------------------------------------------------
| Dave Blumenthal                  | The Ohio State University        |
| dsb@osustat.mps.ohio-state.edu   | Statistical Computing Laboratory |
------ There is a fine difference between insight and insanity. -------
Newsgroups: comp.sys.mac.programmer
From: djk@world.std.com (Dan J Keldsen)
Subject: A simple question from a beginner.
Summary: I have a problem from "Learn C on the Mac"
Keywords: simple C youKnowTheAnswer help
Organization: The World @ Software Tool & Die
Date: Thu, 12 Nov 1992 08:17:04 GMT

Hi folks,

I picked up "Learn C on the Macintosh" and am having a problem with modifying the "wordCount.c" code to not only analyze the # of words typed, but to print them out on separate lines (one word to a line) whenever white space is found. Something about my code just "ain't happenin'". I get the right number of characters printed, but the characters aren't what they should be (something like "car" turning into "***" - the "*" character not actually being a "*"). 

HELP? Source code follows:
______-------________-----
#include <stdio.h>

#define MAX_LINE_LENGTH	200

#define C_RETURN	'\n'
#define C_TAB		'\t'
#define C_SPACE		' '


void main( void )
{
	char	line[ MAX_LINE_LENGTH ], *charPtr, inWord;
	int		numWords;

	printf( "Type a line of text, please:\n" );

	charPtr = line;
	numWords = 0;
	inWord = FALSE;
	
	while ( ( *charPtr = getchar() ) != C_RETURN )
	{
		if ( (*charPtr != C_TAB) && (*charPtr != C_SPACE) )
		{
			if ( ! inWord )
			{
				inWord = TRUE;
				printf( "%c", charPtr );
				numWords++;
			}
			else
				printf( "%c", charPtr );
		}
		else
			{
			inWord = FALSE;
			printf( "\n" );
			}
		charPtr++;
	}
	
	printf( "\nYou just typed %d word", numWords );
	
	if ( ( numWords > 1 ) || ( numWords == 0 ) )
		printf( "s." );
	else
		printf( "." );
}
----______------_____------______

Dan Keldsen
BERKLEE College o Music - Boston, MA
djk@world.std.com

Newsgroups: comp.sys.mac.programmer
From: brunner@bnr.ca (James Brunner)
Subject: Standard (not) File.  Checking for Sys7, etc.
Reply-To: brunner@bnr.ca (James Brunner)
Organization: Bell-Northern Research, Richardson, Tx
Date: Wed, 11 Nov 1992 22:55:42 GMT

OK, I need to open a standard file dialog.  Now I need to choose SFGetFile
or StandardGetFile.  Do I just check for system 7?  or is there a special
trap, etc that I need to check? 

If I find that StandardGetFile is not available and that I must use SFGetFile,
how do I munge the info into an FSSpec (vRefNum, parID, & name)?

This should be easy?  Right?  Please respond by e-mail.  Thanks.
-- 
---------------------------------------------------------------------------
Jim Brunner - (brunner@bnr.ca)
All opinions are my own and have nothing whatsoever to do with BNR, NT,
NTI, Bell Canada, or any of the BCE corporations or affiliates.
From: klip@unixg.ubc.ca (John Klippenstein)
Newsgroups: comp.sys.mac.programmer
Subject: Re: The Forgetful Finder
Date: 13 Nov 1992 07:17:24 GMT
Organization: University of British Columbia, Vancouver, B.C., Canada
NNTP-Posting-Host: unixg.ubc.ca

	Does anyone know if there is a bug in the System 7 finder which fouls 
up the font used to write the names of files and folders, both inside finder 
windows and on the desktop.  I've encountered this problem on a Mac II ci (I 
don't remember what applications were running at the time and can't 
reproduce it) and now I have reports of a similar problem on a network of 
Classic II's and LC II's with all extensions turned off.  They report it as a 
problem involving an application that I'm maintaining, but I can't find 
anywhere that the code writes to the SysFont global.  I suspect a finder bug 
since it occurred on my machine at a time when the accused application was 
not running had not been run since startup.  I would prefer responses to
CDA0304@applelink.apple.com.

John Klippenstein
Didatech Software
AppleLink:  CDA0304
From: A.J.C.Blyth@newcastle.ac.uk (Andrew Blyth)
Newsgroups: comp.sys.mac.programmer
Subject: Unix Libs.
Date: 9 Nov 92 10:33:24 GMT
Followup-To: comp.sys.mac.programmer
Organization: The University of Newcastle Upon Tyne

I am trying to port some unix software to the Macintosh and I
have run into a few problems. The problem is that Think C does
not have a complete unix library. As consequence of this I can
complete my port.

What I am looking for a the unix fork() command. Does any one
know if it has been done or is there some problem with the MAC
OS that prevents fork from being implemented.

I will of course summaries all replies that I get and post them
back to this news group.

Andrew. 

________________________________________________________________________
                             Andrew Blyth
                           Research Associate
Department of Computing Science       Tel +44 91 222 6053
The University                        Fax +44 91 222 8232
Newcastle Upon Tyne. NE1 7RU.           
England.                              Email A.J.C.Blyth@Newcastle.ac.uk
________________________________________________________________________
Newsgroups: comp.sys.mac.programmer
From: fixer@faxcsl.dcrt.nih.gov (Chris Spiral Catfish Tate)
Subject: Spurious invalidation
Reply-To: fixer@faxcsl.dcrt.nih.gov
Organization: Computer Systems Laboratory, DCRT, NIH
Date: Fri, 6 Nov 1992 17:02:32 GMT

Situation: modal dialog, System 7.0.1, Mac IIfx

Problem: calling SetCTitle() (and possibly SetCtlValue()) on controls in the
dialog is forcing an update.  This is pretty bad in my case, since redrawing
the dialog is rather time-consuming.

Is this *really* what's happening?  According to the THINK C debugger, I'm
never calling InvalRect() or any of its relatives explicitly, but sure enough,
my userItem update routines are getting called the next time through
ModalDialog() after calling SetCTitle().

Does anyone have any idea what's happening, and how I might go about preventing
it?  Calling ValidRect() on the slow-to-draw userItem's rectangle after the
call to SetCTitle() doesn't seem to solve the problem; it's still updated.

As always, thanks in advance for whatever light you can shed on this...

------------------------------------------------------------------------------
Christopher Tate             | The Leadfoot Collection, Continued:
Management System Designers  |        * Red Barchetta (Rush)
                             |        * Old Time Rock And Roll (Bob Seeger)
fixer@faxcsl.dcrt.nih.gov    | Because driving fast is a cathartic experience.
Newsgroups: comp.sys.mac.programmer
From: aep@world.std.com (Andrew E Page)
Subject: Re: Disk-based sort (want)
Organization: The World Public Access UNIX, Brookline, MA
Date: Mon, 9 Nov 1992 14:37:45 GMT


  If this is a one short deal, try the 'sort' command under MPW,

also MS Word supports a pretty good sort for a text file itself.
Perhaps under version 5 and sys 7 it would perform something you
could use AppleEvents for.

-- 
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: Bruce@hoult.actrix.gen.nz
Newsgroups: comp.sys.mac.programmer
Subject: Re: C error in MPW -- What's wrong?
Date: 6 Nov 92 10:53:59 GMT
X-Mailer: rnMac Buggy, I mean Beta, Test Version


CHEN JiaTyan writes:

> |    C -i 'MacintoshHD:Project:SHILPA:include:' -d MAC 6 


That should be "-d MAC=6"
Newsgroups: comp.sys.mac.programmer
From: bwilliam@iat.holonet.net (Bill Williams)
Subject: Re: looking for a REALLY RaNdOM "RANDOM"
Organization: HoloNet (BBS: 510-704-1058)
Date: Mon, 9 Nov 1992 03:19:10 GMT

Request for GOOD random number generator in Pascal:

I have lots of random number generator source, most are in "C" two are in
68000 assembly but one of them (My ultimate favorite) is actually in
Pascal (The language you requested) here it is:


===========

UNIT Portable_Random_Numbers;
INTERFACE
 
	FUNCTION Fetch_Random_Numbers: real;
 
	PROCEDURE Manually_Initialize_Seeds (value_1, value_2: LONGINT);
 
	PROCEDURE Auto_Initialize_Seeds;
 
 
IMPLEMENTATION
 
	VAR
		Random_Number_Seed_1, Random_Number_Seed_2: LONGINT; {
signed 32-bit integers }
 
	FUNCTION Fetch_Random_Numbers: real;
 
		VAR
			zz, kk: longint;
 
	BEGIN
 
		kk := Random_Number_Seed_1 DIV 53668;
		Random_Number_Seed_1 := 40014 * (Random_Number_Seed_1 - kk
* 53668) - kk * 12211;
		IF Random_Number_Seed_1 < 0 THEN
			Random_Number_Seed_1 := Random_Number_Seed_1 + 2147483563;
 
		kk := Random_Number_Seed_2 DIV 52774;
		Random_Number_Seed_2 := 40692 * (Random_Number_Seed_2 - kk
* 52774) - kk * 3791;
		IF Random_Number_Seed_2 < 0 THEN
			Random_Number_Seed_2 := Random_Number_Seed_2 + 2147483399;
 
		zz := Random_Number_Seed_1 - Random_Number_Seed_2;
 
		IF zz < 1 THEN
			zz := zz + 2147483562;
 
		Fetch_Random_Numbers := zz * 4.65661E-10;
 
	END;
 
 
	PROCEDURE Manually_Initialize_Seeds (value_1, value_2: LONGINT);
 
{ This is for repeatable use of the Random number generator }
{ requirement is that  Random_Number_Seed_1 be in the range [1,
2_147_483_562] and  Random_Number_Seed_2 }
{ be in [1, 2_147_483_398] ( [ -2**31 + 85, 2**31 - 85 ]). }
 
	BEGIN
		Random_Number_Seed_1 := value_1;
		Random_Number_Seed_2 := value_2;
	END;
 
 
	PROCEDURE Auto_Initialize_Seeds;
 
{ This version of Initialize_Seeds is Macintosh dependent. The theoretical }
{ requirement is that  Random_Number_Seed_1 be in the range [1,
2_147_483_562] and  Random_Number_Seed_2 }
{ be in [1, 2_147_483_398] ( [ -2**31 + 85, 2**31 - 85 ]). Here, 
Random_Number_Seed_1 and }
{  Random_Number_Seed_2 are in [0, 32_737]. See reference [1] cited in the
comments of }
{ Fetch_Random_Numbers for more information on generating seeds. }
 
	BEGIN
		GetDateTime(randSeed);
		Random_Number_Seed_1 := abs(Random);
		Random_Number_Seed_2 := abs(Random);
	END;
 
 
 
END. { Portable_Random_Numbers }
-------------


It is a classic Multiplicative Linear Congruential Generator as known
about for over 20 years and proven to be the best "shitty" safe and
equally distributed, evenly repeating random technique.

references :

{1. L'Ecuyer, Pierre, Efficient and Portable Combined Random Number }
{ Generators. Communications of the ACM, 31, 6 (June 1988), 742-749, 774 }

L'Ecuyer reports that a comprehensive battery of over 20 different tests
were performed on the generator that involved billions of psuedo-random
numbers and over 200 hours of VAX-11/780 CPU time. The empirical behavior
of the generators is very satisfactory for this class of generator.


Hope that solves it!

Bill Williams
From: sbill@informix.com (Bill Stackhouse)
Newsgroups: comp.sys.mac.programmer
Subject: A5 in libraries
Date: 12 Nov 92 23:43:23 GMT
Organization: Informix Software, Inc.


In a library developed under Think C or MPW C, what is the correct
way to write the functions that use quickdraw so they will work 
regardless of if it is called from a code resource or an appication?
Asked in another way, is there any way that a function can tell if
A5 is set correctly? Do I need one version for A5 use and another 
for A4 use? Do I assume A5 is ok and make the caller set and restore
A5? Of course the library is linked with either the code resource or
application.

Bill
Newsgroups: comp.sys.mac.programmer
From: chrism@col.hp.com (Chris Magnuson)
Subject: C and Assembly Help Needed
Date: Mon, 9 Nov 1992 01:12:03 GMT
Organization: HP Colorado Springs Division

I'm trying to merge C and assembly files together in the same MPW
project.  When I compile I get:

	  C -r -sym on,novars,notypes  main.c
      Asm -sym on Init.a
      Link -t APPL -c '????' -sym on -mf main.c.o Init.a.o...etc...
### Link: Error: Undefined entry, name: (Error 28) "InitReg"
  Referenced from: InitGlobals in file: main.c.o
  
My assembly file looks like:

	TITLE 'Init'
	BLANKS OFF
	PRINT OFF
	MACHINE  MC68000	   ;pick 68000 target
	
	
InitReg	PROC EXPORT
	
		;  instructions in here
		
		RTS
		
		ENDPROC
		
		END
		
And in the main.c source I have:

extern void InitReg(void);

I must be doing something real stupid, anyone see what it is? e-mail
would be great.

Thanks,
Chris Magnuson
chrism@col.hp.com
(719) 590-2963
From: jahnke@biosci.arizona.edu (Jerome Jahnke)
Newsgroups: comp.sys.mac.programmer
Subject: Re: DogCow.. Moof..?
Date: 9 Nov 92 19:16:31 GMT
Organization: Biology Learning Center

In article <6NOV199213212251@csa1.lbl.gov>, sichase@csa1.lbl.gov (SCOTT I CHASE) writes:
> 
> In article <1992Nov6.193159.8612@nntpd2.cxo.dec.com>, wight_brian@tallus.enet.dec.com () writes...
> > 
> >	In one of the newsgroups I ran across the words DogCow and Moof?  I may
> >be in the dark on this one, but what is the origin of DogCow and Moof?  
> 
> Oh, dear God.  Not again.  Can't we just tell him this time, and spare
> me 452 posts about missing tech notes, Finder noises, resedit, etc., 
> ad nauseum?

What are you waiting for??? A note from my mom? Of course you can tell him, but
if you do we will tell Clarus where to find you on some dark night.

Boy I tell you a programmer just can't have any fun anymore.

> -Scott
> --------------------
> Scott I. Chase			"It is not a simple life to be a single cell,
> SICHASE@CSA2.LBL.GOV		 although I have no right to say so, having
> 				 been a single cell so long ago myself that I 
> 				 have no memory at all of that stage of my 
> 				 life." - Lewis Thomas

Jer,
----
Jerome Jahnke
Biology Learning Center
University of Arizona
'jahnke@biosci.arizona.edu' or +1 (602) 621-3820
From: mkelly@mystix.cs.uoregon.edu (Michael A. Kelly)
Newsgroups: comp.sys.mac.programmer
Subject: C.S.M.P. Digest V1 #208 Available
Date: 5 Nov 92 05:27:55 GMT
Followup-To: poster
Organization: University of Oregon Computer and Information Sciences Dept.


C.S.M.P. Digest             Wed, 04 Nov 92       Volume 1 : Issue 208

Today's Topics:

	DogCow Calls
	DYLAN
	Animated Cursors...
	Q: Stack munging in VBL tasks?
	WDEF's and QuickDraw globals
	How do I draw icl8's?
	JPartialResources.{c,h}



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.  (This means you can't post questions to the
digest.)

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: leonardr@netcom.com (Leonard Rosenthol)
Subject: Re: ETO#8, Dinker & SLM (Shared Library Manager) ?
Organization: Netcom - Online Communication Services  (408 241-9760 guest) 
Date: Thu, 5 Nov 1992 18:50:24 GMT

In article <1992Nov5.130012.14941@asterix.drev.dnd.ca> louis@asterix.drev.dnd.ca (Louis Demers) writes:
>	Even after reading the documentation of both packages, I still
>	have some difficulty in seeing the difference between Dinker
>	and the shared Library Manager. Can anybody explain what
>	differences there are ? 
>
	Although not a technical difference, the most important difference
is that the SLM was done in house at Apple (while Dinker was an outside
project) and that Apple has (sort of) standardied on the SLM as the "shared
library" scheme of choice for the Mac.  You will see future System Software
based on the SLM.

>		Also, while I understand that these are unsupported,  What
>	future do you see for those packages ?  I would be very interested
>	in basing our next project on the SLM, but what will
>	happen if Apple gets tired of it and doesn't support it
>	anymore ? Will the application be easily converted to a normally
>	linked application ?
>
	As noted above, the SLM will not be going away anytime soon.


-- 
-----------------------------------------------------------------------------
Leonard Rosenthol			Internet: 	leonardr@netcom.com
Director of Advanced Technology		AppleLink:	MACgician
Aladdin Systems, Inc.			GEnie:		MACgician

Newsgroups: comp.sys.mac.programmer