Info-Mac-Request@SUMEX-AIM.STANFORD.EDU (The Moderators) (01/11/90)
Info-Mac Digest Thu, 11 Jan 90 Volume 8 : Issue 5 Today's Topics: About MultiFinder Hack Adobe fonts from the archives AppleTalk over Eternet cabling? BlackHole Folder --- Help! Building a CODE resource in Lightspeed Pascal - Problem DateBook stack and the Find command disk-catalog Disk copy verification errors... GIF files, the Mac, and FTP Archive List Hard Disk Partitions? Hard drive interleaves HP Laserjet II query Info-Mac Digest V8 #3 Keyboard equivalents in HyperCard MPW C inline and Think C Music-Organiser.hqx Penguin Utilities stack sicn ldef Source code for sample Mac editor Torx T-15 Screwdrivers Ventura on AppleTalk via a PC-Talk Card Word4 scrambles Superclock 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: Tue, 9 Jan 90 09:18:30 PST From: PUGH@ccc.nmfecc.gov Subject: About MultiFinder Hack Here is a hack to change the About box of the MultiFinder that comes with MPW's SADE into something a bit more amusing. Merely bring up the about box and then press the tab & spacebar while the box is showing. Chortle mildly. This was written by Allan Foster. In MultiFinder 6.1b7 change the following bytes. This will activate the multifinder alternate aboutbox by Tab - SpaceBar Resource Type = "CODE" ID = 2 Original Offset 2578 4A 2D FE AC 67 16 10 2D FE B0 B0 2D FE AE 66 04 53 2D FE B0 4C DF 20 01 58 4F 4E 73 Hacked Offset 2578 60 1A 10 38 01 7A 0C 00 00 03 66 04 53 6D FE B0 10 2D FE B0 60 04 4E 71 4E 71 4E 75 Original Offset 7922 10 2D FE B0 Hacked Offset 7922 4E BA EB 20 ------------------------------ Date: Wed, 9 Jan 90 13:26 EST From: <CLAFFEY_%CTSTATEU.BITNET@forsythe.stanford.edu> Subject: Adobe fonts from the archives I recently began requesting some of the Adobe fonts from the Info-Mac archives and have discovered that the various 'styles' (i.e. plain, bold, italic, etc.) are stored seperately from each other, like the way different fonts or point sizes are kept. Is there a way to merge the various styles? Send to me and I will summarize to the net. Joe Claffey INTERNET: CLAFFEY_%.BITNET@MITVMA.MIT.EDU BITNET: CLAFFEY_JOR@CTSTATEU ------------------------------ Date: 09 JAN 90 09:42:07 From: DERIDDER%SARA.NL@forsythe.stanford.edu Subject: AppleTalk over Eternet cabling? We are planning to install PhoneNet in our building. (Backbones with Kinetic boxes to Ethernet). Because we want the possibility for some (or all) backbones to switch to Ethernet, we are planning to use Thin Ethernet cabling (RG58U) for our PhoneNet backbone. In an experimental configuration (300 meter of cabling and 15 PhoneNet nodes) everything worked OK. Has anyone experience with such a configuration. Kees de Ridder, Free University, Chemical dept., Amsterdam, the Netherlands. bitnet: deridder@sara.nl ------------------------------ Date: Tue, 9 Jan 90 02:25 CST From: <D6506004%TWNTUCC1.BITNET@forsythe.stanford.edu> Subject: BlackHole Folder --- Help! Dear NetUsers: I have a problem with my Mac. There is an odd folder in my hard disk which SWALLOWED everything I tried to put into it. It's just that simple: Everytime drag an icon (a file, a folder, an application or whatever) into it, everything looks fine, the item is really moved into that folder and the icon DD appear in the window of that folder. Somehow, when I decided to close that folder and open it again, well, EVERYTHING DISAPPEARS. The finder just tell me that there are 0 items occupying 0 Kbytes in my hard disk. But when I tried to trash it, the finder told me that there are something in that folder which is in use so I cannot trash it (I had tried the drag command-option combination in trashing it, but I just can't Empty the trash.). I tried to locate these files in that folder, both the Apple's find file DA and the DiskTop DA from CE software failed in doing so. Still, the Findswell by Working software is able to find these files. But finding these files do me no good. I tried to delete that folder with every utility availible, but to no avail. All of these utilities tell me that there are something in that folder so I can't delete it, yet report 0 items with 0 Kbytes when I get info. So I decide to write a simple program to figure out what happened. I had used the PBDelete function, which gives me the id -47 fBzyErr. I called PBGetCatInfo, and it returned with the value zero in the ioDrNmFls field of the parameter block. Yet it seems that the catalog tree file did hold something. However, hack into the catalog tree file seems dangerous and I dare not to do so ( One mistake and my hard disk will be over.). Is there anybody who have had similar experience before? Can I slove this problem without hacking into the catalog tree file or formatting my hard disk? The folder just adsorbs everything I put into it like a black hole! My machine is Mac IIx with 4 Mb RAM/80 Mb internal hard disk. Any help will be appreciated. Please send e-mails to the address Q7503006@TWNTUCC1.bitnet. (Though I send this mail from D6506004, Q7503006 is MY account. However, I had problem sending mails from that account but it's ok to receive mails). I will summerize to the digest if anybody is intersted. Thanks in advance. Q7503006@TWNTUCC.bitnet Michel J. Chu ------------------------------ Date: Tue, 9 Jan 90 09:37 EST From: NUMUG@northeastern.edu Subject: Building a CODE resource in Lightspeed Pascal - Problem I have just started to mess around with the Apple's Toolbox utilities - - quite impressive, although, I have stumbled upon a little problem. I am using Lightspeed pascal, and trying to creat a CODE resource, to call some routeens. When I try to create it, it prompts me with a "DA/Driver/Code Resource must have an entry point MAIN." error. I have tried to make the program a funtion, called main, and then a Procedure named main, but it keeps giving me the error. I am obviously missing something..... Anyone Know?? Brad Goodman Northeasten University Macintosh Users Group Boston, Massachusets numug@nuhub.northeastern.edu ------------------------------ Date: Mon, 8 Jan 90 11:24:39 PST From: patrickf%popeye.nosc.mil@nosc.mil (Patrick Fondaneche) Subject: DateBook stack and the Find command I recently read the digests and heard about problems related to the extension of the Datebook stack for the first semester of 1990. It was impossible to switch back and forth between the Week 1 card and the Six Month calendar. There were no problems with the following weeks. I decided to check it out and after having extended my calendar, experienced the same difficulties. After a short investigation, it appeared that the problem came from two stack handlers,goWeekly and goSixMonthly. In both cases a FIND command restricted to a background field was used and it did not work properly. All the scripts were correct but the FIND command had an unusual behavior. I decided to reproduce this problem in a simpler environment and created a new stack for that. Here is its description. 1) The new stack has 2 backgrounds, B1 and B2. 2) Background B1 has a field, F1, and a button FindButton. 3) Background B2 has a field, F2. 4) 2 cards, C1 and C2, share background B1. B2 has only one card, C3. 5) The content of F1 is "Same" on C1 and "Different" on C2. 6) The content of F2 is "Same" on C3. 7) The mouseUp handler for FindButton reads : Find "Same" in field "F2" If you click on FindButton, while on card C2 everything works as expected. "Same" gets selected in the field F2 on card C3. But try to do it >From card C1,and it won't work. Instead "Same" gets selected in the field F1 on the current card, C1. This is exactly what happens with the DateBook stack. B1 corresponds to background "Six Monthly" and B2 to background "Weekly" or vice versa. A "Six Monthly" background field named "MySecs" holds the date (in seconds) that corresponds to the beginning of the six-month period. A similar "Weekly" background field named "WeekSecs" holds the date for the first day of the week. When a six-month period starts on a Monday, both fields have the same contents for the first week of the period and the FIND command does not work properly. This is what happened with this year beginning on a Monday. An easy way to go around this bug is to add a GO command that takes you to the first card of the appropriate background just before executing the FIND command in the goWeekly and goSixMonthly handlers. P.S. : All these tests were run with HyperCard 1.2.2 and system 6.0.3. Patrick Fondaneche. ------------------------------ Date: Mon, 08 Jan 90 21:51:08 +0100 From: Pottie Karl <GHGAQBA%BLEKUL11.BITNET@forsythe.stanford.edu> Subject: disk-catalog 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) ? ------------------------------ Date: Tue, 9 Jan 90 14:07 EST From: WATTS@urhep Subject: Disk copy verification errors... Hi y'all, I have an SE/30 with one of the new high densify floppy drives. I have not, however, used HD disks yet (as the 800 are cheaper per Kb right now). Recently, I have noticed that I get an "Unknown disk error" when trying to copy the contents of one disk to another (by draggin the source disk icon onto the destination disk icon). It always happens during the verification pass on the destination disk, and it always happens right at the start. Everything works fine if I copy by selecting all the folders/files in the source disk and move them to the destination disk. Any ideas? Baring that, any ideas on how to determine the disk error? Thanks, Gordon. BITNET: WATTS@UORHEP INTERNET: gwatts@ruthep.rutgers.edu USMAIL: Gordon Watts Dept. of Physics and Astronomy University of Rochester Rochester, NY 14627-0011 ------------------------------ Date: Mon, 8 Jan 90 16:46 EST From: The Blue Adept <KSBOLDUAN%AMHERST.BITNET@cunyvm.cuny.edu> Subject: GIF files, the Mac, and FTP Archive List Hello all! Before the new year, I posted a question about how to download .gif files to the Mac. Well, the answer, as so many of you told me, is to make sure to set the file type to BINARY before transferring the files. Gifs are stored in binary format and if you don't do that then you lose the 8th bit and it corrupts your file. Just type BINARY while logged on to an anonymous ftp site will set the file correctly. I transfer the files first to my Vax and then to my Mac. To do the latter transfer, I just use Kermit and make sure to set the file to Binary (NOT MacBinary). Some of you asked where I had found certain gif archives. Well, here is the latest list that I have. I usually go to wuarchive.wustl.edu. They have an INCREDIBLY large selection. Good luck to all you Giffers out there and THANKS again to EVERYONE!!! who answered my query. Kevin Bolduan '91 Amherst College KSBOLDUAN@AMHERST Bitnet =================================== a.cs.uiuc.edu 128.174.252.1 TeX, dvi2ps, gif, texx2.7, amiga, dsl.cis.upenn.edu 130.91.6.12 GIF, IBM hubcap.clemson.edu 130.127.8.1 GIF, RFCs lut.fi 128.214.25.8 GIF, PD sources modified for hp-ux, merlin.cs.purdue.edu 128.10.2.3 ConcurrenC, Xinu, mac, GIF nyssa.cs.orst.edu 128.193.32.17 GIF, games, misc. surya.waterloo.edu 129.97.129.72 GIF, tiff format, gif2ras umn-cs.cs.umn.edu atari, apple II, GIF uxc.cso.uiuc.edu the Internet, recipes, GIF vmd.cso.uiuc.edu 128.174.5.98 Hurricane Hugo GIF pictures wuarchive.wustl.edu 128.252.135.4 GNU, X.11R3, GIF, IEN, RFCs, TeX, ------------------------------ Date: Tue, 9 Jan 90 03:34:59 CST From: knight@swfmc1.sinet.slb.com (Francis Knight, EMUK Felixstowe, 0394 275842) Subject: Hard Disk Partitions? A few months ago there were some exchanges via Info-Mac about hard disk partitioning software. At that time, AlSoft MultiDisk software was preferred over SUM. Has anyone any views on the software in SUM II ? Has it been improved? I would prefer a _Hard_ partition rather than a _Soft_ partition on our new real-soon-now system, so I'll have to find something to do this by the time the system arrives. I understood, from Press reviews, that SUM(I) did Soft partitions. I have never seen explicit mention of _Hard_ partioning software. Any suggestions, anyone? I'll post a summary in due course. Thanks to all. Francis K =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Francis H Knight | knight@swfmc1.sinet.slb.com Schlumberger Industries | Felixstowe, UK | | -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- ------------------------------ Date: Mon, 8 Jan 90 20:46:03 PST From: dplatt@coherent.com Subject: Hard drive interleaves One response that I received suggested SilverLining Utilities from LaCie might report this value, but I think you have to but a LaCie hard drive to get the software. I believe you can buy the SilverLining package separately. It's a very flexible formatter/installer/driver/utility set... if you have a hard disk with "generic" single-partition driver software, and would like to spiff it up, SilverLining can probably do the job quite effectively. In addition I discovered that no matter what type of Mac you are using, HDSetup sets the interleave to 1. This isn't true for the Miniscribe drive in my SE. However, I've noticed that SilverLining has the same behavior when formatting a LaCie 42 drive on a Mac Plus... this is the same Quantum drive-mechanism that Apple has been using for the last couple of years. I believe that this behavior indicates that the Quantum drive contains a track cache, capable of holding at least one full track's worth of sectors. A drive of this sort _should_ be formatted with a 1:1 interleave, no matter how fast or how slow the machine to which it's attached. The cache has the same benefit as a higher interleave on a slower machine... it prevents data overruns from causing "missed sector" conditions. Now I am really confused. My understanding of interleaves was tha a Mac Plus needed an interleave of 3:, and SE uses 2:1 and a Mac II uses 1:1 to realize optimum drive performance. These numbers are appropriate for medium-performance drives. They are _not_ absolute numbers, writ in stone. The faster the drive, the higher the interleave number needs to be when the drive is used with a slow machine. I also have a MicroNet drive and its software wants to set the Plus to 6:1, the SE to 3:1 and the Mac II to 1:1! That's probably a fast drive... say, a Wren or something in that class. These drives can read and transfer data _very_ quickly. The figures you report can be interpreted as "A Mac II can keep up with this drive. The drive can read and transfer data between two and three times as quickly as a Mac SE can accept it, and between five and six times faster than a Plus can accept it." Or something along those lines. Does anyone know what the interleave really should set to? Please respond to me and I will summerize for the net. Thanks. As high as necessary, and no higher >grin<. Seriously... it depends on the speed of the drive, the speed of the Mac in use, and whether the drive has a cache. You can probably trust the installer software that you received with the drive. 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: Tue, 9 Jan 90 11:30 EST From: Michael D Yablonsky Dept of Molecular Karma at the Waksman Institute Subject: HP Laserjet II query I presume that sooner or later we will have to interface with the IBM users of the world on a more direct basis than common mainframe usage. Unfortunately I have to try to do this now. Ideally I'd like to drag my Mac into their office and be productive in their environment. To this end I would like to use their toys, printers, slide makers etc.. So to start with, are there any drivers which I can use to print Word 4.0 and pict files from my SE/30 on an HP laserjet II?? Anything PD, Share etc?? How about cables??? If I get enough responses I'll summarize to the net Thanks very much Mike Yablonsky@biovax.rutgers.edu ------------------------------ Date: Mon, 8 Jan 90 18:41:57 PST From: sun!wrs!yuba!steve@decwrl.dec.com (Steve Sekiguchi) Subject: Info-Mac Digest V8 #3 I've got a rather difficult problem here. We've got a Gator Box running the NFS/AFP conversion. We use this to hook up Macs and Suns. With the Sun as a AppleShare File server. All of this works great! Now here is the problem, Macs are allowed to create files on the Sun/Unix fileserver with a "/" in the filename. This is great until you try and restore one of these files from your "dump" tapes. "restore" core dumps when it runs into a file with a "/" in the filename. As far as I can tell the "dump" tape is fine. Does anyone have a suggestion for getting the files off the backup tape? Thanks in Advance, Steven Sekiguchi Wind River Systems sun!wrs!steve, steve@wrs.com 1351 Ocean Avenue (415) 428-2623 Emeryville CA, 94608 "This shows how much easier it is to be critical than to be correct." -Disraeli ------------------------------ Date: Mon, 8 Jan 90 16:53 EDT From: "Paul Carnahan, Brandeis University" <CARNAHAN%brandeis.bitnet@forsythe.stanford.edu> Subject: Keyboard equivalents in HyperCard I have a HyperCard scripting question: How do I script a keyboard equivalent so that someone can get the same result as pressing three keys simultaneously? Specifically, I want a user on a keyboard-less information kiosk to be able to invoke the "Close View" utility by clicking on a button on the screen. The key sequence is option-command-o. I know how to "send tabKey," but how do I send three keys? Thanks for your help. If you send responses to me directly I will send the definative answer to Info-Mac. ------------------------------ Date: Mon, 08 Jan 90 10:14:23 SST From: TNG TaiHou <ISSTTH%NUSVM.BITNET@ricevm1.rice.edu> Subject: MPW C inline and Think C I have the following declaration in MPW C: pascal void RestoreDeviceClut (GDHandle gdh) = { 0x7002, 0xAAA2 }; Please, can anyone tell me how to translate this into Think C? MPW C also define a const prototype. Is it all right to leave it out in Think C? In general, what must I know to convert a program in MPW C to Think C? Please, help me, anyone. This is an immergency worst more urgent than childbirth. ------------------------------ Date: Wed, 20 Dec 89 08:27:52 PST From: map@risc.com (Michael A. Perry) Subject: Music-Organiser.hqx This is a program I wrote in order to keep track of all the tapes & CDs I've accumulated over the years. Like most people with a lot of music like this, I can never find anything I'm looking for. This program was meant to be a solution to this problem. The program supports CDs, Tapes, and to some extent, records. It does not support printing yet, but you can output your archive in TEXT format, so you can print with your favourite word processor. Music Organiser is shareware: $5.00 Mike Perry. /********************************************************************/ /* 6600map@ucsbuxa.ucsb.edu * Disclaimer: */ /* 6600map@ucsbuxa.bitnet * Half the time, I don't even */ /* map@risc.com * know what I'm talking about. */ /********************************************************************/ [Archived as /info-mac/app/music-organizer.hqx; 43K] ------------------------------ Date: Fri, 22 Dec 89 20:31 EDT From: PV9Y@vax5.cit.cornell.edu Subject: Penguin Utilities stack Penguin Utilities is a HyperCard stack which gives you the ability to work on groups of objects, rather than on one object as a time, as HyperCard forces you to do now. There are 15 functions which can be applied to any number of the objects present on the current card. They include align, delete, edit script, export script, export text, get info, hide, import text, change names renumber, select, show, move to background, move to card, change text attributes, lock text, unlock text, and possible one or two which I'm forgettingThe renumber and text attributes can be especially useful, I've found. Adam Engst [Archived as /info-mac/hypercard/penguin-utilities.hqx; 120K] ------------------------------ Date: Tue, 19 Dec 89 22:39:01 PST From: 6500stom%ucsbuxa@hub.ucsb.edu Subject: sicn ldef sicn ldef.c v1.0 Copyright 1989 Josh Pritikin All rights reserved. This LDEF may be used freely in any programming project, no string attached. This LDEF will let you display text as with a normal LDEF except you can also attach SICN's to each item. I wrote this to emulate the one in SFDialog. Source included. fast -> internet: 6500stom@ucsbuxa.ucsb.edu AppleLink: 6500stom%ucsbuxa@hub.ucsb.edu@DASNET# CIS: 70771,2131@(internet gateway...) slow -> GEnie: J.Pritikin AppleLink: Josh.P very slow -> CIS: 70771,2131 [Archived as /info-mac/tech/sicn-ldef.hqx; 11K] ------------------------------ Date: Mon, 8 Jan 90 16:36:36 est From: whg@csmunix.larc.nasa.gov (William H. Greene) Subject: Source code for sample Mac editor I apologize if this has been dealt with before or if there is an obvious answer. I'm looking for the C source to a Mac editor that can handle multiple large (> than 32K) files. I know about Mini Edit, of course, but it doesn't satisfy this requirement. If you can help me out, please email me the information since I'm not a regular subscriber. Thanks for the help. Bill Greene ------------------------------ Date: 8 Jan 90 11:22:00 MST From: "5268 Spires, Shannon V." <svspire@sandia.gov> Subject: Torx T-15 Screwdrivers Snap-on Tools sells the one I bought. The part number is SSTX1015, and it sold for $12.70 in 1986. It is very good quality and well worth the price. It has a 10" blade so it's plenty long enough to open a Mac (they also have a 16" model if you need it). Snap-on doesn't sell in stores; they are sold out of independent dealers who keep their stock on trucks. You can usually reach one in your area by looking in the phone book and making an appointment. Alternatively, you can just go to your favorite car repair shop and ask the mechanic when the Snap-on dealer comes by, and be there when he comes. Shannon Spires svspire@sandia.gov ------------------------------ Date: Tue, 9 Jan 1990 11:40:09 EDT From: FAC0395%UOFT01.BITNET@jade.berkeley.edu (J. Feustle) Subject: Ventura on AppleTalk via a PC-Talk Card 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? Thanks Joe Feustle FAC0395@UOFT01.BITNET ------------------------------ Date: Tue, 09 Jan 90 13:07:03 CST From: Graeme Forbes <PL0BALF@vm.tcs.tulane.edu> Subject: Word4 scrambles Superclock Presumably the problem is with Word4 since Superclock (1.8) works fine with everything else. Is there a fix? Also, can someone post version 2 (or later) of Lockout? The archives only have an early version. Thanks, Graeme Forbes ------------------------------ End of Info-Mac Digest ******************************