home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / unix / volume25 / trn / part05 / NEW < prev    next >
Encoding:
Text File  |  1991-12-02  |  11.6 KB  |  232 lines

  1.             TRN 2.0 vs TRN 1.0.3:
  2.  
  3. [If you're upgrading from trn 1.x, at least read the ** LOOK ** section.]
  4.  
  5. New commands:
  6.  
  7.     g number    g command will go to a newsgroup by number where the
  8.             the number corresponds to that used in the list 
  9.             supplied by the 'L' command. (newsgroup level)
  10.     z        supersede an article (article level)
  11.     t        turn on/off run-time threading for a group that
  12.             doesn't have a thread file (newsgroup level)
  13.     A        abandon read/unread changes to the current newsgroup
  14.             (newsgroup level)
  15.  
  16. New command-line options:
  17.  
  18.     -a        use run-time threading to read all groups threaded
  19.             (even those without a pre-built thread file)
  20.     -o        use the old method of junking articles in the
  21.             thread commands (they didn't follow the xrefs in
  22.             trn 1.x)
  23.     -o2        in addition to -o, don't use the database to make
  24.             following of xrefs faster.  This is useful if your
  25.             database is maintained by an old version of mthreads
  26.             (pre-v2.0) -- you'll probably want to put this in
  27.             the global INIT file if this is true.
  28.  
  29. New features:
  30.  
  31.    o    Trn is now able to thread newsgroups at run-time.  This has two
  32.     implications:  it is now possible to maintain a thread database
  33.     for fewer groups (or none) and still take advantage of the threaded
  34.     features of trn.  Also, when trn is used with a database, it will
  35.     notice new articles that have not yet been processed by mthreads and
  36.     incrementally thread them as soon as they arrive.  (This means that
  37.     trn directly reads the active file -- active2 is a private file for
  38.     mthreads now.)
  39.    o    Trn has much faster and more accurate new-group-finding code that can
  40.     be used if you (a) run C news, (b) run mthreads with the -t option,
  41.     or (c) run trrn with a server that: (1) runs C news, (2) runs mthreads
  42.     with the -t option, or (3) runs acttimes (provided), not mkgrdates.
  43.    o    The 't' command on the newsgroup selection level is used to toggle
  44.     whether the current group should be read threaded or not.  This
  45.     is especially needed when the entire database does not have thread
  46.     files, since it allows the user to choose the groups for which they
  47.     want to have on-the-fly thread data generated.  Or use the -a option
  48.     to force all unthreaded groups to be read as threaded.
  49.    o    Mthreads now keeps track of which articles have xrefs in them so
  50.     that trn can optimize the junking of articles.  This allows all
  51.     article-junking commands to mark cross-referenced articles as read
  52.     without a severe speed penalty.  (The one exception is 'c'atchup,
  53.     which does not mark cross-references to keep it compatible.)
  54.    o    The 'e' command will now repeat the previous extraction if it is
  55.     followed by no options.  Thus, you can "e some/long/dir/name" and
  56.     then use "e" to keep extracting to the same spot.  Use "e ." to
  57.     extract back to the initial default of SAVEDIR.
  58.    o    The uudecoder now understands "include" lines, and only allows a
  59.     file with the correct 'part' sequence to be decoded next when they
  60.     are used.
  61.    o    There is now a built-in ship decoder (which is a better uuencode
  62.     system).  They are automatically detected and extracted via the
  63.     'e'xtract command.
  64.    o    If you accidentally unsubscribe to a newsgroup, you can now use
  65.     '-' to get back to it.
  66.    o    The 'a pattern' command to add new newsgroups will now prompt for
  67.     ALL unsubscribed newsgroups that match the pattern, whether they
  68.     are in the newsrc file or not.
  69.    o    You can now use the ',' command (mark article and all replies to
  70.     this article as read) on a search or range command.  For example,
  71.     you can put "/user name/h:," into your KILL file to wipe-out
  72.     flame-fests started by articles from "user name".
  73.    o    The 'f'ollow-up command (not 'F') has been changed to ask the
  74.     user if this is a posting that is unrelated to the current article.
  75.     This automatically clears the References line, sets the Newsgroups
  76.     line properly, and prompts for the Subject: and Distributions: lines.
  77.     In other words, all the things that would have been done if the
  78.     user had remembered to use '$' before starting a new posting.
  79.    o    On entry into a threaded group, trn now marks all missing articles
  80.     as read.  This results in an accurate count when viewing the group
  81.     at the newsgroup prompt.
  82.    o    Changed the 'q' command in the thread selector to quit the group,
  83.     not just exit the selector to the article level.  Use Esc or '+'
  84.     for that.  See also the HINTS file for a macro to simulate the old
  85.     behavior.
  86.    o    The newsgroup line is now shown when it conflicts with the current
  87.     group.  This is useful for looking through junk, and noticing groups
  88.     that have been redirected using C news's '=' directive.
  89.  
  90.  
  91. Slight incompatibility in mthreads:    ** LOOK **
  92.  
  93.    o    Since the -D option in mthreads was busted (it processed all groups
  94.     instead of only the listed groups), and since people keep expecting
  95.     "mthreads this.group" to only process one group, I've changed it
  96.     to work this way.  The old behavior of "mthreads comp" (which would
  97.     process all enabled groups while threading all existing and new comp
  98.     groups) is achieved by first turning on all of comp with the above
  99.     command, and then using the command "mthreads -a comp" to process all
  100.     enabled groups and only add thread files for new comp groups.  The
  101.     usage of the -a option without a hierarchy name hasn't changed --
  102.     "mthreads -a" will still process all enabled groups and add all new
  103.     groups (it is equivilent to the command "mthreads -a all").  The
  104.     command "mthreads all" is a special case that just happens to work
  105.     the same as before -- it turns on all existing groups, so it also
  106.     processes all groups.  Also, remember that the -n option will skip
  107.     processing the groups, so that you can use "mthreads -n rec,soc" to
  108.     turn on all of rec and soc, and then startup an mthreads daemon to
  109.     do the processing ("mthreads -dave" for example).  See the man page
  110.     (which is now in its proper group: '8') for full details.
  111.  
  112. Changes to mthreads:
  113.  
  114.    o    Mthreads has been enhanced to check its data more fully for file-
  115.     corruption errors when reading in a thread file.  This should
  116.     almost eliminate the SIGSEV or SIGBUS errors that would terminate
  117.     mthreads' execution.
  118.    o    Mthreads now has a separate lock file for the daemon and each
  119.     update pass.  This allows you to run an mthreads daemon and still
  120.     be able to execute single-pass commands when the daemon is sleeping.
  121.    o    The enhanced-expiration code has been improved to run _much_ faster,
  122.     especially for NNTP versions of mthreads.
  123.    o    Mthreads puts its db.init file into the root of the THREAD_DIR
  124.     (which might be SPOOL) to make sharing of the data via NFS easier.
  125.    o    Mthreads now has an option to do all its logging using SYSLOG.
  126.    o    Mthreads has some minor optimizations, which should (hopefully)
  127.     offset the more extensive data checking.
  128.    o    The -s option of mthreads has been extended to allow microseconds
  129.     to be specified.  Using just -s will still delay for one second
  130.     per article, as will -s1000000.  A portable version of usleep is
  131.     included for sites that lack it.
  132.  
  133.  
  134. New environment variables:
  135.     AUTOSUBSCRIBE    newsgroup pattern for groups to automatically
  136.             subscribe to when found. Groups not matching
  137.             are presented to the user via the usual
  138.             subscription prompts.
  139.     AUTOUNSUBSCRIBE newsgroup pattern for groups to not subscribe to.
  140.             Groups matching this pattern are not subsribed to.
  141.     REPLYTO        the value to use for the "Reply-To:" header, if
  142.             needed.
  143.     NEWSORG        Same as ORGANIZATION. Used for those sites that
  144.             need ORGANIZATION for other purposes (Apollos).
  145.     SUPERSEDEHEADER The header format to use for a 'z' command.
  146.     LOCALTIMEFMT    An strftime specification for formatting the
  147.             local-time output of the date header.
  148.  
  149.  
  150. Bug fixes:
  151.  
  152.    o    Numbering of sibling articles that arrive out of order has been
  153.     improved.  This is useful for groups like comp.sources.misc that
  154.     thread common postings as one root article with the rest as
  155.     immediate children.
  156.    o    Fixed the save command to create intermediate directories.  Thus,
  157.     "s src/newdir/file" will now create newdir instead of complaining.
  158.    o    Fixed a case that could generate a report of negative articles
  159.     left to read in trn.
  160.    o    Fixed a bug in the thread selector that generated percentages
  161.     greater than 100%.
  162.    o    The .newsrc-writing code now checks more closely for errors in
  163.     writing the file, to avoid having zero-length .newsrc's.
  164.  
  165.    o    NNTP handling has been improved in mthreads.  One bug (expecting
  166.     HEADers received via NNTP to have colons in them) would totally
  167.     confuse mthreads -- now such bogus header lines are ignored.
  168.    o    If a newsgroup is mentioned twice in the active file, mthreads
  169.     would process it twice:  once with valid arguments, and once with
  170.     0 for a high-article count.  This would result in a stream of
  171.     "we've already seen article x" messages, and a negative "Added:"
  172.     count.  It now complains about the bogus group and skips it.
  173.  
  174.    o    When GETPWENT it defined and an invalid userid is used, an 
  175.     error message is returned. Previously, trn would core dump.
  176.    o    The newsgroups script now knows how to deal with "bogus" newsgroups.
  177.     (These are groups in the active files marked with status 'x'.)
  178.    o    If there is no news on trn startup and the user enters a "g" at
  179.     the newsgroup level, the program will now correctly note that
  180.     no newsgroup name has been entered and reprompt.
  181.    o    Hostnames are now checked without respect to upper/lower case.
  182.     This fixes a problem with the cancel command (academ.COM != academ.com
  183.     before the fix).
  184.    o    The NEWSADMIN code was buggy and often didn't work correctly.
  185.     This has been fixed.
  186.    o    %P is used to find a place for trrn to create active and article
  187.     files. Previously, /tmp was hardcoded in most places.
  188.    o    newsgroups would not remove the active file copy it made when 
  189.     used via NNTP. Now it does remove this copy when it exits.
  190.    o    Corrected some null pointer problems in the search code. Specifically,
  191.     entering entering / or ? when there was no previous search pattern
  192.     would cause a core dump. Now, it tells the user there there is
  193.     no previous pattern.
  194.    o    trrn now exits and leaves the terminal in a usable state when a
  195.     server timeout occurs.
  196.    o    trrn now supports the longest lines allowed by the NNTP RFC.
  197.    o    trn will try to preseve permissions on .newsrc when it recreates
  198.     it. Previously, it didn't do this.
  199.    o    trn deals with NFS timeouts better. If the active file (on an NFS
  200.     mounted partition) goes away, trn shuts down gracefully now.
  201.  
  202.  
  203. Configure improvements:
  204.    o    Now uses nm to read contents of libc. ar is used if nm fails.
  205.    o    The file config.h is now generated from config.h.SH instead of
  206.     directly by the Configure script.  This allows the config.sh
  207.     file to be edited (instead of both config.sh and config.h) and
  208.     then 'make' will re-create config.h.
  209.    o    Configure also provides the option of editing config.sh before
  210.     config.h and all the shell scripts are created.
  211.    o    Configure stores the origanization name in double quotes in
  212.     config.sh. This avoids a problem with organization names that
  213.     have single quotes in them (i.e. many French and Canadian 
  214.     organizations).
  215.    o    Configure now knows about RISC/os, Stardents and uts environments.
  216.    o    Configure allows the specification of a compiler and extra
  217.     compiler options.
  218.    o    NNTP systems can now specify a system name rather than a filename
  219.     to read the system name from.
  220.  
  221.  
  222. General improvements:
  223.    o    Makes use of POSIX capabilities if present.
  224.    o    ANSI C Compatible
  225.    o    If __STDC__ is defined, we use the function prototypes.
  226.    o    Hostname may be read in from a file instead of using system calls.
  227.    o    ClariNet news headers are now recognized by trn. All header operations
  228.     can be done on those headers.
  229.    o    trn will dynamically allocate its structures to cope with any number
  230.     of newsgroups in .newsrc or the active file.
  231.    o    MMDF is now officially supported as a mail transfer agent.
  232.