📄 mh-gen.8
字号:
.\" @(#)$Id: mh-gen.8,v 2.115 1993/12/01 00:44:23 jromine Exp $.\" uneven inter-word spacing (nroff line adjusting) hampers readability.if n .na.TH MH-GEN 8 MH.6.8.3 [mh.6].SH NAMEmh-gen \- generating the MH system.SH "READ THIS"This documentation describes how to configure, generate, and installthe UCI version of the RAND \fIMH\fR system. \fBBe certain\fP to read this document completely before you begin. You probably willalso want to familiarize yourself with the \fIMH\fP Administrator'sGuide before you install \fIMH\fP. A copy can be found in thefile \fBdoc/ADMIN.doc\fP is the \fIMH\fP sources..SH DISCLAIMERAlthough the \fIMH\fR system was originally developed by the RAND Corporation,and is now in the public domain,the RAND Corporation assumes no responsibility for \fIMH\fRor this particular modification of \fIMH\fR..PPIn addition,the Regents of the University of California issue the following\fBdisclaimer\fR in regard to the UCI version of \fIMH\fR:.in +.5i\*(lqAlthough each program has been tested by its contributor,no warranty, express or implied,is made by the contributor or the University of California,as to the accuracy and functioning of the programand related program material,nor shall the fact of distribution constitute any such warranty,and no responsibility is assumed by the contributoror the University of California in connection herewith.\*(rq.in -.5i.PPThis version of \fIMH\fR is in the public domain,and as such,there are no real restrictions on its use.The \fIMH\fR source code and documentation have no licensing restrictionswhatsoever.As a courtesy,the authors ask only that you provide appropriate credit to the RANDCorporation andthe University of California for having developed the software..SH "GETTING HELP"\fIMH\fR is a software package that is neither supported by the RANDCorporation nor the University of California.However,since we do use the software ourselves and plan to continue using (andimproving) \fIMH\fR,bug reports and their associated fixes should be reported back to us so thatwe may include them in future releases.The current computer mailbox for \fIMH\fR is \fBBug\-MH@ICS.UCI.EDU\fR(in the ARPA Internet),and \fB...!ucbvax!ucivax!bug\-mh\fR (UUCP)..PPPresently,there are two Internet discussion groups, \fBMH\-Users@ICS.UCI.EDU\fRand \fBMH\-Workers@ICS.UCI.EDU\fR. \fBMH\-Workers\fP is for peoplediscussing code changes to \fIMH\fP. \fBMH-Users\fP is for generaldiscussion about how to use \fIMH\fP.\fBMH\-Users\fR is bi-directionally gatewayed into USENET as \fBcomp.mail.mh\fR..SH "HOW TO GET MH"Since you probably already have \fIMH\fP,you may not need to read this unless you suspect you have an old version.There are two ways to get the latest release:.PP1. If you can FTP to the ARPA Internet, use anonymous FTP toftp.ics.uci.edu [128.195.1.1] and retrieve the file pub/mh/mh-6.8.tar.Z.This is a tar image after being run through the compress program(approximately 1.8MB). There should also be a \fBREADME\fR file inthat directory which tells what the current release of \fIMH\fPis, and how to get updates..PPThis tar file is also available on louie.udel.edu [128.175.1.3] in portal/mh-6.8.tar.Z. You may also find MH onvarious other hosts; to make sure you get the latest version anddon't waste your time re-fixing bugs, it's best to get it fromeither ftp.ics.uci.edu or louie.udel.edu..PP2. You can send $75 US to the address below.This covers the cost of a 6250 BPI 9-track magtape,handling, and shipping. In addition, you'll get alaser-printed hard-copy of the entire MH documentation set. Besure to include your USPS address with your check. Checks must be drawn on U.S\&. funds and should be made payable to:.ti +1iRegents of the University of CaliforniaThe distribution address is: .nf.RS 1iUniveristy of California at IrvineOffice of Academic Computing360 Computer ScienceIrvine, CA 92717 USA+1 714 856 5153.fi.RE.PPSadly, if you just want the hard-copies of the documentation, youstill have to pay the $75. The tar image has the documentationsource (the manual is in roff format, but the rest are in TeXformat). Postscript formatted versions of the TeX papers are available, as are crude tty-conversions of those papers..SH SYNOPSISMAKE.SH DESCRIPTIONThis is a description of how one can bring up an \fIMH\fR system.It is assumed that you have super-user privileges in order to(re\-)install \fIMH\fR.Super-user privileges are not required to configure or generate \fIMH\fR..PPBecome the super-user and cd to /usr/src/local/(or whatever you keep your local sources).The distribution tape contains the hierarchy for the mh.6-8/ directory.Bring the sources on-line:.sp 1.nf# cd /usr/src/local% tar xv% cd mh-6.8.fi.SH CONFIGURATIONFirst, go to the conf/ directory..sp 1.nf% cd conf/.fi.sp 1This directory contains files that will produce source files tailoredfor your choice of \fIMH\fR configuration.You should edit only the file \fBMH\fR.This file contains configuration directives.These configuration directives are read by the \fImhconfig\fR program toproduce customized files..spFor examples of various configurations,look in the directory \fBconf/examples/\fR.The file \fBMH\fR provided in \fBconf/\fR is a reasonable default.Lines beginning with `#' are comments, and are not otherwise interpreted..PPHere are the \fIMH\fP configuration directives available. Be sureto read through this list completely before attempting to decidewhat directives are appropriate for your system. .spMore information on some of these options is available in thethe \fIAdministrator's Guide\fR. If you do not have a printedcopy, you should configure your system with the defaultconfiguration file, \fBMH\fP, then generate and print a copyof the guide (as described below)..in +.5i.de Uh.ti -.75i.B "\\$1".ne 4...Uh "Installation paths".ti -.5ibin: /usr/local.brThe directory where user\-invoked programs go (see manual section 1)..ti -.5ietc: /usr/local/lib/mh.brThe directory where pgm\-invoked programs go (see manual section 8)..ti -.5imail: /usr/spool/mail.brThe directory where the maildrops are stored.If this pathname is absolute (i.e., begins with a \fB/\fR\0),then the user's maildrop is a file called \fB$USER\fR in this directory.If the pathname is not absolute,then the user's maildrop is in the user's home directory under the given name..ti -.5imandir: /usr/man.brThe parent directory of the manual entries..ti -.5imanuals: standard.brWhere manual entries should be installed,relative to the directory given with \*(lqmandir\*(rq.Either \*(lqlocal\*(rq to install manual entries under \fBmanl/\fR,or \*(lqnew\*(rq to install manual entries under \fBmann/\fR,or \*(lqold\*(rq to install manual entries under \fBmano/\fR,or \*(lqstandard\*(rq to install manual entries under \fBman?/\fR,or \*(lqbsd44\*(rq to install manual entries as \fBman?/\fIpage\fP.0\fR,or \*(lqgen\*(rq to generate but not install them,or \*(lqnone\*(rq to neither generate nor install them.Any of these values may have the suffix \*(lq/cat\*(rq appended to it. In that case, the manual entries will be formattedwith \*(lqnroff -man\*(rq and they will be installed in thecorresponding \*(lqcat?\*(rq directories.For example,to install manual entries under \fB/usr/man/u_man/man?\fR,use \*(lqstandard\*(rq and \fB/usr/man/u_man\fR for \*(lqmandir\*(rq.To install formatted manual entires under \fB/usr/contrib/man/cat?\fR,use \*(lqstandard/cat\*(rq and \fB/usr/contrib/man\fR for \*(lqmandir\*(rq.To install formatted manual entries using the BSD44 convention,use \*(lqbsd44/cat\*(rq..ti -.5ichown: /etc/chown.brThe location of the \fIchown\fR\|(8) on your system.If \fIchown\fR is in your search path,just use the value of \*(lqchown\*(rq.On SYS5 systems,this should probably be \*(lq/bin/chown\*(rq..ti -.5icp: cp.brThe command to copy files when installing, if not \*(lqcp\*(rq.(Some sites use \*(lqcp\0\-p\*(rq.).ti -.5iln: ln.brThe command to link files together in the source tree, if not \*(lqln\*(rq.If you're using something like \fBlndir\fP to keepyour compile tree separate from your source tree,set this to \*(lqln\0\-s\*(rq or \*(lqcp\*(rq..ti -.5iremove: mv \-f.brHow \fIMH\fR should make backup copiesof existing files when installing new files.To simply remove the old files, use \*(lqrm\0\-f\*(rq..Uh "Compiler/loader".ti -.5icc: cc.brThe name of your C compiler, if not \*(lqcc\*(rq..ti -.5iccoptions: \-O.brOptions given directly to \fIcc\fR\|(1).The most common is \*(lq\-M\*(rq if you're running \fIMH\fR on an ALTOS.This defaults to \*(lq\-O\*(rq. If you define this and want to keep \*(lq\-O\*(rq, be sure to include it explicitly.If you're using the \fIGNU\fP C compiler, it shouldinclude `\-traditional'. See \*(lqoptions:\*(rq for `\-D' options..ti -.5icurses: \-lcurses\0\-ltermlib.brThis should be the loader option required to load the \fItermcap\fR\|(3)and \fIcurses\fR\|(3) libraries on your system.On SYS5 systems, it probably should be just \*(lq\-lcurses\*(rq.Some sites have reported that both \*(lq\-lcurses\*(rq and\*(lq\-ltermlib\*(rq are necessary..ti -.5ildoptions: \-s.brOptions given directly to \fIld\fR\|(1) (via \fIcc\fR\|) at the beginningof the command line.Useful for machines which require arguments to tell \fIld\fR to increase thestack space (e.g. the Gould, which uses \*(lq\-m\08\*(rq).Usually, \*(lq\-s\*(rq is a good choice in any event..ti -.5ildoptlibs:.brOptions given directly to \fIld\fR\|(1) (via \fIcc\fR\|) at the end of thecommand line.The two most common are:\*(lq\-ldbm\*(rq if you're running MMDF with the \fIdbm\fR package;and, \*(lq\-lndir\*(rq if you are generating \fIMH\fR on a systemwhich does not load the new directory access mechanism by default(e.g., 4.1BSD, SYS5).If you don't have \fIlibndir\fR on your system,the sources are in \fBmiscellany/libndir/\fR..ti -.5ilex: lex \-nt.brAlternative version of \fIlex\fR. Used in \fBzotnet/tws/\fR..ti -.5ioldload: off.brThis controls how \fIMH\fP will try to process library object files toeliminate local symbols.Support for the ALTOS loader if \*(lqon\*(rq.Support for loaders not handling `\-x\0\-r' correctly if \*(lqnone\*(rq..ti -.5iranlib: on.brSupport for systems with \fIranlib\fR\|(1).For SYSTEM 5 systems,this should be \*(lqoff\*(rq which tells \fIMH\fR to use \fIlorder\fR and\fItsort\fR instead.Some SYSTEM 5 sites reported that running this isn't always sufficient.If this is the case,then you should edit \fBconf/makefiles/uip\fR to include\fB\&../sbr/libmh.a\fR and \fB../zotnet/libzot.a\fR twice in the LIBESvariable..Uh "Message Transport System".ti -.5imts: sendmail.brWhich message transport system to use.Either \*(lqmmdf\*(rq to use \fIMMDF\fR as the transport system,\*(lqmmdf2\*(rq to use \fIMMDF\-II\fR as the transport system,\*(lqsendmail\*(rq to have \fISendMail\fR as the transport system,\*(lqzmailer\*(rq to have \fIZMAILER\fP as the transport system,or, \*(lqmh\*(rq to have \fIMH\fR as the transport system.On UNIX systems supporting TCP/IP networking via socketsyou can add the suffix \*(lq/smtp\*(rq to the mts setting.This often yields a superior interface as \fIMH\fR will post mail with thelocal \fISMTP\fR server instead of interacting directly with \fIMMDF\fR or\fISendMail\fR.Hence, for TCP/IP UNIX systems,the \*(lq/smtp\*(rq suffix to either \*(lqsendmail\*(rq or \*(lqmmdf2\*(rq isthe preferred MTS configuration.The \*(lq/smtp\*(rq suffix is described in detail in the \fIAdministrator'sGuide\fR; be sure to set \*(lqservers:\*(rq as described in\fImh\-tailor\fR\|(8) if you use this option..ti -.5imf: off.brSupport for mail filtering on those systems in which the message transportsystem isn't integrated with \fIUUCP\fR This option is strictly for an \fIMH\fR system using either \fIMMDF\-I\fRas its transport system or one using \*(lqstand\-alone delivery\*(rq..Uh "UCI BBoards Facility".ti -.5ibboards: off.brIf \*(lqon\*(rq, include support for the UCI BBoards facility.BBoards may be enabled with any mts setting.If \*(lqoff\*(rq, the BBoard reading program \fIbbc\fR will not be installed.If \*(lqnntp\*(rq,include support for the UCI BBoards facility to read the Network Newsvia the NNTP.If \*(lqpop\*(rq (formerly \*(lqpopbboards:\0on\*(rq),include support for the UCI BBoards facility via the POP3 service;this setting requires \*(lqpop:\0on\*(rq..ti -.5ibbdelivery: off.brIf \*(lqoff\*(rq,the BBoards delivery agent and library files will not be installed.If \*(lqon\*(rq,and you set \*(lqbboards:\*(rq to something besides \*(lqoff\*(rq,then the BBoards delivery agent and library files will be installedin the \fIbbhome\fR directory (see below).To read remote BBoards,the usual configuration would have \fIbbc\fR talk to a \fIPOP3\fR or\fINNTP\fR server.However, it may be useful to set this to \*(lqoff\*(rq if you NFS mount the \fIbbhome\fR directory from another hostand want to use \fIbbc\fR to read those files directly..ti -.5ibbhome: /usr/spool/bboards.brThe home directory for the BBoards user..Uh "Post Office Protocol".ti -.5ipop: off.brSupport for POP service.This allows local delivery for non\-local users(a major win).See \fBsupport/pop/pop.rfc\fR for more information on the POP.This option currently works only on UNIX systems with TCP/IP sockets.(It doesn't hurt to enable this option regardless of whether or notyou intend to use POP.) See also \*(lqbboards: pop\*(rq to enablereading bboards with the POP..ti -.5ipopdir: /usr/etc.brThe directory where the POP daemon (\fBpopd\fP) will be installed..ne 5.ti -.5ioptions:.br\&`\-D' options to \fIcc\fR\|(1)..sp.in +.25i.ti -.5iAPOP='\*(lq/etc/pop.auth\*(rq'.brThis option indicates that the POP daemon willsupport the non-standard \fBAPOP\fP command,and specifies the name of \fBAPOP\fP authorization database.The \fBAPOP\fPcommand provides a challenge-based authentication system usingthe \fBMD5\fP message digest algorithm.This facility is documented in \fIThe Internet Message\fR (ISBN 0\-13\-092941\-7), a book by Marshall T. Rose..spThis option also causes the\fBpopauth\fP program to be installed, whichallows the administrator to manipulate the \fBAPOP\fPauthorization database.For more details, see \fBsupport/pop/pop-more.txt\fRand the \fIAdministrator's Guide\fP..ti -.5iDPOP.brThis option indicates that POP subscribers do not haveentries in the \fIpasswd\fR\|(5) file,and instead have their own separate database (a win)..ti -.5iKPOP.brSupport for KERBEROS with POP.This code builds\fIpopd\fP, \fIinc\fP and \fImsgchk\fP to support only the \*(lqkpop\*(rq protocol.This code is still experimental, but is available for those sites wishing to test it..ti -.5iMPOP.brThis option indicates that the POP daemon willsupport the non-standard\fBXTND SCAN\fP command which provides performanceenhancements when using the POP over low-speed connections.This option also causes an interactive POPclient program, \fBpopi\fP, to be compiled and installed.A man page for the \fBpopi\fP program is also provided..spThese extensions are described in \fIThe Internet Message\fR, a book by Marshall T. Rose.For more details, see \fBsupport/pop/pop-more.txt\fR.\fBNote:\fP this option requires \*(lqbboards: pop\*(rq..ti -.5iPOP2.brHave the POP daemon understand the olderPOP2 protocol as well as the \fIMH\fP POP3 protocol \- a major win.The POP daemon auto-magicallydetermines which POP protocol your client is using.If you're enabling POP service,there's no reason not to enable this option as well.See also \fIPOPSERVICE\fR..ti -.5iPOPSERVICE.brThe port name the \fIMH\fP POP will use. For historical reasons,this defaults to \*(lqpop\*(rq..spIn 1987, the \fIMH\fP POP protocol(POP version 3) was published as RFC1081 andwas assigned its own port number (110),which differs from the original POP (version 1 and 2) port number (109).
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -