How to bind a custom signal key in bash?

Viewed 90

As we all know, pressing Control-c in bash can send SIGINT to the foreground program, but I want to know is there a way to configure bash or readline(inputrc) to send SIGUSR1 to the foreground program when I press Control-s ?

0 Answers
Related