source: trunk/athena/bin/neos/fxoptions.1 @ 13635

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