Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10 5/3/83; site west44.UUCP
Path: utzoo!linus!philabs!cmcl2!seismo!mcvax!ukc!west44!lee
From: lee@west44.UUCP (Lee McLoughlin)
Newsgroups: net.bugs.uucp
Subject: Grade fix (4.2 or equivalent)
Message-ID: <362@west44.UUCP>
Date: Wed, 17-Oct-84 21:28:53 EDT
Article-I.D.: west44.362
Posted: Wed Oct 17 21:28:53 1984
Date-Received: Thu, 18-Oct-84 06:54:42 EDT
Organization: CS Dept., Westfield College, London
Lines: 43

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	!ukc!lmcl
		kcl-cs!lee
	"What you once thought was only a nightmare is now a reality!"