diff --git a/.gitignore b/.gitignore
index 7e995e99..91e148c1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -48,5 +48,6 @@ People.xml
annotations/Test0.txt
annotations/Test1.txt
annotations/Test2.txt
-io/Logon.out
+io/*.out
+io/*.txt
io/test.zip
diff --git a/io/BasicFileOutput.out b/io/BasicFileOutput.out
deleted file mode 100644
index e1dc97e3..00000000
--- a/io/BasicFileOutput.out
+++ /dev/null
@@ -1,21 +0,0 @@
-1: //: io/BasicFileOutput.java
-2: import java.io.*;
-3:
-4: public class BasicFileOutput {
-5: static String file = "BasicFileOutput.out";
-6: public static void main(String[] args)
-7: throws IOException {
-8: BufferedReader in = new BufferedReader(
-9: new StringReader(
-10: BufferedInputFile.read("BasicFileOutput.java")));
-11: PrintWriter out = new PrintWriter(
-12: new BufferedWriter(new FileWriter(file)));
-13: int lineCount = 1;
-14: String s;
-15: while((s = in.readLine()) != null )
-16: out.println(lineCount++ + ": " + s);
-17: out.close();
-18: // Show the stored file:
-19: System.out.println(BufferedInputFile.read(file));
-20: }
-21: } /* (Execute to see output) *///:~
diff --git a/io/Blip3.out b/io/Blip3.out
deleted file mode 100644
index 5f5fb2a2..00000000
Binary files a/io/Blip3.out and /dev/null differ
diff --git a/io/Blips.out b/io/Blips.out
deleted file mode 100644
index 6e9200ea..00000000
Binary files a/io/Blips.out and /dev/null differ
diff --git a/io/CADState.out b/io/CADState.out
deleted file mode 100644
index 9c097b62..00000000
Binary files a/io/CADState.out and /dev/null differ
diff --git a/io/FileOutputShortcut.out b/io/FileOutputShortcut.out
deleted file mode 100644
index 6223c02d..00000000
--- a/io/FileOutputShortcut.out
+++ /dev/null
@@ -1,21 +0,0 @@
-1: //: io/FileOutputShortcut.java
-2: import java.io.*;
-3:
-4: public class FileOutputShortcut {
-5: static String file = "FileOutputShortcut.out";
-6: public static void main(String[] args)
-7: throws IOException {
-8: BufferedReader in = new BufferedReader(
-9: new StringReader(
-10: BufferedInputFile.read("FileOutputShortcut.java")));
-11: // Here's the shortcut:
-12: PrintWriter out = new PrintWriter(file);
-13: int lineCount = 1;
-14: String s;
-15: while((s = in.readLine()) != null )
-16: out.println(lineCount++ + ": " + s);
-17: out.close();
-18: // Show the stored file:
-19: System.out.println(BufferedInputFile.read(file));
-20: }
-21: } /* (Execute to see output) *///:~
diff --git a/io/TransferTo.txt b/io/TransferTo.txt
deleted file mode 100644
index ca84219b..00000000
--- a/io/TransferTo.txt
+++ /dev/null
@@ -1,20 +0,0 @@
-//: io/TransferTo.java
-// Using transferTo() between channels
-// {Args: TransferTo.java TransferTo.txt}
-import java.nio.channels.*;
-import java.io.*;
-
-public class TransferTo {
- public static void main(String[] args) throws Exception {
- if(args.length != 2) {
- System.out.println("arguments: sourcefile destfile");
- System.exit(1);
- }
- FileChannel
- in = new FileInputStream(args[0]).getChannel(),
- out = new FileOutputStream(args[1]).getChannel();
- in.transferTo(0, in.size(), out);
- // Or:
- // out.transferFrom(in, 0, in.size());
- }
-} ///:~
diff --git a/io/X.file b/io/X.file
deleted file mode 100644
index 93cc6951..00000000
Binary files a/io/X.file and /dev/null differ
diff --git a/io/build.xml b/io/build.xml
index 84f10283..70e8c9fe 100644
--- a/io/build.xml
+++ b/io/build.xml
@@ -518,9 +518,15 @@
-
+
+
+
+
+
+
+
diff --git a/io/data.txt b/io/data.txt
deleted file mode 100644
index 09f4a764..00000000
Binary files a/io/data.txt and /dev/null differ
diff --git a/io/data2.txt b/io/data2.txt
deleted file mode 100644
index 7db4285e..00000000
Binary files a/io/data2.txt and /dev/null differ
diff --git a/io/file.txt b/io/file.txt
deleted file mode 100644
index e69de29b..00000000
diff --git a/io/rtest.dat b/io/rtest.dat
deleted file mode 100644
index a3c24bba..00000000
Binary files a/io/rtest.dat and /dev/null differ
diff --git a/io/temp.tmp b/io/temp.tmp
deleted file mode 100644
index c04880a7..00000000
Binary files a/io/temp.tmp and /dev/null differ
diff --git a/io/test.gz b/io/test.gz
deleted file mode 100644
index 7382a1fa..00000000
Binary files a/io/test.gz and /dev/null differ
diff --git a/io/test.out b/io/test.out
deleted file mode 100644
index da451b28..00000000
--- a/io/test.out
+++ /dev/null
@@ -1,25 +0,0 @@
-//: io/Redirecting.java
-// Demonstrates standard I/O redirection.
-import java.io.*;
-
-public class Redirecting {
- public static void main(String[] args)
- throws IOException {
- PrintStream console = System.out;
- BufferedInputStream in = new BufferedInputStream(
- new FileInputStream("Redirecting.java"));
- PrintStream out = new PrintStream(
- new BufferedOutputStream(
- new FileOutputStream("test.out")));
- System.setIn(in);
- System.setOut(out);
- System.setErr(out);
- BufferedReader br = new BufferedReader(
- new InputStreamReader(System.in));
- String s;
- while((s = br.readLine()) != null)
- System.out.println(s);
- out.close(); // Remember this!
- System.setOut(console);
- }
-} ///:~
diff --git a/io/test.txt b/io/test.txt
deleted file mode 100644
index 2967e3ef..00000000
--- a/io/test.txt
+++ /dev/null
@@ -1,25 +0,0 @@
-//: io/ChannelCopy.java
-// Copying a file using channels and buffers
-// {Args: ChannelCopy.java test.txt}
-import java.nio.*;
-import java.nio.channels.*;
-import java.io.*;
-
-public class ChannelCopy {
- private static final int BSIZE = 1024;
- public static void main(String[] args) throws Exception {
- if(args.length != 2) {
- System.out.println("arguments: sourcefile destfile");
- System.exit(1);
- }
- FileChannel
- in = new FileInputStream(args[0]).getChannel(),
- out = new FileOutputStream(args[1]).getChannel();
- ByteBuffer buffer = ByteBuffer.allocate(BSIZE);
- while(in.read(buffer) != -1) {
- buffer.flip(); // Prepare for writing
- out.write(buffer);
- buffer.clear(); // Prepare for reading
- }
- }
-} ///:~
diff --git a/io/worm.out b/io/worm.out
deleted file mode 100644
index b96ee23d..00000000
Binary files a/io/worm.out and /dev/null differ