Bug 1045586

Summary: ctrl-C not working in Terminator
Product: [Fedora] Fedora Reporter: Johan Vervloet <bulk>
Component: terminatorAssignee: Dominic Hopf <dmaphy>
Status: CLOSED WORKSFORME QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: bulk, chesusin, dmaphy, dohnto, steve, valtri
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-03-23 20:23:32 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Johan Vervloet 2013-12-20 19:12:30 UTC
Description of problem:

Ctrl-C does not work in terminator. It does work in gnome-terminal.

Version-Release number of selected component (if applicable):

terminator-0.97-3.fc20.noarch

How reproducible:

Steps to Reproduce:
1. Start terminator
2. Type something
3. Press ctrl-C

Actual results:

Nothing happens

Expected results:

Display ^C and show the command prompt again

Additional info:

Comment 1 Johan Vervloet 2013-12-20 19:19:24 UTC
Additional info:

If I run a ping command in terminator, I can use Ctrl-C to stop it. But when inputting a command, Ctrl-C does nothing.

Comment 2 Dominic Hopf 2013-12-20 23:22:36 UTC
Could you specify the commands you are running? This would help reproducing the issue first.

Comment 3 Johan Vervloet 2013-12-21 09:49:22 UTC
It doesn't depend on what I am typing. I just type anything, and instead of pressing enter, I press ctrl-C.
I then expect my input to be cancelled, and to get a new command prompt. But nothing happens instead, the cursor just stays where it is.

Comment 4 Johan Vervloet 2013-12-23 14:33:38 UTC
As a workaround, I can press Ctrl-U.

Comment 5 Johan Vervloet 2013-12-29 22:21:00 UTC
I have some more info. As said before, if you run

ping 8.8.8.8

you can break it using ctrl-C.

But if you do 

tail -f tail -f /var/log/httpd/error_log

you only can stop it using a kill command.

Comment 6 Johan Vervloet 2013-12-29 22:21:52 UTC
Sorry for the typo. I meant

tail -f /var/log/httpd/error_log

Comment 7 Tomáš Dohnálek 2013-12-29 22:31:33 UTC
Not sure if it helps but with terminator-0.97-2.fc19.noarch it seems to be working.

root # tail -f /var/log/yum.log
Dec 24 20:42:09 Installed: SDL-devel-1.2.15-12.fc19.x86_64
Dec 24 20:42:09 Installed: SDL_gfx-2.0.22-4.fc19.x86_64
Dec 24 20:42:10 Installed: SDL_gfx-devel-2.0.22-4.fc19.x86_64
Dec 24 20:42:10 Installed: SDL_image-devel-1.2.12-6.fc19.x86_64
Dec 24 20:42:11 Installed: SDL_ttf-devel-2.0.11-3.fc19.x86_64
Dec 24 20:42:11 Installed: SDL_mixer-devel-1.2.12-4.fc19.x86_64
Dec 24 21:07:40 Installed: acpi-1.7-1.fc19.x86_64
Dec 24 23:09:02 Installed: python-paramiko-1.10.1-1.fc19.noarch
Dec 24 23:09:06 Installed: bzr-2.5.1-13.fc19.x86_64
Dec 28 15:08:14 Installed: dos2unix-6.0.3-2.fc19.x86_64
^C
root #

Comment 8 Tomáš Dohnálek 2013-12-29 22:39:33 UTC
Or maybe I got it wrong. Are you talking about this behavior? Either this one works for me.

root # tail -f /var/log/yum.log^C
root #

Comment 9 Johan Vervloet 2013-12-30 19:17:25 UTC
None of those work for me. (terminator-0.97-3.fc20.noarch)

Comment 10 František Dvořák 2014-01-04 15:59:28 UTC
I have the same behaviour is also with:
  gnome-terminal-3.10.2-1.fc20.x86_64
  xfce4-terminal-0.6.2-3.fc20.x86_64
  xterm-297-1.fc20.x86_64

In plain text consoles it is working fine.

(In Fedora 19 CTRL-C has been working. The problem is there after upgrading to Fedora 20.)

Comment 11 Johan Vervloet 2014-01-14 09:31:55 UTC
I found this in the forum: http://forums.fedoraforum.org/showthread.php?p=1677258

I guess the problem is caused by the proprietary nVidia driver. (Which I have to use because of fedora bug #754882)

Comment 12 Johan Vervloet 2014-01-14 09:52:21 UTC
This bug is probably a duplicate of bug #1028272.

Comment 13 Johan Vervloet 2014-02-06 07:58:18 UTC
I am not sure what happened, but the problem doesn't occur any more since I did a yum update on feb 04.

Some nvidia-related packages got updated, maybe that fixed the issue.

@František Dvořák, do you still have the problem?

Comment 14 František Dvořák 2014-02-06 12:13:21 UTC
Yes, I can confirm, the problem vanished in all other terminals. In the update fixing it were nvidia related packages (331.38-1), glibc-2.18-12, and some other packages.

Comment 15 chesusin 2014-02-22 10:46:25 UTC
Running yum update solved the problem for me too. Now Ctrl+C works in Gnome termimal (3.10.2). I'm on Fedora 20.

Comment 16 Johan Vervloet 2014-03-23 20:23:32 UTC
I think I can close this bug again.