Cannot break running process in Terminal












3















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.










share|improve this question

























  • I suppose you tried cntrl-C?

    – jmh
    Dec 17 '18 at 15:50
















3















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.










share|improve this question

























  • I suppose you tried cntrl-C?

    – jmh
    Dec 17 '18 at 15:50














3












3








3








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.










share|improve this question
















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






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Dec 15 '18 at 12:27









Allan

45.2k1467169




45.2k1467169










asked Dec 15 '18 at 11:49









saladsalad

162




162













  • 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





I suppose you tried cntrl-C?

– jmh
Dec 17 '18 at 15:50










2 Answers
2






active

oldest

votes


















7














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).






share|improve this answer


























  • 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











  • 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 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





















-2














I found control + a d existd from the screen command. see man screen



R






share|improve this answer



















  • 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













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
});


}
});














draft saved

draft discarded


















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









7














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).






share|improve this answer


























  • 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











  • 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 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


















7














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).






share|improve this answer


























  • 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











  • 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 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
















7












7








7







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).






share|improve this answer















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).







share|improve this answer














share|improve this answer



share|improve this answer








edited Dec 17 '18 at 15:39

























answered Dec 15 '18 at 12:19









AllanAllan

45.2k1467169




45.2k1467169













  • 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











  • 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 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





















  • 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











  • 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 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



















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















-2














I found control + a d existd from the screen command. see man screen



R






share|improve this answer



















  • 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


















-2














I found control + a d existd from the screen command. see man screen



R






share|improve this answer



















  • 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
















-2












-2








-2







I found control + a d existd from the screen command. see man screen



R






share|improve this answer













I found control + a d existd from the screen command. see man screen



R







share|improve this answer












share|improve this answer



share|improve this answer










answered Dec 17 '18 at 22:28









historystamphistorystamp

42428




42428








  • 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
















  • 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










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




















draft saved

draft discarded




















































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.




draft saved


draft discarded














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





















































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







Popular posts from this blog

Bundesstraße 106

Verónica Boquete

Ida-Boy-Ed-Garten