[Konsole-devel] [konsole] [Bug 361038] New: Terminal goes into no-echo mode after killing some programs with Ctrl+C
Alexander Potashev via KDE Bugzilla
bugzilla_noreply at kde.org
Sun Mar 27 13:50:08 UTC 2016
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-devel at kde.org
Reporter: aspotashev at 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 at 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 at cell ~ $ 109
aspotashev at cell ~ $
Expected Results:
Konsole should be in echo mode after "patch" exits.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the konsole-devel
mailing list