>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?

Huh, yes.  It's in sbr/globals.h.  sbr/globals.c shows:

char *draft = "draft";

A lot of that metadata is communicated via environment variables; see
what_now() in uip/whatnowproc.c

--Ken

Reply via email to