Comment Comment by guelo Is this what he's looking for? public static void main(String[] args) throws IOException { int ch; while ((ch = System.in.read()) != -1) System.out.print((char) ch); } parent guelo 12 years ago