GNU nano - Bugs: bug #51685, Option+Left and Option+Right...
You are not allowed to post comments on this tracker with your current authentication level.
bug #51685: Option+Left and Option+Right toggle stuff on Apple Terminal
Submitter: | None | ||
Submitted: | Tue 08 Aug 2017 02:50:13 AM UTC | ||
Severity: | 2 - Minor | Status: | Wont Fix |
Assigned to: | bens | Open/Closed: | Closed |
Jump to the original submission
Tue 26 Sep 2017 07:51:08 PM UTC, comment #11: |
Benno Schulenberg <bens> |
Fri 15 Sep 2017 10:09:46 PM UTC, comment #10: i just remembered the 2nd arg usage. the number is used to differentiate modifiers. here's xterm's page:
|
Mike Frysinger <vapier> |
Fri 15 Sep 2017 08:50:26 PM UTC, comment #9: in macOS terminal emulators, option is supposed to be the same as alt. of course, what the terminal emulator decides to transmit on such keystrokes is up to it. below is what the defaults are for me under 10.12.6 (Sierra) and iTerm2 3.0.15.
|
Mike Frysinger <vapier> |
Sun 13 Aug 2017 03:50:42 PM UTC, comment #8: When someone someday has some time to catch the escape sequences that Opt+Left and Opt+Right produce on an Apple Terminal, let me know. |
Benno Schulenberg <bens> |
Thu 10 Aug 2017 11:49:21 AM UTC, comment #7: Opt+Up and Down just move the cursor up and down - the same as if Opt isn't even pressed.
|
Anonymous |
Thu 10 Aug 2017 09:54:48 AM UTC, comment #6: Yeah, when I woke this morning, I realized you could simply rebind M-B and M-F, if that is what your Option+Left and Option+Right produce. The unbind commands are superfluous, by the way: the bind commands by themselves are enough.
|
Benno Schulenberg <bens> |
Thu 10 Aug 2017 12:05:39 AM UTC, comment #5: Forgot to answer your other question: I'm using Terminal (the Apple app); I haven't tried any other terminal apps. |
Anonymous |
Thu 10 Aug 2017 12:04:33 AM UTC, comment #4: I don't have the capability to do as you asked. However, you inadvertently solved my problem. I've created the following `.nanorc` file:
|
Anonymous |
Wed 09 Aug 2017 07:32:32 PM UTC, comment #3: It is three years ago that I deciced to drop the ability to rebind the dedicated cursor-movement keys, and I don't quite remember why. Probably because it made things simpler and faster.
|
Benno Schulenberg <bens> |
Wed 09 Aug 2017 12:42:51 AM UTC, comment #2: Sorry that my post was ambiguous. (I think I downloaded a newer nano version between starting and finishing the bug report.)
|
Anonymous |
Tue 08 Aug 2017 05:13:15 PM UTC, comment #1: How come you realize that it would be impossible to rebind the Ctrl+Arrow keys? They could very well be rebindable, if we included the code for that. But I chose not to.
|
Benno Schulenberg <bens> |
Tue 08 Aug 2017 02:50:13 AM UTC, original submission:
I realize that it's not possible to rebind Control-LEFT but I haven't seen a good enough reason that one cannot rebind alt- (or meta-, or on my Mac, option-) arrow keys, such as alt-RIGHT or M-RIGHT.
|
Anonymous |
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 8 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2017-11-14 | bens | Open/Closed | Open | Closed | |
2017-09-26 | bens | Status | Need Info | Wont Fix | |
2017-08-13 | bens | Severity | 3 - Normal | 2 - Minor | |
Status | Ready For Test | Need Info | |||
2017-08-10 | bens | Status | Need Info | Ready For Test | |
Summary | Unable to rebind Alt-LEFT (M-LEFT) | Option+Left and Option+Right toggle stuff on Apple Terminal | |||
2017-08-08 | bens | Status | None | Need Info | |
Assigned to | None | bens |
Powered by Savane 3.13-4448.
Corresponding source code
Thanks for the escape sequences, Mike. I've added the ones that iTerm2 produces when using "xterm Defaults", in commit c8a2f36e.
Since Apple's default Terminal app simply produces \eb and \ef for Option+Left and Option+Right, there is nothing nano can do about that, so I would mark this as "Cant Fix", or "Not Our Bug", but Savannah doesn't know those resolutions.