unofficial mirror of
 help / color / mirror / Atom feed
From: Kyle Meyer <>
Subject: lei q: --stdin confuses --mua
Date: Sat, 17 Apr 2021 11:53:16 -0400	[thread overview]
Message-ID: <> (raw)

I used `lei p2p' to track down an associated thread recently.  It worked
nicely, though I noticed that I wasn't able to jump straight into mutt
via --mua.

Here's an example using public-inbox.git.  Feeding the p2q output on
stdin, I'm told that no recipients were specified, and the command exits
rather than dropping me into mutt's interface.

  $ lei p2q 8ab43c1c27c725a8ef9307f5dba3e565169d48ca | \
    lei q -q -tt - -o mboxcl2:/tmp/t.mbox --mua=mutt
  No recipients were specified.

I'm not a mutt user, but I think that's because mutt sees that stdin
isn't attached to a tty.  I haven't tried anything on my end yet, but
perhaps there's a clean way to make --stdin and --mua [*] work together.

  [*] The only other --mua value I checked was 'mail' (and that shows a
      similar issue), but I'm guessing other MUAs don't not work well
      with --stdin either.

             reply	other threads:[~2021-04-17 15:53 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-17 15:53 Kyle Meyer [this message]
2021-04-17 16:04 ` Kyle Meyer
2021-04-17 19:00 ` [PATCH] lei q: fix MUA spawn after reading query from stdin Eric Wong
2021-04-17 20:13   ` Kyle Meyer

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:

  List information:

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

  git send-email \ \ \ \
    --subject='Re: lei q: --stdin confuses --mua' \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

unofficial mirror of

This inbox may be cloned and mirrored by anyone:

	git clone --mirror

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V1 meta meta/ \
	public-inbox-index meta

Example config snippet for mirrors.
Newsgroups are available over NNTP:

AGPL code for this site: git clone http://ou63pmih66umazou.onion/public-inbox.git