Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Ctrl-\ during completion makes zsh quit



Vincent Lefevre wrote on Sat, 01 Aug 2020 17:10 +0200:
> Then ';' followed by [Tab]. I get:
> 
> zsh: do you wish to see all 6124 possibilities (3062 lines)? 
> 
> Type [Tab] again, then Ctrl-\. I get:
> 
> [...]
> _gem                                lnstat                            
> _generic  ^\zsh: quit (core dumped)  zsh -f
>   

And what's the bug?  It's quite normal for SIGQUIT to kill programs
even when SIGINT does not.  If anything, I'd say the bug here is that
SIGINT doesn't cause the listing to be aborted immediately, not that
SIGQUIT does exactly what it's supposed to do.

> BTW, in addition to the SIGQUIT issue, it shouldn't be that easy to
> generate so much output for the completions (I did that by mistake).  

It's not easy.  There was an explicit prompt which you had to affirm.



Messages sorted by: Reverse Date, Date, Thread, Author