Acbosgd.154 net.news utzoo!decvax!duke!chico!harpo!cbosg!cbosgd!mark Sun Nov 22 13:39:02 1981 fix to uucp This file contains diffs to uucp needed to run netnews over a uucp link. Basically, they add two new options to uux: -n, which means "don't send back any confirmation message that the command ran", and -z, which means "only send back a message if something went wrong (nonzero exit status)" It turns out that if you don't add these, lots of very annoying mail gets sent to anyone who posts an article. Even if your neighbor doesn't have the -n and -z options, it won't hurt anything. But to get rid of your annoying messages, you have to have all your USENET/UUCP neighbors install this code. --- uucp.h 116a117,118 > #define X_NONOTI 'N' > #define X_NONZERO 'Z' --- uux.c 51a51,52 > int nonoti = 0; > int nonzero = 0; 71a73,78 > case 'n': > nonoti = 1; > break; > case 'z': > nonzero = 1; > break; 102a110,114 > if (nonoti) > fprintf(fprx,"%c\n", X_NONOTI); > if (nonzero) > fprintf(fprx,"%c\n", X_NONZERO); > --- uuxqt.c 25a26,27 > "rnews", 27a30,31 > int notiok = 1; > int nonzero = 0; 118a123,128 > case X_NONOTI: > notiok = 0; > break; > case X_NONZERO: > nonzero = 1; > break; 179c189,190 && strcmp(xcmd, "mail") != SAME > && notiok && (!nonzero || (nonzero && ret != 0))) 181c192 else if (ret != 0 && strcmp(xcmd, "rmail") == SAME) { ----------------------------------------------------------------- gopher://quux.org/ conversion by John Goerzen of http://communication.ucsd.edu/A-News/ This Usenet Oldnews Archive article may be copied and distributed freely, provided: 1. There is no money collected for the text(s) of the articles. 2. The following notice remains appended to each copy: The Usenet Oldnews Archive: Compilation Copyright (C) 1981, 1996 Bruce Jones, Henry Spencer, David Wiseman.