📄 mh-changes.ms
字号:
The author is pleased to announce that there are very fewuser\-visiblechanges to \fIMH\fP 6.7 from the previous \fIMH\fP 6.6 distribution.The majority of development was in the form of bug fixes andslight enhancements.In addition, this release is slightly faster than theprevious release.With a few minor exceptions,it is backward\-compatible with the previous release.\fIMH\fP 6.7.0 is the current released version of \fIMH\fPas of April 12, 1990..PPThe changes were made mainly to generalize the source code tobe compatible with a larger range of systems and compilers.There were many small changes to add declarations for ANSI C compliance.The System 5 support has been brought up to SYS5 R3, and there issupport for Sun OS 4.0..SHUser\-Visible Changes.LPHere a quick summary of thechanges that were made which are not backward\-compatible with theprevious release of \fIMH\fP:.IP repl \w'sortm'u+2nThe `\-format' and `\-noformat' switcheshave not been functional since \fIMH\fP 5, and have been removed.Any users who have these switches in their \fB\&.mh\(ruprofile\fP,will have to remove them..IP sortmPreviously, in most cases \fIsortm\fP would fill\-in anygaps in the numbering of a folder, by renumbering the messages starting with `1'.This will no longer occur; for this behavior,use \*(lqfolder \-pack\*(rq..PP.SHUsing Aliases.LPA new profile entry `Aliasfile:' has been added. The\fIali\fP\^, \fIsend\fP\^, and \fIwhom\fP programs will look forthis profile entry and treat it as they would an argument to`\-alias'.This should make it easier for novice \fIMH\fP users to beginusing aliases..PP.SHReading Network News & BBoards.LPThe UCI BBoards facility can read local BBoards, and if compiledwith the `bboards: pop' and `pop: on' options, can also read remoteBBoards using the Post Office Protocol (POP ver. 3).With this release,\fIMH\fP can instead be compiled to read the Network News(i.e., USENET) using the Network News Transfer Protocol (NNTP)..PPThis capability is enabled by compiling \fIMH\fP withthe `bboards: nntp' and `pop: on' options.Unfortunately, reading remote BBoards via the POP and reading the NetworkNews via the NNTP are mutually exclusive options..PPTo support the NNTP,a new module, \fBuip/pshsbr.c\fP, is compiled and loaded into\fIbbc\fP and \fImsh\fP instead of \fBuip/popsbr.c\fP.The default BBoard is changed from \*(lqsystem\*(rq to \*(lqgeneral\*(rqfor the NNTP..PPWhen reading BBoards,\fIbbc\fP will first look for local BBoards, and then contact theNNTP server to read the Network News. The location of theNNTP server should be specified with the `nntphost:'entry in the \fBmtstailor\fP file(see the \fIMH\fP Administrator's Guide for details),or may be specified onthe command line with the `\-host' switch..PP.SHFormat Strings.LPThe manual page \fImh\-format\fP\0(5) hasbeen rewritten to give a better explanation of how to write format strings,and how they are interpreted by \fIMH\fP.A line\-by\-linedescription of the default \fIrepl\fP form file (\fBreplcomps\fP)is now included in that manual page..PP.KSSome new format functions were added, and others were augmented:.IP trim \w'date2local'u+2nStrips any leading and trailing white\-space from the current string value..IP date2localWill coerce the date to the local timezone..IP date2gmtWill coerce the date to GMT..IP divideDivides the current numeric value by its argument.This could be useful forbuilding \fIscan\fP format strings which print largemessage sizes in \*(lqKb\*(rq or \*(lqMb\*(rq..IP friendlyIf the address field cannot be parsed,this function will return the text of the address header,instead of a null string..IP szoneA flag indicating whether the timezone was explicitin the date string..KE.SHPROGRAM CHANGES.LPIn addition to the general changes mentioned above,many programs have specific new features added,either by new switches or by expanded functionality.Each command's manual page gives complete information aboutits new options. Here is a short summary..SHUser Interface Programs.IP anno \w'prompter'u+2nAccepts a `\-nodate' switch which inhibits the date annotation,leaving only the body annotation..IP folderWhen invoked with the `\-pack' switchand the new `\-verbose' switch, \fIfolder\fP willgive information about the actions taken to renumber the folder..IPOn most systems, \fIfolder\fP can now create any non\-existingparent folders of a new sub\-folder..IP forwWhen making digests, \fIforw\fP\^will put the issue and volume numbersin addition to the digest list name, in the digest trailer..IP incDetects NFS write failures, and willnot zero your maildrop in that event..IP mshSupports a variant of the new \fIsortm\fP\^..IP prompterConsiders a period on a line by itself to signify end\-of\-filewhen the `\-doteof' switch is specified..IP replThe `\-[no]format' switcheshave not been used since \fIMH\fP 5 and have been deleted. \fIrepl\fPwill now find filter files in the \fIMH\fP library area..IP scanWith the `\-file msgbox' switch, \fIscan\fP\^can list a \fIpackf\fP\|'d\-format file directly(without using \fImsh\fP\^)..IPLists messages in reverse order with the `\-reverse' switch.This should be considered a bug..IP sortmNow has the options:`\-textfield field', `\-notextfield',`\-limit days', and `\-nolimit'..IPWith these options, \fIsortm\fP can be instructed to sort afolder based on the contents of an arbitrary header suchas \*(lqsubject\*(rq..IP\fIsortm\fP minimizes renaming messages, andwill no longer arbitrarily pack folders; for this behavior,use \*(lqfolder \-pack\*(rq..IP whatnowDeletes the draft by renaming it with leading comma, insteadof unlinking it..SH\fIMH\fP Support Programs.LP.KSThe following support programs also have changes or enhancements:.IP mhl \w'rcvtty'u+2nWill now accept a format string on any component, not just onaddresses and dates..KE.IP popdWill use \fIshadow\fP passwords if compiled with the\fBSHADOW\fP option. It can now alsoread UUCP\-style maildrops directly..IP rcvttyIf given no arguments, \fIrcvtty\fP will produce a \fBscan\fPlisting as specified by a format string or file; a defaultformat string is used if one is not specified..IPBefore the listing is written to the users terminal, theterminal's bell is rung and a newline is output.The `\-nobell' and the `\-nonewline' optionsinhibit these functions..IP\fIrcvtty\fP will obey terminal writenotification set by \fImesg\fP.With the `\-biff' switch, \fIrcvtty\fP willalso obey the mail notification status set by\fIbiff\fP. .IPOn \fBBSD43\fP systems, as with \fIwrite\fP,\fIrcvtty\fP will be installed set\-group\-id to the group \*(lqtty\*(rq..IP slocalUnderstands UUCP\-style \*(lqFrom \*(rq lines and will writeoutput files using this format if appropriate.Before invoking a delivery program, \fIslocal\fP will stripsuch lines unless compiled with the \fBRPATHS\fP option,in which case it will will convert such lines into\*(lqReturn\-Path:\*(rq headers..IP\fIslocal\fP has a new result code \*(lqN\*(rq,for use in \fB.maildelivery\fP files.With this result code,\fIslocal\fP willperform the action only if the message has not been deliveredand the previous action succeeded. This allows for performingan action only if multiple conditions are true..SHDOCUMENTATION.LPSeveral of the older \fIMH\fP papers have been difficult to formatbecause they depended on an older version ofPhDTeX which wasnot supplied. These papers have been updated, and some TeXlibrary files are supplied in \fBpapers/doclib/\fP, so thatthese papers may be generated on any system with TeX..PPMany of the manual pages have been revised to include documentationof new command options, and some have been expanded to give more detail.All are now slightly reformatted at installation timeto make them more compatible with programs like \fImakewhatis\fP\^..PP.SH\fIMH\fP ADMINISTRATION.LPThis section describes changes in configuring, compiling andinstalling \fIMH\fP 6.7 and should notbe of interest to casual \fIMH\fP users.The \fBREAD\-ME\fP file has been considerably revised and expanded to give more detail about the configuration and compilation options whichhave been included in this release. Some compilation optionshave been removed, and many new options have been added..PPAll \fIMH\fP \fBMakefile\fPs have been updated to work around someincompatibilities introduced in newer versions of \fImake\fP\^.\fIMH\fP programs will no longer be installed with the sticky\-bitturned on..PPReading this section not a substitute for carefullyreading the \fBREAD\-ME\fP file before attempting to compile \fIMH\fP.PP.KS.SHBug Fixes.LPSome bugs were fixed which in general were not user\-visible:.IP "address parser" \w'dynamicnmemory'u+2nFixed to allow use of the \*(lqAT\*(rq domain, and someminor bugs were fixed pertaining to address groups..IP "date parser"Improved to accept more forms of illegal dates. Militarytimezones were removed..IP "dynamic memory"Many problems with corruption of the dynamic memory poolhave been fixed..IP lockingWill open files for write, if necessary to enable locking..IP "nil pointers"All reported nil pointer problems have been fixed..IP replcompsThe \*(lqIn\-Reply\-To:\*(rq header had quotes addedaround the date field to comply with RFC822..KE.SHWhite Pages.LPIf \fIMH\fP is compiled with the \fBWP\fP option,\fIsend\fP recognizes an address between \*(lq<<\*(rq and \*(lq>>\*(rq characterssuch as:.DSTo: << rose \-org psi >>.DEto be a name meaningful to a whitepages service. In order to expand thename, \fIsend\fP must be invoked interactively(i.e., not from \fIpush\fP\^). For eachname, \fIsend\fP will invoke a command called \fIfred\fP\^in a special mode asking to expand the name..PPTo get a copy of the white pages service, contact wpp\-manager@psi.com..SHConfiguration Options.LPSome configuration options have been added or changed:.IP cc \w'bbdelivery'u+2nTo specify an alternate C compiler..IP ccoptionsDefaults to `\-O'..IP bboardsMay now be defined as \*(lqon\*(rq,\*(lqoff\*(rq, \*(lqpop\*(rq, or \*(lqnntp\*(rq..IP bbdeliveryDetermines whether the bboard delivery agentand library files should be installed..IP lexTo specify an alternate version of \fIlex\fP\^..IP mailgroupIf defined, \fIinc\fP will be made set\-group\-id to this group..IP sharedlibFor \fBSUN40\fP systems; if \*(lqon\*(rq, makes \fBlibmh.a\fPinto a shared library..IP slibdirThe directory where the above shared library should be installed..IP sprintfSet this to \*(lqint\*(rq if that's what your \fIsprintf\fP\0(3) libraryroutine returns..SHCompilation Options.LPFor different configurations,several `\-D' options to \fIcc\fP have been added or changed:.IP BERK \w'SENDMAILBUG'u+1nThis disables the address and date parsing routines. If youwant to do much with \fImh\-format\fP\0(5), don't enable this..IP BSD43Will make \fIrcvtty\fP set\-group\-id to the group \*(lqtty\*(rq..IP DBMFor sites with a dbm\-style password file (such as with YellowPages), \fIMH\fP will not read the entire passwd file into a cache.At one site that runs YP on a large passwd file, using thisshowed a 6:1 performance improvement..IP NETWORKThis option has been deleted. See \fBSOCKETS\fP..IP NOIOCTLHTells \fIMH\fP not to include the file \fBsys/ioctl.h\fP. Use thisif this file is not present on your system..IP NTOHLSWAPOn systems with TCP/IP networking,\fImsh\fP will try to use the \fBntohl()\fP macro from thefile \fBnetinet/in.h\fP to byte\-swap the binary map filesit writes..IP SENDMAILBUGSome versions of \fIsendmail\fP return a \fB451\fP (failure) reply codewhen they don't mean to indicate failure. This option considersthat code to be equivalent to \fB250\fP (OK)..IP SHADOWCauses \fIpopd\fP to read the file \fB/etc/shadow\fP forencrypted passwords instead of \fB/etc/passwd\fP. Use this if youhave a shadow password file (such as on newer versions of SYSTEM 5)..IP SOCKETSEnable this if you are on a non\-BSD system with asocket interface for TCP/IP networking compatible with 4.2BSD.SMUNIX..NL.IP SUN40Use on Suns running Sun OS 4.0 and later..IP SYS5This option has been updated to refer to SYS5 R3 and later systems..IP SYS5DIRUse this if your system uses \*(lqstruct dirent\*(rq instead of\*(lqstruct direct\*(rq. This should be true for systems basedon SYS5 R3 and later..IP TYPESIGDefines the base type for the \fIsignal\fP system call. Thisdefaults to \*(lqint\*(rq, but should be defined as \*(lqvoid\*(rqif appropriate for your system..IP WPEnables support for the White Pages service..SHInstallation.LP\fIMH\fP will nowexplicitly set the protection mode on every file it installs..PPPreviously any existing file installed by \fIMH\fPwould be backed up intothe source tree, and then overwritten.Now, a few system\-dependent files will not be overwritten, and yourchanges will have to be merged in by hand.See the \fBREAD\-ME\fP file for more details.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -