GNU nano - Bugs: bug #58725, nano complains about "Unbound...
You are not allowed to post comments on this tracker with your current authentication level.
bug #58725: nano complains about "Unbound key" when using the mouse
Submitter: | Matteo Raso <elucidex> | ||
Submitted: | Tue 07 Jul 2020 09:12:11 PM UTC | ||
Severity: | 3 - Normal | Status: | Invalid |
Assigned to: | None | Open/Closed: | Closed |
Jump to the original submission
Tue 03 Nov 2020 09:59:28 AM UTC, comment #8: |
Benno Schulenberg <bens> |
Sat 11 Jul 2020 09:21:52 AM UTC, comment #7: If clicking with the mouse works correctly in xterm, then the problem is not in nano (nor in ncurses or X or the mouse). The most likely culprit is LXTerminal. For me, clicking works fine in LXTerminal 0.2.0 and 0.3.1. So one thing to try is to downgrade LXTerminal to 0.3.1. If that doesn't fix things either, then there is a miscompilation or a misconfiguration somewhere.
|
Benno Schulenberg <bens> |
Thu 09 Jul 2020 08:04:01 PM UTC, comment #6:
It works fine on xterm.
It placed down ^[[M 9( instead of ^[[M !". I'll try to recompile some of my packages and see if it fixes things. |
Matteo Raso <elucidex> |
Thu 09 Jul 2020 02:41:59 PM UTC, comment #5: Another thing to try: if you run 'nano --ignore --mouse' in an xterm, does clicking and scrolling with the mouse then work correctly? |
Benno Schulenberg <bens> |
Thu 09 Jul 2020 07:48:40 AM UTC, comment #4: When you run 'nano --ignore --mouse' and type M-V, and then click with the mouse where the cursor is, it should enter exactly this:
(These are six characters: Esc [ M space ! and ".) If it doesn't do that, something is miscompiled on your system -- possibly the mouse driver or libinput or X or ncurses or nano.
|
Benno Schulenberg <bens> |
Thu 09 Jul 2020 03:57:54 AM UTC, comment #3: Sorry about the last comment, accidently hit quote and posted without thinking. Nano remains on the text page for however long I hold the mouse button, but stays on there if I scroll until I try to scroll again.
The same problem occurs. As before, the text that's inserted depends on which pixel my mouse cursor is hovering over. When I click precisely where nano's cursor is, nano inserts "#! when I click or scroll, although it only says that " is unbound. |
Matteo Raso <elucidex> |
Thu 09 Jul 2020 03:44:56 AM UTC, comment #2:
|
Matteo Raso <elucidex> |
Wed 08 Jul 2020 12:38:56 PM UTC, comment #1: Text can be inserted only in the edit window. So how can you see that a click or a scroll takes you to the help page (normally accessed with ^G) and then some stuff gets inserted in the edit window? The help page would flicker past so quickly that you wouldn't be able to recognize it.
|
Benno Schulenberg <bens> |
Tue 07 Jul 2020 09:12:11 PM UTC, original submission:
When I activate mouse support and attempt to scroll or click something, it takes me to the help page, says that a certain key is unbound, and then inserts that key wherever my cursor was. Curiously, what key Nano complains about seems to depend on the pixel that my mouse cursor is hovering over. I'm not sure if this matters, but I'm using lxterminal 0.3.2 on Gentoo. |
Matteo Raso <elucidex> |
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follow 3 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2020-07-17 | bens | Open/Closed | Open | Closed | |
2020-07-11 | bens | Status | None | Invalid | |
2020-07-08 | bens | Summary | Nano complains about 'unbound key' when I attempt to use the mouse | nano complains about "Unbound key" when using the mouse |
Powered by Savane 3.13-d3ae.
Corresponding source code
In bug #59396 Matteo confirmed that it seems to be a problem with LXTerminal. Using the mouse appears to work fine when using Xfce Terminal instead.