Closed vinipsmaker closed 3 years ago
By default, C-c
is caught by the terminal (which then sends a SIGINT to the foreground process group) and is never read by
rlwrap(let alone
readline`)
However, calling stty intr undef
before rlwrap luajit
will make the terminal pass C-c
to rlwrap
where it then can be interpreted any way you see fit.
Hi, I've tried to customize the hotkey for
C-c
by putting this in the.inputrc
file:But
rlwrap
keeps sendingC-c
to theluajit
program which is awful given defaultluajit
behaviour is to just quit the session (and lose all the environment I was working on).