Solving terminal input issue

This solves issue described in related boxfs2 project https://github.com/drotiro/boxfs2/issues/3

Set c_cflag CREAD | CLOCAL in termios struct used when requesting input code via terminal.