Control: tags -1 +patch
Control: forwarded -1 https://0xacab.org/monkeysphere/monkeysign/issues/7

On 2014-08-30 19:23:14, Antoine Beaupré wrote:
>> * or to pipe it to Mutt (which does not work yet, as monkeysign's
>>   stdout is used by its interactive UI; perhaps printing it to a FD
>>   greater than 2 would be doable?);
>
> one could do a similar thing as above and add a --mua or --pipe (-p is
> free), and use it in ui.py:358 to replace sendmail -t. maybe --pipe
> could default to sendmail -t, actually.
>
> then one would need to document how those two options interact with each
> other in the usage.

this was implemented in monkeysign 2.x, yet to be released, with the
--mta flag.

there are some discussions about how to reuse the `xdg-email` command
here to make this without configuration, in #723072 and:

https://0xacab.org/monkeysphere/monkeysign/issues/7

So I'm keeping this opened to keep track of those.

>> I'm aware this is related to #720047, and likely solving the one will
>> solve the other usecase.
>
> hmmm... i feel that 720047 would require a --edit option that would pipe
> the message into $EDITOR... maybe? not sure what micah was expecting
> here.

In the end: I agree here, solving the --mta issue removes the need for
an --edit option.

--mta can also be hacked to pipe to a file, using `--mta "tee %(to)s"`,
 which is kind of horrible, but works (and is used in the unit tests).

(Actually, the unit tests use "dd status=none of=%(to)s", to avoid
dumping the message on the terminal.)

A.

-- 
The history of any one part of the earth, like the life of a soldier,
consists of long periods of boredom and short periods of terror.
                       - British geologist Derek V. Ager

Reply via email to