Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!apple!sun-barr!newstop!sun!amdahl!starsoft!david From: david@starsoft.UUCP (Dave Lowrey) Newsgroups: comp.sys.amiga Subject: Re: Deleting Articles under ANEWS from Amiga UUCP 1.05D Message-ID: <0407.AA0407@starsoft.UUCP> Date: 2 Jun 90 12:42:45 GMT Followup-To: comp.sys.amiga Lines: 46 Expires: Keywords: >Has anyone had any problem deleting articles under the ANEWS distributed >with Amiga UUCP 1.05D? > >I like this version of ANEWS much better, since I can post and reply from >it. But how do I get rid of the articles that I have read and don't want >to keep? I have been telling it to delete the articles (the "d" key), but >after I finish the newsgroup, the system tells they are all there again, with >the same number of unread messages! > If you have a C compiler, you can put this small fix in the code: In there is a file called news.c. The following lattice diff file shows the changes necessary to make the delete command work correctly. It also fixes a "bug" that caused the group you just finished reading to be re-scanned. With the fix, when you finish a group, the next group is scanned, and you are asked if you want to read it. ==================Start of diff file - Cut here ================= TO TRANSFORM Onews.c INTO news.c ... *** CHANGE 382 IN Onews.c TO [382,383] IN news.c *** < return ('n'); --------------- > free_directory(1); > return ('$'); =======================End of diff file =========================== There is another "bug" that causes the 'followup' commands 'f & F' to be confused with the 'reply' commands 'r & R'. To fix this, you edit showart.c. In function 'showart' there is a switch statement. Just switch the contents of the 'r' and the 'f' cases. Hope this helps...... ---------------------------------------------------------------------------- These words be mine. The company doesn't care, because I am the company! :-) Dave Lowrey | In Texas: {uhnix1,moray}!starsoft!david Starbound Software Group | The World: dwl10@uts.amdahl.com (amdahl!dwl10) Houston, TX |