|
|
1.1 ! root 1: .\" This file is automatically generated. Do not edit! ! 2: .SC WHATNOW 1 ! 3: .NA ! 4: whatnow \- prompting front\-end for send ! 5: .SY ! 6: whatnow ! 7: \%[\-draftfolder\ +folder] \%[\-draftmessage\ msg] \%[\-nodraftfolder] ! 8: \%[\-editor\ editor] \%[\-noedit] ! 9: \%[\-prompt\ string] ! 10: \%[file] ! 11: \%[\-help] ! 12: .DE ! 13: \fIWhatnow\fR is the default program that queries the user about the ! 14: disposition of a composed draft. ! 15: It is normally invoked by one of ! 16: \fIcomp\fR, \fIdist\fR, \fIforw\fR, or \fIrepl\fR ! 17: after the initial edit. ! 18: ! 19: When started, ! 20: the editor is started on the draft ! 21: (unless `\-noedit' is given, in which case the initial edit is suppressed). ! 22: Then, \fIwhatnow\fR repetitively ! 23: prompts the user with \*(lqWhat now?\*(rq and awaits a response. ! 24: The valid responses are ! 25: .nf ! 26: .in .5i ! 27: .ta \w'\fBrefile +folder\fR 'u ! 28: ^\fBdisplay\fR~^to list the message being distributed/replied\-to on ! 29: ^~^the terminal ! 30: ^\fBedit\fR~^to re\-edit using the same editor that was used on the ! 31: ^~^preceding round unless a profile entry ! 32: ^~^\*(lq<lasteditor>\-next: <editor>\*(rq names an alternate editor ! 33: ^\fBedit <editor>\fR~^to invoke <editor> for further editing ! 34: ^\fBlist\fR~^to list the draft on the terminal ! 35: ^\fBpush\fR~^to send the message in the background ! 36: ^\fBquit\fR~^to terminate the session and preserve the draft ! 37: ^\fBquit \-delete\fR~^to terminate, then delete the draft ! 38: ^\fBrefile +folder\fR~^to refile the draft into the given folder ! 39: ^\fBsend\fR~^to send the message ! 40: ^\fBsend \-watch\fR~^to cause the delivery process to be monitored ! 41: ^\fBwhom\fR~^to list the addresses that the message will go to ! 42: ^\fBwhom \-check\fR~^to list the addresses and verify that they are ! 43: ^~^acceptable to the transport service ! 44: .fi ! 45: .re ! 46: ! 47: For the \fBedit\fR response, ! 48: any valid switch to the editor is valid. ! 49: Similarly, ! 50: for the \fBsend\fR and \fBwhom\fR responses, ! 51: any valid switch to \fIsend\fR\0(1) and \fIwhom\fR\0(1) commands, ! 52: respectively, ! 53: are valid. ! 54: For the \fBpush\fR response, ! 55: any valid switch to \fIsend\fR\0(1) is valid ! 56: (as this merely invokes \fIsend\fR with the `\-push' option). ! 57: For the \fIrefile\fR response, ! 58: any valid switch to the \fIfileproc\fR is valid. ! 59: For the \fBdisplay\fR and \fBlist\fR responses, ! 60: any valid argument to the \fIlproc\fR is valid. ! 61: If any non\-switch arguments are present, ! 62: then the pathname of the draft will be excluded from the argument list ! 63: given to the \fIlproc\fR ! 64: (this is useful for listing another \fIMH\fR message). ! 65: ! 66: See \fImh\-profile\fR\0(5) for further information ! 67: about how editors are used by MH. ! 68: It also discusses how complex environment variables can be used to direct ! 69: \fIwhatnow\fR's actions. ! 70: ! 71: The `\-prompt\ string' switch sets the prompting string for \fIwhatnow\fR. ! 72: ! 73: The `\-draftfolder\ +folder' and `\-draftmessage\ msg' switches invoke the ! 74: \fIMH\fR draft folder facility. ! 75: This is an advanced (and highly useful) feature. ! 76: Consult the \fBAdvanced Features\fR section of the \fIMH\fR manual for more ! 77: information. ! 78: .Fi ! 79: ^$HOME/\&.mh\(ruprofile~^The user profile ! 80: ^<mh\-dir>/draft~^The draft file ! 81: .Pr ! 82: ^Path:~^To determine the user's MH directory ! 83: .Ps ! 84: ^Draft\-Folder:~^To find the default draft\-folder ! 85: .Ps ! 86: ^Editor:~^To override the default editor ! 87: .Ps ! 88: ^<lasteditor>\-next:~^To name an editor to be used after exit from <lasteditor> ! 89: .Ps ! 90: ^fileproc:~^Program to refile the message ! 91: .Ps ! 92: ^lproc:~^Program to list the contents of a message ! 93: .Ps ! 94: ^sendproc:~^Program to use to send the message ! 95: .Ps ! 96: ^whomproc:~^Program to determine who a message would go to ! 97: .Sa ! 98: send(1), whom(1) ! 99: .De ! 100: `\-prompt\ \*(lqWhat\ Now?\ \*(rq' ! 101: .Co ! 102: None ! 103: .Bu ! 104: The argument to the `\-prompt' switch must be interpreted as a single token ! 105: by the shell that invokes \fIwhatnow\fR. ! 106: Therefore, ! 107: one must usually place the argument to this switch inside double\-quotes. ! 108: ! 109: If \fIsendproc\fR is \fIsend\fR, ! 110: then \fIwhatnow\fR uses a built\-in \fIsend\fR, ! 111: it does not actually run the \fIsend\fR program. ! 112: Hence, if you define your own \fIsendproc\fR, ! 113: don't call it \fIsend\fR since \fIwhatnow\fR won't run it. ! 114: .En
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.