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?

bundini
  • 263
  • 2
  • 9
  • 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. – John Gardeniers Feb 23 '10 at 08:28

4 Answers4

5

Have you tried reset?

  • 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 '10 at 07:09
  • 1
    Well, can you shell out from the debugger to a command prompt (like `!` in vim) ? – Dave Cheney Feb 23 '10 at 08:38
2

You mean reset?

Ivan Peevski
  • 588
  • 4
  • 9
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.

Teddy
  • 5,204
  • 1
  • 23
  • 27
0

Try reset :-)

DaDaDom
  • 532
  • 6
  • 17