From 711594636704defae873be1a355a292505585afd Mon Sep 17 00:00:00 2001 From: Jacob McDonnell Date: Sat, 25 Apr 2026 21:07:28 -0400 Subject: docs: Added UNIX V10 Manuals --- static/v10/man5/minus.z.5 | 77 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 77 insertions(+) create mode 100644 static/v10/man5/minus.z.5 (limited to 'static/v10/man5/minus.z.5') diff --git a/static/v10/man5/minus.z.5 b/static/v10/man5/minus.z.5 new file mode 100644 index 00000000..a80e6138 --- /dev/null +++ b/static/v10/man5/minus.z.5 @@ -0,0 +1,77 @@ +This shows the changes needed to a System V or UNIX 5.0 UUCP to +implement the -z option. The -n option is in the standard system, +but you usually want to be notified if something goes wrong. + +I looked at the 4.0 sources and compared them to the 5.0. The programs +have changed but the changes aren't many. Only uucp.h, uux.c, and uuxqt.c +need be changed. I'll be putting in the changes once I get permission from +our systems people. + +============================================================== +---- uucp.h ---- 137,139 ---- + #define X_USER 'U' + #define X_NONOTI 'N' + > #define X_NONZERO 'Z' /* don't notify if zero return */ + #define X_SENDFILE 'S' +============================================================== +---- uux.c ---- 54, 55 ---- + int nonoti = 0; + > #ifdef X_NONZERO + > int nonzero = 0; + > #endif + int uid, ret; +---- uux.c ---- 146,149 ---- + case 'n': + nonoti = 1; + break; + > #ifdef X_NONZERO + > case 'z': + > nonzero = 1; + > break; + > #endif + default: +---- uux.c ---- 218,221 ---- + if (nonoti) + fprintf(fprx,"%c\n", X_NONOTI); + > #ifdef X_NONZERO + > if (nonzero) + > fprintf(fprx,"%c\n", X_NONZERO); + > #endif + if (statop) + fprintf(fprx,"%c %s\n", X_MAILF, Sfile); +============================================================== +---- uuxqt.c ---- 185,188 ---- + int stcico = 0; + int argnok; + > #ifdef X_NONZERO + > int nonzero = 0; + > #endif + char xcmd[200]; +---- uuxqt.c ---- 43, 45 ---- + case X_NONOTI: + notiok = 0; + break; + > #ifdef X_NONZERO + > /* + > * notify only if non-zero status return + > */ + > case X_NONZERO: + > nonzero = 1; + > break; + > #endif + default: +---- uuxqt.c ---- 273,278 ---- + if (strcmp(xcmd, "rmail") != SAME + > #ifndef X_NONZERO + && strcmp(xcmd, "mail") != SAME) { + > #else + > && strcmp(xcmd, "mail") != SAME + > && (!nonzero || (nonzero && ret != 0)) { + > #endif + + /* + * see if user wants respcifiction + */ +============================================================== + + -- cgit v1.2.3