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

Possible ZSH bug involving piping ls to less (MSYS2 & Cygwin)



Using zsh v5.8 on both MSYS2 and Cygwin and a plain vanilla shell (no
dotfiles):

If I run

    ls --color | less -R

frequently I get

    zsh: done                    ls --color |
    zsh: suspended (tty output)  less -R

On rare occasions I can get this to happen with a simple

    ls | less

but using the --color option seems to make it happen considerably more
often. It happens quite frequently on MSYS2; it is harder to reproduce on
Cygwin, but it does happen. This problem doesn't happen in bash. I don't
know the origin of the problem, but I suspect list members will have
insight.

Alex 





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