All the examples we see in class are stored in a directory in the computer science lab machines which is publicly accessible. The directory is
/homes/tvandrun/Public/cs235
At the time of writing this, if you look in that directory, such as by doing
ls /homes/tvandrun/Public/cs235
You'll see
9-10 9-12 9-15 9-5 9-8 aeneid lab2
The directory 9-10
contains the code we did in class
starting on Sept 10; lab2
contains the files I gave
you for getting started on lab 2, etc.
Suppose you wanted to look at the file/program
TestMiddleCircle.java
.
Since that program was part of the handout I gat on Sept 15, you'll find
it in the 9-15 directory.
You can copy it into your own directory by
cp /homes/tvandrun/Public/cs235/9-15/TestMiddleCircle.java .
I store all the handouts in the file format Postscript. Postscript is similar to PDF, but the format is a little bit simpler. Most printers are able to interpret Postscript files directly.
I put the files containing old handouts in the directory
/homes/tvandrun/Public/cs235/handouts
The naming convention I use for the files is that they are called
"handout
" followed by the date.
For example, the handout for Sept 8 is handout9-8.ps
.
To view them you can use a program called Evince.
evince /homes/tvandrun/Public/cs235/handouts/handout9-8.ps &
To print them, use the lpr command.
lpr /homes/tvandrun/Public/cs235/handouts/handout9-8.ps
Alternately, you could use a2ps, except I think that would condense the files even further--- since they are already two pages per sheet, a2ps would print them four pages per sheet.