


FXOPTIONS(1)             USER COMMANDS               FXOPTIONS(1)



NAME
     fxoptions - how to use turnin, pickup, collect, etc.

SYNOPSIS
     program [ fxoptions ] [ assignment ] [ file or user ] ...

DESCRIPTION
     There are a great many options  common  to  turnin,  pickup,
     collect,  uncollect,  return  and  fxpurge.  If all of these
     options were listed on the manual pages for these  programs,
     then users would have to wade through a lot of material even
     to do simple things.

     Most of these options let you specify a file type.  The file
     exchange  server  (the place where turned-in files are kept)
     knows the types listed below.  A user not on the grader list
     is  not  allowed  to  list or read files other than those of
     type EXCHANGE or HANDOUT unless that user is the  author  of
     the file.

     TURNEDIN
          This is the default type sent by _t_u_r_n_i_n.

     TAKEN
          Files are moved to this type when a  grader  uses  _c_o_l_-
          _l_e_c_t.

     GRADED
          Files are moved to this type when a grader uses _r_e_t_u_r_n.

     PICKEDUP
          Files are moved  to  this  type  when  a  student  uses
          _p_i_c_k_u_p.

     HANDOUT
          This type of file can be read by  anyone,  but  written
          only by graders.

     EXCHANGE
          This type of file may be written or read by anyone.

     TEACHERS_ARCHIVE, TEACHERS_HANDOUT
          Files of these types may be written and  read  only  by
          graders.

OPTIONS
     A plus sign followed by a number  n  means  only  deal  with
     files  at  least  n  days  old.   A minus sign followed by a
     number n means only deal with files  at  most  n  days  old.
     These  may  be  combined  to  specify a range.  They have no
     meaining for _t_u_r_n_i_n.




Sun Release 4.1   Last change: October 31, 1990                 1






FXOPTIONS(1)             USER COMMANDS               FXOPTIONS(1)



     All options are recognized by their first letter.  For exam-
     ple,  -course  is  usually abbreviated -c, but -class or -co
     would also be  recognized,  because  each  starts  with  the
     letter c.

     -assignment _n
          Sets the assignment number to _n.  This  is  useful  for
          specifying multiple assignments on one command line.

     -course _n_a_m_e
          Overrides the  environmental  variable  COURSE.   Files
          will  be retrieved for this course until the end of the
          command line or until another -c option is found.

     -dest _d_i_r_e_c_t_o_r_y
          This option will cause the program to chdir  to  _d_i_r_e_c_-
          _t_o_r_y before proceeding.

     -file _f_i_l_e_n_a_m_e
          This is useful for specifying a  filename  to  _c_o_l_l_e_c_t,
          _u_n_c_o_l_l_e_c_t,  _r_e_t_u_r_n,  or  _f_x_p_u_r_g_e.  These programs don't
          require a special option to specify  a  username.   The
          -file  option is also useful for telling _t_u_r_n_i_n to give
          your file a different name at the file exchange  server
          than it has locally.

     -user _u_s_e_r_n_a_m_e
          This is useful for specifying  a  username  to  _p_i_c_k_u_p,
          which  doesn't  require  a  special option to specify a
          filename.  The -user option may also be used with  _t_u_r_-
          _n_i_n, but has no effect if you are not a grader.  If you
          are a grader, files turned in will  be  treated  as  if
          they were turned in by _u_s_e_r_n_a_m_e.

     -owner _u_s_e_r_n_a_m_e
          At first, the owner of a file in the file  exchange  is
          the  user  who turned it in.  When a grader marks it as
          TAKEN, that grader becomes the owner.  Use  the  -owner
          option  just  like  the  -user  option for pickup.  The
          -owner option has no effect on _t_u_r_n_i_n.

     -subject _d_e_s_c_r_i_p_t_i_o_n
          In _t_u_r_n_i_n, this option will set the description seen by
          users  of  _e_o_s,  thus it is most useful when turning in
          handouts (see -h).  Put quotation marks  around  multi-
          word descriptions.

     -list
          Only list the files; do not take any action on them.

     -write
          This does the opposite of -list.



Sun Release 4.1   Last change: October 31, 1990                 2






FXOPTIONS(1)             USER COMMANDS               FXOPTIONS(1)



     -preserve
          Do not mark files as TAKEN (for  _c_o_l_l_e_c_t)  or  PICKEDUP
          (for  _p_i_c_k_u_p).   This  is  the  default  when a type is
          specified other than the normal one (TURNEDIN for  _c_o_l_-
          _l_e_c_t, GRADED for _p_i_c_k_u_p).

     -mark
          This does the opposite of -preserve.

     -quiet
          Turns off printing of status information.

     -verbose
          Turns on printing of status information.  This  is  the
          default.

     -T   Deal with files of type TURNEDIN.  This is the  default
          for _t_u_r_n_i_n, _c_o_l_l_e_c_t and _u_n_c_o_l_l_e_c_t.

     -t   Deal with files of type TAKEN.

     -g   Deal with files of type GRADED.  This  is  the  default
          for _r_e_t_u_r_n and _p_i_c_k_u_p.  When used with _t_u_r_n_i_n, the next
          argument must be the username of the file's author.

     -P   Deal with files of type PICKEDUP.  This is the  default
          for _f_x_p_u_r_g_e.

     -h   Deal with files of type HANDOUT.

     -e   Deal with files of type EXCHANGE.

     -A   Deal with files of type TEACHERS_ARCHIVE.

     -H   Deal with files of type TEACHERS_HANDOUT.

     -*   Deal with TYPE_WILDCARD, i.e.  all  types.   You  might
          want  to  use this option with _f_x_p_u_r_g_e, but be careful.
          This option must be enclosed in quotes  to  protect  it
          from  shell  globbing...also to protect you from typing
          it accidentally.

ENVIRONMENT
     COURSE
          Specify the default course file exchange.

     FXPATH
          Specify a colon-separated  list  of  hosts  to  try  as
          file-exchange   servers,   overriding   information  in
          hesiod.





Sun Release 4.1   Last change: October 31, 1990                 3






FXOPTIONS(1)             USER COMMANDS               FXOPTIONS(1)



SEE ALSO
     turinin(1), pickup(1), collect(1), uncollect(1),  return(1),
     fxpurge(1)

AUTHOR
     Bruce R. Lewis (brlewis@ATHENA.MIT.EDU)

















































Sun Release 4.1   Last change: October 31, 1990                 4



