Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I use "nano" to edit my files on remote servers. I'm on MAC OSX.

When I type characters to nano from time to time it just doesn't enter characters as I type them. The behavior is very strange and hard to describe.

It looks like it overwrites characters and even deletes them instead of inserting new chars. And when I finally save the file and reopen it doesn't show content that I typed before saving.

Seems that it does something that is invisible in editor.

share|improve this question
    
For the first part, are you sure you didn't press the insert button equivalent? – AndrejaKo Oct 7 '11 at 17:53
    
Are you using screen or another terminal emulator and are pressing one of its shortcuts e.g. for selecting from the screen buffer? – Daniel Beck Oct 7 '11 at 17:54
    
I tried it with just pressing e.g the "d" key only. I do not use any emulator. I use standard MAC OSX terminal window – chubbyk Oct 7 '11 at 18:10

Try

 TERM=xterm nano filename

in case the value of TERM on the server is incorrect.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .