moved tty output from syscalls to serial