Can I remove the ctrl-z key binding in my shell?
Posted
by
Nagel
on Super User
See other posts from Super User
or by Nagel
Published on 2012-09-18T11:31:55Z
Indexed on
2012/09/18
21:42 UTC
Read the original article
Hit count: 271
The background for this question: I currently have to do a lot of my work in terminal over ssh, and I use screen quite a bit. Because I found the ctrl-a key binding for screen commands so annoying since I'm accustomed to using ctrl-a to go to the beginning of a line, I changed it to ctrl-z. The only problem with this is that when I'm in Matlab, think I am in Screen but am not, pressing ctrl-z will instantly kill my Matlab session, because ctrl-z is the key binding for suspending processes in *nix.
So the question is: can I remove the key binding for ctrl-z in my shell so that it does no longer suspend a process?
My shell is terminal.app on OSX.
© Super User or respective owner