Added putch and newline support.