remove longjmp in signalhandler of prompter