zsh-workers
 help / color / mirror / code / Atom feed
From: "Michaël Cadilhac" <michael@cadilhac.name>
To: zsh-workers@zsh.org
Subject: Unexpected infinite loop with xclip
Date: Wed, 7 Sep 2022 16:44:01 -0500	[thread overview]
Message-ID: <CADt3fpMftOpCc-6dkMYDCpJg_d9Th4vnvaUJHZbUA4nqx-3PVQ@mail.gmail.com> (raw)

Hello Workers,

I can't explain the behavior of the following on my system:

With zsh -f:

$ while :; do read; echo | xclip; echo loop; done
RET
loop
loop
loop
...

(In the above, RET is the only user input.)

Bash does not have this problem.  This is independent from the
terminal I use, it even has the same behavior on a X11-free TTY (with
DISPLAY set correctly).  I'd find it strange that it be xclip related,
but could not find any other program that caused this.

Bug, feature, PEBKAC?

Cheers,
Michaël


             reply	other threads:[~2022-09-07 21:44 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-07 21:44 Michaël Cadilhac [this message]
2022-09-07 22:20 ` Bart Schaefer

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:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

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

  git send-email \
    --in-reply-to=CADt3fpMftOpCc-6dkMYDCpJg_d9Th4vnvaUJHZbUA4nqx-3PVQ@mail.gmail.com \
    --to=michael@cadilhac.name \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* 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

	https://git.vuxu.org/mirror/zsh/

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).