Date: Mon, 26 Jan 1998 18:54:07 -0800 (PST) Message-Id: <199801270254.SAA29195@adit.ap.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" To: Anshuman Pandey , djgpp AT delorie DOT com From: Nate Eldredge Subject: Re: Q: Uninstalling parts of DJGPP. Precedence: bulk At 08:56 1/26/1998 -0800, Anshuman Pandey wrote: > >Hello, > >I am wondering whether there exists a remove utility for DJGPP which would >allow a user to uninstall certain packages of the DJGPP systems without >manual procedures. Not per se, but each package when you unzipped it created a manifest file in the `manifest' directory of your DJGPP tree, containing the names of all the files from that package. If you have the fileutils, you can uninstall quite easily. For instance, to delete the `lgp272b.zip' package: c:\djgpp> rm @manifest/lgp272b.mft !!BEWARE!! Some packages contain duplicates or different versions of each other's files. For instance, the GPC package used to (still does?) contain a new DJGPP.ENV. Deleting that, which this procedure would do, would lead to unpleasantries. > >Such a remove utility exists for the emTeX package. This utility makes use >of files, usually one for each package, which contains a list of the file >and pathnames which comprise the package. Invoking 'remove' with the name >of the package as an option accesses the file and removes the applicable >files. Then this procedure is very similar. > >If there is no such utility for DJGPP, then how does one suggest to the >DJGPP team that such a program ought to be made? Exactly like you're doing, since they all read this newsgroup. :) It should be very simple, just a program that reads each line from the file and deletes that name. Caution will have to be used though, since the file itself is usually one of them, and deleting a file you are reading from is usually bad. :) Nate Eldredge eldredge AT ap DOT net