GNU nano - Bugs: bug #57294, on Debian and derivatives,...
You are not allowed to post comments on this tracker with your current authentication level.
bug #57294: on Debian and derivatives, <Alt+Up> does not work on a Linux console
Submitter: | Benno Schulenberg <bens> | ||
Submitted: | Sat 23 Nov 2019 04:41:28 PM UTC | ||
Severity: | 2 - Minor | Status: | Invalid |
Assigned to: | None | Open/Closed: | Closed |
Jump to the original submission
Sun 05 Sep 2021 03:35:39 PM UTC, comment #14: |
Benno Schulenberg <bens> |
Wed 18 Aug 2021 10:12:33 AM UTC, comment #13: A hint about how to get Alt+Up to work on a Linux console (on Debian and such) was added to the FAQ in commit 296c5a32. The basic recipe is:
The upstream report has gone unhandled for two years:
|
Benno Schulenberg <bens> |
Wed 11 Dec 2019 02:12:03 PM UTC, comment #12: Completely agree with your proposals in the bugreport (actually, just remove all KeyboardSignal would be even saner, people who want it will be able to put it in).
|
Peter Passchier <pepa65> |
Wed 11 Dec 2019 12:58:48 PM UTC, comment #11: Yes, <Alt+Down> works out of the box on the console because key 108 doesn't have any extra assignments by default. And yes, if you remove all the extra assignments from key 103, then of course <Alt+Up> will work too in nano on the console. The problem is the default assignment by Debian of KeyboardSignal to the higher levels of key 103 -- an assignment that in my guesstimate will be useless for 99.99 percent of the users.
|
Benno Schulenberg <bens> |
Wed 11 Dec 2019 12:04:09 AM UTC, comment #10: OK sorry, on the console, Alt-Up doesn't work out of the box, but Alt-Down does (because alt 108 is not bound to KeyboardSignal). But after a rebound where only 103 is bound and all additional combos are no longer KeyboardSignal, then that works too. |
Peter Passchier <pepa65> |
Tue 10 Dec 2019 06:09:04 PM UTC, comment #9: Ehm... I'm not talking about a terminal (in other words: a terminal emulator). I'm specifically talking about a Linux console: the thing you reach by typing Ctrl+Alt+F2, for example. That is the thing where you can run dumpkeys (on emulators it says it can't get a file decriptor for the console). In this issue, I'm interested only in nano running on such a console.
|
Benno Schulenberg <bens> |
Tue 10 Dec 2019 02:25:34 PM UTC, comment #8: (On another install of Ubuntu MATE 18.04 Alt-Up/Down works, when I ssh into my Ubuntu 16.04 on BananaPi it doesn't respond, but on Debian 9 it does work, On Raspbian 10 it says '"buttonlen" not found' -- so it's a mixed bag...) |
Peter Passchier <pepa65> |
Tue 10 Dec 2019 01:44:26 PM UTC, comment #7: Sorry, I have no explanation why... In the terminal, Alt-Up/Down outputs 'A'/'B', in dte it jumps up & down by a screen, in ne it opens the menu, in geany it also scrolls the viewport, in vi it jumps to the next/previous word (strange: just Up/Down outputs A/B, so Up in command mode jumps to the end of the line and starts append..?!), clex (curses-based file manager) outputs ;3A/;3B, dav-txt as well, tig says 'unknown key', hexcurse outputs 13A/13B.
|
Peter Passchier <pepa65> |
Tue 10 Dec 2019 12:01:34 PM UTC, comment #6: Your description of Alt+Up is correct: Alt+Up moves the viewport one row up (so all the content plus the cursor move one row down, as long as possible).
|
Benno Schulenberg <bens> |
Mon 09 Dec 2019 06:50:02 PM UTC, comment #5: I don't know what it's supposed to do, but it moves the editor content down the window while keeping the cursor in the same position in the content (ie. moving down with it, until it hits the edge, and then the cursor stays there while the content keeps moving down, until the top of the file is reached).
|
Peter Passchier <pepa65> |
Mon 09 Dec 2019 06:17:52 PM UTC, comment #4: Huh? Does Alt+Up in nano on your Linux console work? What does it do? And what do the Alt+Shift+Up/Down keystrokes do? (Yes, I know what they ought to do, but please describe what they do for you.) |
Benno Schulenberg <bens> |
Mon 09 Dec 2019 04:08:49 PM UTC, comment #3: For what it's worth, on Ubuntu 18.04.3:
|
Peter Passchier <pepa65> |
Sun 08 Dec 2019 01:15:18 PM UTC, comment #2: I've reported the issue upstream: https://bugs.debian.org/946392. |
Benno Schulenberg <bens> |
Thu 28 Nov 2019 10:24:06 AM UTC, comment #1: The user can make the <Alt+Up> keystroke work in nano with the following two commands (executed on a Linux console):
|
Benno Schulenberg <bens> |
Sat 23 Nov 2019 04:41:28 PM UTC, original submission:
To see what I mean, boot into some flavor of Ubuntu or Linux Mint, switch to a VT (with <Ctrl+Alt+F2>, for example), log in, and run nano with some text file as argument. First use <Alt+Down> to scroll down a few lines. Then try using <Alt+Up> to scroll back up -- it doesn't work. On my Manjaro system it works fine.
|
Benno Schulenberg <bens> |
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 5 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2021-09-05 | bens | Status | Confirmed | Invalid | |
Open/Closed | Open | Closed | |||
2019-12-08 | bens | Severity | 3 - Normal | 2 - Minor | |
Status | None | Confirmed | |||
Summary | on Ubuntu and derivatives, <Alt+Up> does not work on a Linux console | on Debian and derivatives, <Alt+Up> does not work on a Linux console |
Powered by Savane 3.13-f8d8.
Corresponding source code
The manual now refers (commit 0ac2dfd9) to the FAQ when Alt+Up does not scroll the viewport on a Linux console. More I cannot do, as this is not nano's bug.