Sanitize stty output to make it work on linux