GNU nano - Bugs: bug #59071, with Slang, returning from...
You are not allowed to post comments on this tracker with your current authentication level.
bug #59071: with Slang, returning from suspension enters an invalid byte
Submitter: | Benno Schulenberg <bens> | ||
Submitted: | Sun 06 Sep 2020 01:58:53 PM UTC | ||
Severity: | 3 - Normal | Status: | Fixed |
Assigned to: | bens | Open/Closed: | Closed |
Mon 07 Sep 2020 03:27:54 PM UTC, comment #5: |
Benno Schulenberg <bens>![]() ![]() |
Mon 07 Sep 2020 10:20:29 AM UTC, comment #4: The Ñ bug existed since version 2.8.6. Version 2.8.5 was still okay. That was for a long time. More than three years, and no one noticed it (or at least: no one reported it). :| |
Benno Schulenberg <bens>![]() ![]() |
Mon 07 Sep 2020 10:04:53 AM UTC, comment #3: (It still worked fine in nano-5.0, but there it is impossible to type Ñ (an uppercase ñ) into the buffer (or any other character that has 0x91 in its UTF-8 code sequence) -- nothing is entered, but upon the next valid character an invalid byte (0xC3) is entered. Don't know since when that bug exists.) |
Benno Schulenberg <bens>![]() ![]() |
Sun 06 Sep 2020 02:08:55 PM UTC, comment #2: The offending commit is cc6d1d59: "optimize for byte-range characters, and shorten some comments". |
Benno Schulenberg <bens>![]() ![]() |
Sun 06 Sep 2020 02:04:02 PM UTC, comment #1: Bug exists since version 5.1. Version 5.0 still worked fine. |
Benno Schulenberg <bens>![]() ![]() |
Sun 06 Sep 2020 01:58:53 PM UTC, original submission:
To reproduce, run './configure -C --enable-tiny --with-slang' followed by 'make'.
|
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 3 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2020-10-08 | bens | Open/Closed | Open | ![]() |
Closed |
2020-09-07 | bens | Status | None | ![]() |
Fixed |
2020-09-06 | bens | Summary | when built with Slang, returning from suspension enters an invalid byte | ![]() |
with Slang, returning from suspension enters an invalid byte |
Fixed in git, commit cf4901da, by stuffing 0xFF into the input stream instead of 0x91 -- 0xFF gets ignored when using Slang because Slang sometimes produces it itself (instead of the intended -1).