Problem
My console is displaying strange characters. If I type in
characters from the keyboard I don't see the characters I
type in. I have tried to correct it with "stty sane" but the
problem persists. The only thing that I have found to work
is a reboot. Solution
An application has most likely left your system in the alternate character set. If you have not rebooted and your system is currently in this state, type the following at the command line:
# tput rmacsNOTE: The # sign should not be typed. It is used to show the command line prompt. Also note that although you type "tput rmacs" it will not seem evident, as your console will be showing you the alternate characters.
If your system has been rebooted and is not currently in this state, you can duplicate it and correct it by typing the following at the command line:
# tput smacsYou will see strange characters appear. You can restore it to the previous state by typing:
# tput rmacsSo, "smacs" starts the alternate character set and "rmacs" ends it.
See also
man tput, man M terminfo