Cannot break running process in Terminal
This has been killing me for a while. In macOS terminal, I cannot break a process. I've tried every combination of keys. Command. doesn't work.
For example, if I open a screen
session with a serial device. It works fine but I cannot exit screen
. The only way to kill it is by using Activity Monitor.
stty-a
shows that most things are bound to ^ "key", but this Control + "key" doesn't do anything either.
macos terminal
add a comment |
This has been killing me for a while. In macOS terminal, I cannot break a process. I've tried every combination of keys. Command. doesn't work.
For example, if I open a screen
session with a serial device. It works fine but I cannot exit screen
. The only way to kill it is by using Activity Monitor.
stty-a
shows that most things are bound to ^ "key", but this Control + "key" doesn't do anything either.
macos terminal
I suppose you tried cntrl-C?
– jmh
Dec 17 '18 at 15:50
add a comment |
This has been killing me for a while. In macOS terminal, I cannot break a process. I've tried every combination of keys. Command. doesn't work.
For example, if I open a screen
session with a serial device. It works fine but I cannot exit screen
. The only way to kill it is by using Activity Monitor.
stty-a
shows that most things are bound to ^ "key", but this Control + "key" doesn't do anything either.
macos terminal
This has been killing me for a while. In macOS terminal, I cannot break a process. I've tried every combination of keys. Command. doesn't work.
For example, if I open a screen
session with a serial device. It works fine but I cannot exit screen
. The only way to kill it is by using Activity Monitor.
stty-a
shows that most things are bound to ^ "key", but this Control + "key" doesn't do anything either.
macos terminal
macos terminal
edited Dec 15 '18 at 12:27
Allan
42.6k1362155
42.6k1362155
asked Dec 15 '18 at 11:49
saladsalad
162
162
I suppose you tried cntrl-C?
– jmh
Dec 17 '18 at 15:50
add a comment |
I suppose you tried cntrl-C?
– jmh
Dec 17 '18 at 15:50
I suppose you tried cntrl-C?
– jmh
Dec 17 '18 at 15:50
I suppose you tried cntrl-C?
– jmh
Dec 17 '18 at 15:50
add a comment |
2 Answers
2
active
oldest
votes
To exit screen
you press ControlA followed by Control.
You can find a comprehensive list of all the default key bindings in the man page (man screen
).
That still doesn't work.Conrtol + a
highlights everything in terminal,Ctrl + Shift + a
brings me to the top of wheresceen
was started, but doesn't stop it. and Is there anything else I could be missing?
– salad
Dec 16 '18 at 18:47
Have you remapped keybindings? I have tested on 3 different versions of macOS and none will highlight everything when you pressCtrl-A
in Terminal. Also, it's supposed to be inscreen
that you pressCtrl-A
.
– Allan
Dec 16 '18 at 20:30
I am not familiar with the screen command. I noticed that command + a highlights everything. control + a after the command + a gets rid of the highlighting.
– historystamp
Dec 17 '18 at 22:00
1
You keep sayingCommand
. It'sControl
. It's the key directly to the right offn
and directly to the left ofOption
which is to the left ofCommand
.(And yes,Command-A
does select everything; you're hitting the wrong key!)
– Allan
Dec 17 '18 at 22:04
add a comment |
I found control + a d existd from the screen command. see man screen
R
1
Control-A, d
detaches the current screen meaning your process continues to run inscreen
. The same but with a capitalD
detaches and logs out. Quit isControl-A, Control-
per the man page
– Allan
Dec 17 '18 at 22:46
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "118"
};
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',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
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
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fapple.stackexchange.com%2fquestions%2f345744%2fcannot-break-running-process-in-terminal%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
To exit screen
you press ControlA followed by Control.
You can find a comprehensive list of all the default key bindings in the man page (man screen
).
That still doesn't work.Conrtol + a
highlights everything in terminal,Ctrl + Shift + a
brings me to the top of wheresceen
was started, but doesn't stop it. and Is there anything else I could be missing?
– salad
Dec 16 '18 at 18:47
Have you remapped keybindings? I have tested on 3 different versions of macOS and none will highlight everything when you pressCtrl-A
in Terminal. Also, it's supposed to be inscreen
that you pressCtrl-A
.
– Allan
Dec 16 '18 at 20:30
I am not familiar with the screen command. I noticed that command + a highlights everything. control + a after the command + a gets rid of the highlighting.
– historystamp
Dec 17 '18 at 22:00
1
You keep sayingCommand
. It'sControl
. It's the key directly to the right offn
and directly to the left ofOption
which is to the left ofCommand
.(And yes,Command-A
does select everything; you're hitting the wrong key!)
– Allan
Dec 17 '18 at 22:04
add a comment |
To exit screen
you press ControlA followed by Control.
You can find a comprehensive list of all the default key bindings in the man page (man screen
).
That still doesn't work.Conrtol + a
highlights everything in terminal,Ctrl + Shift + a
brings me to the top of wheresceen
was started, but doesn't stop it. and Is there anything else I could be missing?
– salad
Dec 16 '18 at 18:47
Have you remapped keybindings? I have tested on 3 different versions of macOS and none will highlight everything when you pressCtrl-A
in Terminal. Also, it's supposed to be inscreen
that you pressCtrl-A
.
– Allan
Dec 16 '18 at 20:30
I am not familiar with the screen command. I noticed that command + a highlights everything. control + a after the command + a gets rid of the highlighting.
– historystamp
Dec 17 '18 at 22:00
1
You keep sayingCommand
. It'sControl
. It's the key directly to the right offn
and directly to the left ofOption
which is to the left ofCommand
.(And yes,Command-A
does select everything; you're hitting the wrong key!)
– Allan
Dec 17 '18 at 22:04
add a comment |
To exit screen
you press ControlA followed by Control.
You can find a comprehensive list of all the default key bindings in the man page (man screen
).
To exit screen
you press ControlA followed by Control.
You can find a comprehensive list of all the default key bindings in the man page (man screen
).
edited Dec 17 '18 at 15:39
answered Dec 15 '18 at 12:19
AllanAllan
42.6k1362155
42.6k1362155
That still doesn't work.Conrtol + a
highlights everything in terminal,Ctrl + Shift + a
brings me to the top of wheresceen
was started, but doesn't stop it. and Is there anything else I could be missing?
– salad
Dec 16 '18 at 18:47
Have you remapped keybindings? I have tested on 3 different versions of macOS and none will highlight everything when you pressCtrl-A
in Terminal. Also, it's supposed to be inscreen
that you pressCtrl-A
.
– Allan
Dec 16 '18 at 20:30
I am not familiar with the screen command. I noticed that command + a highlights everything. control + a after the command + a gets rid of the highlighting.
– historystamp
Dec 17 '18 at 22:00
1
You keep sayingCommand
. It'sControl
. It's the key directly to the right offn
and directly to the left ofOption
which is to the left ofCommand
.(And yes,Command-A
does select everything; you're hitting the wrong key!)
– Allan
Dec 17 '18 at 22:04
add a comment |
That still doesn't work.Conrtol + a
highlights everything in terminal,Ctrl + Shift + a
brings me to the top of wheresceen
was started, but doesn't stop it. and Is there anything else I could be missing?
– salad
Dec 16 '18 at 18:47
Have you remapped keybindings? I have tested on 3 different versions of macOS and none will highlight everything when you pressCtrl-A
in Terminal. Also, it's supposed to be inscreen
that you pressCtrl-A
.
– Allan
Dec 16 '18 at 20:30
I am not familiar with the screen command. I noticed that command + a highlights everything. control + a after the command + a gets rid of the highlighting.
– historystamp
Dec 17 '18 at 22:00
1
You keep sayingCommand
. It'sControl
. It's the key directly to the right offn
and directly to the left ofOption
which is to the left ofCommand
.(And yes,Command-A
does select everything; you're hitting the wrong key!)
– Allan
Dec 17 '18 at 22:04
That still doesn't work.
Conrtol + a
highlights everything in terminal, Ctrl + Shift + a
brings me to the top of where sceen
was started, but doesn't stop it. and Is there anything else I could be missing?– salad
Dec 16 '18 at 18:47
That still doesn't work.
Conrtol + a
highlights everything in terminal, Ctrl + Shift + a
brings me to the top of where sceen
was started, but doesn't stop it. and Is there anything else I could be missing?– salad
Dec 16 '18 at 18:47
Have you remapped keybindings? I have tested on 3 different versions of macOS and none will highlight everything when you press
Ctrl-A
in Terminal. Also, it's supposed to be in screen
that you press Ctrl-A
.– Allan
Dec 16 '18 at 20:30
Have you remapped keybindings? I have tested on 3 different versions of macOS and none will highlight everything when you press
Ctrl-A
in Terminal. Also, it's supposed to be in screen
that you press Ctrl-A
.– Allan
Dec 16 '18 at 20:30
I am not familiar with the screen command. I noticed that command + a highlights everything. control + a after the command + a gets rid of the highlighting.
– historystamp
Dec 17 '18 at 22:00
I am not familiar with the screen command. I noticed that command + a highlights everything. control + a after the command + a gets rid of the highlighting.
– historystamp
Dec 17 '18 at 22:00
1
1
You keep saying
Command
. It's Control
. It's the key directly to the right of fn
and directly to the left of Option
which is to the left of Command
.(And yes, Command-A
does select everything; you're hitting the wrong key!)– Allan
Dec 17 '18 at 22:04
You keep saying
Command
. It's Control
. It's the key directly to the right of fn
and directly to the left of Option
which is to the left of Command
.(And yes, Command-A
does select everything; you're hitting the wrong key!)– Allan
Dec 17 '18 at 22:04
add a comment |
I found control + a d existd from the screen command. see man screen
R
1
Control-A, d
detaches the current screen meaning your process continues to run inscreen
. The same but with a capitalD
detaches and logs out. Quit isControl-A, Control-
per the man page
– Allan
Dec 17 '18 at 22:46
add a comment |
I found control + a d existd from the screen command. see man screen
R
1
Control-A, d
detaches the current screen meaning your process continues to run inscreen
. The same but with a capitalD
detaches and logs out. Quit isControl-A, Control-
per the man page
– Allan
Dec 17 '18 at 22:46
add a comment |
I found control + a d existd from the screen command. see man screen
R
I found control + a d existd from the screen command. see man screen
R
answered Dec 17 '18 at 22:28
historystamphistorystamp
32116
32116
1
Control-A, d
detaches the current screen meaning your process continues to run inscreen
. The same but with a capitalD
detaches and logs out. Quit isControl-A, Control-
per the man page
– Allan
Dec 17 '18 at 22:46
add a comment |
1
Control-A, d
detaches the current screen meaning your process continues to run inscreen
. The same but with a capitalD
detaches and logs out. Quit isControl-A, Control-
per the man page
– Allan
Dec 17 '18 at 22:46
1
1
Control-A, d
detaches the current screen meaning your process continues to run in screen
. The same but with a capital D
detaches and logs out. Quit is Control-A, Control-
per the man page– Allan
Dec 17 '18 at 22:46
Control-A, d
detaches the current screen meaning your process continues to run in screen
. The same but with a capital D
detaches and logs out. Quit is Control-A, Control-
per the man page– Allan
Dec 17 '18 at 22:46
add a comment |
Thanks for contributing an answer to Ask Different!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
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
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fapple.stackexchange.com%2fquestions%2f345744%2fcannot-break-running-process-in-terminal%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
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
Required, but never shown
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
Required, but never shown
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
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
I suppose you tried cntrl-C?
– jmh
Dec 17 '18 at 15:50