Control+C not stopping any processes in Linux. It simply displays the ^C text and does nothing
Clash 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
linux terminal
add a comment |Â
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
linux terminal
2
What doesstty -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
add a comment |Â
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
linux terminal
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
linux terminal
edited yesterday
Kusalananda
100k13199311
100k13199311
asked Aug 4 at 3:41
Kevin Major
11
11
2
What doesstty -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
add a comment |Â
2
What doesstty -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
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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