3

Once in a while, you'll get some output in your console that causes it to go haywire. In some cases, you can't enter text, in others you can enter text but it looks like the Cyrillic alphabet.

Is there any sort of magical command to get it back on track?

1
  • Feel free to give us some idea of what you're talking about. Just the word "console" isn't a whole lot to go by. You could start by letting us know what OS. Feb 23, 2010 at 8:28

4 Answers 4

5

Have you tried reset?

2
  • Okay this is amazing. Except it's not quite perfect. I'm in pdb (Python debugger) when this happens and I have to quit the debugger to reset. I was hoping for some keyboard ninjitsu (hopefully with Sysrq somehow involved.)
    – bundini
    Feb 23, 2010 at 7:09
  • 1
    Well, can you shell out from the debugger to a command prompt (like ! in vim) ? Feb 23, 2010 at 8:38
2

You mean reset?

2
  • haha :) I guess that was an easy one :) Feb 23, 2010 at 6:50
  • Hold on, I don't believe you guys. ;) I've been ignorant of this way too long.
    – bundini
    Feb 23, 2010 at 7:03
1

If the terminal has switched to showing letters as VT100 line drawing characters, the classic way to switch it back is to type echoSpace Ctrl-V Ctrl-O . Also, stty sane is useful to fix messed up terminal settings. But as many other answers has pointed out, the reset command should fix all of these and it's easier to just remember one command.

0

Try reset :-)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.