How to fix scrambled unix console?