When you're ready to submit an exercise, follow these instructions to send your solution to the instructor by e-mail.
File on the menu
bar at the top of the DrScheme window and click the left mouse button.Open on the menu that
has just appeared and click the left mouse button.File in the menu bar and click the left
mouse button. Move the mouse pointer onto the phrase Save
Definitions as Text... in the menu that has just appeared. A small window
with the title ``Put File'' now appears. The name of the directory within
which DrScheme expects you to save the file is in the white rectangle near
the bottom of this window. Move the mouse pointer to the end of the
directory name, click the left mouse button, and edit the contents of the
white rectangle, adding a slash character and the name of the file in which
you want the program text to be saved (typically, this would be something
like frogs.ss -- .ss for ``Scheme source''). Then move the
mouse pointer onto the button labelled Ok (in the lower right-hand
corner of the ``Put File'' window) and click the left mouse button.File in the menu bar and
click the left mouse button. Move the mouse pointer onto the phrase
Save Interactions as Text... in the menu that has just
appeared. The ``Put File'' window reappears. As before, move the mouse
pointer to the end of the directory name, click the left mouse button, and
edit the contents of the white rectangle, adding a slash character and the
name of the file in which you want the test runs to be saved -- something
like frogs.log would be a good choice. Move the mouse pointer
onto the Ok button and click the left mouse button.At this point, everything that you want to turn in is contained in the two files that you have just created. (If you like, you can shut down DrScheme now.)
cat frogs.ss frogs.log | mail stone
at the prompt, substituting the names of your own Definitions and
Interactions files for frogs.ss and frogs.log. (The
vertical-bar character | is essential.)
Here's how the message looks when it shows up in my mail reader:
From: George Spelvin <spelvin@math.grinnell.edu> To: stone@math.grinnell.edu Date: Mon, 31 Feb 2002 13:05:30 -0600 ;;; frogs -- an amphibian tallier ;;; George Spelvin ;;; February 31, 2002 ... Welcome to DrScheme, version 103. Language: Graphical Full Scheme (MrEd). > (frogs (list 'rabbit 'frog 'frog 'dog 'frog 'chipmunk)) 3 ...
(And so on.)
If you want, you can even have mail provide a ``Subject''
line of the header for you, by adding the option -s
followed by the desired subject header (enclosed in double quotes):
cat frogs.ss frogs.log | mail -s "Amphibian tallier" stone
Now the header will look like this in my mail reader:
From: George Spelvin <spelvin@math.grinnell.edu> To: stone@math.grinnell.edu Subject: Amphibian tallier Date: Mon, 31 Feb 2002 13:08:41 -0600
This document is available on the World Wide Web as
http://www.cs.grinnell.edu/~stone/courses/scheme/submitting-solutions.xhtml
created February 20, 1997
last revised January 23, 2004