help / color / mirror / code / Atom feed
From: <agkozak@gmail.com>
To: <zsh-workers@zsh.org>
Subject: Possible ZSH bug involving piping ls to less (MSYS2 & Cygwin)
Date: Mon, 18 Jan 2021 11:08:27 -0800	[thread overview]
Message-ID: <013001d6edcd$4dd2d670$e9788350$@gmail.com> (raw)

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

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


             reply	other threads:[~2021-01-18 19:08 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-18 19:08 agkozak [this message]
2021-01-26  1:49 ` Jun T
2022-09-13  8:49 ` Jun T
2021-01-27  2:44 agkozak
2021-01-27 10:14 ` Jun T
2021-01-28 10:42   ` Jun T

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='013001d6edcd$4dd2d670$e9788350$@gmail.com' \
    --to=agkozak@gmail.com \
    --cc=zsh-workers@zsh.org \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox


This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).