GNU nano - Bugs: bug #51477, resuming from suspension under...
You are not allowed to post comments on this tracker with your current authentication level.
bug #51477: resuming from suspension under S-Lang can enter an invalid byte
Submitter: | Benno Schulenberg <bens> | ||
Submitted: | Sun 16 Jul 2017 09:06:13 AM UTC | ||
Severity: | 3 - Normal | Status: | Fixed |
Assigned to: | bens | Open/Closed: | Closed |
Sun 16 Jul 2017 05:17:37 PM UTC, comment #2: |
Benno Schulenberg <bens> |
Sun 16 Jul 2017 12:00:53 PM UTC, comment #1: The bug was worse: the plugging of KEY_F0 into the key buffer (to trigger a screen update) masked another SLang bug: when that plugging is dropped, it results that the code for the first keystroke after having resumed is clipped to a single byte -- meaning that the code for <Right>, which is 0x104, gets clipped to 0x04, which is ^D, which deletes a character. :| (SLang brain damage, episode I-forget-how-many.)
|
Benno Schulenberg <bens> |
Sun 16 Jul 2017 09:06:13 AM UTC, original submission:
To see what I mean, configure nano with --with-slang and compile. 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 2 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2017-07-22 | bens | Open/Closed | Open | Closed | |
2017-07-16 | bens | Status | None | Fixed |
Powered by Savane 3.13-02a9.
Corresponding source code
Oh, to be clear: the bug was not in nano, but in SLang. So, commit 43a5c876 is not a fix but a workaround.