support <C-G> for gdb & csh