Quite a few commands from OSX ignore SIGINT from CTRL + C, while SIGQUIT from CTRL + \ does the job.
The zsh(1) key-binding intr
looks correct by default. Is SIGINT deprecated in some way? I believe this used to work on previous releases.
% stty -a
speed 9600 baud; 30 rows; 113 columns;
lflags: icanon isig iexten echo echoe -echok echoke -echonl echoctl
-echoprt -altwerase -noflsh -tostop -flusho pendin -nokerninfo
-extproc
iflags: -istrip icrnl -inlcr -igncr ixon -ixoff ixany imaxbel iutf8
-ignbrk brkint -inpck -ignpar -parmrk
oflags: opost onlcr -oxtabs -onocr -onlret
cflags: cread cs8 -parenb -parodd hupcl -clocal -cstopb -crtscts -dsrflow
-dtrflow -mdmbuf
cchars: discard = ^O; dsusp = ^Y; eof = ^D; eol = <undef>;
eol2 = <undef>; erase = ^?; intr = ^C; kill = ^U; lnext = ^V;
min = 1; quit = ^\; reprint = ^R; start = ^Q; status = ^T;
stop = ^S; susp = ^Z; time = 0; werase = ^W;
% which iostat
/usr/sbin/iostat
% iostat 1
disk0 disk4 cpu load average
KB/t tps MB/s KB/t tps MB/s us sy id 1m 5m 15m
20.69 32 0.66 32.81 210 6.74 3 2 96 1.10 1.33 1.36
15.33 12 0.18 36.94 301 10.87 15 4 81 1.10 1.33 1.36
16.00 20 0.31 23.12 289 6.53 7 2 90 1.10 1.33 1.36
^C 0.00 0 0.00 7.86 205 1.57 2 1 97 1.09 1.32 1.36
0.00 0 0.00 7.61 197 1.46 1 1 98 1.09 1.32 1.36
0.00 0 0.00 8.11 179 1.42 1 1 98 1.09 1.32 1.36
0.00 0 0.00 7.54 183 1.35 1 1 98 1.09 1.32 1.36
^\zsh: quit iostat 1
%