Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Possible ZSH bug involving piping ls to less (MSYS2 & Cygwin)
- X-seq: zsh-workers 47847
- From: <agkozak@xxxxxxxxx>
- To: <zsh-workers@xxxxxxx>
- Subject: Possible ZSH bug involving piping ls to less (MSYS2 & Cygwin)
- Date: Mon, 18 Jan 2021 11:08:27 -0800
- Archived-at: <https://zsh.org/workers/47847>
- Archived-at: <http://www.zsh.org/sympa/arcsearch_id/zsh-workers/2021-01/013001d6edcd%244dd2d670%24e9788350%24%40gmail.com>
- List-id: <zsh-workers.zsh.org>
- Thread-index: AdbtyMmbTHQE0GwzTQaG7OWhpqmtEw==
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