package pad.prac1; import java.io.*; public class EditableBufferedReader extends BufferedReader { private String line = ""; private boolean returnKey = false; public EditableBufferedReader(Reader in) { super(in); } public EditableBufferedReader(Reader in, int sz) { super(in,sz); } private void setRaw() throws IOException, InterruptedException { String[] cmd = {"/bin/sh", "-c", "stty raw -echo