fixes for infinite select dialog when no stty is available
Merge pull request #20 from webcreate/no-stty-fixes

fixes for infinite select dialog when no stty is available