Yeah that’s why I’m asking. Is there a way to make c-c
work? Could you explain why it doesn’t work currently?
Ctrl+d sends eof; Ctrl + c sends sigkill. I'd imagine you could trap the sigkill signal and do something to mimic Ctrl +d. Not sure why tho