Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#52044 - [bash] Default console output "[user@system ~]& " can be erased
Attached to Project:
Arch Linux
Opened by Alexander Gut (agsel) - Sunday, 04 December 2016, 16:39 GMT
Last edited by Bartłomiej Piotrowski (Barthalion) - Wednesday, 07 December 2016, 10:59 GMT
Opened by Alexander Gut (agsel) - Sunday, 04 December 2016, 16:39 GMT
Last edited by Bartłomiej Piotrowski (Barthalion) - Wednesday, 07 December 2016, 10:59 GMT
|
DetailsDescription:
The default console output (which shows the actual User/Path) can be erased if the keyboard layout "de-latin1" is used. You have to type a special character like 'ä', 'ö' or 'ü' then you are able to erase two characters instead of one. Possibly caused by: This could be related to UTF-8 which uses two bytes for special letters but only one byte for "normal" letters. Steps to reproduce: *open console window* loadkeys de-latin1 write a special character ('ä' ,'ö' or 'ü') press backspace twice to erase a additional character |
This task depends upon
Closed by Bartłomiej Piotrowski (Barthalion)
Wednesday, 07 December 2016, 10:59 GMT
Reason for closing: Upstream
Wednesday, 07 December 2016, 10:59 GMT
Reason for closing: Upstream
But this happens in the "Console"-Window of "KDE 5-Plasma" and in the Console which is accessible via [CTRL]+[ALT]+[F2,F3,...]
I tried different shells with the following results:
Bash (not OK):
- I was able to erase the output "[agsel@hostsys ~]$ "
- Each 'ä' typed allows to erase one additional character
Dash (OK):
- I was NOT able to erase the output "$ "
CShell (not OK):
- I was NOT able to erase the output "> "
- Pressing button 'ä' did just show the two bytes used to decode/encode: "\303\244"
- Pressing backspace did erase only one byte (first "\244" then "\303")
Fish (not OK):
- I was able to erase the output "agsel@hostsys ~> ".
- The pointer location did not move after I typed 'ä'.
- the letter 'ä' was written at the location of the pointer and an additional 'ä' was written before the pointer position
- 1. Time pressing backspace did erase both, the written 'ä' and the one which was not created by myself
- 2. Time pressing backspace did erase an additional character