[net.bugs.uucp] Grade fix

lee@west44.UUCP (Lee McLoughlin) (10/18/84)

This is a fix I came up with for UKUUCP some of you might find it of use.


Subject: grading
Newsgroups: uk.support

Although the queues are always sorted, except when uuxqt cannot use one
of the first LLEN files in which case it is just scanned,  the is a bug
in uux whereby the grade is not transfered in the job.

Normally you have:

S D.ukcX0123 X.ukcX0123 ....

so at the the remote site you'd have a queue of

X.ukcX0123
X.westcsrX0123

So when this queue is sorted all the grade are the same!  The fix is to
get uux to generate a transfer of:

S D.ukcX0123 X.ukcA0123 ....

for example.  So that the grading will be taken into account at the remote
end.

To do this add an extra line in the uux code to convert the second X to the
grade char:
uux.c 374:
-------
	strcpy(tfile, rxfile);
	tfile[0] = XQTPRE;
	tfile[ strlen(tfile) - 5 ] = Grade;	/* UKfix 006 */
	if (strcmp(xsys, local) == SAME) {
		/* rti!trt: xmv() works across filesystems, link(II) doesnt */
		xmv(rxfile, tfile);
		if (startjob)
-------
-- 
UKUUCP SUPPORT  Lee McLoughlin	<UK>!ukc!lmcl
		kcl-cs!lee
	"What you once thought was only a nightmare is now a reality!"