clidriver: make stty constructor more robust
documenation updates