1 | .TH FXOPTIONS 1 "October 31, 1990" |
---|
2 | .SH NAME |
---|
3 | fxoptions \- how to use turnin, pickup, collect, etc. |
---|
4 | .SH SYNOPSIS |
---|
5 | program [ fxoptions ] [ assignment ] [ file or user ] ... |
---|
6 | .SH DESCRIPTION |
---|
7 | There are a great many options common to turnin, pickup, collect, |
---|
8 | uncollect, return and fxpurge. If all of these options were listed on |
---|
9 | the manual pages for these programs, then users would have to wade |
---|
10 | through a lot of material even to do simple things. |
---|
11 | |
---|
12 | Most of these options let you specify a file type. The file exchange |
---|
13 | server (the place where turned-in files are kept) knows the types |
---|
14 | listed below. A user not on the grader list is not allowed to list or |
---|
15 | read files other than those of type EXCHANGE or HANDOUT unless that |
---|
16 | user is the author of the file. |
---|
17 | .TP |
---|
18 | TURNEDIN |
---|
19 | This is the default type sent by \fIturnin\fR. |
---|
20 | .TP |
---|
21 | TAKEN |
---|
22 | Files are moved to this type when a grader uses \fIcollect\fR. |
---|
23 | .TP |
---|
24 | GRADED |
---|
25 | Files are moved to this type when a grader uses \fIreturn\fR. |
---|
26 | .TP |
---|
27 | PICKEDUP |
---|
28 | Files are moved to this type when a student uses \fIpickup\fR. |
---|
29 | .TP |
---|
30 | HANDOUT |
---|
31 | This type of file can be read by anyone, but written only by graders. |
---|
32 | .TP |
---|
33 | EXCHANGE |
---|
34 | This type of file may be written or read by anyone. |
---|
35 | .TP |
---|
36 | TEACHERS_ARCHIVE, TEACHERS_HANDOUT |
---|
37 | Files of these types may be written and read only by graders. |
---|
38 | .SH OPTIONS |
---|
39 | A |
---|
40 | plus sign followed by a number |
---|
41 | .B n |
---|
42 | means only deal with files at least |
---|
43 | .B n |
---|
44 | days old. A minus sign followed by a number |
---|
45 | .B n |
---|
46 | means only deal with files |
---|
47 | at most |
---|
48 | .B n |
---|
49 | days old. These may be combined to specify a range. They have no |
---|
50 | meaining for \fIturnin\fR. |
---|
51 | |
---|
52 | All options are recognized by their first letter. For example, |
---|
53 | -course is usually abbreviated -c, but -class or -co would also be |
---|
54 | recognized, because each starts with the letter c. |
---|
55 | .TP |
---|
56 | .B -assignment \fIn\fR |
---|
57 | Sets the assignment number to \fIn\fR. This is useful for specifying |
---|
58 | multiple assignments on one command line. |
---|
59 | .TP |
---|
60 | .B -course \fIname\fR |
---|
61 | Overrides the environmental variable COURSE. Files will be retrieved |
---|
62 | for this course until the end of the command line or until another -c |
---|
63 | option is found. |
---|
64 | .TP |
---|
65 | .B -dest \fIdirectory\fR |
---|
66 | This option will cause the program to chdir to \fIdirectory\fR before |
---|
67 | proceeding. |
---|
68 | .TP |
---|
69 | .B -file \fIfilename\fR |
---|
70 | This is useful for specifying a filename to \fIcollect\fR, |
---|
71 | \fIuncollect\fR, \fIreturn\fR, or \fIfxpurge\fR. These programs don't |
---|
72 | require a special option to specify a username. The -file option is |
---|
73 | also useful for telling \fIturnin\fR to give your file a different |
---|
74 | name at the file exchange server than it has locally. |
---|
75 | .TP |
---|
76 | .B -user \fIusername\fR |
---|
77 | This is useful for specifying a username to \fIpickup\fR, which doesn't |
---|
78 | require a special option to specify a filename. The -user option may |
---|
79 | also be used with \fIturnin\fR, but has no effect if you are not a |
---|
80 | grader. If you are a grader, files turned in will be treated as if |
---|
81 | they were turned in by \fIusername\fR. |
---|
82 | .TP |
---|
83 | .B -owner \fIusername\fR |
---|
84 | At first, the owner of a file in the file exchange is the user who |
---|
85 | turned it in. When a grader marks it as TAKEN, that grader becomes |
---|
86 | the owner. Use the -owner option just like the -user option for |
---|
87 | pickup. The -owner option has no effect on \fIturnin\fR. |
---|
88 | .TP |
---|
89 | .B -subject \fIdescription\fR |
---|
90 | In \fIturnin\fR, this option will set the description seen by users of |
---|
91 | \fIeos\fR, thus it is most useful when turning in handouts (see -h). |
---|
92 | Put quotation marks around multi-word descriptions. |
---|
93 | .TP |
---|
94 | .B -list |
---|
95 | Only list the files; do not take any action on them. |
---|
96 | .TP |
---|
97 | .B -write |
---|
98 | This does the opposite of -list. |
---|
99 | .TP |
---|
100 | .B -preserve |
---|
101 | Do not mark files as TAKEN (for \fIcollect\fR) or PICKEDUP (for |
---|
102 | \fIpickup\fR). This is the default when a type is specified other |
---|
103 | than the normal one (TURNEDIN for \fIcollect\fR, GRADED for |
---|
104 | \fIpickup\fR). |
---|
105 | .TP |
---|
106 | .B -mark |
---|
107 | This does the opposite of -preserve. |
---|
108 | .TP |
---|
109 | .B -quiet |
---|
110 | Turns off printing of status information. |
---|
111 | .TP |
---|
112 | .B -verbose |
---|
113 | Turns on printing of status information. This is the default. |
---|
114 | .TP |
---|
115 | .B -T |
---|
116 | Deal with files of type TURNEDIN. This is the default for |
---|
117 | \fIturnin\fR, \fIcollect\fR and \fIuncollect\fR. |
---|
118 | .TP |
---|
119 | .B -t |
---|
120 | Deal with files of type TAKEN. |
---|
121 | .TP |
---|
122 | .B -g |
---|
123 | Deal with files of type GRADED. This is the default for \fIreturn\fR |
---|
124 | and \fIpickup\fR. When used with \fIturnin\fR, the next argument must |
---|
125 | be the username of the file's author. |
---|
126 | .TP |
---|
127 | .B -P |
---|
128 | Deal with files of type PICKEDUP. This is the default for \fIfxpurge\fR. |
---|
129 | .TP |
---|
130 | .B -h |
---|
131 | Deal with files of type HANDOUT. |
---|
132 | .TP |
---|
133 | .B -e |
---|
134 | Deal with files of type EXCHANGE. |
---|
135 | .TP |
---|
136 | .B -A |
---|
137 | Deal with files of type TEACHERS_ARCHIVE. |
---|
138 | .TP |
---|
139 | .B -H |
---|
140 | Deal with files of type TEACHERS_HANDOUT. |
---|
141 | .TP |
---|
142 | .B "-*" |
---|
143 | Deal with TYPE_WILDCARD, i.e. all types. You might want to use this |
---|
144 | option with \fIfxpurge\fR, but be careful. This option must be |
---|
145 | enclosed in quotes to protect it from shell globbing...also to protect |
---|
146 | you from typing it accidentally. |
---|
147 | .SH "ENVIRONMENT" |
---|
148 | .TP |
---|
149 | .B COURSE |
---|
150 | Specify the default course file exchange. |
---|
151 | .TP |
---|
152 | .B FXPATH |
---|
153 | Specify a colon-separated list of hosts to try as file-exchange |
---|
154 | servers, overriding information in hesiod. |
---|
155 | .SH SEE ALSO |
---|
156 | turinin(1), pickup(1), collect(1), uncollect(1), return(1), fxpurge(1) |
---|
157 | .SH AUTHOR |
---|
158 | Bruce R. Lewis (brlewis@ATHENA.MIT.EDU) |
---|