Control+C not stopping any processes in Linux. It simply displays the ^C text and does nothing

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty margin-bottom:0;







up vote
0
down vote

favorite












Normally on Linux if you hit ⎈ Control+C it sends SIGINT to the program and depending on how the program handles it, they usually terminate.



However, for me no programs terminate. It's not working on anything. All of the places where it normally terminates a program, it just doesn't work. For example, if I'm running a tail -f on a log file.



It seems as though SIGINT isn't being sent. I'm not sure how to adjust that or even to check it.



To terminate a program, I have to ⎈ Control+Z and then manually kill the thread.



I've tried a lot of things to get this working:



  • different terminal programs

  • different users

  • restarting the server

  • different shells (/bin/bash /bin/sh)

Useful Specs:



  • CENTOS 7 (accessed from an osx machine)

  • bash shell

  • using iterm and terminal

  • gcloud vm

I am happy to send logs or any debugging info that anyone requests. But I am super stumped.



Debugging info:



stty -a 

speed 38400 baud; rows 62; columns 270; line = 0;

intr = ^C; quit = ^; erase = ^?; kill = ^U; eof = ^D; eol = M-^?; eol2 = M-^?; swtch = <undef>; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R; werase = ^W; lnext = ^V; flush = ^O; min = 1; time = 0;

-parenb -parodd -cmspar cs8 -hupcl -cstopb cread -clocal -crtscts
-ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon -ixoff -iuclc ixany imaxbel iutf8
opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0

isig icanon iexten echo echoe echok -echonl -noflsh -xcase -tostop -echoprt echoctl echoke






share|improve this question

















  • 2




    What does stty -a output?
    – Kusalananda
    2 days ago






  • 1




    Is it CentOS or OSX?
    – Sparhawk
    2 days ago










  • Hi, thanks for the questions, I provided answers in the original question. It looks like stty -a is showing that intr = ^C which looks right to me, no?
    – Kevin Major
    yesterday










  • @Kusalananda do you have any other debugging ideas? I'm really stuck, it's driving me mad.
    – Kevin Major
    yesterday
















up vote
0
down vote

favorite












Normally on Linux if you hit ⎈ Control+C it sends SIGINT to the program and depending on how the program handles it, they usually terminate.



However, for me no programs terminate. It's not working on anything. All of the places where it normally terminates a program, it just doesn't work. For example, if I'm running a tail -f on a log file.



It seems as though SIGINT isn't being sent. I'm not sure how to adjust that or even to check it.



To terminate a program, I have to ⎈ Control+Z and then manually kill the thread.



I've tried a lot of things to get this working:



  • different terminal programs

  • different users

  • restarting the server

  • different shells (/bin/bash /bin/sh)

Useful Specs:



  • CENTOS 7 (accessed from an osx machine)

  • bash shell

  • using iterm and terminal

  • gcloud vm

I am happy to send logs or any debugging info that anyone requests. But I am super stumped.



Debugging info:



stty -a 

speed 38400 baud; rows 62; columns 270; line = 0;

intr = ^C; quit = ^; erase = ^?; kill = ^U; eof = ^D; eol = M-^?; eol2 = M-^?; swtch = <undef>; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R; werase = ^W; lnext = ^V; flush = ^O; min = 1; time = 0;

-parenb -parodd -cmspar cs8 -hupcl -cstopb cread -clocal -crtscts
-ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon -ixoff -iuclc ixany imaxbel iutf8
opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0

isig icanon iexten echo echoe echok -echonl -noflsh -xcase -tostop -echoprt echoctl echoke






share|improve this question

















  • 2




    What does stty -a output?
    – Kusalananda
    2 days ago






  • 1




    Is it CentOS or OSX?
    – Sparhawk
    2 days ago










  • Hi, thanks for the questions, I provided answers in the original question. It looks like stty -a is showing that intr = ^C which looks right to me, no?
    – Kevin Major
    yesterday










  • @Kusalananda do you have any other debugging ideas? I'm really stuck, it's driving me mad.
    – Kevin Major
    yesterday












up vote
0
down vote

favorite









up vote
0
down vote

favorite











Normally on Linux if you hit ⎈ Control+C it sends SIGINT to the program and depending on how the program handles it, they usually terminate.



However, for me no programs terminate. It's not working on anything. All of the places where it normally terminates a program, it just doesn't work. For example, if I'm running a tail -f on a log file.



It seems as though SIGINT isn't being sent. I'm not sure how to adjust that or even to check it.



To terminate a program, I have to ⎈ Control+Z and then manually kill the thread.



I've tried a lot of things to get this working:



  • different terminal programs

  • different users

  • restarting the server

  • different shells (/bin/bash /bin/sh)

Useful Specs:



  • CENTOS 7 (accessed from an osx machine)

  • bash shell

  • using iterm and terminal

  • gcloud vm

I am happy to send logs or any debugging info that anyone requests. But I am super stumped.



Debugging info:



stty -a 

speed 38400 baud; rows 62; columns 270; line = 0;

intr = ^C; quit = ^; erase = ^?; kill = ^U; eof = ^D; eol = M-^?; eol2 = M-^?; swtch = <undef>; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R; werase = ^W; lnext = ^V; flush = ^O; min = 1; time = 0;

-parenb -parodd -cmspar cs8 -hupcl -cstopb cread -clocal -crtscts
-ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon -ixoff -iuclc ixany imaxbel iutf8
opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0

isig icanon iexten echo echoe echok -echonl -noflsh -xcase -tostop -echoprt echoctl echoke






share|improve this question













Normally on Linux if you hit ⎈ Control+C it sends SIGINT to the program and depending on how the program handles it, they usually terminate.



However, for me no programs terminate. It's not working on anything. All of the places where it normally terminates a program, it just doesn't work. For example, if I'm running a tail -f on a log file.



It seems as though SIGINT isn't being sent. I'm not sure how to adjust that or even to check it.



To terminate a program, I have to ⎈ Control+Z and then manually kill the thread.



I've tried a lot of things to get this working:



  • different terminal programs

  • different users

  • restarting the server

  • different shells (/bin/bash /bin/sh)

Useful Specs:



  • CENTOS 7 (accessed from an osx machine)

  • bash shell

  • using iterm and terminal

  • gcloud vm

I am happy to send logs or any debugging info that anyone requests. But I am super stumped.



Debugging info:



stty -a 

speed 38400 baud; rows 62; columns 270; line = 0;

intr = ^C; quit = ^; erase = ^?; kill = ^U; eof = ^D; eol = M-^?; eol2 = M-^?; swtch = <undef>; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R; werase = ^W; lnext = ^V; flush = ^O; min = 1; time = 0;

-parenb -parodd -cmspar cs8 -hupcl -cstopb cread -clocal -crtscts
-ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon -ixoff -iuclc ixany imaxbel iutf8
opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0

isig icanon iexten echo echoe echok -echonl -noflsh -xcase -tostop -echoprt echoctl echoke








share|improve this question












share|improve this question




share|improve this question








edited yesterday









Kusalananda

100k13199311




100k13199311









asked Aug 4 at 3:41









Kevin Major

11




11







  • 2




    What does stty -a output?
    – Kusalananda
    2 days ago






  • 1




    Is it CentOS or OSX?
    – Sparhawk
    2 days ago










  • Hi, thanks for the questions, I provided answers in the original question. It looks like stty -a is showing that intr = ^C which looks right to me, no?
    – Kevin Major
    yesterday










  • @Kusalananda do you have any other debugging ideas? I'm really stuck, it's driving me mad.
    – Kevin Major
    yesterday












  • 2




    What does stty -a output?
    – Kusalananda
    2 days ago






  • 1




    Is it CentOS or OSX?
    – Sparhawk
    2 days ago










  • Hi, thanks for the questions, I provided answers in the original question. It looks like stty -a is showing that intr = ^C which looks right to me, no?
    – Kevin Major
    yesterday










  • @Kusalananda do you have any other debugging ideas? I'm really stuck, it's driving me mad.
    – Kevin Major
    yesterday







2




2




What does stty -a output?
– Kusalananda
2 days ago




What does stty -a output?
– Kusalananda
2 days ago




1




1




Is it CentOS or OSX?
– Sparhawk
2 days ago




Is it CentOS or OSX?
– Sparhawk
2 days ago












Hi, thanks for the questions, I provided answers in the original question. It looks like stty -a is showing that intr = ^C which looks right to me, no?
– Kevin Major
yesterday




Hi, thanks for the questions, I provided answers in the original question. It looks like stty -a is showing that intr = ^C which looks right to me, no?
– Kevin Major
yesterday












@Kusalananda do you have any other debugging ideas? I'm really stuck, it's driving me mad.
– Kevin Major
yesterday




@Kusalananda do you have any other debugging ideas? I'm really stuck, it's driving me mad.
– Kevin Major
yesterday















active

oldest

votes











Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: false,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);








 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f460451%2fcontrolc-not-stopping-any-processes-in-linux-it-simply-displays-the-c-text-an%23new-answer', 'question_page');

);

Post as a guest



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes










 

draft saved


draft discarded


























 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f460451%2fcontrolc-not-stopping-any-processes-in-linux-it-simply-displays-the-c-text-an%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

How to check contact read email or not when send email to Individual?

Displaying single band from multi-band raster using QGIS

How many registers does an x86_64 CPU actually have?