📄 comp.man
字号:
COMP(1) BSD Reference Manual COMP(1)NNAAMMEE comp - compose a messageSSYYNNOOPPSSIISS comp [+folder] [msg] [-draftfolder +folder] [-draftmessage msg] [-nodraftfolder] [-editor editor] [-noedit] [-file file] [-form formfile] [-use] [-nouse] [-whatnowproc program] [-nowhatnowproc] [-help]DDEESSCCRRIIPPTTIIOONN _C_o_m_p is used to create a new message to be mailed. It copies a message form to the draft being composed and then invokes an editor on the draft (unless `-noedit' is given, in which case the initial edit is suppressed). The default message form contains the following elements: To: cc: Subject: -------- If the file named "components" exists in the user's MH directory, it will be used instead of this form. The file specified by `-form formfile' will be used if given. You may also start _c_o_m_p using the contents of an existing mes- sage as the form. If you supply either a `+folder' or `msg' argument, that message will be used as the form. You may not supply both a `-form formfile' and a `+folder' or `msg' argument. The line of dashes or a blank line must be left between the header and the body of the mes- sage for the message to be identified properly when it is sent (see _s_e_n_d (1)). The switch `-use' directs _c_o_m_p to continue editing an already started message. That is, if a _c_o_m_p (or _d_i_s_t, _r_e_p_l, or _f_o_r_w ) is terminated without sending the draft, the draft can be edited again via "comp -use". If the draft already exists, _c_o_m_p will ask you as to the disposition of the draft. A reply of qquuiitt will abort _c_o_m_p, leaving the draft intact; rreeppllaaccee will replace the existing draft with the appropriate form; lliisstt will dis- play the draft; uussee will use the draft for further compo- sition; and rreeffiillee ++ffoollddeerr will file the draft in the given folder, and give you a new draft with the appropri- ate form. (The `+folder' argument to rreeffiillee is required.) The `-draftfolder +folder' and `-draftmessage msg' switches invoke the _M_H draft folder facility. This is an advanced (and highly useful) feature. Consult the[mh.6] MH.6.8 1COMP(1) BSD Reference Manual COMP(1) AAddvvaanncceedd FFeeaattuurreess section of the _M_H manual for more infor- mation. The `-file file' switch says to use the named file as the message draft. The `-editor editor' switch indicates the editor to use for the initial edit. Upon exiting from the editor, _c_o_m_p will invoke the _w_h_a_t_n_o_w program. See _w_h_a_t_n_o_w (1) for a discussion of available options. The invocation of this program can be inhibited by using the `-nowhatnowproc' switch. (In truth of fact, it is the _w_h_a_t_n_o_w program which starts the initial edit. Hence, `-nowhatnowproc' will prevent any edit from occurring.)FFIILLEESS /usr/contrib/mh-6.8/lib/components The message skeleton or <mh-dir>/components Rather than the standard skeleton $HOME/.mh_profile The user profile <mh-dir>/draft The draft filePPRROOFFIILLEE CCOOMMPPOONNEENNTTSS Path: To determine the user's MH directory Draft-Folder: To find the default draft-folder Editor: To override the default editor Msg-Protect: To set mode when creating a new message (draft) fileproc: Program to refile the message whatnowproc: Program to ask the "What now?" questionsSSEEEE AALLSSOO dist(1), forw(1), repl(1), send(1), whatnow(1), mh- profile(5)DDEEFFAAUULLTTSS `+folder' defaults to the current folder `msg' defaults to the current message `-nodraftfolder' `-nouse'CCOONNTTEEXXTT NoneBBUUGGSS If _w_h_a_t_n_o_w_p_r_o_c is _w_h_a_t_n_o_w, then _c_o_m_p uses a built-in _w_h_a_t_- _n_o_w, it does not actually run the _w_h_a_t_n_o_w program. Hence, if you define your own _w_h_a_t_n_o_w_p_r_o_c, don't call it _w_h_a_t_n_o_w since _c_o_m_p won't run it.[mh.6] MH.6.8 2
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -