GNU nano - Bugs: bug #52954, on a console, nano shows junk in...
You are not allowed to post comments on this tracker with your current authentication level.
bug #52954: on a console, nano shows junk in front of line numbers
Submitter: | Benno Schulenberg <bens> | ||
Submitted: | Mon 22 Jan 2018 08:31:24 PM UTC | ||
Severity: | 3 - Normal | Status: | Fixed |
Assigned to: | bens | Open/Closed: | Closed |
Jump to the original submission
Sun 09 Feb 2020 10:20:28 AM UTC, comment #8: |
Benno Schulenberg <bens> |
Wed 15 Jan 2020 05:58:54 PM UTC, comment #7: A workaround has been added to master, commit f47ef539.
|
Benno Schulenberg <bens> |
Wed 15 Jan 2020 04:23:45 PM UTC, comment #6: The thing is that a VT apparently simply cannot cope with zero-width characters, not even with well-known combining accents. Open for example a new buffer, type "ete", and then, with the cursor after each e, type the combining acute accent: M-V 000301. On a terminal emulator, it displays fine as "été". But on a VT, it gets displayed as "e♦te♦". And when you move the cursor over this line from start to end, the t gets 'copied' to one place earlier, resulting in the display of "ette♦", which is even more wrong. Typing ^L then restores the original display.
|
Benno Schulenberg <bens> |
Tue 17 Jul 2018 07:56:56 PM UTC, comment #5: That's good to know. Although if the problem no longer occurs on X terminals, but still occurs on the console, maybe that means the real problem is on the console in some way? |
David Lawrence Ramsey <dolorous> |
Sun 15 Jul 2018 07:54:48 AM UTC, comment #4: With more recent versions, the problem with the soft hyphen on X seems to have disappeared. With Xfce-Terminal 0.8.7.3, libvte 0.52.2, and ncurses 6.1, the dollar sign in front of line 281 and the shifting of "jrks" no longer occurs here.
|
Benno Schulenberg <bens> |
Thu 08 Feb 2018 07:19:09 PM UTC, comment #3: Inserting a soft-hyphen between an a and a b causing the b to "disappear"... yes, that is a manifestation of the same problem: the terminal and ncurses disagree about the width of the displayed character.
|
Benno Schulenberg <bens> |
Tue 06 Feb 2018 05:25:02 PM UTC, comment #2: Addendum: There are a few bits I forgot to mention:
|
David Lawrence Ramsey <dolorous> |
Tue 06 Feb 2018 04:22:50 PM UTC, comment #1: The problems that nano has displaying the Unicode soft hyphen aren't limited to just the console, line numbering mode, or binary files. With either nano 2.9.3 or current git (d865d7ac), try the following:
|
David Lawrence Ramsey <dolorous> |
Mon 22 Jan 2018 08:31:24 PM UTC, original submission:
To reproduce, switch to a Linux console (for example with Ctrl+Alt+F2) and then run:
|
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 4 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2020-02-09 | bens | Open/Closed | Open | Closed | |
2020-01-15 | bens | Status | In Progress | Fixed | |
2020-01-15 | bens | Status | None | In Progress | |
Assigned to | None | bens |
Powered by Savane 3.13-758e.
Corresponding source code
Released in 4.8.