ctrl-c and ctrl-d