Here is a typical script of I/O....
Script started on Mon Oct 24 10:09:27 2005 austin >> austin >> java ReadTextFromConnsole prompt >> this is my first line of text ...echo input: this is my first line of text prompt >> Here is a second line of text ...echo input: here is a second line of text prompt >> here is line containing the word "quit" ...echo input: here is a line containing the word "quit" prompt >> xit ...echo input: exit austin >> austin >> exit Script done on Mon Oct 24 10:10:23 2005