Submitting Programs

Each time a program or lab assignment is due you will be asked to submit the program. This is a procedure which copies your program and time stamps it so that the faculty member can easily get to it and know what time you turned it in. The command to submit your programs is

submit course file(s)

course will be something like itec120-02. Make sure that you use the correct section number.

file(s) can be one or more file names separated by spaces. These files should be text only; you should not submit an object file or an executable.


Submit works from any of the unix machines in the unix lab. To submit from other locations, you should log in to the machine rucs and do the submit. To connect to rucs you should use the command ssh which should be available on all machines on campus. For your home machine you can get a free copy of the secure shell client (ie ssh) from www.ssh.com. I also recommend the free program PuTTY for connecting to rucs.

Remember that it is your responsibility to make sure that the files get submitted properly. Instructions for verifying submissions are given below.


Here is an example of what you might see when you do a submit command:

   /home/jstudent>ssh rucs
      jstudent@rucs's password: 
      Last login: Mon Aug 25 15:38:13 2003 from rucs
      --------------------------------------------------------------------- 

                                Have a nice day!

      ---------------------------------------------------------------------
      TERM = (xterm) 

   /home/jstudent/>cd mydirectory
   /home/jstudent/mydirectory>submit itec320-01 survey todo

        +---------------------------------------------------------+
        |                                                         |
        |  Program Submission: Radford Univesity CS Dept          |
        |  =====================================================  |
        |                                                         |
        +---------------------------------------------------------+

            Transaction request by jstudent for course itec320-01.

jstudent (Joe Student) at Fri May 17 08:23:54 1996 submitted survey
jstudent (Joe Student) at Fri May 17 08:23:54 1996 submitted todo

Note that your actual session will probably differ slightly from this one. The first time that you use the program for a given course, it will ask you for your name. Remember that no one can access the files you submit other than the faculty member assigned to that class.

Remember that each time you submit files it over writes the old version which cannot be retrieved. Also each time you resubmit it will change the time stamp showing when the program was submitted.


Verifying Submissions

You can, and should verify that your files were submitted or just list all the files you have previously submitted by using another version of the submit command:

submit class -ls
which will produce output such as:
submit itecspsc320-01 -ls

        Here are the files submitted to date for course itec320-01:

                             survey
                             todo
                             notes.xterms
                             students.96

This command will list all files that have been submitted under your user-id. If a file you submitted doesn't appear on this list then check the command you entered for the submit command and make sure it was the write class name and filename.


Removing Submissions

You can remove any previously submited file. The command to do this is

submit class -file
or
submit class -rm

The first command above will remove a single file which is specified by file and the second command will remove all submissions. Examples follow with information typed by user in bold:

submit itec320-01 -todo
        +---------------------------------------------------------+
        |                                                         |
        |  Program Submission: Radford Univesity CS Dept          |
        |  =====================================================  |
        |                                                         |
        +---------------------------------------------------------+

            Transaction request by jstudent for course itec320-01.

jstudent (Joe Student) at Fri May 17 11:24:58 1996 removed todo

submit itec320-01 -ls

        Here are the files submitted to date for course itec320-01:

                             survey
                             notes.xterms
                             students.96

submit itec320-01 -rm
        +---------------------------------------------------------+
        |                                                         |
        |  Program Submission: Radford Univesity CS Dept          |
        |  =====================================================  |
        |                                                         |
        +---------------------------------------------------------+

            Transaction request by jstudent for course itec320-01.

         Are you sure you want to delete all submissions? (y/n): y


Removing survey from submissions directory.
Removing notes.xterms from submissions directory.
Removing students.96 from submissions directory.

submit itec320-01 -ls

        Here are the files submitted to date for course itec320-01:

                        No files submitted