It seems like MONITOR is meant to be aborted by Ctrl-C, but that then also quits redis-cli itself.
Maybe SIGINT should be caught always, and redis-cli would only quit on QUIT or Ctrl-d/EOF?
Comment From: shaharmor
+1, this is so irritating
Comment From: jaredye
+1
Comment From: badboy
Right now it's not so super-easy to do this, as redis-cli does a blocking read on the socket. Not sure how to interrupt that properly on Ctrl-c.
Comment From: beyond5959
+1
Comment From: charsyam
hey guys could you try this patch? https://github.com/antirez/redis/pull/3589 @blueyed @shaharmor @jaredye @badboy @beyond5959
source is dirty. but I think It works well.
Comment From: mbpakalin
Anybody have any solution to this issue ? Its still quitting whole redis-cli with CTRL C
Comment From: blueyed
@mbpakalin please try the patch mentioned above I guess.
Comment From: mbpakalin
@blueyed Is this not included in latest release ? I'm using the ubuntu repo.
Comment From: blueyed
@mbpakalin The patch/PR does not appear to be merged. btw: I'm using Arch.. ;) (this is all rather off-topic. Please try the patch if you want to help with getting this fixed. As for myself I am not using redis-cli much, so am not really affected)
Comment From: mbpakalin
@blueyed I will build myself and your patch too. Thanks btw :D And i'm using Ubuntu for now, i always wanted to try Arch btw :)