⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 folder.1mh

📁 <B>Digital的Unix操作系统VAX 4.2源码</B>
💻 1MH
字号:
.TH folder 1mh.SH Namefolder \- set folder or display current folder name.SH Syntax.NXR "folder command".NXR "Setting current folder".B folder[.I +folder] [.I msg] [.I options].\".\".\".\".SH DescriptionThe .PN foldercommand lets you set the current folder,or display information about it.It can also be used to manage the folder stack.  .PPIf you use the.PN folder command without a .I +folderargument, information about the current folderis displayed on the screen.If you use .PN folder with the .I +folderargument, the named folderis set to be the current folder.  Information about the named folderis also displayed on the screen..PPIf you use.PN folderwith the .I msgargument, it will set the specified message to be current.Information on the current folder is also displayed.You can use both the .I +folderand.I msgarguments together in one command..PPIf you specify a .I +folderthat does not exist, you are asked whether you want to create it.  This is a good way to create an empty folder for later use.  .PPThe display is identical whether you set the folder or display the contents of the current folder.  The following example shows the type of display that is produced.  The display lists the current folder, the number of messages in it, the range of the messages (low-high), and the current message within the folder. It also flags extra files if they exist..EX                 inbox+ has   16 messages (   3-  22); cur=  15..EE.\".\".\".\".SH Options.IP "\-all" 10Displays information on all the folders in your Mail directory.The folders are listed alphabetically,with a line of information given for each folder.This is identical to the display produced by the.PN folderscommand.See.MS folders 1mh ..\".IP "\-fast" 10.PD 0.IP "\-nofast".PDLists only the name of the current folder,with no additional information.This is faster because the folders need not be read..\".IP "\-header" 10.PD 0.IP "\-noheader" 10.PDDisplays a header produced by the system, in addition to the information about the current file.This header is identical to the one that appearsat the top of the listing produced by.PN "folder -all"or by.PN folders .The header can be suppressed by using the.B \-noheaderoption..\".IP "\-help" 10Prints a list of the valid options to this command..\".IP "\-list" 10.PD 0.IP "\-nolist" 10.PDLists the contents of the folder-stack.No .I +folderargument is allowed with this option.The contents of the folder-stack are listed automaticallywhen the.B \-popor .B \-push option is used.This corresponds to the .PN dirsoperation in the C-shell..\".IP "\-pack" 10.PD 0.IP "\-nopack".PDRe-numbers messages in the folder.Messages are re-numbered sequentially, and any gaps in the numbering are removed.The default operation is\fB\-nopack\fR,which does not change the numbering in the folder..\".IP "\-pop" 10Discards the top of the folder-stack,after setting the current folder to that value.No .I +folderargument is allowed with this option.This corresponds to the .PN popdoperation in the C-shell;see .MS csh 1 .The .B \-pushand.B \-popoptions are mutually exclusive:the last occurrence of either one overrides any previous occurrence of the other..\".\".\" *** -print option commented out.\" *** no information on it at this time.ig.IP "\-print" 10.PD 0.IP "\-noprint" 10.PD...\".IP "\-push" 10Pushes the current folder onto the folder-stack,and makes the .I +folderargument into the current folder.If .I +folderis not given, the current folder and the top of the folder-stack are exchanged.This corresponds to the .PN pushdoperation in the C-shell; see .MS csh 1 .The.B \-pushswitch and the.B \-popswitch are mutually exclusive:the last occurrence of either one overrides any previous occurrence of theother..\".IP "\-recurse" 10.PD 0.IP "\-norecurse" 10.PDLists each folder recursively.Information on the current folder is displayed,followed by information on any sub-folders which it contains..\".IP "\-total" 10.PD 0.IP "\-nototal" 10.PDDisplays only the total number of messages and foldersin your Mail directory.This option does not print any information about the current folder.It can be suppressed using the .B \-nototaloption..\".\".\".PPThe defaults for.PN folderare:.IP.I +folderdefaults to the current folder.br.I msgdefaults to none.br.B \-nofast.br.B \-noheader.br.B \-nototal.br.B \-nopack.br.B \-norecurse.\".\".\" *** -print option commented out.ig.br.B \-printis the default if.B \-list ,.B \-pushor .B \-popare specified....\".\".\".\".SH ExamplesThe following example shows how .PN foldercan be used to change the current folder to.PN +test ,and display information on that folder.The plus sign (\f(CW+\fR) next to .PN testindicates that it is now the current folder..EX% \f(CBfolder +test\f(CW                  test+ has    2 messages (   1-   2); cur=   2..EE.PPThe next example shows the display produced by using the.B "\-all"option to.PN folder :.EX  Folder      # of messages (  range  ); cur  msg  (other files)    V2.3  has    3 messages (   1-   3).  adrian  has   20 messages (   1-  20); cur=   2.   brian  has   16 messages (   1-  16).   chris  has   12 messages (   1-  12). copylog  has  242 messages (   1- 242); cur= 225.   inbox+ has   73 messages (   1- 127); cur= 127.     int  has    4 messages (   1-   4); cur=   2  (others).    jack  has   17 messages (   1-  17); cur=  17.             TOTAL= 387 messages in 8 folders..EE.PPThis display is identical to that produced by the.PN folderscommand.See.MS folders 1mhfor an explanation of this display..PPThe next example shows how to use.PN folder to create an empty folder:.EX% \f(CBfolder +test\f(CWCreate folder "$HOME/Mail/test"? \f(CBy\f(CW          test+ has no messages..EE.PPYou can also use.PN folder to create an empty sub-folder within an existing folder.The following example shows how you can create a sub-folder in the folder .PN +test :.EX% \f(CBfolder +test/testtwo\f(CWCreate folder "$HOME/Mail/test/testwo"? \f(CBy\f(CW          test/testtwo+ has no messages..EESee.MS refile 1mhfor more details of sub-folders..\".\".\".\".SH Files.TP 10.PN $HOME/\&.mh_profileThe user profile..\".\".\".\".SH Profile Components.TStab(+);l l.Path:+To determine your MH directoryCurrent-Folder:+To find the default current folderFolder-Protect:+To set mode when creating a new folderFolder-Stack:+To determine the folder stacklsproc:+Program to list the contents of a folder.TE.\".\".\".\".SH See Alsocsh(1), refile(1mh), mhpath(1mh)

⌨️ 快捷键说明

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