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

            Bug ID: 361038
           Summary: Terminal goes into no-echo mode after killing some
                    programs with Ctrl+C
           Product: konsole
           Version: 15.12.2
          Platform: Gentoo Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: konsole-de...@kde.org
          Reporter: aspotas...@gmail.com

Killing the program "patch" in the middle of patching turns Konsole into
no-echo mode.

See Steps to Reproduce below.

Reproducible: Sometimes

Steps to Reproduce:
1. Create a patch file which won't apply, e.g. /tmp/1.patch:
~~~
diff 1.cpp 2.cpp
--- 1.cpp
+++ 2.cpp
@@ -1,1 +1,1 @@
-1
+2
~~~

2. Run Konsole and run command "patch < /tmp/1.patch" (make sure 1.cpp does not
exist, so that the patch does not apply).
3. When "patch" prompts for "File to patch: ", press Ctrl+C.

Actual Results:  
"Patch" exits, but Konsole is now in no-echo mode: typed in letters are not
visible. But you can run programs as usual; in the example below after exiting
"patch" I typed in "ls -1 | wc -l" and pressed Enter:
=====
aspotashev@cell ~ $ patch < /tmp/1.patch 
can't find file to patch at input line 4
Perhaps you should have used the -p or --strip option?
The text leading up to this was:
--------------------------
|diff 1.cpp 2.cpp
|--- 1.cpp
|+++ 2.cpp
--------------------------
File to patch: ^C
aspotashev@cell ~ $ 109
aspotashev@cell ~ $ 


Expected Results:  
Konsole should be in echo mode after "patch" exits.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to