bugGNU GRUB - Bugs: bug #60114, The "Backspace" key...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #60114: The "Backspace" key doesn't work correctly in the superuser authentication prompt.

Submitter:  Egor Ignatov <egori>
Submitted:  Thu 25 Feb 2021 11:55:10 AM UTC
   
 
Category:  User Interface Severity:  Major
Priority:  5 - Normal Item Group:  Software Error
Status:  None Privacy:  Public
Assigned to:  None Originator Name: 
Open/Closed:  Open Release:  Git master
Release:  Reproducibility:  Every Time
Planned Release:  None

Thu 25 Feb 2021 11:55:10 AM UTC, original submission:  

Description:
In the superuser login prompt pressing backspace deletes the character in the internal buffer, but on the terminal screen it moves the cursor right instead.

Details:
So "grub-core/normal/auth.c:grub_username_get" uses 'grub_printf ("\b \b");' to clear a character on the screen. grub_printf sends characters all the way down to the "grub-core/term/gfxterm.c:grub_gfxterm_putchar". In theory grub_gfxterm_putchar handles '\b' correctly, but it doesn't receive it. The '\b' char gets lost some were in between this two functions. I suspect it's because of how unicode characters are processed. So I guess that "grub-core/normal/term.c:print_ucs4_real" function does not print '\b'.

Egor Ignatov <egori>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by egori (Submitted the item)
  •  

    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.

     

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code