Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!rochester!cornell!batcomputer!braner From: braner@batcomputer.tn.cornell.edu (braner) Newsgroups: comp.sys.atari.st Subject: Re: BUCKET Message-ID: <2019@batcomputer.tn.cornell.edu> Date: Wed, 14-Jan-87 02:23:58 EST Article-I.D.: batcompu.2019 Posted: Wed Jan 14 02:23:58 1987 Date-Received: Wed, 14-Jan-87 22:38:32 EST References: <1998@batcomputer.tn.cornell.edu> Reply-To: braner@batcomputer.UUCP (braner) Organization: Theory Center, Cornell University, Ithaca NY Lines: 129 Summary: A revised, debugged version [] Turns out that 'Bucket' had a serious bug. Sorry if that caused problems. Here is a revised version, uuencoded. 'Bucket' is a printer spooler plus. The 'plus' stands for the capability to write the bucket contents to disk and to read a disk file into the bucket. The main bug was: To save RAM I overlapped the menu code and the spooling buffer. That means that the buffer should not be activated until the program exits. (When you run the program again it is located beyond the bucket - only when first run it stays resident!) The new version guards against overwriting the program: you cannot read a file until you RErun 'bucket'. (But the bucket is 'activated' automatically upon installation.) Lesser bugs (e.g. in calculation of the length of a file to be read) have also been fixed. Please report any remaining bugs. - Moshe Braner ~~~~~~~~~~~~~~ cut here ~~~~~~~~~~~~~~ begin 644 bucket.tos M8!H ZR #G !T@ $[Y #$[Y ./"I/*FT M!" M S0K0 4T*T '-"\ A "( THW"O/____XN02\ +PU"9S\\ $I.0=_\ M #"!M !@B;0 8T^T '" M !13@&\&$R!1R/_\(&T $" M !Q3@$(84I[_@M#'0A!![O^")$A(;O_4/SP &DZZ M"3Q_ ,L(5G 42&P E#\\ E.N@B07(]@ @ M)VL ! (("L !-"%)T #$AL *X_/ )3KH(;ER/3-\,X$Y>3G5.5O^L2.<' M,"9N @J*P ,(BL ")J!#(4 ;@ %$AL ,P_/ )3KH(.%R/8 I$AL M .0_/ )3KH()ER/'7P 4/^L2&[_K#\\ I.N@@27(\^ Q !F &8 M=$'N_Z[0QT(00>[_KB1(0F)T !"=K 0 ""=K 0 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