[comp.sys.mac.digest] Info-Mac Digest V8 #8

Info-Mac-Request@SUMEX-AIM.STANFORD.EDU (The Moderators) (01/16/90)

Info-Mac Digest             Mon, 15 Jan 90       Volume 8 : Issue   8 

Today's Topics:
                   "Inline" and "const" in THINK C
                       APA style word processor
                    Can Kermit support scripting? 
                            CD ROM players
      Clearing hypercard mouseclick buffering... (Vol8, Issue 4)
                    Code Resources in THINK Pascal
                             disk-catalog
                             DiskExpress
                        hardware/simm problem
                        HyperCard on networks?
                        Info-Mac Digest V8 #6
                Info-Mac Digest V8 #6 (JCRemote buggy)
             Keyboard equivalents (Info-Mac Digest V8 #5)
            La Cie's Silverlining: Doesn't show interleave
                    LaserWriter II Memory Upgrades
                    MacRecorder Hacker's Tool Kit
                         Prepare() Demo Issue
               Printing to a LaserWriter from an IBM-PC
                               ResEdit
                     snd's and Globe questions...
                   Updated/online Inside Macintosh
                    WindowShade / MSWord 4 CRASH!

Your Info-Mac Moderators are Bill Lipa, Lance Nakata, and Jon Pugh.

The Info-Mac archives are available (by using FTP, account anonymous,
any password) in the info-mac directory on sumex-aim.stanford.edu
[36.44.0.6].  Help files are in /info-mac/help.  Indicies are in
/info-mac/help/recent-files.txt and /info-mac/help/all-files.txt.

Please send articles and binaries to info-mac@sumex-aim.stanford.edu.
Send administrative mail to info-mac-request@sumex-aim.stanford.edu.
----------------------------------------------------------------------

Date: Thu, 11 Jan 90 23:53:29 EST
From: siegel@harvard.harvard.edu (Rich Siegel)
Subject: "Inline" and "const" in THINK C

THINK C version 4.0 will support multi-word "inline" functions a la MPW C.
The "const" keyword is not allowed in THINK C, however, but for maximum
portability you could #define const in your standard header.

R.


-- 
~~~~~~~~~~~~~~~
 Rich Siegel
 Staff Software Developer
 Symantec Corporation, Language Products Group
 Internet: siegel@endor.harvard.edu
 UUCP: ..harvard!endor!siegel

"When someone who makes four hundred and fifty dollars an hour wants to
tell you something for free, it's a good idea to listen."

~~~~~~~~~~~~~~~

------------------------------

Date: Thu, 11 Jan 90 14:51 CST
From: MONCRIEF%TCUAVMS.BITNET@rice.edu
Subject: APA style word processor

Does anyone know of a package for the macintosh that is a word processor
designed to write papers in APA style?  Send information to:
Karen Moncrief
Texas Christian University
Box 32883
Fort Worth, Texas 76129
Bitnet:  MONCRIEF@TCUAVMS

------------------------------

Date: Thu, 11 Jan 90 23:22:12 PST
From: siegman@sierra.stanford.edu (Anthony E. Siegman)
Subject: Can Kermit support scripting? 

MicroPhone has powerful scripting facilities and contains Kermit.
Perhaps this can be used to achieve what's desired.  

MicroPhone II had a minor bug in scripting Kermit operations;
presumably this is fixed in MicroPhone III, now out.

------------------------------

Date: Thu, 11 Jan 90 11:15:16 PST
From: C43HWV%ENG1.gm@hac2arpa.hac.com
Subject: CD ROM players

I need a CD ROM reader.  I understand that Apple's unit is both slooow
and unreliable.  Any information on your experience with CD ROMs is
appreciated.  Will summarize for the net.  Thanks in advance.

   Herman VandenBoom
   Delco Electronics
   Goleta, CA 

   c43hwv%eng1.gm@hac2arpa.hac.com

------------------------------

Date: Fri, 12 Jan 90 13:04 EST
From: R. Mark Fleming <FLEMINGM%QUCDN.BITNET@forsythe.stanford.edu>
Subject: Clearing hypercard mouseclick buffering... (Vol8, Issue 4)

The Macintosh OS Queue's all Event's in a event Queue, and applications/DAs
call OS routines to get the Status, and Remove these events.
(See: Inside Macintosh, Event Manager for complete description).

To remove events from the event queue, you need to call Event Manager to
Flush the Mouse Down and Mouse Up events.  This way Hypercard will not
receive these events.

Included is the C source to HyperCard XFCN... I do not have a compiler
at work, so I can't create the XFCN write now...

/*
    FlushEvent -- sample XFCN to clear Mouse Down & UP events

    May be distributed free of charge.
    NOTE: this is UNTESTED!!!
*/

#include <HyperXCmd.h> /* Hypercard inferface procedures & Definitions */

/*
 **** WARNING:  DO NOT USE GLOBAL VARIABLES! ****
 ****           A5 Register is not setup.    ****
 */

pascal void main(paramPtr)
    XCmdBlockPtr    paramPtr;
{
    /* Flush all Mouse Down, Mouse Up, and Keyboard Down events */
    FlushEvents(mDownMask | mUpMask, 0);
    paramPtr->returnValue = nil; /* NO result for HyperCard */
}

#include "XCmdGlue.inc.c"

/* NOTE: the two include files are available from info-mac archive's
         I think they are contained in the HyperCard directory.
         If you do not have FTP access, I can supply them.
*/

Disclaimer: If it's free, it's unsupported, and hopefully helpful.

<<<<<<<<<<<<<<<=========================================>>>>>>>>>>>>>>>>>
Mark Fleming, Macintosh Support, Office Systems, Computing  & Communicat.
Services, Queen's University at Kingston, Phone: (613) 545-2039
Bitnet: FLEMINGM@QUCDN  or  Mark.Fleming@QueensU.CA    AppleLink: CDA0448
<<<<<<<<<<<<<<<=========================================>>>>>>>>>>>>>>>>>

------------------------------

Date: Thu, 11 Jan 90 23:50:35 EST
From: siegel@harvard.harvard.edu (Rich Siegel)
Subject: Code Resources in THINK Pascal

In THINK Pascal, your code resource's MAIN must reside in a unit, with
"PROCEDURE Main;" in the interface-part:

UNIT MyCodeResource;
INTERFACE

	PROCEDURE Main;

IMPLEMENTATION

	PROCEDURE Main;
	BEGIN
	{ body of Main }
	END;
END.

More details on this can be found by consulting the section on code resources
in the THINK Pascal manual, or in the 1.0 supplement if you're using version
1.11 or earlier.

R.

-- 
~~~~~~~~~~~~~~~
 Rich Siegel
 Staff Software Developer
 Symantec Corporation, Language Products Group
 Internet: siegel@endor.harvard.edu
 UUCP: ..harvard!endor!siegel

"When someone who makes four hundred and fifty dollars an hour wants to
tell you something for free, it's a good idea to listen."

~~~~~~~~~~~~~~~

------------------------------

Date: Thu, 11 Jan 90 10:57:25 pst
From: meldal@anna.stanford.edu
Subject: disk-catalog

Pottie Karl <GHGAQBA%BLEKUL11.BITNET@forsythe.stanford.edu> asked 

   How can I get a full listing of EVERYTHING that's on a harddisk ?

   I do not want to open every folder, and print it seperately.

   If this is not possible with the finder, which program could do this
   for me (e.g. the Tree display of MacTools 7.2 would be fine if there
   was a way to print it) ?

One answer is embedded in the Retrospect archiving utility. As part of
the disk management tools of Retrospect you have the possibility of
viewing and printing the whole folder hierarchy under a given folder
(or on a given harddisk). Retrospect offers a number of ways of
viewing the contents of such an hierarchy, and the views are
customizable (and printable). 

Retrospect is also (and foremost) an excellent backup and archiving
utility, and very highly recommended. We have it doing automatic daily
and weekly incremental backups, and it works wonderfully and
flawlessly. 

Best regards,

Sigurd Meldal

Hard mail: 
	ERL 456		     | Internet:  meldal@anna.stanford.edu
        Computer Systems Lab.|	      	    
	Stanford University  | BitNet: meldal%anna.stanford.edu@forsythe.bitnet
	Stanford CA 94305    | Uucp: ...decwrl!glacier!shasta!anna!meldal
	USA		     |

phone: +1 415 723 6027
fax:   +1 415 725 7398

SDA - of course!

------------------------------

Date: Thu, 11 Jan 90 17:06:41 CST
From: Graeme <PL0BALF@vm.tcs.tulane.edu>
Subject: DiskExpress

I've just received DiskExpress II, release 2.03, from Alsoft. But in MacWeek
(Jan 9) Mac the Knife reports people losing hard disks to it. Does anyone
have any experience with this upgrade? (I use a 4/80 IIcx.)

There have been some questions about partitioning hard disks on fileservers.
DiskExpress II comes with a DA called MultiPartition which the manual indicates

works with Appleshare and Tops. MultiPartition is essentially MultiDisk
without password protection, encryption and a few other baws (again according
to the manual).

Graeme Forbes

------------------------------

Date: Fri, 12 Jan 90 10:52 EST
From: Chris Holoman <PSCCHRIS@ubvmsc.cc.buffalo.edu>
Subject: hardware/simm problem

I have an SE upgraded to 2.5 megs.  Intermittently, I get a sad mac at 
startup with the error code indicating a failed data bus test.  Recently,
I got a variation, showing a bad simm.  Both indicate the same culprit (8th
chip on SIMM 1).  My questions: 1)Given that this doesn't happen all the time
(it will happen several times in a row, and then not happen) is this a
bad SIMM, or simply loose? 2) I have moved away from the dealer who upgraded;
is SIMM 1 probably original equipment, or one of the upgrades? 3)Is this
a problem I can remedy myself? I am fairly computer friendly, but have
never opened the Mac myself. 4) Given this problem, once the Mac starts up
OK, would it cause applications to "quit unexpectedly"?  Thanks for the 
help
 Chris Holoman
BITNET: PSCCHRIS@UBVMS.BITNET
iNTERNET:PSCCHRIS@UBVMS.CC.BUFFALO.EDU

------------------------------

Date: Thu, 11 Jan 90 15:25:16 cst
From: "Wolf,Phill" <WOLFP%GRIN1.BITNET@cunyvm.cuny.edu>
Subject: HyperCard on networks?

I've been directed to install a particular stack on an AppleTalk network.
I had to put the HyperCard program onto the network's hard disk, since
it wasn't there before.

Now it seems that I need 12 copies of HyperCard there (for 12 stations)
since whenever one copy is already running, no one else can access it
("the application is busy or missing").

Am I missing something, or is the regular HyperCard (1.2.something)
not network-friendly?

------------------------------

Date: Fri, 12 Jan 90 10:26:45 PST
From: 6600pete%ucsbuxa@hub.ucsb.edu (Pete Gontier)
Subject: Info-Mac Digest V8 #6

> I recently saw a posting about two new sharewares, JCremote and Mac II 
> Diagnostic Sound.
...
> After installing it, I opened the chooser and selected JCremote.  The system 
> froze.  When I rebooted the computer the computer started to launch, but the 
> crashed.

Please don't head these reports with the phrase "trojan horse." That causes me
to read them, and I don't have time to read about broken shareware. You might
also do well for yourself not to jump to these conclusions.

[Jcremote has been removed at the request of the submitter due to its
 instability. -Bill]

------------------------------

Date: 12 Jan 1990 0901-PST (Friday)
From: mcjones@src.dec.com (Paul McJones)
Subject: Info-Mac Digest V8 #6 (JCRemote buggy)

Rich Friedman installed JCRemote, and found that his System File 
had been clobbered.  This same thing happened to me last month: 
JCRemote was distributed through the USENET comp.binaries.mac a while 
ago.  I found the same thing had happened to at least one other 
comp.sys.mac reader.  I contacted JCRemote's author and reported 
several problems to him.  He said the program works for him on a 
variety of configurations.  But it would be best to wait for an updated 
version of JCRemote before more people try it (or at least make sure 
to back up your System File first).  The functionality is actually 
fairly nice: a fairly general two-way "File Transfer Program".


Paul McJones
DEC Systems Research Center
mcjones@src.dec.com
decwrl!mcjones

------------------------------

Date: Thu, 11 Jan 90 09:39:52 PST
From: Mike_Dustan@cc.sfu.ca
Subject: Keyboard equivalents (Info-Mac Digest V8 #5)

I was composing a reply to Paul Carnahan about sending three keys
(command-option-o) to invoke CloseView, and discovered some odd
behaviour with HyperCard.
 
It would seem to me that since you can 'type "1" with commandKey'
and have Hypercard go to the first card as if you'd pressed
command-1 on the keyboard, and since option-o is a legitimate
keyboard character (Scandinavian (slashed) o), you should be able
to use 'type "o" with commandKey', where "o" is the option-o
character, not a plain o. According to the Help stack, you should
also be able to 'type "o" with optionKey' or even 'type "o" with
shiftKey'. Some testing reveals that you can combine modifiers:
'type "o" with optionKey,commandKey' gets through HyperTalk without
any syntax errors. The results? Ah, yes, the results. (In the
following, I've used [o] to mean the slashed option-o character)
 
Type...                            Result:
"o"                             o in message box
"[o]"                           [o] in message box
"o" with optionKey              o (not [o])
"O"                             O (capital)
"o" with shiftKey               o (not capital O)
"o" with commandKey             executes Open Stack... command
"[o]" with commandKey           executes Open Stack..., ignores
                                option key
"o" with commandKey,optionKey   executes Open Stack...
"o" with optionKey,commandKey   executes Open Stack...
 
It seems the shiftKey and optionKey commands are being ignored.
My machine is an SE, Hypercard 1.2.2, System 6.0.3, Multifinder.
I'm running the "Command History" XCMDs from Sumex and also have
Reports installed. I've looked through these pretty thoroughly
and can't see how they would interfere.
 
What am I (is HyperCard?) doing wrong?
 
(Sorry, Paul, I *did* hope to have an answer for you!)

------------------------------

Date: Fri, 12 Jan 90 11:24:00 EST
From: Marcelino Bernardo <MBERNAR%ERENJ.BITNET@forsythe.stanford.edu>
Subject: La Cie's Silverlining: Doesn't show interleave

It was asked whether La Cie's Silverlining hard disk utility can show
the interleave of a drive.  I have Silverlining 5.18 which came with
a 3.5" 182 Mbyte internal drive.  As far as I can tell from reading
the manual and using the utility, it cannot do this even with a drive
it formatted itself.  The only time it gives you the interleave of a
drive is just before formatting.  It chooses what it thinks is the
best interleave for the machine, shows you what it is and allows you
to override it.

Regards,
Marcelino Bernardo
mbernar@erenj.bitnet

------------------------------

Date: Fri, 12 Jan 1990 9:46:16 CST
From: "GERGA::DAVE"@aeolus.tamu.edu   (Dave Martin)
Subject: LaserWriter II Memory Upgrades

Greetings:

	Two questions about LaserWriter II's:

	1) Can the LaserWriter IINT's memory be expanded beyond 2Mb ?

	2) What are the specifications on the memory chips used in the
	   LaserWriters? Do they use SIMMs, or individual RAM chips?

Please reply to the address below, as the node I receive the digest on is
currently down. Thanks in advance.

	Dave Martin
	TAMU GERG
	BROOKS@AEOLUS.TAMU.EDU

------------------------------

Date: 30 Dec 89 23:16 -0600
From: "C. Carlson" <umcarls9@ccu.umanitoba.ca>
Subject: MacRecorder Hacker's Tool Kit

The attached StuffIt file containts the MacRecorder Hacker's Tool Kit.
 
I found it while browsing through the download section of a BBS
and don't know anything more about it than what's contained in
the included files so I'm not the one to direct questions to.
 
The included files contains Think C 4.0 source code examples on how
to read the data sent from the MacRecorder when its digitizing.
 
Have fun!
 
[Archived as /info-mac/sound/programs/macrecorder-hackers-tool-kit.hqx; 30K]

------------------------------

Date: Mon, 1 Jan 90 19:42:11 EST
From: olson@harvard.harvard.edu (Eric K. Olson)
Subject: Prepare() Demo Issue

This is the first demo issue of Prepare(), The Journal of
Think Class Library Programming.  It includes The Prepare() Browser,
a useful utility for reading and/or editing a tree of text files
(such as the issue of Prepare() itself!).  The Prepare() Browser
also serves to demonstrate the classes included in this issue
of Prepare().  Source code is available by subscribing to Prepare();
details are included in this demo issue.

[Archived as /info-mac/demo/prepare.hqx; 208K]

------------------------------

Date: Thu, 11 Jan 90 10:23 EST
From: Thomas R. Blake <TBLAKE%BINGVAXA.BITNET@bingvmc.cc.binghamton.edu>
Subject: Printing to a LaserWriter from an IBM-PC

>I am looking for a utility similar to the one that comes with Page
>Maker that permits direct printing from a PC to an Apple Laserwriter
>via a PC-Talk Card and AppleTalk. Is there such a beast that will
>do the same for Ventura?

Personally, I think AppleShare-PC does a great job of this.  It allows you to
attach any LPT# you like to your AppleTalked LaserWriter.  The LaserWriter can
be accessed as a PostScript printer, or as an Epson LQ-2500.  The software also
works with AppleTalked ImageWriter's, but that's not as exciting.

In our public printing areas, I attach a LaserWriter to LPT1 as an Epson
LQ-2500, and to LPT2 as a PostScript printer.  This way, "dumb programs",
(which can be dificult to re-direct) can use the Epson emulation, and more
intelligent programs can use the PostScript, (usually if they are smart enough
to use PostScript, they're smart enough to be easily re-directed to LPT2).

I haven't tried this with Ventura, but it works jsut fine with a number of
programs that have been tested.

TBLAKE@BINGVAXA.BITNET                          Thomas R. Blake
tblake@bingvaxu.cc.binghamton.edu               SUNY-Binghamton

------------------------------

Date: Thu, 11 Jan 90 23:00:38 EST
From: Jean Brunet <R31631%UQAM.BITNET@forsythe.stanford.edu>
Subject: ResEdit

Hi! I would appreciate if some would inform me if there is a manual for ResEdit
... I have been using version 1.1.b.3 for creating ressources and found the
software quite buggy under finder and multifinder (menu header dissapears,
windows collapse...)... is this normal? Thanks for any help you can give me.
Jean.

******************************************                     **
* JEAN BRUNET                            *    QQQ QQQ QQQ   --------
* DEPT. DES COMMUNICATIONS               *   QQQ QQQ QQQ    NETNORTH
* UNIVERSITE DU QUEBEC A MONTREAL (UQAM) *  QQQ QQQ QQQ      BITNET
* C.P. 8888, SUCC. 'A', MONTREAL, QC.    *         QQQ   --------------
* CANADA, H3C 3P8                        *        QQQ  R31631@UQAM.BITNET
* TEL: 514-987-4897/ res: 514-659-5864   *       QQQ   ------------------
******************************************             ******************

------------------------------

Date: Fri 12 Jan 90 03:04:12-PDT
From: Elliot Bennett <ELLIOT@star3.stanford.edu>
Subject: snd's and Globe questions...

Hello Mac-ers!
I have a very simple question (though I doubt the answer is likewise so
easy).  Sound files on the mac come in two basic flavors: 'snd ' files and
other (including file types like FSSD).  Now, there are numerous programs
out there to convert sound files like FSSD to snd files (so the system, and
hence the Sound cdev can recognize them).  However, I happen to have a number
of nifty sounds (downloaded from SUMEX) in snd format but I would like to
have them in a format that SoundMaster 1.x can read and use.  Does anyone
know of a program that will convert snd files to something like FSSD?

The next question is addressed to Paul Mercer, author of the spinning Globe
program.  When I hold the Option key in any program, the globe goes away and
all I see is horizontal colored lines.  Any chance that this could be fixed?
(And why in the world does it happen in the first place?)  While I'm on my
wish list for this obscure but pretty program, I would also like to recommend
that it remember its window location and spin rate when closed and come back
up the way it ended on the next start.  Whaddya say?

Ok, much thanks to anyone that can help me out!
Elliot Bennett
elliot@star.stanford.edu or ecd1::323elliot (on SPAN)
-------

------------------------------

Date: Thu, 11 Jan 90 22:48:34 PST
From: dplatt@coherent.com (Dave Platt)
Subject: Updated/online Inside Macintosh

Apple is definitely making progress on an updated version of Inside
Macintosh.  Volume II of the Developer CD Series (a.k.a. Phil & Dave's
Excellent CD: The Release Version) includes "SpInside Mac".  It's a
Hypercard stack containing the text from Inside Macintosh, with graphics
in PICT form, and a large inverted-index.  It adds up to roughly 10
megabytes.  Obsolete information has been removed; the chapters from
volumes I through V have been merged and reordered (Color QuickDraw
comes right after QuickDraw); it has extensive search capabilities; and
it's heavily cross-referenced to the Tech Notes stack.  The current
version is a work-in-progress prototype;  more improvements are planned.

That's the good news.  The bad news is that the Developer CD-ROMs are
currently available only through Developer channels... to Partners and
Associates.  The CD-ROMs cannot [yet] be purchased through APDA or any
other general-distribution channel.

I've been pulling APDA's chain about this for a while... six months ago,
when the pre-release version of Phil&Dave's was mailed to developers, and
again last month when the Release Version was announced.  I've spoken
with the Operations Manager of APDA, Phil Ostron (I think that's the correct
spelling... if not, sorry Phil!).  He agreed with me that APDA should
carry the Developer CD-ROM, and said he'd see what could be done... but
that it would probably take some weeks to resolve the issue.

I think the Developer CDs are a very good idea.  It's possible to put an
almost unbelievable amount of useful information on one CD-ROM... 600
megs or so, if you fill 'em up...  Tech Notes stacks, software, SpInside
Mac, and loads of other goodies.  Some of what's on the disk is
polished, some is "under construction", some is simply weird... but I'd
far rather have it (even the unfinished parts) than not!

If you'd like to see an electronic version of Inside Mac become generally
available, I suggest that you contact APDA and let them know.  Phil Ostron
assured me that both APDA and DTS (Developer Tech Support) do follow the
netnews traffic, and are concerned with what people think and want.



-- 
Dave Platt                                             VOICE: (415) 493-8805
  UUCP: ...!{ames,apple,uunet}!coherent!dplatt   DOMAIN: dplatt@coherent.com
  INTERNET:       coherent!dplatt@ames.arpa,  ...@uunet.uu.net 
  USNAIL: Coherent Thought Inc.  3350 West Bayshore #205  Palo Alto CA 94303

------------------------------

Date: Fri, 12 Jan 90 10:19:20 EST
From: OLSJ%CMR001.BITNET@forsythe.stanford.edu
Subject: WindowShade / MSWord 4 CRASH!

With WindowShade cdev installed in sys (6.0.2)
I try to open MS Word 4.0 and my MAC SE crashes
given me BOMB and error 10. I take WindowShade
out of sys folder, re-boot and no problem.
Anyone else has had a similiar problem???
Will pre-digest for the net...

ps. can I obtain sys 6.0.4 from the net?
Thanks.

Regards,

Johannus (John) C Olsthoorn
Edition electronique - CRD
College militaire royal de Saint-Jean
BITNET: OLSJ@CMR001

------------------------------

End of Info-Mac Digest
******************************