
On Sat, May 25, 2013 at 10:44:09AM +1000, Tim Connors wrote:
Sometimes, after running *something* that I haven't identified yet, it
possibly something that output a Ctrl-O to switch to the "alternate" character set. Printing ^O again will switch it back.
Anyone know how to restore the previous mappings and/or identify what screws it up (presumably some damn ncurses crap)?
typing "^V^O<RETURN>" in a bash shell often fixes it when bash prints "bash: ^O: command not found" (where ^V and ^O are Ctrl-V and Ctrl-O respectively) echo -e "\0017" works just as well. or any other method of outputting a Control-O running "reset" is also useful, and "stty sane" too, especially if the terminal is in non-echoing mode. i usually do all three in that order when my terminal goes weird (e.g. from accidentally catting a binary file) craig -- craig sanders <cas@taz.net.au> BOFH excuse #216: What office are you in? Oh, that one. Did you know that your building was built over the universities first nuclear research site? And wow, aren't you the lucky one, your office is right over where the core is buried!