public static void keyboardReader() {
        byte[] buf = new byte[255];
        StringBuilder sb = new StringBuilder();
        int n;
        String temp;
        while (true) {
            try {
                n = System.in.read(buf);
            } catch (IOException e) {
                break;
            }
            temp = new String(buf, 0, n);
            if (temp.trim().equals("\\q")) break;
            sb.append(temp + "\n");
        }
        System.out.println("\n------------------\n" + sb);
    }