convert sigint to sigusr1 to send signals with keyboard