[comp.sources.bugs] Problem with newsetup

tar@ksuvax1.cis.ksu.edu (Tim Ramsey) (08/23/88)

We have an ATT 3B15 running SysV Rel2.1.2.  We are using Larry Wall's rn
package (the "v" command says release 4.3.1.4).

The newsetup script called by rn to create your .newsrc file the first time
you use rn doesn't work correctly.  When it is called, it works for a moment
and then prints:

 Creating .newsrc in <myhomedir> to be used by news programs.
 Too many files in w commands
 cat: cannot open /tmp/n.misc99
			  ^^ this varies

The .newsrc file that is created has only a few newsgroups in it.  Is this a
known problem with rn over SysV?  Did I mess something up?  We use the same
package on our VAX 780 running 4.3BSD with no problems.  Does anybody have a
patch/replacement for this problem?

Please respond by email; I will summarize if asked; etc.

Thanks in advance.
-- 
Timothy Ramsey                     Dept of Computing & Information Sciences
Internet: tar@ksuvax1.cis.ksu.edu           Kansas State University
BITNET:   tar@KSUVAX1                         Manhattan, KS 66506
UUCP:     ... !{pyramid,ucsd}!ncr-sd!ncrwic!ksuvax1!tar

woods@ncar.ucar.edu (Greg Woods) (08/24/88)

In article <519@ksuvax1.cis.ksu.edu> tar@ksuvax1.UUCP (Tim Ramsey) writes:
>The newsetup script called by rn to create your .newsrc file the first time
>you use rn doesn't work correctly. 

>and then prints:
>
> Too many files in w commands
> cat: cannot open /tmp/n.misc99
>			  ^^ this varies

   This is because there is a sed script in the middle of newsetup that does
too many "w" commands. This breaks on Pyramids too. The fix is to simply
split it into two separate sed commands.

--Greg