Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

When scrolling (by holding down the down key) in nano, the cursor does not move while the key is pressed, but once I let go of the key it jumps to where it should be.

How can I get it to move as I hold down the key?

The output of nano -V is:

GNU nano version 2.2.5 (compiled 21:04:20, Nov  3 2010)
(C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007,
2008, 2009 Free Software Foundation, Inc.
Email: nano@nano-editor.org    Web: http://www.nano-editor.org/
Compiled options: --enable-color --enable-extra --enable-multibuffer --enable-nanorc --enable-utf8

I am using the nano binary that came with Cygwin and I am running bash as my shell in Console on Windows 7 Professional 64bit.

Extra information:

  • I have tried using emacs and vi in the same shell and they both work fine.
  • This happens when I use the arrow keys or the delete key. The backspace key works properly.
  • I have tried downgrading to nano version 2.0.9 with the Cygwin installer, but the issue kept occurring.
share|improve this question
    
For the record, I have tried downgrading to nano version 2.0.9 via the Cygwin installer, but that didn't fix the problem. –  DanielGibbs Feb 24 '12 at 10:05

1 Answer 1

It is not related to nano. Most likely your telnet or terminal program or keyboard driver or network socket buffers data

share|improve this answer
1  
what telnet ?! . –  Sirex Feb 23 '12 at 11:24
    
There is no telnet involved, and when I use vi the cursor works exactly as expected. –  DanielGibbs Feb 23 '12 at 19:13
    
regarding your edit: if there's no telnet, there's no network socket either. If it works ok in vi it cant be the keyboard buffer or terminal program either. Did you even read the OP's question ? –  Sirex Feb 24 '12 at 8:32
    
There are different ways to read keyboard input. could be nano is reading blocks when vi characters... –  ZaB Feb 24 '12 at 9:30
    
It also works in emacs. But regarding your point, is there any way I can check this block/character thing? –  DanielGibbs Feb 24 '12 at 9:54

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.