48848c2917
- _sys_istty() add stdio as tty - without this, after exit vi program getchar will return -1, I don't know why it works