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?

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

You mean reset?

  • haha :) I guess that was an easy one :) – Ivan Peevski Feb 23 '10 at 6:50
  • Hold on, I don't believe you guys. ;) I've been ignorant of this way too long. – bundini Feb 23 '10 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.