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.Run button near the top of the window and click the left mouse button to
run your program. Any results generated directly by the program will
appear in the Interactions window.File in the menu bar and click the left mouse
button. Move the pointer onto the phrase Save Definitions as
Text... in the menu that has just appeared. A small window with the title
``Save'' 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 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 pointer onto the button
labelled OK (in the lower right-hand corner of the ``Save'' window)
and click the left mouse button.File in the menu bar and click
the left mouse button. Move the 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 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 2005 13:05:30 -0600 ;;; frogs -- an amphibian tallier ;;; George Spelvin ;;; February 31, 2005 ... Welcome to DrScheme, version 208 Language: Standard (R5RS). > (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