Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!linus!decvax!harpo!seismo!hao!hplabs!sri-unix!DGILBERT.ES@PARC-MAXC.ARPA From: DGILBERT.ES@PARC-MAXC.ARPA Newsgroups: net.micro.cpm Subject: WordStar with ZCPR2 Message-ID: <16735@sri-arpa.UUCP> Date: Fri, 10-Feb-84 20:37:34 EST Article-I.D.: sri-arpa.16735 Posted: Fri Feb 10 20:37:34 1984 Date-Received: Mon, 20-Feb-84 02:10:07 EST Lines: 31 USING WORDSTAR UNDER ZCPR2 Programs like WordStar are a problem, in that one would like to keep only 1 set of files and be able to use tham from any USER area. WordStar always looks for its overlay files on drive A, if not on the default drive. Unfortunately, there is no provision for specifying the USER area, so if your in drive G, user 7, WordStar will only check drive A, user 7 for the overlays if not on drive F, user 7. There is a solution. A public domain program called 'DUPUSR' will create a duplicate directory entry on your CP/M disk, but a new User Number. So put the WordStar files on Drive A, User 0 (physical drive E). Create duplicate entries for the overlay files for A1, A2, A3, ... to your highest user number used. Each directory entry actually points to the same allocation numbers, so there is only one actual copy of the file. This system works fine. I can be in any user number, on any disk, and run WordStar without a problem. There is only one danger. If you ever erase one of the directory entries that are duplicated in another user area, CP/M will assume it can reuse the allocation groups thus 'freed', unless you do a disk reset by 'Warm Boot'. By always doing a 'warm boot' after erasing an entry, no problem occurs. It's better than having duplicate files in every user area and wasting lots of good ol' disk space. Doug.