Timeline for its possible to map "undo" to another combination?
Current License: CC BY-SA 3.0
5 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Aug 9, 2022 at 6:05 | comment | added | Stéphane Chazelas |
@Adaephon, that's SIGTSTP sent to the foreground process group / job, not "SIGSTOP sent to the running process".
|
|
| Aug 9, 2022 at 5:54 | comment | added | Kamil Maciorowski |
The "inability" to bind Ctrl+z or Ctrl+c is because the terminal intercepts these and sends signals instead, thus the shell does not see these characters. But if you bind Ctrl+z (or Ctrl+c) and reconfigure the terminal (e.g. stty susp ^Y intr ^U) then the binding(s) will work.
|
|
| Oct 10, 2016 at 13:53 | comment | added | Adaephon |
You actually can bind Ctrl-z in zsh. Also, this does not depend on the terminal emulator, but on the shell. While a terminal emulator might prevent Ctrl-z from being used, I think it unlikely that any terminal emulator actually does do this, as this is shortcut is generally used to send SIGSTOP to the running process.
|
|
| Oct 4, 2016 at 19:38 | vote | accept | Arnold Roa | ||
| Oct 4, 2016 at 17:55 | history | answered | Zeta | CC BY-SA 3.0 |