[comp.sys.mac.digest] INFO-MAC Digest V6 #85

Info-Mac-Request@SUMEX-AIM.STANFORD.EDU (Jon Pugh and Lance Nakata) (09/15/88)

INFO-MAC Digest         Thursday, 15 Sep 1988      Volume 6 : Issue 85

Today's Topics:
                 Stuffit 1.5.1 (Mac archives submission)
                          NumTalk & LSC source
                        [hierarchical menus demo]
                      here comes HierDA-0pt9967.hqx
                               Simple CDEF
                              LockOUT DA...
                          SoundMaster 1.2 CDEV
                            ARCMAC (2 parts)
             DriveLock - an INIT that "locks" floppy drives
                          Black and White XFCN
                       IM Manual with error codes
                              SetClock 1.8
              QVT - a shareware terminal emulator (2 parts)
                               Moire 2.12
                                 MCS 1.1
                                Fish! 1.1
                         Cellular Automaton V0.1
                           Retouch Version 1.2
      THINK C 3.0 => 3.0p2 patcher (Macintosh archives submission)


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

Date: Thu, 8 Sep 88 11:23:25 EDT
From: jspear@afit-ab.arpa (Jon L. Spear)
Subject: Stuffit 1.5.1 (Mac archives submission)

Yet another version of Stuffit Shareware program follows, as a binhexed
Stuffited (v1.4) file.  To reduce bootstrapping problems, please ensure
that either Stuffit or UnStuffit is stored unStuffited.

Jon Spear

[excerpts from (included) Stuffit 1.5.1 Read Me]

ADDENDUM regarding bug fix version 1.5.1

About StuffIt 1.5.1 (8-29-88)

StuffIt 1.5.1 is a bug fix release.  It corrects several problems in 1.5.
Almost all of these problems were caused by my hasty conversion from
LightspeedC 2.15 to 3.0.  In the conversion, I expected that everything will
be identical.  (A legitimate assumption.)  Unfortunately, that assumption
was false.  As a result, quite a few, both innocuous and serious, bugs
crept into 1.5.  All known problems as of today (and I think we caught most
of them) have been corrected in 1.5.1.

The bugs corrected are:
1. Operation of TEXT add has been restored.
2. A disk error during compression (usu. disk full) no longer crashes machine.
3. On larger HDs, free space may be reported as negative.  Fixed
4. Aborting a HMF add and keeping the partially added HMF sometimes results in
   a corrupted entry.  Fixed.

Though it isn't a major improvement, performance under MultiFinder has been
improved to the extent that running StuffIt in the background is now
tolerable -- not great, but tolerable.

Raymond Lau

[archived as

[SUMEX-AIM.Stanford.Edu]<INFO-MAC>STUFFIT-151-PART1.HQX
[SUMEX-AIM.Stanford.Edu]<INFO-MAC>STUFFIT-151-PART2.HQX

UNSTUFFIT-15.HQX is available in BinHex 4.0 format to alleviate the
bootstrapping problem.

- Lance ]

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

Date: Thu, 11 Aug 88 09:38:12 dt
From: Ted Johnson <tedj%hpcilzb@ce.hp.com>
Subject: NumTalk & LSC source

This is a program called Number Talk.  If you type in a number
(e.g., "-234.35"), Number Talk will spell it ("Negative Two
Hundred Thirty-Four Point Three Five") and will also speak it,
provided you have a MacinTalk driver in your System Folder.

It gets more interesting when you type in HUGE numbers
("One Trillion ...")!

The Lightspeed C source code, stripped project file, and a
short "How To" document are included.  The program and its
source code are public domain.

Have fun!

-Ted C. Johnson

[archived as

[SUMEX-AIM.Stanford.Edu]<INFO-MAC>NUMBER-TALK.HQX

- Lance ]

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

Date: Mon, 15 Aug 88 11:50:35 dt
From: Ted Johnson <tedj%hpcilzb@ce.hp.com>
Subject: [hierarchical menus demo]

The following BinHex StuffIt file contains a LSC demo
program I wrote, as well as the source code, resource file,
and stripped project file.

This program demonstrates how to use hierarchical menus.  It
also demonstrates how to handle DA's, how to make your own
"About..." box (with an icon), and how to use dialog boxes.

The use of this source code is FREE, provided it is for
non-profit purposes.  I hope it can save someone some time!

However the name "T Bear Software" and the T Bear icon are
both Copyright (C) 1988 by Ted C. Johnson, and may NOT be
used without my express written permission.

-Ted Johnson
 President, T Bear Software

[archived as

[SUMEX-AIM.Stanford.Edu]<INFO-MAC>DEMO-HIERARCHICAL-MENU.HQX

- Lance ]

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

Date: Sat, 13 Aug 88 19:15:56 PDT
Subject: here comes HierDA-0pt9967.hqx
From: Jim Kateley <kateley%apple@Sun.COM>

Here's version 0.9967 if HierDA - it replaces 1.0 (yes, that's right)

I did remember one thing that may make it less desirable, someone told me
that it does not work with fullwrite......Jorg knows this and was going
to see if he could figure out why.

Jim Kateley
Apple Computer

[Moderator's Note:  hierDA is a INIT/CDEV that will make the DA menu (in
 systems 4.1 and above, hierarchical.  For things like the control panel,
 you'll be able to select which control panel item will be brought up
 first by selecting it from a pop-up hierarchical menu connected to the
 DA menu's "Control Panel" entry. - Roger Long]

[archived as

[SUMEX-AIM.Stanford.Edu]<INFO-MAC>INIT-HIERDA-09967.HQX

- Lance ]

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

Date: 12 Aug 88 19:02:12 GMT
From: sdh@flash.bellcore.com (Stephen D Hawley)
Subject: Simple CDEF

Knowing that Inside Mac has been particularly sketchy about how to
write control definition functions, I finally got around to taking up
the task.  The following is a stuffit archive of source, lightspeed c
projects and a macpaint document that allows a push-on/push-off button
to be defined as a control.  It is by no means complete as far as the
control definition function is concerned, as buttons do not require
dragging, tracking or region calculation, but it will serve as a decent
skeleton to start from.

Steve Hawley

[archived as

[SUMEX-AIM.Stanford.Edu]<INFO-MAC>SIMPLE-CDEF.HQX

- Lance ]

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

Date: Mon, 15 Aug 88 11:43:08 -0800
Subject: LockOUT DA...
From: rdsesq@jessica.Stanford.EDU

Here Is the lockOUT da. It will work under finder only. I downloaded it
from [a local bboard] and have run it on a + and ][ with no problems. It
will not prevent someone from hitting the switch and rebooting but it does
keep prying eyes of your work will you do grab a cup of coffee.

Rob Snevely

rdsesq@jessica.stanford.edu

[archived as

[SUMEX-AIM.Stanford.Edu]<INFO-MAC>DA-LOCKOUT.HQX

- Lance ]

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

Date: Tue Aug 16 10:07:12 1988
From: portal!cup.portal.com!Mark_Peter_Cookson@sun.com
Subject: SoundMaster 1.2 CDEV

[This binary came to Info-Mac with no description, so I'm including the one
found with the older 1.1 version.  I expect this newer version has bug
fixes or enhancements.  - Lance]

[SoundMaster 1.1 cdev]

SoundMaster is a shareware Control Panel device from Bruce Tomlin, and is a
godsend to those of you who like to have various Mac sounds replaced with
your very own digitized sounds.  The various features include

    o   Specific sounds for the following operations
        *  Startup
        *  Shutdown
        *  Restart
        *  Disk Eject
        *  Disk Insert
        *  Bad Disk
        *  System Beep
        *  Key Click
    o   Plays SoundCap, SoundWave, and SoundEdit files at ALL 4 SAMPLING
        RATES!  (No more 22 kHz startup sounds...).  It does not read snd
        resources.
    o   Individual volume settings for each sound.
    o   Each sound can be stored anywhere in or under the System Folder.
    o   You can play the sounds inside SoundMaster, to test for the right
        sampling rate.

This has allowed me to dump CheapBeep, SoundInit, ShutdownSound, MacII,
MacPuke and MacFeedMe.  VERY handy, and I've had no problems with it.

Standard Disclaimer   I have no connections with Bruce Tomlin, other than
having sent my $10 shareware fee in 15 minutes after downloading this baby.

                            "General, a machine becomes human
                             when you can't tell the difference."

                                        Moriarty, aka Jeff Meyer
INTERNET      moriarty@tc.fluke.COM
Manual UUCP   {uw-beaver, sun, allegra, hplsla, lbl-csam}!fluke!moriarty
CREDO         You gotta be Cruel to be Kind...
<*> DISCLAIMER  Do what you want with me, but leave my employers alone! <*>

[archived as

[SUMEX-AIM.Stanford.Edu]<INFO-MAC>CDEV-SOUNDMASTER-12.HQX

- Lance ]

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

Date: Wed 17 Aug 1988 01:30 CDT
From: Samir Kaleem <XSAK%ECNCDC.BITNET@Forsythe.Stanford.EDU>
Subject: ARCMAC (2 parts)

Here comes an archiving program with a twist. I'll let you discover the
twist.

[archived as

[SUMEX-AIM.Stanford.Edu]<INFO-MAC>ARCMAC-12A-PART1.HQX
[SUMEX-AIM.Stanford.Edu]<INFO-MAC>ARCMAC-12A-PART2.HQX

This is a self-extracting, shareware program.

- Lance ]

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

Date: Tue, 16 Aug 88 11:51 MET
From: Thomas Fruin <FRUIN%HLERUL5.BITNET@Forsythe.Stanford.EDU>
Subject: DriveLock - an INIT that "locks" floppy drives

Here is a little piece of work I had to do a couple of weeks ago. It's
called DriveLock, and maybe it is of some use to you ...

DriveLock is a simple INIT that  "locks"  floppy  drives.  This  means
that during the normal course of operation of a Macintosh a disk  will
no longer be ejectable from a that drive. DriveLock arose out  of  the
need  to  prevent  students  in  a  university  Macintosh  lab   from:

o       booting with their own Startup disks (usually with old versions  of
   the  System,  and  without  AppleShare  and  AppleTalk  ImageWriter
   drivers); this  caused  all  kinds  of unnecessary network problems

o  taking the university-supplied Startup  disks  home  "by accident".

DriveLock can also be useful for demonstration  machines  at  computer
shows, or for dealers, where you want people to be  able  to  use  the
machine  without  being  able  to  take  inserted  floppies  home   or
inserting their own floppies for copying ...

And then it can be great fun to put a copy of DriveLock in a  friend's
(or enemy's) System Folder while  s/he  isn't looking ...  you  didn't
hear this from me!

The assembly language source is included.

-- Thomas Fruin

   fruin@hlerul5.BITNET                       University of Leiden
   thomas@uvabick.UUCP                        University of Amsterdam
   hol0066.AppleLink
   2:512/114.FidoNet (MacSaga Motherboard)    The Netherlands

[archived as

[SUMEX-AIM.Stanford.Edu]<INFO-MAC>INIT-DRIVELOCK.HQX

- Lance ]

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

Date: 	  Wed, 17 Aug 88 10:15:50 PDT
From: PUGH@NMFECC.ARPA
Subject: Black and White XFCN

Here is an XFCN that returns whether or not Hypercard's card window
is on a black and white (i.e. 2 color or 1 bit) screen.  This is
most useful for being able to make Hypercard call the Switch-a-Roo
FKEY automatically with my DoFKEY XCMD.  Please note that Hypercard
will only do it's visual effects if the card window is on the
main screen (i.e. the one with the menu bar) so this XFCN does
not tell you if Hypercard will do it's visual effects, but since
you have to move the card to another window, I figure you will
know that and script accordingly.

Jon

         N         L                          pugh@nmfecc.arpa
          M    A    L          National Magnetic Fusion Energy Computer Center
           F    T    N             Lawrence Livermore National Laboratory
            E         L                       PO Box 5509 L-561
             C                           Livermore, California 94550
              C                                (415) 423-4239

[archived as

[SUMEX-AIM.Stanford.Edu]<INFO-MAC>HC-XFCN-BLACK-AND-WHITE.HQX

- Lance ]

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

Date: Thu, 18 Aug 88 14:32:36 EDT
From: Mark Nodine <mnodine@VAX.BBN.COM>
Subject: IM Manual with error codes

A friend of mine, Tim Langevin, and I have updated the manual for the
Inside Mac desk accessory to include the error codes returned by the
toolbox routines.  This binhex contains the files Manual and MMIndex to be
placed in your system folder.

	--Mark

[archived as

[SUMEX-AIM.Stanford.Edu]<INFO-MAC>INSIDE-MAC-MANUAL.HQX

- Lance ]

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

Date: Thu, 25 Aug 88 10:52:13 EDT
From: Kenneth Sussmann (PBMA) <sussmann@ARDEC.ARPA>
Subject: SetClock 1.8

Here's a nifty little program called SetClock 1.8 that sets your Mac's
clock by calling an atomic clock in Virginia. The call takes 10 seconds.

[archived as

[SUMEX-AIM.Stanford.Edu]<INFO-MAC>SETCLOCK-18.HQX

- Lance ]

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

Date: Thu, 25 Aug 88 11:52:03 PDT
From: dplatt@coherent.com (Dave Platt)
Subject: QVT - a shareware terminal emulator (2 parts)

This posting contains QVT, a shareware terminal emulator for the
Macintosh.  QVT has the following features:

-  VT52, VT100 and VT220 emulation.
-  Support for both old-style and ADB keyboards.
-  Support for XMODEM, YMODEM, Kermit, and XMODEM-with-MacBinary
   protocols.
-  Autodialing (and demon dialing) using Hayes-compatible modems.
-  Permits configuration of the "delete" key (sends either BS or DEL),
   screen (cursor type, smooth or fast scrolling, auto-newline, etc.),
   serial interface (speed, parity, etc.), and auto-dial phone number.
   Configurations can be saved;  double-clicking on a configuration file
   launches the emulator, loads the configuration, and brings up the
   autodialer dialog box if a phone number has been entered.

I've tested the program for a couple of days.  It's been a solid
performer during those limited tests;  there were no unexpected errors
or bombs.  The Kermit and MacBinary XMODEM protocols seem to work OK;
I haven't tried YMODEM, and the Kermit protocol support doesn't appear
to include sliding-windows or large packets.  The program refers to the
MacBinary-encoded XMODEM protocol simply as "MacBinary";  this is a bit
of a misnomer, as MacBinary can run on top of XMODEM, YMODEM, ZMODEM,
Kermit, or any other file-transfer protocol.

There appear to be a few rough spots and limitations in its use of the
Mac toolbox QVT doesn't run in the background under MultiFinder, and
doesn't use SFPutFile during downloads (thus making it difficult to
download files into a directory other than the one that the program is
stored in).  Hayes-modem support appears adequate, although not
exceptional; for example, it appears to be impossible to embed
mode-change strings in the "phone number to dial" field.  The program
switches the modem from "verbose" to "numeric" result codes, and leaves
it that way when you exit.

The program is pretty easy to use, although it's clear that
there are features that can only be used if you have access to the
documentation (for which you must send in the $50 shareware fee).  I
haven't decided yet whether to pay the shareware fee for this program,
or to buy a copy of VersaTerm.

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

[archived as

[SUMEX-AIM.Stanford.Edu]<INFO-MAC>QVT-PART1.HQX
[SUMEX-AIM.Stanford.Edu]<INFO-MAC>QVT-PART2.HQX

- Lance ]

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

Date: Thu, 25 Aug 88 12:48:09 EST
From: munnari!castan@uunet.uu.net (Jason Castan)
Subject: Moire 2.12

Moire 2.12. - a very pretty screensaver by John Lim. Now in colour.
Might not colourize correctly with multiple screens though. This
will be fixed in the next release.
	Send bug reports to :
	John Lim,
	c/o castan@munnari.oz
	before Nov. 88 (I'm graduating after that !).

Docs in separate binhex file.

[archived as

[SUMEX-AIM.Stanford.Edu]<INFO-MAC>CDEV-MOIRE-212.HQX

- Lance ]

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

Date: Sat 27 Aug 88 09:35:26-EDT
From: Jeff Shulman <SHULMAN@SDR.SLB.COM>
Subject: MCS 1.1

[ Uploaded from Delphi by Jeff Shulman ]

Name: MCS VERSION 1.1
Date: 26-AUG-1988 22:17 by YVES

Version 1.1 of "Multichannel Communications System". This program will
allow simultaneous Upload, Download and Chat between two Macintoshes using
Hayes compatible modems. It uses X.MS, a windowing protocol similar to X.25
and MacBinary II format for file transfers. -- Yves Lempereur [YVES]

[archived as

[SUMEX-AIM.Stanford.Edu]<INFO-MAC>MCS-11.HQX

- Lance ]

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

Date: Tue 30 Aug 88 13:33:44-EDT
From: Jeff Shulman <SHULMAN@SDR.SLB.COM>
Subject: Fish! 1.1

[ Uploaded from Delphi by Jeff Shulman ]

Name: FISH!
Date: 30-AUG-1988 00:56 by TOMSAX

[ Updated 30-AUG-1988 00:56 by TOMSAX. Update to Fish CDEV now supports
multi-monitors, more efficient memory allocation (will load on 1-Meg
machine), handles changing depths better, disables actions if number 'o
fish is zero, plus minor bug fixes AND New Fish Species! ]

Fish! is a CDEV for the Macintosh II which turns the dull gray desktop into
an animated display of color fish. (Also works with DeskPict.) The fish are
fully editable with an integrated color editor. The fish run behind
application windows and do not interfere with apps. Includes on-line
documentation. Promises hours of clean fun.

[archived as

[SUMEX-AIM.Stanford.Edu]<INFO-MAC>CDEV-FISH-11.HQX

- Lance ]

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

Date: Thu 1 Sep 88 09:08:53-EDT
From: Jeff Shulman <SHULMAN@SDR.SLB.COM>
Subject: Cellular Automaton V0.1

[ Uploaded from Delphi by Jeff Shulman ]

Name: CELLULAR AUTOMATONS V0.1
Date: 31-AUG-1988 21:55 by DWOOD

CELLULAR AUTOMATONS v0.1 (8/31/88)

This application calculates and displays the evolution of an array of
cellular automatons and was inspired by the August 1988 Computer
Recreations article by A.K. Dewdney in Scientific American.  These
automatons function like the automatons of the "game" of life, but instead
of being dead or alive, each has a degree of "infection." The array of
cells with various states of health is displayed as a color coded image.
Because it uses Color Quickdraw, *this program will only run on a Mac II*
(or the rumored color SE!).  It can run in the background under MultiFinder
and so a postage stamp size window can sit on your desktop displaying the
current state of the automaton world while you work in other applications.
If you choose to calculate large arrays, adjust the memory allocation using
Get Info in the Finder.  If the about box does not look right, open the
Control Panel CDEV Monitors and reset the system color table.  (I'm working
on fixing this bug, any suggestions?)  The program was written with
Lightspeed C v3.0, an excellent, easy to use development system as
evidenced by the fact that I only took up C last month!  I hope you enjoy
Automatons and hope that you give me some feedback-- it would be much
appreciated.  Look for future versions which fix known, non-fatal bugs, and
include new features and improvements.

Douglas Wood                           DELPHI: DWOOD
Mail Stop 42                           COMPUSERVE: 72727,2512
Center for Astrophysics                SPAN: CFARG1::DWOOD
60 Garden Street
Cambridge, MA  02138

[archived as

[SUMEX-AIM.Stanford.Edu]<INFO-MAC>CELLULAR-AUTOMATONS-01.HQX

- Lance ]

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

Date: Sat Sep  3 10:08:19 1988
From: portal!cup.portal.com!pyxis_customer_support@Sun.COM
Subject: Retouch Version 1.2

Retouch, an image-processing/retouching/special-effects program for the Mac
512KE, Plus, SE, and II.  With Retouch you can:

* Manipulate both black-and-white (bitonal) and 8-bit gray-scale images.
* Open and save images in TIFF, compressed TIFF, and MacPaint formats.
* Convert images from one format to another, and convert PICTs to images.
* Print images on an ImageWriter or LaserWriter printer.
* Transfer images to or from other programs using the clipboard or TIFF files.
* Cut, copy, and paste selected areas.
* Blend multiple images with a large selection of special effects.
* Cut out selected areas, trim away unneeded background, or crop images to a
  given size.
* Enlarge or reduce images by percentage or to a given size.
* Rotate images to any angle.
* Flip images left-to-right or top-to-bottom.
* Fill selected areas with any of 63 shades of gray, as well as black and
  white.
* Change brightness and contrast of selected areas.
* Apply sophisticated image-processing techniques to enhance low-quality
  images.
* Smooth or sharpen selected areas.
* Trace edges.
* Magnify or shrink an image by any percentage.
* Choose from two levels of quality (fast or best).
* Choose from three halftoning methods.
* Change image resolution (dots per inch) to any value.
* Convert images from bitonal to gray-scale, or vice-versa.

[This posting contains the Retouch application, documentation in MacWrite
format, and a sample image.  Retouch is Shareware.]

Requires StuffIt for decompression.

This posting is version 1.2.  It includes a workaround for a bug in MacScan
TIFF files and a fix for a LaserWriter printing problem, but otherwise is
identical to version 1.0.

[archived as

[SUMEX-AIM.Stanford.Edu]<INFO-MAC>RETOUCH-12-PART1.HQX
[SUMEX-AIM.Stanford.Edu]<INFO-MAC>RETOUCH-12-PART2.HQX
[SUMEX-AIM.Stanford.Edu]<INFO-MAC>RETOUCH-12-DOC-PART1.HQX
[SUMEX-AIM.Stanford.Edu]<INFO-MAC>RETOUCH-12-DOC-PART2.HQX

- Lance ]

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

Date: Sun, 4 Sep 88 18:56:47 EDT
From: jspear@afit-ab.arpa (Jon L. Spear)
Subject: THINK C 3.0 => 3.0p2 patcher (Macintosh archives submission)

[THINK C 3.0 => 3.0p2 patcher, Binhexed Stuffit 1.4 file, 105 lines]

Major excerpts from (included) Read Me file:

7/25/88

This is a set of patches that fixes bugs in 3.0.

The patch program, "THINK C => 3.0p2", transforms your version 3.0
into version 3.0p2.

Bugs fixed
----------

(1)  In the "MF Attrs" pop-up menu in the "Set Project Type" dialog,
the bit assignments for "MultiFinder-aware" and "Suspend & Resume Events"
were reversed.

(2)  If the first argument to a macro call did not appear on the same
line as the '(' preceding it, the compiler crashed.  This happened only
when debugging was turned on.

(3)  Using the "Clear" command or key with a struct/array window frontmost
sometimes crashed the debugger.

(4)  Generating a 68881 "FTST d(An)" instruction sometimes crashed the
compiler.

(5)  Under MultiFinder, a DA opened (using the option key) in THINK C's
or THINK C Debugger's layer did not always receive its update events.

(6)  When compiling very large files, there was a glitch in the line
count display.  This was a cosmetic problem only.

(7)  Incorrect code was generated for a conditional expression under
certain obscure conditions.

[archived as

[SUMEX-AIM.Stanford.Edu]<INFO-MAC>THINKC-30P2-PATCHER.HQX

- Lance ]

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

End of INFO-MAC Digest
**********************