📄 mh-gen.8
字号:
BSD42.brUse on Berkeley UNIX systems on or after 4.2BSD..ti -.5iBSD43.brUse on 4.3 Berkeley UNIX systems.Also, be sure to use \*(lqoptions BSD42\*(rq.If \fIopenlog\fR\0(3) (see \*(lqman 3 syslog\*(rq)takes three arguments instead of two,and your \fIwrite\fR\0(1) command is set\-group\-idto group \*(lqtty\*(rq, use this option.If only one of these conditions is true, you lose..ti -.5iCOMPAT.brIf you previously ran a version of \fIMH\fR earlier than mh.4 use this option.After a short grace period,remove it and re-{configure,generate,install} everything..ti -.5iDBM.brUse this option if your \fIgetpwent\fR\0(3) routines read a dbm database (such as with Yellow Pages) instead of doinga sequential read of \fB/etc/passwd\fR.Without DBM the entire passwd file is read intomemory one entry at a time for alias expansion.This is a performance improvement when readinga standard \fB/etc/passwd\fR file,but is \fIvery\fR slow on systems with a dbm database.At one site that runsYP on a large passwd file, it showed a 6:1 performance improvement..ti -.5iDPOP.brEnables the POP database, useful only if POP service is enabled..ti -.5iDUMB.brDirects \fIMH\fR not to try and rewrite addresses to their \*(lqofficial\*(rq form..ti -.5iFOLDPROT.brDefines the octal value for default folder-protection.For example, FOLDPROT='\*(lq0700\*(rq'.The default is \*(lq0711\*(rq..ti -.5iISI.brWhen using \*(lqrepl\ \-ccme\*(rq,only \*(lqcc:\*(rq the first address found which belongs to the user;any other \fIAlternate-Mailboxes\fR do not receive \*(lqcc:\*(rqs..ti -.5iLINK.brDefines the filename for alternate file name for \fIdist\fR and \fIrepl\fR.For example, LINK='\*(lq\\\\043\*(rq' to use the pound\-sign character.The default is \*(lq@\*(rq..ti -.5ilocname.brHard\-wires the local name for the host \fIMH\fR is running on.For example, locname='\*(lqPICKLE\*(rq'.It's probably better to either let UNIX tell \fIMH\fR this information,or to put the information in the host specific \fBmtstailor\fR file..ti -.5iMHE.brEnables crude support for Brien Reid's MHE interface.Recommended for use with the GNU Emacs mh-e package..ti -.5iMHRC.brEnables \fIMH\fR to recognize the \fICShell\fR's `~'\-construct.This is useful for sites that run with a ~/.mhrc for their users..ti -.5iMORE.brDefines the location of the \fImore\fR\0(1) program.For example, on ALTOS and DUAL systems,MORE='\*(lq/usr/bin/more\*(rq'.The default is \*(lq/usr/ucb/more\*(rq..ti -.5iMSGPROT.brDefines the octal value for default folder-protectionFor example, MSGPROT='\*(lq0600\*(rq'.The default is \*(lq0644\*(rq..ti -.5iNDIR.brFor non-Berkeley UNIX systems,this \fIMH\fR will try to find the new directory access mechanism by lookingin \fB<ndir.h>\fR if this option is given.Otherwise, \fIMH\fR will try \fB<ndir.h>\fR.If you still can't get this to work on your system,edit \fBh/local.h\fR as appropriate..ti -.5iNFS.brTells \fIMH\fR to hack around a problem in the NFS C library.If you get an undefined symbol \*(lqruserpass\*(rq when compiling\fIMH\fP, you need this option..ti -.5iNOIOCTLH.brTells \fIMH\fR not to include the file \fB<sys/ioctl.h>\fR.To be used on systems where this file is not present..ti -.5iNOMHSEQ.brDirects \fIMH\fR to make private sequences the default..ti -.5iNTOHLSWAP.brTells \fIMH\fR to use the \fBntohl()\fR macro when processing\fImsh\fR binary map files. \fIMH\fR can use this macro onsystems with the include file \fBnetinet/in.h\fR,to byte-swap the binary information in these map files.If you're using the same map files on machines of differentarchitectures, enable this option..ti -.5iOVERHEAD.brEnable \fIMH\fR commands to read profile/context from open fd:swithout doing an open(); see mh-profile(5) for the details..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.In 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).To have \fIMH\fP POP use the new assigned port number, set POPSERVICE='\*(lqpop3\*(rq', and be sure that this servicename is listed in your \fB/etc/services\fP file on both POP clientand server hosts as \*(lq110/tcp\*(rq.If you enable \fIPOP2\fP, you can safely leave this undefined unlessyou are using POP3 clients besides \fIMH\fP..ti -.5iRPATHS.brDirects \fIinc\fR to note UNIX \*(lqFrom\ \*(rq lines as Return-Path: info..ti -.5iRPOP.brEnables the RPOP variant of POP, useful only if POP service is enabled..ti -.5iSBACKUP.brDefines the prefix string for backup file names.For example, SBACKUP='\*(lq\\\\043\*(rq'.The default is \*(lq,\*(rq..ti -.5iSENDMAILBUG.brCauses SMTP reply code 451 (failure)to be considered the same as code 250 (OK).Enable this if you know that your SendMail willreturn this code even when it doesn't mean to indicate a failure..ti -.5iSHADOW.brIndicates that the encrypted passwords can be found in the\fB/etc/shadow\fR file (and not in the \fB/etc/passwd\fR file).This option should only be used for some (newer) SYSTEM 5 systems..ti -.5iSOCKETS.brIndicates the availability of a socket interfacefor TCP/IP networking that is compatible with 4.{2,3}BSD UNIX.It is not necessary to define this when BSD42 is already defined,but it might be useful for SYSTEM 5 or HPUX systems with TCP/IP sockets..ti -.5iSUN40.brUse on Sun OS 4.0 (and later?) systems. You probably also want\*(lqoptions BSD42\*(rq, \*(lqoptions BSD43\*(rq, and\*(lqoptions TYPESIG=void\*(rq..ti -.5iSYS5.brUse on AT&T SYSTEM 5 R3 (and newer?) UNIX systems. See also \fImailgroup\fR..ti -.5iSYS5DIR.brDefine this if your system uses \*(lqstruct dirent\*(rqinstead of \*(lqstruct direct\*(rq.This is true of System V Release 3.0 and later.Uses include file \fB<dirent.h>\fRand the routines \fImkdir\fR, \fIrmdir\fR and \fIgetcwd\fR..ti -.5iTTYD.brSupport for TTYD. This is no longer in wide use, and is not recommended..ti -.5iTYPESIG.brDefines the base type (int or void) of the functionsbeing parameter/return value of \fIsignal\fR\0(2).The default is \fBint\fR.Set TYPESIG='void' on systems which use this type(e.g., SYSTEM 5 V3.0 and later or Sun OS 4.0)..ti -.5iTZNAME.brUse time zone names from the \fItzname\fR variable, set via \fItzset\fR.Only applicable on SYSTEM 5 systems and only effective when you haveasked for alpha\-timezones (see the ATZ option). See also ZONEINFO..ti -.5iUCI.brFirst, \*(lq_\*(rq and \*(lq#\*(rq are recognized as the prefixes forscratch files.Second, support for the UCI group\-leadership mechanism is enabled in\fIconflict\fR.Third, the file \fB$HOME/.signature\fR is considered to contain a single line of text which is used as the \fIFull Name\fR partof your \*(lqFrom:\*(rq header.This may conflict with the interpretation of this file by \fINews\fR.If you're not at UCI, you probably don't want this option..ti -.5iUK.brDirects the \fIscan\fR program to generate UK-style dates..ti -.5iV7.brUse on V7 UNIX systems.Also, be sure to use \*(lqoptions void=int\*(rq..ti -.5iWP.brEnables the White Pages service.Contact wpp-manager@psi.com for more information..ti -.5iWHATNOW.brEnable certain \fIMH\fR commands to act differently when $mhdraft set..ti -.5iZONEINFO.brSpecify this if you have a BSD43 based system that keeps time zoneinformation /etc/zoneinfo or /usr/lib/zoneinfo (SunOS).With this fix the GMT offset specified in outgoing mailwill be corrected when the TZ enviornment variable is setto a different time zone. See also TZNAME..in -.5i.ti -.5icc:.brThe name of your C compiler, if not \*(lqcc\*(rq..ti -.5iccoptions: \-O.brOptions given directly to \fIcc\fR\0(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..ti -.5icurses: \-lcurses\0\-ltermlib.brThis should be the loader option required to load the \fItermcap\fR\0(3)and \fIcurses\fR\0(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:.brOptions given directly to \fIld\fR\0(1) (via \fIcc\fR\0) 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\0(1) (via \fIcc\fR\0) 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 -.5isprintf: int.brThe return value of the \fIsprintf\fR library routine.This defaults to \*(lqchar\ *\*(rq. Set this to \*(lqint\*(rq ifyou have an older version of SYSTEM 5 which has this routine return an
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -