On GTK+ and Motif the new function capi:set-interactive-break-gestures sets the gestures that can be used to break by typing at an interface.
capi:set-interactive-break-gestures