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

Re: less with subprocess



On 2021-09-27 22:30:08 +0200, Pier Paolo Grassi wrote:
> Hello, I have something like this:
> 
> less -f <(sleep 100)
> 
> actually the sleep is a find which does not produce any output for a long
> time at times, but the result is pretty much the same: less doesn't seem to
> be able to initialize if it doesn't receive an input, so it can't respond
> to sigint (ctrl-c), and I have to kill it from another shell

This seems similar to this more general bug I reported in 2019:

  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=931216

There is an issue with its signal handling. I had written a patch,
but it doesn't work well in some cases.

-- 
Vincent Lefèvre <vincent@xxxxxxxxxx> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)




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