|
|
1.1 root 1: This directory contains a number of modifications to UUCP that
2: are useful for news. Only the minus.z mod is really crucial,
3: the others are there primarily to boost performance so as to
4: cut down on the load on your machine. There are many other
5: mods to UUCP kicking around - many bug fixes and security improvements.
6: Watch net.bugs.uucp for these. One large mod that is very useful
7: is the Duke uudir mod, which puts files in SPOOL into subdirectories.
8: This mod is very much a kludge, and it certainly could be done
9: better, but until a wonderful version is made available, substantial
10: performance gains can be attained. (Since scanning a UNIX directory
11: is quadratic on the size of the directory, the 5-fold reduction in
12: directory size from uudir can result in a factor of 25 improvement
13: in disk utilization.) uudir is easy to install in any UUCP, but
14: it contains some assembly language code, which has been written
15: only for the VAX and PDP-11. All these changes are transparent to
16: your UUCP neighbors - you can still talk to UUCP's that don't have
17: these mods made - you can even exchange news with older systems.
18: (Batching, with or without the =batch mod, requires at least a 2.10
19: news system on the other end.)
20:
21: Note: All of these changes except the =batch have been installed in
22: version of uucp distributed with 4.3BSD
23:
24: minus.z.5
25: minux.z.v7
26: This mod implements the -z and -n options to uux. These
27: prevent uuxqt from mailing back annoying little messages to
28: whoever happened to start up the uucico daemon telling them
29: that the rnews command executed OK. -z says "only send a message
30: if the rnews command bombed out", -n says "never send one".
31: -z is recommended. In order for your users not to be bombarded
32: with these messages, all your USENET neighbors must install this.
33: "5" is for System V and UNIX 5.0, "v7" is for V7 and 4BSD.
34: cpu.speedup
35: A simple fix to V7 and 4BSD UUCP to keep uicico from eating up
36: all the CPU time on your system when receiving files. Highly
37: recommended, especially if all your traffic is at 2400 baud
38: or slower.
39: uux.minus.c
40: A mod to uux.c to support a uux -c option, e.g.
41: uux -c yoursys!rnews '<' /usr/spool/news/net/news/123
42: which prevents uux from making a separate copy of each article
43: in the spool directory for each system.
44: =batch
45: Code to allow commands such as
46: uux -c yoursys!rnews '<' =/usr/lib/news/batch_/usr/spool/batch/yoursys
47: so that, once the connection is fired up and ready to transfer the
48: file, the command "/usr/lib/news/batch /usr/spool/batch/yoursys"
49: will be started up, and its output copied to the other system.
50: The advantage here is that batching is possible without keeping
51: a full copy of the news on spool waiting for a connection to
52: be established. This can be a big win if the other system is
53: down for any length of time. It does not good without the
54: uux.minus.c mod below. Beware of security issues - they have
55: not been carefully addressed here, and this mod opens up some
56: potential security holes. It only allows one command to
57: be fired up, and batch should check that the file of names
58: is in a safe directory (not /usr/lib/uucp/L.sys or /etc/passwd).
59: Ideally batch should be suid, since the command will run as uucp.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.