Xref: utzoo news.software.b:6422 news.software.nn:1432 comp.lang.perl:3385 Path: utzoo!mnetor!geac!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!newstop!exodus!warp.Eng.Sun.COM!rock From: rock@warp.Eng.Sun.COM (Bill Petro) Newsgroups: news.software.b,news.software.nn,comp.lang.perl Subject: Re: Sort newsrc file according to nn's presentation sequence Message-ID: <4642@exodus.Eng.Sun.COM> Date: 17 Dec 90 21:03:34 GMT References: <1990Dec16.220057.4173@Daisy.EE.UND.AC.ZA> Sender: news@exodus.Eng.Sun.COM Followup-To: news.software.b Lines: 26 barrett@Daisy.EE.UND.AC.ZA (Alan P. Barrett) writes: >If you use nn and also another newsreader (I use both nn and trn) then >you may wish for a way of sorting your .newsrc file so that the other >newsreader uses approximately the same presentation sequence as nn does. >Here is a script that sorts a .newsrc file into the order specified by a >.nn/init file. It works OK with my .newsrc and my .nn/init files; your >mileage may vary. I have had the problem (after running nntidy, I think) that running rn or trn after nn causes rn to complain severely about the way that .newsrc was left. Error messages like: Warning! Somebody reset news.announce.important--assuming nothing read. Unread news in news.announce.important 11 articles Warning! Somebody reset comp.binaries.mac--assuming nothing read. Unread news in comp.binaries.mac 1036 articles and on. After taking care of this, and cleaning it up for rn, if I go back to nn, it displays all my newsgroups as NEW. Any ideas? -- Bill Petro {decwrl,hplabs,ucbvax}!sun!Eng!rock "UNIX for the sake of the kingdom of heaven" Matthew 19:12