Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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?

share|improve this question
    
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

4 Answers 4

up vote 5 down vote accepted

Have you tried reset?

share|improve this answer
    
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

You mean reset?

share|improve this answer
    
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

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.

share|improve this answer

Try reset :-)

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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