Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I am a student and learning about operating systems, I was modifying a file using vi, when I accidentally did something (I don't remember what) that change the codification/encoding and now this is how I see everything.

this

That screenshot is while using vi, but the problem is system wide. I tried searching but couldn't find anything.

I can delete, everything and reinstall, as it is just a virtual machine but I'd rather learn what happened.

share|improve this question
add comment

2 Answers

up vote 5 down vote accepted

I think all you need to do is run reset.

If that doesn't help, look to see if you changed any files in /etc recently (e.g. find /etc -mtime -1) and read the unicode_start or consolechars man pages.

share|improve this answer
    
Thanks! That fixed my problem. –  JavierRey Apr 18 '11 at 4:41
add comment

Another, older way of doing the same thing as reset: stty sane

share|improve this answer
add comment

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.