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

📄 fcs.mex

📁 操作系统SunOS 4.1.3版本的源码
💻 MEX
📖 第 1 页 / 共 2 页
字号:
and cp's all necessarysources (makefiles,.L man?/$(FILES) ,etc.) to .L $(CLONEDIR) .This is to safeguard the original sources from rcpflukes..br.ne 8.LPSecondly,.BS GRAY.LS 2% make \-f Printfile pinstall.LE.BE.LP.L $(CLONEDIR)is recursively rcp'd onto.L $(DESTHOST) .This is a dangerous process (because ofthe remote procedures), and you willbe warned accordingly.  .L $(DESTHOST)must be adoctools host (that's why the pages cannot be madeon the release machine)..LPSince the above procedure was done remotely, itis a good idea to check that all files do exist,and have plausible contents.  A simple way toverify this is.BS GRAY.LS 2% cd man?% ls | more.LE.BE.LPAll work will now be done on .L $(DESTDIR) .Any editing done to the files will be merged backonto the release machine after printing.  In orderto run make on .L $(DESTDIR) ,the SunPro version of makemust be in.L /usr/bin ,and.L default.mkmust exist in.L $(DESTDIR) ,or in.L /usr/include/makeon .L $(DESTDIR) ..LPA significant amount of work has been done on thepages, and now that they are on the doctools host, the pages areno longer under the security of SCCS.  So, to protectour changes, a backup tape should be made at this point..LPThe last check must be done on the doctools host..BS GRAY.LS 2% make checknr.LE.BE.UH S "BUILDING PRINTED PAGES".LPNow, the final steps of building the printed pages..BS GRAY.LS 2% make man.LE.BE.LPWill produce.L ?.manin .L $(DESTDIR)as well as.L man? ..L ?.manis one concatenated file containingall pages for that directory..BS GRAY.LS 2% make PS.LE.BE.LPThis command depends on.L "make man" ,so theprevious command is an optional step.  Using.L ?.man ,.L "make PS"creates the postscriptfiles for each section,.L ?.PS ,and the other necessary printed files,.L cover.PS ,.L pag.PS ,and.L index.PS ..br.ne 8.LPThe PS files can then be printed individually, using.BS GRAY.LS 2% psprint pag.PS% psprint ?.PS.LE.BE.LPPrint the pagination first, and read it thoroughly.  Themost obvious (and easiest to overlook) mistakes could becaught at this point, saving a lot of time and frustration.Check pagination for:.RS.IP \(bupages that are in the wrong section (mostly section 3? pages).IP \(bupages that are out of alphabetical order.IP \(bumissing pages, or pages that appear too short.RE.LPIf there is a problem with a particular sectionit is not necessary to remake the entiredocument.  By fudging the slushfile, you can makeonly a specified PS file..BS GRAY.LS 2% mv slushfile slushfile.old% vi slushfile	\fIinsert the starting page number for this section	as the first line of the slushfile and exit\fP% make ?.PS.LE.BE.LPNote:  If remaking that section will affect thepagination, or index,  then you MUST run:.BS GRAY.LS 2% make clean.LE.BE.LPThis will move all the files generated bymake (?.PS and ?.man) so that they do notappear up to date.  .LPand.BS GRAY.LS 2% make PS.LE.BE.LPJust because you have remade the document doesnot mean you have to reprint any sections, onlypages affected by the problem needto be reprinted.  Mainly, the document must beremade for slushfile purposes..UH S "PRINTING".LPBefore you begin printing, change the printercartridge (and have an extra cartridge on hand)..LPYou can begin printing a PS file as soon as make goeson to the next section.  To print:.BS GRAY.LS 2% psprint ?.PS.LE.BE.LPWhen checking the pagination against the printedpages, look for the following:.RS.IP \(bumake sure the name and page numbers match.IP \(buscan page for errors (point size, fontsthat aren't turned off, overprints orrun-off lines).IP \(bupages that contain more than one NAME line.IP \(buspots or smudges on pages, these should bewhited out where possible, in extreme casesthe page could be reprinted as a patch.RE.LPOnce the pagination is complete, and doublechecked, insert pink sheets to indicate where tabsshould be inserted.  Turn in manual andpagination to production, saving a photocopy of thepagination for your records.  Tell Production how manyimmediate copies will be needed.  Immediate copies will notcome from the printer, they are photocopies of the manual as it was turned in. .UH S "CHECKING BLUELINES".LPRemain available until the manual has been sent to theprinter.  Check with production periodically untilbluelines are in.  Proofread bluelines immediately,request a 48 hour turn around from production..LPWhen checking bluelines remember that this is notthe time to make edits, we have to pay for eachchange we make (excepting printer errors wecatch).  Always keep a cost/benefit ratio inmind..LPCheck bluelines for:.RS.IP \(bu 4overprints.IP \(bu 4copy printed off edge of page.IP \(bu 4blank pages.IP \(buspots, smudges, and streaks.IP \(bu 4printer marks.IP \(bu 4incorrectly ordered pages and sections.IP \(bu 4bad page breaks.IP \(bu 4any other glaring, horrendous errors.RE.UH S "CLEAN UP".LPAfter the manual is turned in you can begin thecleaning up process..UH S "On doctools host".LPAs a precaution, a final tape should be made at this time.This tape should be saved.I at.I leastuntil the next release..LP.L $(DESTDIR)and all of its contents should remain fullyintact until bluelines have been sent back to the printer,and a final review copy has been approved.  The final review copywill be printed in ink, unlike the bluelines..LPAs mentioned earlier, any pages that have been changedsince the cloning process must be merged back onto therelease machine..BS GRAY.LS 2% make mergeback.LE.BE.LPwill generate eight lists,.L /tmp/man?.mergeback ,containing all files that have been changedin each directory on .L $(DESTDIR) .This list should be rcp'd onto therelease machine.  We are now finished with .L $(DESTDIR) ..UH S "On release machine".LPThe files listed in the file.L mergebackneed to be rcp'd from .L $(DESTHOST) ,and checked into SCCS.This can be done easily using the following script..BS GRAY.LS 2% foreach i ( man[1-8] )? cd $i? sccs edit -s `cat /tmp/$i.mergeback`? rsh abraxas "cd /usr/tmp/man/$i ; \e?   rcp `cat /tmp/$i.mergeback` argon:/usr/src/man/$i"? sccs delget -s -y"merge back from printed versions" \e?   `cat /tmp/$i.mergeback`? cd ..? end%.LE.BE.LPWhile all make-generated files in the current directorywill be removed by 'clean', those in subdirectories will not.These files must be removed by hand, verifying that eachfile should actually be removed..LPTo clean up the man pages directories, type:.BS GRAY.LS 2% cd /usr/src/man% make clean.LE.BE.LPWhile all make-generated files in the current directorywill be removed by 'clean', those in subdirectories will not.These files must be removed by hand, verifying that eachfile should actually be removed..LPWe are now finished our work on the pages and directories,to prepare for the next build, type:.BS GRAY.LS 2% make.LE.BE.LPThis will do an.L "sccs get"on all the files necessary toinstall the on-line man pages, leaving a current versionof all pages available..UH S "TEST CATMAN".LPTo make using the .L mancommand easier, and generate cross-references,users will run .L catmansoon after installing SunOS.  We must makesure that the man pages will not break when they do this..LPSince we just want to test this command, not actually create its output,we do not need to nroff entire files, the first line of each file issufficient.  Bob has created a "dummy" nroffversion that handles this for us, .L /usr/krypton/rdh/Nroff .By moving this file to.L nroffsomewhere in .L $(PATH) .I before.L /bin/nroff ,.L catmanwill use this version, and be non the wiser..LPWARNING:  Do not forget to move.L nroffback to.L Nroff !.br.ne 8.LPRun.L catman :.BS GRAY.LS 2% cd /usr/src/man% catman	\fIoutput from catman\fR.LE.BE.LP.L catmancreates a corresponding cat directory for each existingman directory, the nroff output files are placedin these directories.  For.L .sofiles, cat placesa link in the directory to the nroffed version ofthe source file. .LPError messages will appear in the .L catmanoutput.They indicate a bad.L .soreference, or anon-existent file.  These files must beinvestigated.  First, check for their existencein the appropriate.L mandirectory.  Then check the.L catdirectory.  Possible errors include:.RS.IP \(bu 4The.L \&.sofile has embedded spaces in the sourcefile.IP \(bu 4The current version of a file must be extractedfrom SCCS, use.L sccs get.I filename ..IP \(bu 4The.L \&.soreferences a non-existent file, ormisspells filename..RE.LPAfter fixing these errors, run.L catmanagain to verify the fix and make certain thatnew errors were not introduced.  Once.L catmanhas run successfully, remove the.L catdirectories and the.L nroff edfiles..LPRemember to move.L nroffback to.L Nroff !.UH S "The \&\fLwhatis\fP Database".LP.L catmanalso builds the.L whatisdatabase for.L "man -k" '' ``and.L apropos .If the .SM NAMEline of a man page is garbled, this will often show up in thefirst few lines of the database (an.SM ASCIIfile).  Be sure to edit the man pages that contain the errors,and run.L "catman -w" '. `again to verify your corrections..NS NOTEAny high priority bugs that come in while thepages are at the printers, can be fixed in thesource (the on-line pages), and a note inserted inthe RTF to mention the discrepancy between theprinted and on-line pages.  High priority meansbugs that are reported by engineers as must fix..NE

⌨️ 快捷键说明

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