Newlib work.
Newlib update
add code to isatty()
Fix isatty()

Make sure output is flushed before it waits for input.
newlib: remove extra code from read()

os_input should add the \n to the end of the string.