Nano suddenly putting in weird characters when I type

Posted by Cocorico on Super User See other posts from Super User or by Cocorico
Published on 2012-03-19T17:58:12Z Indexed on 2012/03/19 18:07 UTC
Read the original article Hit count: 476

Filed under:
|

I am using a shell and editing a file in nano (similar to pico). A short while ago, it started doing this thing where if I type:

$query = "select" * from topics where id='' ";

and then I hit Backspace and try to stick the letter 'a' into the id='' part, it changes it to:

$query = "select * from koala_topics where id='a='' ";

and the cursor jumps around to a few spaces before. Also if I type

print

At the start of a new line, and then I think "Oh I should have added a tab" and I go back and try to add a tab, it adds a tab AND 2 spaces, and if I put the cursor through the word print, it turns into printnt.

Some other weird things have happened too. I uninstalled nano using yum (which is how I installed it), and then re-installed it, thinking that would get me clean preferences (in case that was the problem) but it doesn't fix it.

© Super User or respective owner

Related posts about nano

Related posts about pico