Re: dist with -nowhatnowproc

Michael Richardson <[email protected]> Wed, 01 Oct 2025 21:22:00 -0400
Newsgroups gmane.mail.nmh.devel
Message-ID <[email protected]>
Michael Richardson <[email protected]> wrote:
    > So, new "whatnowproc" is $HOME/bin/senddraft, which contains "send -draft"
    > and I think this works for me.

So, no.
I think that it only works if a draftfile is provided on the cmdline.
And when used as a whatnowproc, the draftfile is implicit?

I poked at uip/send.c to understand, seeing:

		case DRAFTSW:
		    msgs[msgp++] = draft;
		    continue;

I guess "draft" is a global?
It's not set anywhere.
I think it's wrong.  I was going to investigate further, but through I should
pull first...

origin  git://git.savannah.nongnu.org/nmh.git (fetch)
origin  git://git.savannah.nongnu.org/nmh.git (push)
obiwan-[/sandel/src/nmh](3.3.8) mcr 10041 %git fetch origin
fatal: read error: Connection reset by peer
[1]    9175 exit 128   git fetch origin

Maybe there is a problem, maybe I missed updating something....
yes.  It should not be: https://git.savannah.nongnu.org/git/nmh.git
Worked.  Poor hosting machine is very slow though.

it's been awhile since I compiled... my HD died a few months ago, had
to be re-installed and restored from backup.
"apt-get build-dep nmh"
is a good trick to know, even when building from source...

--
]               Never tell me the odds!                 | ipv6 mesh networks [
]   Michael Richardson, Sandelman Software Works        |    IoT architect   [
]     [email protected]  http://www.sandelman.ca/        |   ruby on rails    [
signature.asc (application/pgp-signature, 487 B)
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEbsyLEzg/qUTA43uogItw+93Q3WUFAmjd07gACgkQgItw+93Q
3WXMFwf9HSCmDASiKnrv6LrpmNu4A1ra6hnKaKzL+zgcsad6qbbjVrk5Q3PFNsIw
kC+JsK8vqPsFB9koVKrHDMasjCpPYh+KSdIR2YOxqu0I8Sy+ZbxutzmsEBnkiBVl
9rEqvUTovTU1fIpUKGT82ezpOyptGAMBRPNe7NCxGESXBNQ0kPa7q8RGwZE2EsR7
bBb7YD/ae0n4O20tPA0M1FXZEBH/+sAN/avsmwZFkuc3L54jgrU9QZIfr2sirv57
7+ekK/Tu6D9UjmaRXpxKlCdlVhURiIoeDJGHBVB2riruUgB8W8Z42vpqKj0pRizp
QBN2dOX1sfj1/G6Td4WnrqbZ9eIUqA==
=qbo/
-----END PGP SIGNATURE-----