Using the Homework Submission Program

To use the HSP, type the following in a terminal window:

hsp professor class file

So, for example, to submit a BlueJ project named "savetheworld" for Dave Musicant's CS117 class, you would type

hsp musicant cs117 savetheworld

Here are more detailed notes on the professor, class, and file fields of the hsp command.

professor

The last name of the instructor of the course you are submitting the homework for. This is case insensitive, so the following are all valid while these are invalid

class

The name of the class you are submitting the homework for. Since right now, only computer science classes are using hsp, this field must have the form csxxx where xxx is the number of the course. This is also case insensitive, so "cs117", "CS117", and "cS117" are valid, but "117" and "cs 117" are not.

file

The name of the project you want to submit. This is case sensitive, since UNIX is case sensitive. Thus you must type the name of the project exactly.

Other details

Once you have submitted a project with a particular name, you cannot submit another project of that same name.

If you misspell the name of the professor or the class or otherwise make a mistake, hsp will prompt you with a list of professors and classes to choose from.

If you just type "hsp", hsp will prompt you for professor, class, and file name.

Checking Your Submission

It is now possible to check to make sure your projects have been submitted.

At the prompt, type "hsp"; do NOT enter the classname, instructor name or filename. hsp will prompt you for your instructor's last name and for the course number; hsp will then ask you if you want to submit a file, or check to see which files have all ready been submitted; type "c" to check for files.

hsp outputs a list of everything that you have submitted to be graded, along with dates submited, the size and name of the file, and a couple of other random pieces of information.

Here is an example session:

   hamming: hsp 
I see we're on a NeXT
Too few arguments entered. We'll prompt for them one by one
Instructor: Nau Class: CS117 Submitting a file, or checking already submitted files? (f or c): c total 49 1 drwxrwx--- 2 grader 512 Sep 10 13:27 . 1 drwxr-xr-x 5 grader 512 Sep 10 12:48 .. 2 -rw-rw-rw- 1 grader 1156 Sep 10 12:48 program1.java 2 -rw-rw-rw- 1 grader 1378 Sep 10 12:48 program2.java hamming:


Page maintained by:
Michael N. Tie mtie@carleton.edu
Last Modified: Tuesday, January 07 '03