The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
0answers
18 views

Interruptable Loop that Does Not Interrupt Piped Processes

I'm trying to write a shell script which performs an operation every fifteen minutes until the user interrupts it, then aggregates all of the results to stdout and exits cleanly. My thought was to ...
1
vote
2answers
27 views

Pass SIGINT through bash script to application

I have a Linux application, written in C++, which traps the SIGINT interrupt in order to do some final cleanup before exiting. I call this application within a bash script. Now, when I type control-C ...
0
votes
1answer
45 views

Linux. MySQL command-line client. Set '--sigint-ignore' option forever

I think ctrl+c is required sometimes but I can't remember I needed it. Sometimes I'm trying to copy output text by pressing that "hotkey" automatically and losing db connection instead. It is very ...
7
votes
3answers
1k views

Less interrupting in less

I often pipe program output to less, e.g. produce_output | less This works great, until produce_output produces large amounts of output. If I search for some text that is deep into the file, less ...
0
votes
1answer
145 views

Ctrl+C incorrectly mapped in Ubuntu Linux 10.04 LTS

I was playing around with my keyboard shortcuts and accidentally mapped a command to the Ctrl+C shortcut. Now I can't stop programs running in the terminal with Ctrl+C and I have no idea of how to ...
0
votes
2answers
946 views

Expect: Modify Ctrl-C Behavior

While exec is running a program, I would like Ctrl-C to terminate the program and resume the script, instead of killing the script. What's the best way of accomplishing that?