📄 show.1mh
字号:
.TH show 1mh.SH Nameshow \- show (list) messages.SH Syntax.B show[.I +folder] [.I msgs] [.B \-draft] [.B \-[no]header] [.B \-help] [.B \-showproc .I program] [.B \-noshowproc] [.I "options to".PN showproc].\".\".\".\".SH Description.NXR "show command"Use .PN showto display the contents of the current message. You can specify alternative messages or folders by using the.I +folderor .I msgsarguments. .PPIf a folder is given, it becomes the current folder.The last message shown becomes the current message..PPYou can specify a number of messages or a range of messages using the .I msgs argument. If you specify more than one message, .PN showprompts for a <RETURN> prior to listing each message..PPTypically, the messages are listed exactly as they are, with no reformatting.A program named by the \f(CWshowproc\fR component in the .PN \&.mh_profilefile is invoked to do the listing, and any options not recognized by.PN showare passed along to that program.The default program is .MS more 1 . .PPBy default, the.PN showcommand use the .PN moreprogram to list each message, a page at a time.When the end of the page is reached, it waits for a <RETURN> or a space.If you press <RETURN>, .PN showprints the next line. If you press the space bar, it prints the next screen of data.At the end of the message,.PN showautomatically returns you to the system prompt. Press \f(CBq\fRto quit before the end of the message..PPIf the profile entry \f(CWUnseen-Sequence:\fRis present and non-empty, then .PN showwill remove each of the messages shown from the sequences named by the profile entry..\".\".\".\".SH Options.IP \-draft 10Displays the draft message, or the current message in your.PN +draftsfolder, if you have one set up.You cannot give a.I msgsargument when you use this option..\".\" ***This option commented out.ig.IP "\-form \fIformfile\fB" 10***ANY INFORMATION ON THIS???.br***IS IT -form OR -format???...\" ***End of comments.\".IP \-header 10.PD 0.IP \-noheader 10.PDDisplays a one-line header before the message.The header consists of the name of the folderand the message number.This is the default behavior.It can be suppressed with the.B \-noheaderoption..\".IP \-help 10Prints a list of the valid options to this command..\".IP "\-showproc \fIprogram\fR [ \fIoptions\fR ]\fB" 10.PD 0.IP \-noshowproc 10.PDSpecifies an alternative program to list messages.The default is to use the program defined by the\f(CWshowproc:\fR entry in the.PN \&.mh_profilefile.You can give options to the.PN showprocprogram at the command line.These are passed directly to.PN showprocby.PN show ..IPIf the .B \-noshowprocoption is specified,.PN /bin/catis used instead of .PN showproc ..IPThe MH command .PN mhlcan be used as a .PN showprocto show messages in a more uniform format. See .MS mhl 1mhfor more details..IPIf you are going to use the same .PN showproc all the time, it is advisable to specify it in your .PN \&.mh_profile file.See .MS mh_profile 5mh for more details..\".PPThe defaults for this command are as follows:.IP.I +folderdefaults to the current folder.br.I msgsdefaults to the current message.br.B \-header.\".\" ***COMMENTED OUT.\" ***Noinformation on -form or -format option.\" .br.\" .B \-format.\".\".\".\".SH RestrictionsThe .B \-headeroption does not work when .PN msgsexpands to more thanone message.If the .PN showprocis .PN mhl ,then this problem can be circumvented by referencingthe \f(CWmessagename\fR field in the .PN mhlformat file..PPThe command.PN showupdates your mail environmentbefore showing the message.Hence .PN showmay mark messages as seen before you actually see them.However, this is generally not a problem,unless you are using the \f(CWunseen\fR messages mechanism,and you interrupt.PN showwhile it is showing \f(CWunseen\fR messages..PPIf your.PN showprocis .PN mhl ,then .PN showuses a built-in .PN mhl :it does not actually run the .PN mhlprogram.Hence, if you define your own .PN showproc ,do not call it .PN mhlsince .PN showwill not run it..PPIf .MS more 1 is your .PN showproc (which is the default), then avoid running .PN showin the background with only its standard output piped to another process. You should re-direct the diagnostic output of.PN showas well..PP For example, in the following incorrect example,.PN showwill go into a .PN ttyinput state:.EX% \f(CBshow | print &\f(CW.EEFor users of .PN csh ,the correct command is:.EX% \f(CBshow |& print &\f(CW.EEFor users of .PN sh ,the correct command is:.EX% \f(CBshow 2>&1 | print &\f(CW.EE.\".\".\".\".SH ExamplesIn the first example,.PN showdisplays the contents of message 36 in the current folder:.EX% \f(CBshow 36\f(CW.EE.PPIn the next example, the.MS pr 1 program is used to list the current message:.EX % \f(CBshow \-showproc pr\f(CW.EE.\".\".\".\".SH Profile Components.TStab(+);l l.Path:+To determine the user's Mail directoryUnseen-Sequence:+To name sequences denoting unseen messagesshowproc:+Program to show messages.TE.\".\".\".\".SH Files.TP 10.PN $HOME/.mh_profileThe user profile..\".\".\".\".SH See Alsomore(1), mhl(1mh), next(1mh), pick(1mh), prev(1mh), scan(1mh)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -