Added C stdio putc and puts, with appropriate terminal functionas.