Fix confusing term function
Add line-oriented stdin to terminal

- add read syscall, currently only stdin is supported
Add file write syscall and unistd write

printf now uses write, common terminal stdout with kernel and other user
programs