in specific situations, nano can eat characters

Bug #1998592 reported by Benno Schulenberg
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nano (Ubuntu)
New
Undecided
Unassigned

Bug Description

Reproduction recipe:

    printf "two words\n second line\n" >words

    nano --ignore --auto --break +,2 words

Then press Enter. See how "t" from the first word has *disappeared*. This is wrong. And what is worse: M-U does not bring the eaten letter back.

Attached patch has been applied upstream to fix the issue. Please consider applying it to nano-6.2 in Jammy (22.04), and maybe also to nano-4.8 in Focal (20.04).

Revision history for this message
Benno Schulenberg (bennoschulenberg) wrote :
description: updated
Revision history for this message
Benno Schulenberg (bennoschulenberg) wrote :

(I've updated the description because Launchpad shrinks double blanks into a single blank, breaking the original recipe. The original report is in https://savannah.gnu.org/bugs/?63407.)

description: updated
description: updated
Ken Sharp (kennybobs)
tags: added: focal jammy
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.