whatnow.1mh

来自「<B>Digital的Unix操作系统VAX 4.2源码</B>」· 1MH 代码 · 共 433 行

1MH
433
字号
.ds MA MH.TH whatnow 1mh.SH Namewhatnow \- prompting front-end for send.SH Syntax.B whatnow[.I options] [.I file].\".\".\".\".\".\" ***COMMENTED OUT.\" .SH Arguments.\" .IP \fIfile\fR 10.\" The file on which .\" .PN whatnow .\" is run..\" This argument allows you to specify a named file;.\" if you want to run.\" .PN whatnow.\" on an existing message, use the .\" .B \-draftfolder.\" and.\" .B \-draftmessage.\" options..\" If you do not give an absolute pathname (one beginning with.\" a / or \&./ or \&.\&./ ),.\" .PN whatnow.\" assumes that the named file is in your current .\" working directory..\" ***END OF COMMENTS.\".\".\".\".\".SH Description.NXR "whatnow command"After you have finished editing a draft message in.PN comp ,.PN dist ,.PN forwor.PN repl , the .PN whatnowprogram prompts you for the next required action.  Press <Return> at the \f(CWWhat now?\fR prompt to see a list of the available responses.  These responses are:.EXdisplay [\fIoptions\fP]edit [\fIeditor\fP] [\fIoptions\fP]list [\fIoptions\fP]push [\fIoptions\fP]quit [\-delete]refile [\fIoptions\fP] +folder.\".\" send [\-mts \fImtsname\fP] [\fIoptions\fP].\" whom [\-mts \fImtsname\fP] [\fIoptions\fP].\".\" ***LAST TO LINES REPLACED BY NEXT TWO.\"send  [\fIoptions\fP]whom  [\fIoptions\fP].EEFor more information on the options available with these commands, see the following reference pages:.MS refile 1mh ,.MS send 1mh ,.MS whom 1mh . .PPUse \f(CWdisplay\fRif you have been using.PN replor .PN distand want to see the original message.Use \f(CWedit\fRif you want to continue editing the draft.Use \f(CWlist\fRto display the draft message.  If you use \f(CWpush\fR,.PN send operates in the background and frees your terminal while the message is being sent..PPUse \f(CWquit\fRto exit from.PN whatnowand to save the draft message.  The.B \-deleteoption to \f(CWquit\fRwill exit from.PN whatnowand delete the draft message..PPUse \f(CWrefile\fR.I +folderto refile the draft message in a specified folder.  The \f(CWsend\fRresponse will cause the message to be delivered.  Use \f(CWwhom\fRto find out who will receive the mail when it is sent..PPUnless the .B \-noeditoption is given,the editor starts when .PN whatnow is invoked..PPFor the \f(CWedit\fR response,you can specify an editor if you wish to overridethe editor specified in your .PN \&.mh_profile.Rfile.If you specify an editor with the \f(CWedit\fR response, any valid option to the editor is valid.Similarly,for the \f(CWsend\fR and \f(CWwhom\fR responses,any valid option to \f(CWsend\fR and \f(CWwhom\fR commands,respectively, are valid..\".\".\" .\" ***COMMENTED OUT.ig.PPYou can use the .B \-mts .I mtsnameoption with.PN sendor.PN whomto specify either the X.400 ornon-X.400 transport system.The.I mtsnameargument takes one of two forms:.B \-mts\ x400indicates that the message issent over the X.400 system;.B \-mts\ smtpis used for non-X.400 mail.You can use upper- or lower-case letters,or a combination of the two.You cannot send the same message over both X.400 and non-X.400 transport systems.If there is an \f(CWX-mts:\fR.Rfield in the header of the draft message, an entry in this field overrides any .B \-mts.I mtsnameoption.See.MS send 1mh.Rand.MS whom 1mh.Rfor more information....\" ***END OF COMMENTS.\".\".\".PPFor the \f(CWpush\fRresponse,use any valid option to .PN send .MH invokes .PN sendwith the .B \-pushoption..PPFor the \f(CWrefile\fRresponse,any valid option to the .PN fileprocis valid.The.PN fileprocis the element of your mail profilewhich defines the program used to refile messages in another folder.For more information,see .MS mh_profile 5mh ..PPFor the \f(CWdisplay\fRand \f(CWlist\fRresponses,any valid argument to the .PN lprocis valid.If any non-option arguments are present,then the pathname of the draft is excluded from the argument list given to the .PN lproc(this is useful for listing another MH message).The.PN lprocis the element in your mail profile which defines the program used to display draft messages on your screen.For more information, see.MS mh_profile 5mh ..PPSee .MS mh_profile 5mhfor further informationabout how editors are used by MH.It also describes .PN lproc and.PN fileprocand shows how complex variables can be used to directthe actions performed by.PN whatnow ..\" .\" ***Info from old Arguments section.\".PPAlthough.PN whatnowis usually invoked by other commands,you can use it as a separate command.You can run .PN whatnow on a named file by specifying the file as the.I file argument.If you do not give an absolute pathname (one beginning witha / or \&./ or \&.\&./ ),.PN whatnowassumes that the named file is in your currentworking directory.If you want to run.PN whatnowon an existing message, use the.B \-draftfolderand.B \-draftmessageoptions..\".\" ***End of old Arguments stuff.\".\".\".\".SH Options.IP "\-draftfolder \fI+folder\fR" 10.PD 0.IP \-nodraftfolder 10.PDSpecifies the folder in which .PN whatnowsearches for the draft message.By default, the current message in the named folder is used.If you wish to specify another message, use the.B \-draftmessageoption.For more information on using a draft folder, see.MS comp 1mh .The.B \-draftfolderoption can be set up in your user profile;see.MS mh_profile 5mh for more information..\".\".IP \-draftmessage\ \fImsg\fRSpecifies the draft message to be used.If you specify a folder with the.B \-draftfolder option, the .B \-draftmessageoption takes the number of a message in that folder.If you do not specify a folder, .B \-draftmessagetakes the name of a file.If you do not give an absolute pathname (one beginning witha / or \&./ or \&.\&./ ),.B \-draftmessage assumes that the file is located in your Mail directory.(This is different from the .I fileargument to .PN whatnow ,which assumes that the file you name is in your current working directory.).\".\".IP \-editor\ \fIeditorname\fRSpecifies the name of the editor you want to useto edit the draft message.Any legal ULTRIX editor can be specified.This option is used only if you select the \f(CWedit\fRresponse to the \f(CWWhat now?\fR prompt..\".\".IP \-helpPrints a list of the valid options for this command..\".\".IP \-noeditPrevents the initial invocation of an editorwhen an MH command is run.Normally, when you enter an MH command such as.PN comp ,.PN dist ,.PN forw ,or.PN repl ,the .PN whatnowprogram is called to start the initial edit of the draft message.If you add this option to the \f(CWwhatnow\fRentry in your .PN \&.mh_profile ,the initial edit of the draft message is disabled.This is a convenient way of disabling this edit for all MH commands, rather than adding the.B \-noeditentry to the entries for the individual commands in.PN \&.mh_profile ..\".\".IP \-prompt\ \fIstring\fRSpecifies the prompt used by.PN whatnow .The prompt you receive when you invoke .PN whatnowcan be specified as a string with this option.If the prompt contains spaces, you must enclose the entire string in double quotes (" ").The default prompt is \f(CWWhat now?\fR.\".\".\".\".\".\".SH RestrictionsIf the \f(CWsendproc\fR entry in your.PN \&.mh_profile is .PN send ,.PN whatnowuses a built-in program rather than running the regular.PN send .If you define your own \f(CWsendproc\fR program, you should not not call it .PN send ,as .PN whatnow will not run it..\".\".\".\".SH ExamplesIn the following example,.PN whatnowtakes the current message in the folder.PN +drafts ,and asks what you want to do with it:.EX% \f(CBwhatnow -draftfolder +drafts\fR\f(CWWhat now?.EE.PPIn the following example, .PN whatnowtakes message 6 from the folder .PN +drafts :.EX% \f(CBwhatnow -draftfolder +drafts -draftmessage 6\f(CWWhat now?.EE.PPThe following example sets the prompt to be \f(CWNow What?\fR:.EX% \f(CBwhatnow -prompt "Now What?"\fR\f(CWNow what?.EE.\".\".\".\".SH Profile Components.TS tab(+);l l.Path:+To determine your MH directory Draft-Folder:+To find the default draft folderEditor:+To override the default editor\fIlasteditor\fR-next:+To name an editor to be used after +exit from \fIlasteditor\fRfileproc:+Program to refile the messagelproc:+Program to list the contents of a messagesendproc:+Program to send the messagewhomproc:+Program to determine who a message would go to.TE.\".\".\".\".SH Files.TP 10.PN $HOME/\&.mh_profileThe user profile..\".\".\".\".SH See Alsocomp(1mh), send(1mh), whom(1mh)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?