Created attachment 182259 [details] the commands "echo abcdefghijklmnopqrstuvwxyz", "echo ABCDEFGHIJKLMNOPQRSTUVWXYZ", "echo !@#$%^&*()" , and "echo 1234567890" executed after replication. STEPS TO REPRODUCE 1. Open Konsole 2. Execute "cat /usr/bin/rm" OBSERVED RESULT The terminal is filled with � [among other] characters [as is the norm when using cat on a binary file], but the lowercase letters in the user/hostname will be gibberish. Typing and executing "clear" will clear the terminal, but the user/hostname will still be gibberish and so will any subsequent lowercase letters entered. Characters that are displayed on the terminal due to a cat operation on a text file are not affected. EXPECTED RESULT Lowercase letters remain legible. SOFTWARE/OS VERSIONS Linux/KDE Plasma: Fedora Linux 42 KDE Plasma Version: 6.3.5 KDE Frameworks Version: 6.14.0 Qt Version: 6.9.1 ADDITIONAL INFORMATION The gibberish is not randomized, either between separate terminal sessions or separate occurrences of the same letter. Does not persist through app restarts, and it does not stop commands from being recognized.
Created attachment 182267 [details] attachment-547694-0.html unrelated to konsole - seems like a bash or zsh ossue On Sat, 14 Jun 2025 at 04:19 <bugzilla_noreply@kde.org> wrote: > https://bugs.kde.org/show_bug.cgi?id=505582 > > Bug ID: 505582 > Summary: Executing the command "cat /usr/bin/rm" causes all > subsequent lowercase letters typed into konsole to be > gibberish until app is restarted. > Classification: Applications > Product: konsole > Version First 25.04.2 > Reported In: > Platform: Fedora RPMs > OS: Linux > Status: REPORTED > Severity: task > Priority: NOR > Component: font > Assignee: konsole-devel@kde.org > Reporter: 76692e6c656e696e@gmail.com > Target Milestone: --- > > Created attachment 182259 [details] > --> https://bugs.kde.org/attachment.cgi?id=182259&action=edit > the commands "echo abcdefghijklmnopqrstuvwxyz", "echo > ABCDEFGHIJKLMNOPQRSTUVWXYZ", "echo !@#$%^&*()" , and "echo 1234567890" > executed > after replication. > > STEPS TO REPRODUCE > 1. Open Konsole > 2. Execute "cat /usr/bin/rm" > > OBSERVED RESULT > The terminal is filled with � [among other] characters [as is the norm when > using cat on a binary file], but the lowercase letters in the user/hostname > will be gibberish. Typing and executing "clear" will clear the terminal, > but > the user/hostname will still be gibberish and so will any subsequent > lowercase > letters entered. Characters that are displayed on the terminal due to a cat > operation on a text file are not affected. > > EXPECTED RESULT > Lowercase letters remain legible. > > SOFTWARE/OS VERSIONS > Linux/KDE Plasma: Fedora Linux 42 > KDE Plasma Version: 6.3.5 > KDE Frameworks Version: 6.14.0 > Qt Version: 6.9.1 > > ADDITIONAL INFORMATION > The gibberish is not randomized, either between separate terminal sessions > or > separate occurrences of the same letter. Does not persist through app > restarts, > and it does not stop commands from being recognized. > > -- > You are receiving this mail because: > You are the assignee for the bug.
Hi - this is a behavior of the underlying shell responding to control characters, a layer below what Konsole handles. The following links might be helpful reference: https://unix.stackexchange.com/questions/79684/fix-terminal-after-displaying-a-binary-file https://unix.stackexchange.com/questions/50752/how-to-fix-a-terminal-after-a-binary-file-has-been-dumped-inside-it