nano with cursor on thing to be replaced

Tony Baechler tony at
Mon Apr 28 11:51:25 UTC 2008

John J. Boyer wrote:
> A while ago I had a question about global find and replace - d how to
> get the current version of nano to put the cursor on whatever is to be
> replaced instead of highlighting it. There seemed to be no answer. I
> have now found the source for nano 1.2.2, which does just that. It works
> fine for my purposes, and I can send it to anyone who wants it.


Have you tried version 1.2.4? It's available from Debian mirrors and the 
site below.

If anyone wants old versions of Nano going back to at least 1.0 and 
probably earlier, just go here:

I found 1.2.2 in the v1.2 directory. I have used versions in the 2.0.x 
series and did not have the problem that this poster seems to be having, 
but I don't do a lot of global search and replace. When I search for 
something with ^W, it puts the cursor at the beginning of the phrase I'm 
searching for. I wish it would put the cursor at the end so I can delete 
it easier, but that's just me.

More information about the Blinux-list mailing list