Cannot interrupt busy-printing command via normal means #1
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I ran
cat /dev/random
and then tried to interrupt it using the usualCtrl-C
andCtrl-\
, neither of which worked. I can stop it by ending the terminal emulator process in one of the usual ways, including clicking on the window's Close button and selecting "Force Quit" in my DE's "process is not responding" window. However, it would be nice to stop commands like this without closing the terminal emulator. For what it's worth,gnome-terminal
interrupts the command onCtrl-C
andCtrl-\
as expected.I get the similar behavior with
cat /dev/zero
andwhile true; do printf '\n'; done
, but not onwhile true; do printf ''; done
orcat /dev/random | tail
. It seems that constantly printing might be keeping the terminal emulator too busy to respond to input. Sometimes pressing the window's Close button quickly after running a command can cause it to exit without a force quit, but it was not consistently reproducible. As a bonus, I somehow got this error once:Cannot interrupt busy command via normal meansto Cannot interrupt busy-printing command via normal means