Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!caip!cbmvax!bpa!burdvax!sdcrdcf!lwall From: lwall@sdcrdcf.UUCP (Larry Wall) Newsgroups: net.news.b,net.sources.bugs Subject: rn 4.3 patch #30 Message-ID: <2989@sdcrdcf.UUCP> Date: Fri, 5-Sep-86 18:57:38 EDT Article-I.D.: sdcrdcf.2989 Posted: Fri Sep 5 18:57:38 1986 Date-Received: Sun, 7-Sep-86 04:11:12 EDT Organization: System Development Corporation R&D, Santa Monica Lines: 556 Xref: mnetor net.news.b:373 net.sources.bugs:801 System: rn version 4.3 Patch #: 30 Priority: HIGH Subject: changes for compatibility with newsgroup renaming From: rick@seismo.CSS.GOV (Rick Adams) and others Description: rn checks for the presence of the directory for net.announce. It will not run otherwise. net.announce is no longer a valid group, so if you removed net.announce, rn stopped working. Pnews has various dependencies on net.*. So does newsetup. Fix: Remove the test for net.announce from rn. Handle the new top-level newsgroups (comp.*, news.*, sci.*, rec.*, misc.*, soc.* and talk.*) like net.* and mod.*. From rn, say "| patch -d DIR", where DIR is your rn source directory. Outside of rn, say "cd DIR; patch Patch #: 30 Index: Pnews.SH Prereq: 4.3.1.3 *** Pnews.SH.old Fri Sep 5 15:41:50 1986 --- Pnews.SH Fri Sep 5 15:41:55 1986 *************** *** 4,10 echo "Extracting Pnews (with variable substitutions)" $spitshell >Pnews <Pnews <> $AUTHORCOPY; then $echo "Article appended to $AUTHORCOPY" $echo "" >> $AUTHORCOPY $echo "" >> $AUTHORCOPY --- 442,449 ----- case "${AUTHORCOPY-none}" in none) ;; ! *) if $echo From $USER `date` >> $AUTHORCOPY; then ! $cat $tmpart >> $AUTHORCOPY $echo "Article appended to $AUTHORCOPY" $echo "" >> $AUTHORCOPY $echo "" >> $AUTHORCOPY *************** *** 484,491 ;; esac case $ng in ! net.*|fa.*|mod.*) ! defdist=net dist=h ;; *.*) --- 493,500 ----- ;; esac case $ng in ! net.*|mod.*|comp.*|news.*|sci.*|rec.*|misc.*|soc.*|talk.*) ! defdist=world dist=h ;; *.*) *************** *** 503,508 $echo " " $echo "Your local distribution prefixes are:" $cat $lib/distributions else $egrep -v '[ ]none$' <newsetup <newsetup <\$dotdir/.newsrc --- 154,159 ----- /tmp/n.talk\$\$ \\ /tmp/n.net\$\$ \\ /tmp/n.fa\$\$ \\ /tmp/n.test\$\$ \\ | $uniq >\$dotdir/.newsrc *************** *** 131,136 /tmp/n.\$cntry\$\$ \\ /tmp/n.\$cont\$\$ \\ /tmp/n.mod\$\$ \\ /tmp/n.net\$\$ \\ /tmp/n.fa\$\$ \\ /tmp/n.misc\$\$ \\ --- 167,178 ----- /tmp/n.\$cntry\$\$ \\ /tmp/n.\$cont\$\$ \\ /tmp/n.mod\$\$ \\ + /tmp/n.news\$\$ \\ + /tmp/n.comp\$\$ \\ + /tmp/n.sci\$\$ \\ + /tmp/n.soc\$\$ \\ + /tmp/n.rec\$\$ \\ + /tmp/n.talk\$\$ \\ /tmp/n.net\$\$ \\ /tmp/n.fa\$\$ \\ /tmp/n.misc\$\$ \\ *************** *** 140,146 Done. If you have never used the news system before, you may find the articles ! in net.announce.newuser to be helpful. There is also a manual entry for rn. To get rid of newsgroups you aren't interested in, use the 'u' command. Type h for help at any time while running rn. --- 182,188 ----- Done. If you have never used the news system before, you may find the articles ! in mod.announce.newuser to be helpful. There is also a manual entry for rn. To get rid of newsgroups you aren't interested in, use the 'u' command. Type h for help at any time while running rn.