Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: Notesfiles; site hpcnof.UUCP
Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxt!houxm!vax135!cornell!uw-beaver!tektronix!hplabs!hpfcdc!hpfcla!hpcnof!dat
From: dat@hpcnof.UUCP
Newsgroups: net.cse
Subject: Re: students editing output
Message-ID: <47400002@hpcnof.UUCP>
Date: Fri, 13-Sep-85 20:37:00 EDT
Article-I.D.: hpcnof.47400002
Posted: Fri Sep 13 20:37:00 1985
Date-Received: Thu, 26-Sep-85 07:48:59 EDT
References: <433@uvm-cs.UUCP>
Organization: 13 Sep 85 18:37:00 MDT
Lines: 41


	I think that the way to deal with this is to have a program that 
would have be used to print the output of a program.  This would print it
in such a way that it would be virtually impossible to duplicate it (maybe
to a special printer?  Maybe with special Job Control numbers attached??)
and yet would be simple to use.

	Conceptually:

		printoutput myprog < mydatafile

	and it would run myprog, feeding it mydatafile, and spool up a
printout for later submission to the class.

	The problem is that would be hard to do if you don't have a special
printer (say) just for this task.  If you did, you could have the print
device owned by some wierd userid, and have the printoutput program run as
setuid that user.  The regular print spooler would be denied access.

	If, however, you didn't have a unique printer, and needed to rely on
some sort of job header or something, it becomes much more difficult...the
question is what's to stop a student from generating a printout including
the erroneous output, then use the editor to duplicate the headers + fix the
output.

	Another idea is to have the printer automatically title each page
of the output document with an indication of how it was spooled, and then
require all students to invoke the printer program directly from their 
program (a la "print -execute myprog < mydatafile").  This might be much
more fruitful - since it'd add it's own headers to other files that the
students might try to fake out with...

	Just a few random thoughts.

					-- Dave Taylor
					HP Colorado Networks Operation

					..ihnp4!hpfcla!d_taylor
				        ..hplabs!hpcnof!dat

			or		hpcnof!dat@HPLABS.CSNET-RELAY