Thread View: net.bugs
1 messages
1 total messages
Started by Jerry Aguirre
Fri, 16 Aug 1985 18:52
Enhancement to rnews 2.10.2 sys:F option
Author: Jerry Aguirre
Date: Fri, 16 Aug 1985 18:52
Date: Fri, 16 Aug 1985 18:52
46 lines
1952 bytes
1952 bytes
This enhancement allows a default for the :F: option is the news 2.10.2
sys file. It works like the default uux command. I find that it keeps
the sys file shorter with less chance of errors.
A sys line of the form:
remotesys:net,fa,mod,to.remotesys:F
Will cause the article pathname to be appended to the file:
BATCHDIR/remotesys
This is the pathname that the sendbatch and csendbatch scripts expect.
You can still override this by explicitly specifying the path.
*** ifuncs.orig Tue Sep 18 18:13:47 1984
--- ifuncs.c Fri Aug 2 12:40:57 1985
***************
*** 155,161
sprintf(TRANS, "%s/%s/%s", logdir(HOME), BATCHDIR, sp->s_xmit);
ofp = fopen(TRANS, "a");
#else
! ofp = fopen(sp->s_xmit, "a");
#endif
if (ofp == NULL)
! xerror("Cannot append to %s", sp->s_xmit);
fprintf(ofp, "%s\n", firstbufname);
fclose(ofp);
--- 170,180 -----
sprintf(TRANS, "%s/%s/%s", logdir(HOME), BATCHDIR, sp->s_xmit);
ofp = fopen(TRANS, "a");
#else
! if (*sp->s_xmit == '\0') {
! sprintf(bfr, "%s/%s", BATCHDIR, sp->s_name);
! ptr = bfr;
! } else ptr = sp->s_xmit;
! ofp = fopen(ptr, "a");
#endif
if (ofp == NULL)
! xerror("Cannot append to %s", ptr);
fprintf(ofp, "%s\n", firstbufname);
fclose(ofp);
--------
Jerry Aguirre @ Olivetti ATC
{hplabs|fortune|idi|ihnp4|tolerant|allegra|tymix}!oliveb!jerry
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads