[konsole] [Bug 496326] New: Ctrl-Z pressed after 'stty -echoctl' causes the NULL UNICODE character to be printed instead of nothing

Yuri bugzilla_noreply at kde.org
Fri Nov 15 23:05:06 GMT 2024


https://bugs.kde.org/show_bug.cgi?id=496326

            Bug ID: 496326
           Summary: Ctrl-Z pressed after 'stty -echoctl' causes the NULL
                    UNICODE character to be printed instead of nothing
    Classification: Applications
           Product: konsole
           Version: 23.08.5
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: konsole-devel at kde.org
          Reporter: yuri at tsoft.com
  Target Milestone: ---

SUMMARY
I am handling the SIGTSTP signal and hiding the ^Z printout using this script:
$ cat sig.sh 
#!/usr/bin/env bash

# SIGTSTP
trap '' 20
stty -echoctl

echo "before"
sleep 3
echo "middle"
sleep 3
echo "after"

When Ctrl-Z is pressed, konsole emits the visible NULL character with the UTF8
encoding e2 96 92.
The expected outcome is to ignore Ctrl-Z.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: konsole-23.08.5
Qt Version: 5.15.17

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the konsole-devel mailing list