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

📄 generic.mex

📁 操作系统SunOS 4.1.3版本的源码
💻 MEX
字号:
.\" @(#)generic.mex 1.1 92/07/30 SMI;.PL RIGHT.H C "Generic Format \(em Sections 1, 6, 7 and 8".H 2 \s-1ORDERING\s0.LP.IX ordering.IX "man pages" orderingHere is a list of the of sectionheadings in their proper order.All of the sections follow this order,but where a heading is not needed,it is not used.For example,if there are no bugs to report for a command,there is no need for a.SM BUGSSection..RS.\" CHECK THIS IF ERROR.RS.IP.nf.SM NAME\s-1CONFIGURATION\s+1 (\fISection 4 only\fP).SM SYNOPSIS.SM "SYSTEM V SYNOPSIS"\s-1PROTOCOL\s+1 (\fISection 3R only\fP).SM AVAILABILITY.SM DESCRIPTION.SM "SYSTEM V DESCRIPTION"\s-1IOCTLS\s+1 (\fISection 4 only\fP).SM OPTIONS.SM "SYSTEM V OPTIONS"\s-1RETURN VALUE\s+1 (\fISections 2 and 3 only\fP)\s-1ERRORS\s+1 (\fISections 2, 3, and 4 only\fP).SM USAGE.sp .5.RS.nfCommandsModifiersVariablesExpressionsInput Grammar.RE.sp .5.nf.SM EXAMPLE(S).SM ENVIRONMENT.SM FILES.SM "SEE ALSO".SM DIAGNOSTICS.SM WARNINGS.SM NOTES.SM BUGS.fi.RE.RE.LP.I Note :the.SM USAGEheading frequently contains subsections (listed with.L \&.SS )..LP.IX "introduction to manual pages" "" "" "" PAGE ENDThe specifications in these headings vary slightly from sectionto section; the differences arecovered in the section descriptions below..LPThese sections of the man pagesdescribe general utility commmands(Section 1), Games and Demos(Section 6),.SM TROFFMacros and Miscellaneous Tables (Section 7),and Maintenance Commands (Section 8).Pages are listed in alphabetic orderwithin each section..LPSections 1 and 8 contain the following subsections:.LPSection 1.IP 1 7.PD 0Standard SunOS Commands..IP 1CCommands for communication with other systems..IP 1GCommands used primarily for graphics and computer-aided design..IP 1VCommands that behave differently under the System V environment..IP 1WCommands for window\-related pages..PD.LPSection 8.IP 8 7.PD 0General maintenance commands..IP 8CMaintenance commands for communication with other systems..IP 8SStandalone and diagnostic commands.IP 8VMaintenance commands for use with the System V environment..PD.br.H 2 \s-1HEADING\s0.PD.LPThe following section headings can appearin the man pages for Sections 1, 6, 7 and 8:.RS.RS.IP.nf.SM NAME.SM SYNOPSIS.SM "SYSTEM V SYNOPSIS".SM AVAILABILITY.SM DESCRIPTION.SM "SYSTEM V DESCRIPTION".SM OPTIONS.SM "SYSTEM V OPTIONS".SM USAGE.sp .5.RS.nfCommandsModifiersVariablesExpressionsInput Grammar.RE.sp .5.nf.SM EXAMPLE(S).SM ENVIRONMENT.SM FILES.SM "SEE ALSO".SM DIAGNOSTICS.SM WARNINGS.SM NOTES.SM BUGS.fi.RE.RE.LPEnter these headings with .SH, as in the following examples:.L.RS.nf\&.SH SYNOPSIS\fRor\fL\&.SH "SEE ALSO".R.RE.LPLabel machine-dependent differences, or separate differencesrelated to more than one command on the page, with the .SSmacro:.L.RS.nf\&.SH OPTIONS\&.SS egrep\&...\&.SS fgrep\&....RE.R.LPThe following are specifications for Sections 1, 6, 7 and 8of the man pages.  Remember, use only the headings required..H 2 "\s-1PAGE HEADING\s0".LPThe first line of each man page begins with the.L \&.THmacro, followed by the man page title.This macro creates the page heading.The following is an example for the first line of the.L open(2V)title page..sp .5.RS.RS.L "\&.TH OPEN 2V \"20 November 1987\"".RE.RE.sp .5.H 2 "\s-1NAME\s0".LP.IP \*(SQ 2List the command, followed bya brief summary of what it does..IP \*(SQ 2Name of page (command or game) in all lower-case Roman,separated from the summary by.L \e- ' `(en-dash).When one page describes more than one command,put all commands in a comma-separatedlist preceding the.L \e- '. `Include all commands documented in the.SM SYNOPSISsection in a list..IP \*(SQ 2Do not include.SM RETURNcharacters..IP \*(SQ 2Do not include font or point size changes..IP \*(SQ 2Make the Summary a brief statement,.I nota sentence, containing the minimal number of words:.PD.IP.RS.RSecho \- echo argument to the standard output.RE.RE.IP \*(SQ 2.PD 0Because.L pix(an indexing script) marks the words on this lineto generate index entries, unnecessary words heregenerate unnecessary index entries..H 2 \s-1SYNOPSIS\s0.LP.PD 0.IP \*(SQ 2Show a listing of the command or game withcommands, options, and variablesshown exactly as they are to be entered..IP \*(SQ 2Put literal characters (commands, options,etc.) in Bold font, exactly as they shouldbe entered..IP \*(SQ 2Put variables (arguments, parameters, andsubstitution characters) in Italic font.Use a descriptive term,such as.IR filename ,.IR directory ,or.I stringto represent the variable..IP \*(SQ 2Place ellipses (...) after variables thatcan be repeated..IP \*(SQ 2Place optional arguments in\(lq[\|]\(rq (brackets)..IP \*(SQ 2Separate mutually exclusive arguments,mandatory or optional, with a `|' (pipe).The following example shows a Synopsis line for acommand with mutually exclusive optional arguments:.PD.IP.RS.RS.BR mesg " [" n | y ].RE.RE.IP \*(SQ 2List mutually exclusive synopsesalphabetically, and separate with.L \&.br :.PD.IP.RS.RS.B "cpio \-i"[.I options].br.B "cpio \-p"[.I options].I directory.RE.RE.IP \*(SQ 2When one page lists more than one command,separate the synopses with.L \&.LP :.IP.RS.RS.B "at \-l"[.I jobs\|.\|.\|. ].br.B "at \-r".I jobs\|.\|.\|..br.B at[.B \-csm].I time[.I date][ +.I increment][.I script].IP.B batch[.B \-csm][.I script].RE.RE.br.ne 30.H 3 Ordering.IP \*(SQ 2.PD 0Required, literal arguments are listed first,either single letters, numbers, orcomplete words..IP \*(SQ 2List literal, single letter options (no arguments) next.List them alphabetically, followed by options that arecomplete words (again, no arguments)..IP \*(SQ 2Options with arguments then follow, single letters first,then complete words.IP \*(SQ 2Variable options are then followed by required variablearguments..PD.IP.RS.RS.B "command \-d"|.B \-e[.B \-bfs][.B \-k.I key][.B \-dryrun].I filename.RE.RE.IPwhere.B commandis the command,either.B \-dor.B \-eis required,[.B \-bfs]and.br.\" The above .br is a micro-adjustment.  If it becomes annoying, destroy it.[.B \-dryrun]are options..IP.RS.RS.br.ne 7.I "Note" :.B \-bfsis alist of single-character options;.B \-b ,.B \-f,and.B \-scan be used separately or together.  In contrast,options which take the form of a.I "mnemonic word" ,such as[.B \-dryrun]must be in a separate set of brackets..sp.RE.RE[.B \-k.I key]is an option with an argument..br.I filenameis a required variable argument..IP \*(SQ 2Always maintain the original spacing betweenoptions and arguments.IP.RS.RSinput:.RS.ftL[.br\&.BI \e\-f" filename".br].ftP.REoutput:.RS.IP[.BI \-f " filename"].sp.RE.I Note:If a space is needed between arguments, put it.I withinthe double quotes which separate those arguments(as shownabove)..RE.RE.br.ne 8.H 2 \s-1AVAILABILITY\s0.IP \*(SQ 2Any limitations on the availability of the command arelisted here in concise, completesentences..H 2 "\s-1DESCRIPTION\s0".LP.H 3 "\s-1[SYSTEM V DESCRIPTION]\s0".LP.PD 0.IP \*(SQ 2Describe concisely what the command.I does ..IP \*(SQ 2Do not discuss.SM OPTIONS ,cite.SM EXAMPLES ,or explain why or how the command works..IP \*(SQ 2Always use complete grammatical sentences..IP \*(SQ 2Always use.I activevoice.  The commanddoesn't "cause to do,"it.I does ..IP \*(SQ 2Use the third person to describe theaction using the command as the subject..PD.IP.RS.RS.B fileperforms a series of tests on each.I filename,in an attempt to determine what it contains..RE.RE.IP \*(SQ 2Interactive commands, subcommands, requests, macros,functions, etc., are described under.SM USAGE..br.ne 10v.H 2 "\s-1OPTIONS\s0".LP.H 3 "\s-1[SYSTEM V OPTIONS]\s0".LP.PD 0.IP \*(SQ 2List the command's options with a concise summary of whateach does..IP \*(SQ 2List alphabetically using.L \.TPunless the command requires that optionsand argumments not be in alphabetical order.Arrange options as they appear on the.SM SYNOPSISline..IP \*(SQ 2Show options literally, that is,with a.L \- ' `if one is required, or with anon-literal argument (even if the argument isoptional).PD.TSlB l.\-b     literal option\-c [ \fIstring\fP ]    T{literal option with argumentT}\-k [ \fIkey\fP ]       T{literal option with optional argumentT}.TE.IP \*(SQ 2Option descriptions must be in completegrammatical sentences in the imperative voice.The first sentence may be a mnemonic,but subsequent sentences should be complete:.IP.RS.RS.B \-v "       \fRVerbose.  Display detailed progress reports.\fP".RE.RE.H 2 \s-1USAGE\s0.LP.PD 0.IP \*(SQ 2This section lists special rules, features, andcommands that require in-depth explanations (andare thereby excluded from the.SM DESCRIPTIONsection).IP \*(SQ 2Thefollowing are listed as sub-sectionsand are used to explain built-in functionality..PD.IP.DSCommandsModifiersVariablesExpressionsInput Grammar.DE.H 2 \s-1EXAMPLE(S)\s0.LP.PD 0.IP \*(SQ 2Give examples of how to use the command or function..IP \*(SQ 2Always introduce an example, especiallywhen it is referred to elsewhereon the page..IP \*(SQ 2Always show a.I completeexample, where possible.Include command line entry, machineresponse (even if only a returned prompt), and,where necessary, a return code..IP \*(SQ 2When a prompt is shown, use.B example% ..IP \*(SQ 2Follow examples with any necessary explanations,or variable substitution rules, or returned values..IP \*(SQ 2Use this section to illustrate concepts from the.SM SYNOPSIS ,.SM DESCRIPTION ,.SM OPTIONSand.SM USAGEsections.Do not introduce new information here..PD.H 2 \s-1ENVIRONMENT\s0.LP.PD 0.IP \*(SQ 2List any environment variables that the command or function affects,followed by a brief description of the effect..IP \*(SQ 2List environment variables with.L .SB ,separated by.L .TP ..PD.H 2 \s-1FILES\s0.LP.H 3 "\s-1[SYSTEM V FILES]\s0".LP.PD 0.IP \*(SQ 2List of all thefiles mentioned on page (except thosementioned in.SM EXAMPLES\s0)..IP \*(SQ 2A brief explanation may be included..br.ne 8.IP \*(SQ 2Use the following format:.sp .5.RS.RS.nf.ft L\&.PD 0\&.TP 20\&.B \fIfilename\fP.IR "file description" " (" "summary, not sentence" !).L \&.TP.L \&.PD.ft.fi.RE.RE.sp .5If the filename extends beyond the indentation,increase by 5s, within reason..IP \*(SQ 2.L /usr/bin5are System V files.PD.H 2 "\s-1SEE ALSO\s0".LP.H 3 "Man Pages".LP.PD 0.IP \*(SQ 2Use a comma\-separated list to show the pages referencedalong with others that are relevant(excluding those in EXAMPLES)..IP \*(SQ 2Alphabetize commands according to sections(ignoring subsection suffixes \(em C,V, etc.).All suffixes are capitalized..IP \*(SQ 2List man page in Bold font, section number in Roman font..IP \*(SQ 2Do not end with a.L . ' `(period)..PD.H 3 "Sun Manuals".LP.PD 0.IP \*(SQ 2Separate from man pages with.L \&.LP ..IP \*(SQ 2Separate from other books/articles with.L \&.br ..IP \*(SQ 2List in-house documentation by title.Since chapter titles frequently change, reference them by supplyingarguments to the.SM .TXmacro.Titles and abbreviations are listed in Appendix Dof this document..PD.IP.br.ne 10.RS.RS.RS.IP input:.L ".TX SVBG".IP output:.TX SVBG.RE.RE.RE.H 3 "Other Publications".IP \*(SQ 2List outside publications by author (Roman), title(Italics, no quotes), holder (Roman) andpublisher (Roman)..PD.IP.ft RSollins, K.R., (\fIThe TFTP Protocol Revision 2\fR), RFC 783, Network InformationCenter, SRI International, Menlo Park, Calif., June 1981..ft.H 2 \s-1DIAGNOSTICS\s0.LP.PD 0.IP \*(SQ 2This section contains additional information which may be helpful..IP \*(SQ 2List diagnostic messages as they would appear,in Bold font with Italic font variables, separatedby.L \&.TP ..IP \*(SQ 2Explain diagnostic in complete sentences..IP \*(SQ 2Combine with.SM WARNINGSwhere appropriate..PD.RE.H 2 \s-1WARNINGS\s0.LP.PD 0.IP \*(SQ 2A list of warnings about special conditions,not a list of.SM DIAGNOSTICS..IP \*(SQ 2The section header,.SM CAVEATSshould be changed to.SM WARNINGS..PD.RE.br.ne 8.H 2 \s-1NOTES\s0.PD 0.IP \*(SQ 2List information of interest that does not belonganywhere else..IP \*(SQ 2This section should take the form of an `aside' to the user,covering points of special interest.Critical information should.I notbe given here; it should be noted in the.SM SYNOPSISor.SM DESCRIPTIONsections depending on its form..IP \*(SQ 2Notes are separated by.L .LP ..H 2 \s-1BUGS\s0.PD 0.IP \*(SQ 2List all known bugs.If there is a known workaround,suggest it here..IP \*(SQ 2Separate bugs with.L .LP ..IP \*(SQ 2Be descriptive..IP \*(SQ 2Do not editorialize!.IP \*(SQ 2Do not use slang.

⌨️ 快捷键说明

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