bugGNU nano - Bugs: bug #32552, Three Mouse Clicks Needed Before...


bug #32552: Three Mouse Clicks Needed Before Mouse Works

Submitted by:  None
Submitted on:  Mon Feb 21 06:47:46 2011  
Severity: 3 - NormalStatus: Works For Me
Assigned to: Chris Allegretta <astyanax>Open/Closed: Closed

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

Please log in, so followups can be emailed to you.


(Jump to the original submission Jump to the original submission)

Tue Apr 11 12:16:15 2017, comment #9:

Closing this because things seem to have been solved for the OP (by a system upgrade), and the OP is unreachable, and it wasn't a bug in nano anyway.

Benno Schulenberg <bens>
Project Administrator
Thu Mar 16 19:24:57 2017, comment #8:

OP? You mean you upgraded your server from Squeeze to Jessie, and then things worked fine? (Because as far as I can tell, Jessie still used nano-2.2.6, so that shouldn't have made a difference.)

Benno Schulenberg <bens>
Project Administrator
Sat Jul 19 05:27:17 2014, comment #7:

Chris, everything works right on Debian Jessie.

Thu Dec 26 04:04:15 2013, comment #6:

Hmm, I see what you mean now that I tried out a similar setup. What seems to be happening is that ncurses is sending back MOUSE1_PRESSED some times, which means we're not getting normal events back from the mouse handler. I did try to work around this, but this led to some very undesirable behavior. So the bug is either in putty's xterm mouse events, or ncurses' handling of them. Unsure which it is, but I'll try some more experimentation.

Chris Allegretta <astyanax>
Project AdministratorIn charge of this item.
Sun Dec 22 00:37:46 2013, comment #5:

Hi Chris -- thanks so much for the response, and so sorry for the delay on my part! I am generating mouse events by opening a PuTTY terminal in Windows, logging on to my server, starting nano, and clicking on text. That used to work fine, but it's still broken as of now (version 2.3.1 running on Debian Wheezy). Thanks!

Sat Jan 12 03:10:36 2013, comment #4:


Thank you for the report, and sorry for the delayed response.

Im curious how you're generating mouse events if you are not using gpm or X. Can you please give more details.

Chris Allegretta <astyanax>
Project AdministratorIn charge of this item.
Thu Jan 10 16:49:05 2013, comment #3:

I'm the OP. I'm pretty disappointed it's been a year and nobody ever responded to me. This reflects very poorly on nano. It's hard to recommend nano to people when it appears development and support have ended.

Fri Apr 1 21:53:30 2011, comment #2:

Message from OP: The problem persists in Nano 2.3.0.

Mon Feb 21 06:50:35 2011, comment #1:

Message from OP:

PS, for these tests, I don't have a nanorc present. I'm invoking nano only with the "-m" option.

Mon Feb 21 06:47:46 2011, original submission:

Hi, the following problem seems to be in nano version 2.2.6. It's unclear to me if earlier versions have this problem as well.

I have two servers that are exactly alike except one runs Debian Lenny and the other runs Debian Squeeze. Admittedly, that's a pretty big difference, because a lot of things changed in between those versions.

In any event, on Debian Lenny, the mouse works perfectly. In Debian Squeeze, the mouse only works after you click it three times subsequent to opening a file. Once you've clicked three times, the mouse works pretty well, but I swear the mouse is less responsive, as in sometimes clicks get "lost."

I am trying to use the mouse through SSH. I have a very minimal installation that does not have X or gpm installed on it. Another application that uses the mouse, w3m, works perfectly. So I think there's good reason to believe that something is wrong with nano or my environment for running nano.




(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by bens (Posted a comment)
  • -unavailable- added by astyanax (Posted a comment)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue Apr 11 12:16:15 2017bensStatusIn Progress=>Works For Me
    Thu Dec 26 04:04:15 2013astyanaxStatusNeed Info=>In Progress
    Sat Jan 12 03:10:36 2013astyanaxStatusNone=>Need Info
      Assigned toNone=>astyanax

    Back to the top

    Powered by Savane 3.1-cleanup1