home *** CD-ROM | disk | FTP | other *** search
/ Il CD di internet / CD.iso / SOURCE / N / NN / _NN-NNTP.TAR / usr / lib / nn / README-FAQ < prev    next >
Encoding:
Internet Message Format  |  1994-09-13  |  57.0 KB

  1. Path: bloom-beacon.mit.edu!senator-bedfellow.mit.edu!faqserv
  2. From: Bill Wohler <wohler@newt.com>
  3. Newsgroups: news.software.nn,news.answers
  4. Subject: NN Frequently Asked Questions (FAQ) with Answers
  5. Supersedes: <nn-faq/part1_776882366@rtfm.mit.edu>
  6. Followup-To: poster
  7. Date: 21 Aug 1994 14:46:08 GMT
  8. Organization: Newt Software, Menlo Park, California, USA
  9. Lines: 1778
  10. Approved: news-answers-request@MIT.Edu
  11. Expires: 4 Oct 1994 14:45:41 GMT
  12. Message-ID: <nn-faq/part1_777480341@rtfm.mit.edu>
  13. Reply-To: Bill Wohler <wohler@newt.com>
  14. NNTP-Posting-Host: bloom-picayune.mit.edu
  15. Summary: This document answers Frequently Asked Questions about NN, a
  16.      menu-based, point and shoot, USENET news reader.  It should
  17.      be read by new NN users and news.software.nn readers and
  18.      before posting to this newsgroup.
  19. Keywords: FAQ nn news question answer newsrc digest article nntp
  20.           newsgroup cancel mail signature header netnews usenet kill
  21. X-Last-Updated: 1994/08/20
  22. Originator: faqserv@bloom-picayune.MIT.EDU
  23. Xref: bloom-beacon.mit.edu news.software.nn:3457 news.answers:24408
  24.  
  25. Archive-name: nn-faq/part1
  26. Last-modified: $Date: 1994/08/20 21:34:57 $
  27. Version: $Revision: 94.8.1.2 $
  28. Posting-Frequency: monthly
  29.  
  30.   This is a living list of frequently asked questions on the Usenet
  31.   news reader NN (No News is Good News).  The point of this is to
  32.   circulate existing information, and avoid rehashing old answers.
  33.   Better to build on top than start again.  Please read this document
  34.   before ever posting to this newsgroup.
  35.  
  36.   This article is posted monthly.  If it has already expired and
  37.   you're not reading this, you can hope that you saved the last bit of
  38.   question 1.3 so that you can get a copy yourself.
  39.  
  40.   Please do not post an answer when someone posts a frequently asked
  41.   question, as I will always e-mail a reply.  This ensures that
  42.   everybody gets their question answered fully and eliminates
  43.   unnecessary traffic in this newsgroup.
  44.  
  45.   Your comments, additions and fixes to this list are welcome: please
  46.   send them to Bill Wohler <wohler@newt.com>.
  47.  
  48.   
  49. Subject: Table of Contents
  50. From: Preface
  51.  
  52. Legend: + new, - deleted, ! changed
  53. _______________
  54.  
  55. 1. Introduction
  56.  
  57.  1.1  Why should I use nn?
  58.  1.2  What is the current version/status of nn?
  59. !1.3  Where can I get nn?
  60. !1.4  What references exist for nn?
  61.  1.5  How should I report bugs?
  62.  1.6  How can I convert from rn to nn?
  63. !1.7  How can I make life simpler when starting nn for the first time?
  64. !1.8  Is there an X interface to nn?
  65. ______________
  66.  
  67. 2. Building nn
  68.  
  69.  2.1  What machines does nn run on?
  70.  2.2  Is it possible to restrict the groups that users have access to?
  71.  2.3  Unofficial patches for various bugs
  72.  2.4  Can I set up nn securely?
  73. ________________
  74.  
  75. 3. Command Input
  76. _________________
  77.  
  78. 4. Selection Mode
  79.  
  80.  4.1  How come nn doesn't show the Lines count?
  81.  4.2  Why does nn crash when a letter one past the highest letter is selected?
  82.  4.3  How do I search for an author in a menu?
  83. ________________________
  84.  
  85. 5. Reading Mode Commands
  86.  
  87.  5.1  How can I see the original article with the current subject?
  88.  5.2  Why do articles without a Lines header appear empty?
  89.  5.3  Can the article viewer/pager be changed?
  90.  5.4  How can I read MIME (multi-media mail) articles?
  91. +5.5  How can I read HTML (world wide web, mosaic) articles?
  92.  5.6  Why am I reading cross-posted articles more than once?
  93. __________________
  94.  
  95. 6. Saving Articles
  96.  
  97.  6.1  How do I save files that I can read later with MH, elm, Mail, ...?
  98.  6.2  What's the best way to save multi-part articles?
  99.  6.3  When saving in +a/b/c keeps you from saving in +a/b.
  100. +6.4  How can I change the default name of a save file?
  101. +6.5  Can I save all unread articles non-interactively into a file?
  102. _____________________
  103.  
  104. 7. Folder Maintenance
  105.  
  106.  7.1  How can I remove old articles from folders?
  107. _____________________________________
  108.  
  109. 8. Posting and Responding to Articles
  110.  
  111.  8.1  How can I post prewritten articles with nn?
  112.  8.2  How can nn automatically append my signature?
  113.  8.3  How do I eliminate double signatures?
  114.  8.4  Can the signature come from a different file or program?
  115.  8.5  How do I save my posts and replies automatically?
  116. +8.6  Can I use my editor to edit posts and replies?
  117.  8.7  Can I use my mailer to send mail?
  118.  8.8  Can nn use aliases when sending mail?
  119.  8.9  How can I set a different Organization name?
  120.  8.10 How can I make mail replies go to a different machine?
  121.  8.11 How can I change how my real name appears?
  122.  8.12 How can I customize my mail headers for mail and posting?
  123. __________________________
  124.  
  125. 9. Jumping to Other Groups
  126.  
  127.  9.1  How can I see which newsgroups are available?
  128. ________________________________
  129.  
  130. 10. Automatic Kill and Selection
  131.  
  132.  10.1  Can all non-selected subjects be automatically placed in my kill file?
  133.  10.2  Can I automatically kill articles based on the Newsgroups header?
  134.  10.3  How can I find all articles having to do with a certain topic?
  135.  10.4  How can I select one article in a thread with auto-select-subject set?
  136.  10.5  Can one search for patterns in the entire article from the menu?
  137.  10.6  How come more articles get selected than I expect?
  138.  10.7  Any plans for trn-ish thread following?
  139. _______________________________
  140.  
  141. 11. The Format of the Kill File
  142. __________________________
  143.  
  144. 12. Miscellaneous Commands
  145.  
  146.  12.1  Can I choose newsgroups as I do articles, ie. with a menu?
  147.  12.2  How do I unsubscribe to all groups?
  148. +12.3  How can I get nn to stop adding new newsgroups?
  149. __________________
  150.  
  151. 13. The Init Files
  152.  
  153.  13.1  +How do I customize nn or change nn's behavior?
  154. _________________________
  155.  
  156. 14. Variables and Options
  157.  
  158.  14.1  Setting new-group-action to "ask before adding" doesn't work.
  159. _____________________
  160.  
  161. 15. Macro Definitions
  162.  
  163.  15.1  Is there a library of macros and other nn features?
  164. ________________
  165.  
  166. 16. Key Mappings
  167. __________________
  168.  
  169. 17. Command Groups
  170. _______________________________
  171.  
  172. 18. Group Presentation Sequence
  173. ____________
  174.  
  175. 19. NN Maintenance & nnmaster
  176.  
  177.  19.1  Why does nnmaster stop collecting articles at the "junk" group?
  178.  19.2  How do I cope with "Incomplete MASTER file"?
  179.  19.3  Why isn't nnmaster working?
  180. !19.4  Why did nnmaster stop working?
  181.  19.5  Why do I get ".../MASTER not found"?
  182.  19.6  Why do I get "cannot open 'x' file"
  183.  19.7  Why do I get "Lost connection to server foobar"
  184. +19.8  Why doesn't nn display messages when not using NNTP?
  185. +19.9  Why do I get "Notice: no news has arrived for the last n hours"?
  186. ________
  187.  
  188. Appendix
  189.  
  190.  Glossary, Acknowledgements, Copyright and Warranty
  191.  pack_date.c
  192.  news.c
  193.  nn-use-mh
  194.  nn_elm
  195.  nnalias
  196. +lynxify
  197.  
  198.   
  199. Subject: Viewing This Article
  200. From: Preface
  201.  
  202.   To skip to a particular question numbered xx, use "/^F.*xx" with most
  203.   pagers.  In GNU Emacs type "M-C-s ^F.*xx", (or C-r to search backwards),
  204.   followed by ESC to end the search.
  205.  
  206.   To skip to new or changed questions, use "/^S.*[!+]" with most pagers and
  207.   "M-C-s ^S.*[!+]" in GNU Emacs.
  208.  
  209.   This article is in digest format.  Nn may have already broken this
  210.   message into separate articles; if not, then type "G %".  In rn, use
  211.   ^G to skip sections.
  212.  
  213.   This article is treated as an outline when edited by GNU Emacs.  Run
  214.   "M-x describe-mode" to see available outline-mode commands.  Useful
  215.   commands are "M-x hide-body",  "C-c C-s" (show-subtree) and "M-x
  216.   show-all"
  217.  
  218.   Numbers in square brackets denote the month and year of the last
  219.   update.
  220.  
  221.  
  222. Subject: ***** Introduction *****
  223. From: 1.
  224.  
  225.  
  226. Subject: Why should I use nn?
  227. From: 1.1
  228.  
  229.   nn is a menu based (point and shoot) netnews reader with a complete
  230.   set of features to satisfy both the expert and the novice user.  Since
  231.   its first release in Denmark in 1984 (!), in Europe in 1988, and the
  232.   global release in June 1989, it has replaced rn and other well-known
  233.   news readers at many sites.
  234.  
  235.   Some of the key features of nn are:
  236.  
  237.   * Menu-based article selection prior to reading the articles with the
  238.     articles sorted according to subject and posting time.
  239.  
  240.     This significantly reduces the time spent on news reading.  No
  241.     keystrokes are wasted on articles you don't want to read, and only
  242.     the articles selected on the menu will be read.
  243.  
  244.   * Release 6.4 uses standard .newsrc, and can leave individual
  245.     articles unread.
  246.  
  247.   * Digests are automatically split and presented as ordinary articles!
  248.     You can transparently save and respond to individual subarticles.
  249.  
  250.   * Full folder support: read, save, and delete individual articles.
  251.  
  252.   * Online help and manual.
  253.  
  254.   * Built-in unshar and patch functions.
  255.   * Built-in uudecode function which will automatically unpack,
  256.     concatenate, and decode multi-part postings.
  257.  
  258.   * Easy remapping of keys with advanced macro definition features.
  259.  
  260.   * Automatic kill & selection of articles based on subject or author.
  261.  
  262.   * User specified presentation sequence of news groups based on the
  263.     news group hierarchy.
  264.  
  265.   * Whole classes of news groups can easily be unsubscribed
  266.     permanently, e.g. talk.all and all.politics
  267.  
  268.   * Related groups can be merged and presented as a single group, e.g.
  269.     comp.emacs and all gnu.emacs groups.
  270.  
  271.   * Blindingly fast 'search for subject'.  On my Texas S1500 system, nn
  272.     uses less than 20 seconds to find all articles on a specific
  273.     subject among 64000 articles in all groups!
  274.  
  275.   * News collection and presentation is extremely fast, because nn uses
  276.     its own database on top of the standard news system.
  277.  
  278.   * In a distributed environment, the database can be shared among all
  279.     hosts on the network.  Only one daemon is needed on the news server
  280.     for all hosts.  This works in a heterogenous environment as well.
  281.  
  282.   * NNTP is also supported (using a local database for speed).
  283.  
  284.   Because of the database, nn starts almost equally fast (in a few
  285.   seconds), no matter whether you have 100 or 10000 unread articles!
  286.   The database takes up some disk space, but dramatically improves speed
  287.   and functionality.  The amount of disk space consumed is approx. 1Mb
  288.   per 10000 articles.
  289.  
  290.   
  291. Subject: What is the current version/status of nn?
  292. From: 1.2
  293.  
  294.   The current version of nn is 6.4.18.
  295.  
  296.   Note: The development of nn has been taken over by Peter Wemm
  297.   <peter@dialix.oz.au>.  Bug reports, fixes and suggestions should be
  298.   sent to nn-bugs@dkuug.dk.
  299.  
  300.   Version 6.5.0 is in the final stages of beta testing.  It will
  301.   include many bug fixes, full NOV capability, a means of
  302.   automatically killing threads of unread articles as well as
  303.   automatically selecting subjects to articles that you've read, a
  304.   mouse sensitive xterm interface, and the program nnsub to subscribe
  305.   to newsgroups.
  306.  
  307.   The adventurous are invited to obtain the beta version.  Please get
  308.   the files README.FIRST and README.b3 in the beta directory, and
  309.   report any bugs to Peter [Q1.3 "Where can I get nn"].  [10.93]
  310.  
  311.   
  312. Subject: !Where can I get nn?
  313. From: 1.3
  314.  
  315.   The current master site for nn is ftp.uwa.edu.au.
  316.  
  317.   If you should need the Internet address, use nslookup or dig if you
  318.   have them, or send mail to dns@grasp.insa-lyon.fr with "help" for
  319.   a Subject.
  320.  
  321.   via anonymous ftp:                            [5.94]
  322.     ftp.uwa.edu.au              /pub/nn/nn-6.4.18.tar.Z        590k
  323.                         /pub/nn/nn-6.4.18.tar.gz        405k
  324.                       /pub/nn/beta/nn-6.5.0.b3.tar.gz    515k
  325.     nexus.yorku.ca              /pub/linux/sources/news/nn-6.4.18.tar.Z
  326.     ftp.uu.net                  /networking/news/readers/nn/
  327.                       nn-6.4.18.tar.Z
  328.     qiclab.scn.rain.com              /pub/news/nn-6.4.18.tar.Z
  329.     gumby.dsd.trw.com              /pub/news/newsreaders/unix/
  330.                         nn-6.4.18.tar.Z
  331.     mcsun.eu.net              /news/readers/nn/nn-6.4.18.tar.Z
  332.     sun.rz.tu-clausthal.de          /pub/unix/network/apps/news/nn/
  333.                       nn-6.4.18.tar.Z
  334.     ftp.cs.ruu.nl              /NN-6.4/nn-6.4.18.tar.gz
  335.     chalmers.se                  /pub/unix/nn/nn6.4.18.tar.Z
  336.     ftp.luth.se                  /pub/infosystems/news/readers/nn/
  337.                       nn-6.4.18.tar.Z
  338.     grasp1.univ-lyon1.fr          /pub/nfs-mounted/ftp.univ-lyon1.fr/
  339.                       mirrors/unix/nn/nn-6.4.18.tar.gz
  340.     ftp.msen.com              /pub/packages/news/nntp.1.5.11.tar.Z 210k
  341.     ecs.soton.ac.uk              /pub/news/nntp-1.5.11.tar.Z    210k
  342.  
  343.   via anonymous uucp:
  344.     You can get the latest production release of NN via UUCP from UUNET.
  345.     The file you would retrieve is:
  346.  
  347.     uunet!~/networking/news/readers/nn/nn.tar.Z
  348.  
  349.     This file is linked to the ftp.uu.net file listed above which
  350.     should be the latest production release.  Use the uucp command
  351.     to queue the transfer (typically "uucp -d -r FILE DESTINATION").
  352.     UUNET subscribers would call as they would normally for mail.
  353.     Other sites in the continental U.S. can access UUNET's archive
  354.     using anonymous UUCP through a 900 number (1-900-GOT-SRCS).  The
  355.     login name is "uucp" and there is no password requested.  The
  356.     following is an example Systems/L.sys entry:
  357.  
  358.     uunet Any ACU 19200 19004687727 "" \d\r ogin:-\d\r-ogin: uucp
  359.  
  360.     The modems on the 900 lines are Telebit WorldBlazers negotiating
  361.     V.32bis, V.32, 2400, 1200, and last with (Turbo)PEP tones.  The
  362.     cost is 50 cents per minute (as of Jan 93) which will appear on on
  363.     your next phone bill.  For more info, retrieve uunet!~/help or
  364.     e-mail help@uunet.uu.net (uunet!help). --Eric Ziegast
  365.     <ziegast@uunet.uu.net> [8.94]
  366.  
  367.   via mail:
  368.     Send a note to ftpmail@decwrl.dec.com whose body contains "help"
  369.     on a line by itself get information on getting ftp sources by
  370.     mail.
  371.  
  372.     Send a note to mail-server@nluug.nl with a body containing one or
  373.     both of the following as desired:
  374.  
  375.       send news/nn/nn6.4.16.tar.Z                <- old
  376.       send news/nntp/nntp.1.5.11.tar.Z
  377.  
  378.   mini-inews:
  379.  
  380.     As well as bringing mini-inews up to date, modifications have been
  381.     made to remove the need for MINI_INEWS_HEADERS when setting up nn.
  382.     Mini-inews will now create whatever headers are required including
  383.     if desired, a Lines header or an incremental Message-ID numbering
  384.     capability. --Jim Jagielski <jim@jagubox.gsfc.nasa.gov>
  385.  
  386.     jagubox.gsfc.nasa.gov    /pub/misc/NN-6.5.patches.tar.gz   43k
  387.  
  388.   
  389. Subject: !What references exist for nn?
  390. From: 1.4
  391.  
  392.   Book:
  393.     The Whole Internet User's Guide & Catalog (2nd Ed), Chapter 8.  Ed Krol.
  394.     ISBN 1-56592-063-5.  $24.95.  543 pages.
  395.     O'Reilly & Associates, Inc.
  396.     Book Orders:
  397.       US and Canada: 800-998-9938.  Fax: 707-829-0104.
  398.  
  399.     To get a list of non-US distributors, send a note to
  400.     nuts@ora.com or call +1-707-829-0515.
  401.  
  402.   Usenet:
  403.     news.software.nn
  404.  
  405.   On-line Documents:
  406.     Gopher (Host/Port/Menu)
  407.       unlhelp.unl.edu/2001/Electronic Communications->Applications->nn    [8.94]
  408.     
  409.     Mosaic
  410.       gopher://unlhelp.unl.edu:2001/11/18menu/03menu/09menu        [8.94]
  411.  
  412.   Papers:
  413.     "Intro to nn"
  414.     ftp.cso.uiuc.edu        /doc/net/nn.<fmt>
  415.     where <fmt> is one from doc(16k), ps(91k), tex(21k), jpn, and hqx.
  416.  
  417.     "A Short Guide to nn"
  418.     ftp.unl.edu            /pub/crc/docs/UNLINFO.GUIDE/UNLINFO.06.nn.<fmt>
  419.     where <fmt> is one from txt(57k), ps(1.17M), rtf(68k) and hqx(65k). [8.94]
  420.     
  421.     "nn Helpsheets"
  422.     ftp.unl.edu            /pub/crc/docs/UNLINFO.HELPSHEETS/nn.<fmt>
  423.     where <fmt> is one from 1.ps(636k), 2.ps(549k), hqx(209k).        [8.94]
  424.  
  425.   This document:
  426.     via anonymous ftp:
  427.       rtfm.mit.edu        /pub/usenet/news.answers/nn-faq
  428.       ftp.uu.net        /archive/usenet/news.answers/nn-faq.Z
  429.       ftp.cs.ruu.nl        /pub/NEWS.ANSWERS/nn-faq
  430.  
  431.     via uucp:
  432.       uunet!/archive/usenet/news.answers/nn-faq.Z
  433.  
  434.     via mail:
  435.       Each of the following addresses is following by commands which
  436.       should be included as the body of the message.
  437.  
  438.       mail-server@rtfm.mit.edu
  439.         send /usenet/news.answers/nn-faq
  440.  
  441.       mail-server@cs.ruu.nl
  442.     send /pub/NEWS.ANSWERS/nn-faq
  443.  
  444.   Mailing list:
  445.     A mailing list for nn developers is nn@uniwa.uwa.edu.au.  To join,
  446.     please send a message to nn-request@uniwa.uwa.edu.au.
  447.  
  448.   NN mailing list archives:
  449.  
  450.   
  451. Subject: How should I report bugs?
  452. From: 1.5
  453.  
  454.   Send them to nn-bugs@dkuug.dk.  [10.93]
  455.  
  456.   
  457. Subject: How can I convert from rn to nn?
  458. From: 1.6
  459.  
  460.   Why bother?  On our system some people use nn and some people use
  461.   rn.  In fact, since they both use the same .newsrc format, it is
  462.   perfectly possible to use both.  --Ian Taylor <ian@airs.com>
  463.  
  464.   
  465. Subject: !How can I make life simpler when starting nn for the first time?
  466. From: 1.7
  467.  
  468.   Use nnsub and eep.  See the enclosed documentation to see which you
  469.   prefer. [note: only available in 6.5.0 beta] --Peter Wemm
  470.   <peter@dialix.oz.au> [10.93]
  471.  
  472.   The standard method is to run:
  473.  
  474.       nngrep -a | sed -e 's/ *$/!/' > .newsrc        # add \ before ! in csh
  475.  
  476.   and then edit .newsrc, replacing the '!'  with a ':' for those
  477.   groups you're interested in.  --Bill Wohler <wohler@newt.com> [8.94]
  478.  
  479.   I think a nice way is to use the catch-up facility.  Start nn -a0
  480.   and let nn catch up automatically.  After some hours restart nn and
  481.   unsubscribe to uninteresting groups having news articles.  Restart
  482.   nn the following day and continue unsubscribing.
  483.  
  484.   After one week, you have a nice .newsrc.  --Joerg Napp
  485.   <napp@uni-paderborn.de>
  486.  
  487.   
  488. Subject: !Is there an X interface to nn?
  489. From: 1.8
  490.  
  491.   This is an X version of nn that uses TCL and TK to provide the user
  492.   interface. It adds two separate methods of newsgroup choice (list
  493.   and cascading menus) as well as buttons, menus and selection using
  494.   the mouse, but all the keyboard commands still work as well.
  495.  
  496.   It's still in alpha version, but all the nn functionality is there,
  497.   if not in its final form. Tcl v7 and TK v3 are required to compile
  498.   it. --Toivo Pedaste <toivo@uniwa.uwa.edu.au> [8.94]
  499.  
  500.   ftp.uwa.edu.au    /pub/nn/contrib/nn-tk.alpha.tar.Z        935k
  501.   
  502.   In nn-6.5.0beta, there is a simple text panel, with highlighting and
  503.   mouse sensitivity within an xterm. [10.93]
  504.  
  505.  
  506. Subject: ***** Building nn *****
  507. From: 2.
  508.  
  509.  
  510. Subject: What machines does nn run on?
  511. From: 2.1
  512.  
  513.   Please send updates to nn-bugs@dkuug.edu. [10.93]
  514.  
  515.   Operating systems:
  516.  
  517.   3b1 (UNIX-pc) with GCC        SunOS 3
  518.   NeXT 1.0                SunOS 4.0
  519.   AIX 2.2.1                SunOS 4.1 SysV environment
  520.   A/UX 1.1                System V
  521.   4.2 BSD and Ultrix systems        Motorola System V/88 Release 3
  522.   4.3 BSD systems            Texas Instruments System 1500
  523.   dnix 5.2 on DIAB DS90            NCR tower
  524.   dnix 5.3 on DIAB DS90            ULTRIX systems (4.2 based)
  525.   Dynix 3.0 on Symmetry            Mips running riscos 4.0 or greater
  526.   Fortune 32:16                Riscos 4.5 and later
  527.   HPUX (series 300)            Microport UNIX V.2
  528.   HPUX 2.1 (series 800)            Amdahl UTS 2.0
  529.   HPUX 3.0 (series 800)            SCO Xenix 2.2.1 (286) -- terminfo
  530.   HPUX 6.5 or newer (series 300)    SCO Xenix 286 -- termcap
  531.   HPUX 7.0                Xenix386 [termcap version]
  532.   Interactive UNIX on 386        Xenix386 2.3.2 w/development system
  533.   Dynix/PTX on symmetry            Tandy 68000/Xenix 3.2
  534.   Pyramid (and Targon 35)
  535.   SCO UNIX V on 386
  536.   IRIX 3.1/3.2
  537.   Siemens SINIX
  538.  
  539.   Hardware platforms:
  540.  
  541.   3b1 with GCC [no networking]        MIPS processors
  542.   Amdahl 5890 (big iron)        Siemens MX300
  543.   AT&T 3b2                Pyramid (and Targon 35)
  544.   Convex                IBM 6150
  545.   DECstation 3100            Silicon Graphics 4D series
  546.   Gould PN6000                SPARC processors
  547.   HP9000 series 320 and 800 (at least)    80386 based SUNs [have network support]
  548.   Intel 80286 [no networking]        Sequent Symmetry
  549.   Intel 80386 [no networking]        VAX family
  550.   Motorola 68000 family
  551.   Motorola 88000 risc
  552.  
  553.   
  554. Subject: Is it possible to restrict the groups that users have access to?
  555. From: 2.2
  556.  
  557.   Create a new group for the people who can read the special groups.
  558.   Call it "privnews", for example. (In /etc/group put the userid of
  559.   each person who's in that group on that group's line.)  Then change
  560.   the group of the spool directory which contains the restricted
  561.   newsgroup to "privnews" (leaving the owner as news), and set the
  562.   mode to 750. --Alexis Rosen <alexis@panix.com>
  563.  
  564.   Note that this only works if you are not using NNTP to read news.
  565.   There is currently no mechanism that will allow this to work with
  566.   NNTP. --Steve Simmons <scs@wotan.iti.org> [1.93]
  567.  
  568.   
  569. Subject: Unofficial patches for various bugs
  570. From: 2.3
  571.  
  572.   Several bugs have been reported and fixed and the patches are
  573.   available here for those not patient enough to wait until the next
  574.   release.
  575.  
  576.   Remember, these are *unofficial* patches so back them out before
  577.   patching in the next release of nn.  You do not have to strip the
  578.   two leading spaces before these patches.  In fact you can run "patch
  579.   -s -N < this-entire-faq", within the newsreader even!
  580.  
  581.   The patch in Appendix "pack_date.c" fixes NN dateline parsing.
  582.   Also, NN mishandles non-GMT time zones near short month boundaries
  583.   due to NN's, er, somewhat unusual time stamp encoding.  It is
  584.   included in nn version 6.5.0.  --Paul Eggert <eggert@twinsun.com>
  585.   [10.93]
  586.  
  587.   
  588. Subject: Can I set up nn securely?
  589. From: 2.4
  590.  
  591.   Diffs are unfortunately not included, but this is what you can do:
  592.  
  593.   o Set shell-restrictions in the setup file.
  594.   o Set and lock *every* variable which is used to execute commands.
  595.   o Modify the source to avoid display/save/print files above the
  596.     home-directory if shell-restrictions is set (mainly in save.c).
  597.   o Modify the source to avoid changing directories if shell-restrictions
  598.     is set.
  599.   o Modify the source to avoid showing the contents of locked variables.
  600.  
  601.   In particular, the following variables should be locked:
  602.  
  603.   backup-folder-path, backup-suffix, bug-report-address, decode-header-file,
  604.   editor, folder, inews, mail, mail-record, mailer, news-record, newsrc,
  605.   pager, patch-command, printer, record, spell-checker, unshar-header-file
  606.  
  607.  
  608. Subject: ***** Command Input *****
  609. From: 3.
  610.  
  611.  
  612. Subject: ***** Selection Mode *****
  613. From: 4.
  614.  
  615.  
  616. Subject: How come nn doesn't show the Lines count?
  617. From: 4.1
  618.  
  619.   Karl Kleinpaste writes:
  620.     C News sites can turn on Lines: header creation (we do here), but
  621.     the default has it turned off.  I wish more would turn it on, as
  622.     several newsreaders put it to use, and it's the most easily
  623.     available metric of article size when showing the user a menu of
  624.     available articles.
  625.  
  626.   Henry Spencer replies:
  627.     We're unenthusiastic about Lines:, which is why it's off by default
  628.     and little-documented.  *The* most easily available metric of
  629.     article size is not line count -- which is often slightly wrong, by
  630.     the way -- but byte count, which is available without even parsing
  631.     the headers.
  632.  
  633.     You can tell C News to add Lines: headers to articles *posted*
  634.     locally, but C News has no provision for adding headers to traffic
  635.     coming in from other sites.  [Specifically, search for the string
  636.     "uncomment" in inews, and uncomment those lines. --bw]
  637.  
  638.   But Paul Eggert <eggert@twinsun.com> and Luc Rooijakkers
  639.   <lwj@cs.kun.nl> provide a solution:
  640.  
  641.     Remember, these are *unofficial* patches so back them out before
  642.     patching in the next release of nn.  You do not have to strip the
  643.     two leading spaces before these patches.  In fact you can run
  644.     "patch -s -N < this-entire-faq", within the newsreader even!  A
  645.     variation of this patch is included in nn version 6.5.0.  See
  646.     Appendix "news.c" [10.93]
  647.  
  648.   Finally, Peter Wemm <peter@dialix.oz.au> says that you'll always get
  649.   the lines header if you run INN.
  650.  
  651.   
  652. Subject: Why does nn crash when a letter one past the highest letter is selected?
  653. From: 4.2
  654.  
  655.   This is fixed in patch 17.  [9.92]
  656.  
  657.   Your terminal modes will be screwed up after such an event, so
  658.   you'll have to type ^J (or LINE-FEED) repeatedly until a prompt is
  659.   seen, and then run
  660.  
  661.     stty -sane^J
  662.  
  663.   or
  664.  
  665.     reset
  666.  
  667.   
  668. Subject: How do I search for an author in a menu?
  669. From: 4.3
  670.  
  671.   Add the following macro to your init file (~/.nn/init) and invoke
  672.   via '_' (underscore).
  673.  
  674.   # _ does search on sender (as = does a search on subject)
  675.   map menu _ (
  676.     :set select-on-sender
  677.     find input
  678.     :unset select-on-sender
  679.     message
  680.   )
  681.  
  682.   [1.93]
  683.  
  684.  
  685. Subject: ***** Reading Mode Commands *****
  686. From: 5.
  687.  
  688.  
  689. Subject: How can I see the original article with the current subject?
  690. From: 5.1
  691.  
  692.   While reading an article, use "G RET RET RET".
  693.  
  694.   
  695. Subject: Why do articles without a Lines header appear empty?
  696. From: 5.2
  697.  
  698.   This problem only shows up if you have header-lines set to a string
  699.   that includes "L".  It is suspected that having the line count patch
  700.   sets something that makes nn think there is a Lines header and then
  701.   the header-string is telling it to display the Lines header but
  702.   there isn't one and things get messed up.  --Gary Morris
  703.   <garym@telesoft.com>
  704.  
  705.   
  706. Subject: Can the article viewer/pager be changed?
  707. From: 5.3
  708.  
  709.   No.  And for good reason.  There are too many commands in nn's pager
  710.   that less, for example, doesn't know anything about.
  711.  
  712.   
  713. Subject: How can I read MIME (multi-media mail) articles?
  714. From: 5.4
  715.  
  716.   Using metamail, you can do one of the following:
  717.  
  718.   "Print" the message.  Use the "P" command and:
  719.  
  720.     set printer metamail
  721.  
  722.   "save" the message.  Use "s" and specify "|metamail" as a filename.
  723.  
  724.   metamail can be found at:
  725.  
  726.   thumper.bellcore.com        /pub/nsb/mm2.7.tar.Z
  727.  
  728.   [5.94]
  729.  
  730.   
  731. Subject: +How can I read HTML (world wide web, mosaic) articles?
  732. From: 5.5
  733.  
  734.   Add the following to ~/.nn/init.  The "lynxify" script is in the
  735.   Appendix.
  736.  
  737.     map show ^F (
  738.         save-full "|lynxify"
  739.         redraw
  740.     )
  741.  
  742.   When reading the article with HTML references, use C-f.  Note that
  743.   just "ftp://ftp.ii.com/pub/ii" won't be enough; you'd need to see
  744.   something like <A HREF="ftp://ftp.ii.com/pub/ii">Nancy McGough,
  745.   Infinite Ink</A> for lynx to pick it up.
  746.  
  747.   
  748. Subject: Why am I reading cross-posted articles more than once?
  749. From: 5.6
  750.  
  751.   If you are using nnmaster and the cross-post detection is broken,
  752.   then something's wrong that I'm not aware of.
  753.  
  754.   If you are using the NOV .overview database, and are not storing the
  755.   full Xref header, then that will cause it.  --Peter Wemm
  756.   <peter@DIALix.oz.au> [5.94]
  757.  
  758.   If you're running INN, edit /usr/lib/news/overview.fmt and uncomment
  759.   the line with 'Xref:full' in it.  If you're running Cnews with the
  760.   NOV patches, you'll have to edit mkov.c (I think) appropriately and
  761.   recompile; the code for putting Xref: in the NOV database is in
  762.   there, just commented out. --Richard Todd
  763.   <rmtodd@servalan.servalan.com> [5.94]
  764.  
  765.  
  766. Subject: ***** Saving Articles *****
  767. From: 6.
  768.  
  769.  
  770. Subject: How do I save files that I can read later with MH, elm, Mail, ...?
  771. From: 6.1
  772.  
  773.   MH:
  774.      Save your files with +$F/$N.  For example, if you save message 10
  775.      in news.software.nn in this way, you will create a file called
  776.      ~/News/news/software/nn/10.  If you have a symbolic link from
  777.      ~/Mail/news to ~/News, then you can look at your saved nn
  778.      messages with "scan +news/news/software/nn".
  779.  
  780.   Mail
  781.      Add "set mail-format" to your init file.
  782.  
  783.   
  784. Subject: What's the best way to save multi-part articles?
  785. From: 6.2
  786.  
  787.   All you have to do is to save the articles from the menu, e.g.
  788.  
  789.     W(rite) +file.* a b c d... <space>
  790.  
  791.   where a b c d... are the articles on the menu you want to save.  You
  792.   can also save the selected articles on the menu with * (only on
  793.   current page) or + (on all menu pages).  --Kim Storm <storm@olicom.dk>
  794.  
  795.   
  796. Subject: When saving in +a/b/c keeps you from saving in +a/b.
  797. From: 6.3
  798.  
  799.   This happens when default-save-file is $F.  Try changing
  800.   default-save-file to $F/$N (my favorite) to get, for example,
  801.   +news/software/nn/1022, or $G to put everything in
  802.   +news.software.nn.  Finally, if you really did want the behavior of
  803.   +$F, a compromise would be to use +$F. (Andrew's favorite) instead
  804.   (one can use anything other than '.'). --Bill Wohler
  805.   <wohler@newt.com> & Andrew Swann <swann@imada.ou.dk>
  806.  
  807.   Alternatively, use +$F/$L, to place articles for news.software.nn in
  808.   the file +/news/software/nn/nn.  This has two advantages:
  809.   1) You can later read through the folder "nn" and save some of the
  810.     articles under new folder names having to do with the topic.  For
  811.     example, you might save auto-select topics under +$F/auto-sel,
  812.     that is, +/news/software/nn/auto-sel.
  813.   2) If at a later date, a new newsgroup is added below nn, articles
  814.     can still be saved under that subgroup since +/news/software/nn is
  815.     already a directory, not a folder.  --Harry Herman <herman@corpane.uucp>
  816.  
  817.   
  818. Subject: +How can I change the default name of a save file?  
  819. From: 6.4
  820.  
  821.   The variable default-save-file controls how files are named.  By
  822.   default, the value of default-save-file is +$F (components of the
  823.   newsgroup become directories, last component is the file name--[Q6.3
  824.   When saving in +a/b/c keeps you from saving in +a/b] discusses why
  825.   this isn't a good idea).  However, most sites change that to +$G
  826.   (file has the same name as the newsgroup) in the system init file.
  827.   --Bill Wohler <wohler@newt.com> [8.94]
  828.  
  829.   You can also set default save files on a per-newsgroup level.  To do
  830.   this, add the default save file to the newsgroup in your sequence
  831.   (in ~/.nn/init).  For example,
  832.  
  833.     news.software.nn        +nn
  834.  
  835.   --Sven Guckes <guckes@inf.fu-berlin.de> [8.94]
  836.  
  837.   If you don't want to have any default at all, add 
  838.  
  839.     unset suggest-default-save
  840.  
  841.   to ~/.nn/init. --Alex Martelli <alex@uqbar.cirfid.unibo.it> [8.94]
  842.  
  843.   
  844. Subject: +Can I save all unread articles non-interactively into a file?
  845. From: 6.5
  846.  
  847.   rn has some options to do this.  See the man page for details.
  848.  
  849.   Henrik Roseno <hero@login.dkuug.dk> writes that
  850.   alt.usenet.offline-reader provides some programs that are designed
  851.   just for this purpose.  Uqwk gathers the articles (into a SOUP or
  852.   BlueWave packet ?), and Yarn is a program that lets you read them
  853.   once you've downloaded them to your PC.  Use archie to find them
  854.   nearby. --Bill Wohler <wohler@newt.com> [8.94]
  855.  
  856.  
  857. Subject: ***** Folder Maintenance *****
  858. From: 7.
  859.  
  860.  
  861. Subject: How can I remove old articles from folders?
  862. From: 7.1
  863.  
  864.   Just open the folder in the usual way and C(ancel) the articles you
  865.   want to remove from the folder.  When you leave the folder, nn will
  866.   rewrite the folder with the "cancel"ed articles removed.  --Kim
  867.   Storm <storm@olicom.dk>
  868.  
  869.  
  870. Subject: ***** Posting and Responding to Articles *****
  871. From: 8.
  872.  
  873.  
  874. Subject: How can I post prewritten articles with nn?
  875. From: 8.1
  876.  
  877.   nnpost will construct the header for the posted article, so it
  878.   requires several arguments to be specified before the article is
  879.   posted, e.g. a newsgroup name and a subject.  If some arguments are
  880.   missing, nnpost will prompt for the missing arguments.
  881.  
  882.   If your pre-written article includes a full header, then you should
  883.   not use nnpost; instead you should feed the article to "inews -h"
  884.   directly (which is what nnpost does after building the header from
  885.   the arguments).  --Kim Storm <storm@olicom.dk>
  886.  
  887.   
  888. Subject: How can nn automatically append my signature?
  889. From: 8.2
  890.  
  891.   Put your signature in a file called .signature in your home
  892.   directory, and use:
  893.  
  894.     set append-signature-post
  895.     set append-signature-mail    # if desired
  896.     set query-signature        # if you want confirmation.
  897.  
  898.   See also [Q8.3 "How do I eliminate double signatures?"] and [Q8.4
  899.   "Can the signature come from a different file or program?"] [3.93]
  900.  
  901.   
  902. Subject: How do I eliminate double signatures?
  903. From: 8.3
  904.  
  905.   Double signatures occur when both nn and inews append $HOME/.signature.
  906.  
  907.   If you want just inews to append your signature, use:
  908.  
  909.     unset append-signature-post
  910.  
  911.   This is actually the default, but you can unset this variable if
  912.   your nn administrator has mistakenly turned it on.
  913.  
  914.   If you want just nn to append your signature, move your signature to
  915.   some other place than $HOME/.signature.  Then see, [Q8.4 "Can the
  916.   signature come from a different file or program?"]
  917.  
  918.   
  919. Subject: Can the signature come from a different file or program?
  920. From: 8.4
  921.  
  922.   If you want nn to append your .signature file, you can copy nn's aux
  923.   file (ie. /usr/local/lib/nn/aux) to your .nn directory and set the
  924.   mail-script and news-script variables to ~/.nn/aux.  In your copy of
  925.   the aux script, you can either specify a different place for your
  926.   .signature file (like $HOME/.nn/signature) or you can get fancy: you
  927.   can use specific .signatures for certain groups (saved in variable
  928.   "G"), or use the output of a program.  --Bill Wohler <wohler@newt.com>
  929.  
  930.   Tired of the same old signature?  Want different signatures for
  931.   different newsgroups?  Here's a program to help you out.
  932.  
  933.   The way it works is to have .signature be a named pipe, so if you
  934.   don't have named points, just say 'n'.
  935.  
  936.   The sigrand program then feeds stuff down the pipe everytime someone
  937.   wants to read it.  That way it works for more than just news, but
  938.   for anything that wants to read your .signature, like a mailer.
  939.  
  940.   You have your choice of three kinds of signatures:
  941.  
  942.       1) random (short) fortune from "fortune -s"; you get these if
  943.      you don't have a global sig file.
  944.       2) random fortune from ~/News/SIGNATURES [global sig file]
  945.       3) random fortune form ~/News/(newsgroup)/SIGNATURES [local sig files]
  946.  
  947.   Ask Tom Christiansen <tchrist@convex.com> for more details.
  948.  
  949.   
  950. Subject: How do I save my posts, followups and replies automatically?
  951. From: 8.5
  952.  
  953.   In your nn init file, use the following lines:
  954.  
  955.     set news-record file
  956.     set mail-record file
  957.  
  958.   to place posts and followups in one file and replies in another, or
  959.   to put everything in a single file, use:
  960.  
  961.     set record file
  962.  
  963.   Replace "file" with the absolute path (~ == home directory ok) of
  964.   your desired file.  All files are saved in mailbox format.  --Don
  965.   Mullins <mullins@convex.com> [9.92]
  966.  
  967.   
  968. Subject: +Can I use my editor to edit posts and replies?
  969. From: 8.6
  970.  
  971.   Yes.  Set the environment variable EDITOR as desired.  If you like
  972.   emacs:
  973.  
  974.     $ EDITOR=emacs; export EDITOR            # sh, ksh, bash
  975.       % setenv EDITOR emacs                # csh, tcsh.
  976.  
  977.   Alternatively, you can add:
  978.  
  979.     set editor emacs
  980.  
  981.   to ~/.nn/init. --Bill Wohler <wohler@newt.com> [8.94]
  982.  
  983.   
  984. Subject: Can I use my mailer to send mail?
  985. From: 8.7
  986.  
  987.   Yes.  See the variables mail-script, mailer, and mailer-pipe-input.
  988.   The following show how you can have nn use elm and MH to mail
  989.   messages.  Note that this does not replace the internal mailer: the
  990.   message is passed on to the selected mailer for further delivery.  [5.94]
  991.  
  992.   The original idea of using MH (namely, comp) to send mail from nn
  993.   came from Jaap Vermeulen <jaap@sequent.com>, but he wouldn't
  994.   recognize what I did to it.  I also used a suggestion from John
  995.   Romine <jromine@ics.uci.edu> and Tom McCain <tom@dynamo.ecn.purdue.edu>.
  996.  
  997.   Add
  998.  
  999.     set mail-script nn-use-mh
  1000.  
  1001.   to your init file.  See Appendix "nn-use-mh" for the script.
  1002.  
  1003.   In addition, you can contact Ray Davis <rdavis@convex.com> for some
  1004.   scripts that sort of turn nn into a MH front end by providing macros
  1005.   to save, delete and refile articles in MH folders.
  1006.  
  1007.   To use elm to send the messages, add the following to ~/.nn/init:
  1008.  
  1009.     set   mailer              nn_elm
  1010.     unset mailer-pipe-input
  1011.  
  1012.   and see Appendix "nn_elm" for the script. [1.93]
  1013.  
  1014.   
  1015. Subject: Can nn use aliases when sending mail?
  1016. From: 8.8
  1017.  
  1018.   Yes.  See the variable mail-alias-expander, and use the script in
  1019.   Appendix "nnalias."  [1.93]
  1020.  
  1021.   
  1022. Subject: How can I set a different Organization name?
  1023. From: 8.9
  1024.  
  1025.   See [Q8.11 "How can I customize my mail headers for mail and
  1026.   posting?"] [9.92]
  1027.  
  1028.   
  1029. Subject: How can I make mail replies go to a different machine?
  1030. From: 8.10
  1031.  
  1032.   See [Q8.11 "How can I customize my mail headers for mail and
  1033.   posting?"]  [9.92]
  1034.  
  1035.   
  1036. Subject: How can I change how my real name appears?
  1037. From: 8.11
  1038.  
  1039.   On BSD UNIX systems, you can run the command chfn(1) to change your
  1040.   real name.  If you don't want to do this, or can't, please see [Q8.11
  1041.   "How can I customize my mail headers for mail and posting?"]  [9.92]
  1042.  
  1043.   
  1044. Subject: How can I customize my mail headers for mail and posting?
  1045. From: 8.12
  1046.  
  1047.   Headers can be modified or appended to by creating the variables
  1048.   mail-header (for replies) and news-header (for posts and followups)
  1049.   in the init file. You can include any headers that you want;
  1050.   separate multiple headers with semi-colons.  For example:
  1051.  
  1052.   set mail-header From: Joe Smith <js@cc.edu>;Reply-To: js@cc.edu;
  1053.           Organization: CC University
  1054.   set news-header From: Joe Smith <js@cc.edu>;Reply-To: js@cc.edu;
  1055.           Organization: CC University
  1056.  
  1057.   Note that these lines are split for readability--the value of these
  1058.   variables must appear on a single line.  In addition, do not insert a
  1059.   space between semi-colons and the next header.
  1060.  
  1061.   A Reply-To header is useful when your system generates either an
  1062.   unwanted or blatantly wrong return address for you.  If this header
  1063.   is present, then mailers use it instead of the system generated From
  1064.   header.
  1065.  
  1066.   A From header is useful when you want to change how your real name
  1067.   appears to nn readers, but you don't want to change it (or can't) on
  1068.   your system.  Warning: only do this if you're sure you can create a
  1069.   RFC 822 compliant From header.  [9.92]
  1070.  
  1071.  
  1072. Subject: ***** Jumping to Other Groups *****
  1073. From: 9.
  1074.  
  1075.  
  1076. Subject: How can I see which newsgroups are available?
  1077. From: 9.1
  1078.  
  1079.   To see a list of all news groups with a short description, use the
  1080.   command ":post" and type '?'.  To list groups that match a regular
  1081.   expression (ie. pattern), use "/pattern" instead of '?'.  --<Sven
  1082.   Guckes> guckes@math.fu-berlin.de
  1083.  
  1084.   Also try using '?' when going to a group with the 'G' command.  Note
  1085.   that successive '?'s will display more groups when there is not
  1086.   enough room to display all choices at once.  Group completion is
  1087.   achieved with ' ' (space).
  1088.  
  1089.   Finally, the programs "nnsub" or "eep" can be used to easily view
  1090.   newsgroup names and descriptions and also to subscribe to groups.
  1091.   These programs are in the "contrib" area of the sources in 6.5.0.
  1092.  
  1093.   [10.93]
  1094.  
  1095.  
  1096. Subject: ***** Automatic Kill and Selection *****
  1097. From: 10.
  1098.  
  1099.  
  1100. Subject: Can all non-selected subjects be automatically placed in my kill file?
  1101. From: 10.1
  1102.  
  1103.   The two variables, ignore-re and auto-select-rw, accomplish this
  1104.   task.  They are available in version 6.5.0.  In the meantime,
  1105.   patches may be obtained from dkuug.dk:/pub/nn6.4/nn6.4.killunread.
  1106.   --Keld J|rn Simonsen <keld@dkuug.dk>. [1.93]
  1107.  
  1108.   
  1109. Subject: Can I automatically kill articles based on the Newsgroups header?
  1110. From: 10.2
  1111.  
  1112.   This is how one can automatically kill crossposted articles, etc.
  1113.  
  1114.   First, manually either add the following to your .newsrc to mark all
  1115.   articles read forever:
  1116.  
  1117.     alt.flame: 1-2147483647
  1118.  
  1119.   or add the following to your .nn/kill file to kill all articles in
  1120.   the group:
  1121.  
  1122.     alt.flame:!s/:^
  1123.  
  1124.   The former method may break down if you ever use nngoback to reset
  1125.   numbers in your .newsrc.  The latter method could cause difficulty
  1126.   if you ever actually want to read articles in that group.
  1127.  
  1128.   Near the top of your sequence in your init file put
  1129.  
  1130.     !alt.flame.
  1131.     alt.flame
  1132.  
  1133.   This makes alt.flame, but not its subgroups, be included as the first
  1134.   thing in your sequence; so all articles in it are killed before they
  1135.   appear in any other groups.  You might want to put NEW above this so
  1136.   you can see if new groups are getting off to a bad start with lots of
  1137.   alt.flame crossposting.  Later in the sequence put
  1138.  
  1139.     % alt %
  1140.  
  1141.   This allows the rest of the alt hierarchy, including subgroups such
  1142.   as alt.flame.spelling (if you subscribe to it), to get included at
  1143.   that point in the sequence.
  1144.  
  1145.   Along with using the default settings of cross-filter-seq=true and
  1146.   cross-post=false, this works fine to nuke the crossposted articles.
  1147.   --Richard M. Mathews <richard@locus.com> & Dave Shaver <shaver@convex.com>
  1148.  
  1149.   
  1150. Subject: How can I find all articles having to do with a certain topic?
  1151. From: 10.3
  1152.  
  1153.   nngrab invokes nn on all articles whose subject or keyword fields
  1154.   contain a desired keyword.  This shows one how important it is to
  1155.   use descriptive subjects and keywords when posting articles.  For
  1156.   more information, read the manual page.
  1157.  
  1158.   
  1159. Subject: How can I select one article in a thread with auto-select-subject set?
  1160. From: 10.4
  1161.  
  1162.   Define the following macro to toggle auto-select-subject.  --Steven
  1163.   Grady <grady@fx.com>
  1164.  
  1165.     map menu A (
  1166.         :local auto-select-subject
  1167.         :toggle auto-select-subject
  1168.         ?auto-select-subject=on echo "Auto-select on"
  1169.         ?auto-select-subject=off echo "Auto-select off"
  1170.     )
  1171.  
  1172.   Use the '.' command.
  1173.  
  1174.   
  1175. Subject: Can one search for patterns in the entire article from the menu?
  1176. From: 10.5
  1177.  
  1178.   No.  However, in 6.5.0, there will be an additional option under the
  1179.   'G' command to create a submenu containing articles that contain the
  1180.   desired string.  As it is not yet well tested, it will be a compile
  1181.   time feature.  --Peter Wemm <peter@dialix.oz.au> [10.93]
  1182.  
  1183.   
  1184. Subject: How come more articles get selected than I expect?
  1185. From: 10.6
  1186.  
  1187.   Check the setting of subject-match-parts. If this is on, then your subjects
  1188.   are considered matched if they match up to the first digit. For example
  1189.   if subject-match-parts is on, the subjects:
  1190.  
  1191.     someprogram Part 1/5
  1192.     someprogram Part 2/5
  1193.  
  1194.   are considered matches. So are
  1195.  
  1196.     v12345: someprogram Part 1/5
  1197.     v12346: anotherprogram Part 1/23
  1198.  
  1199.   as the "v" is identical up to the first digit. If you want to use
  1200.   subject-match-parts in a "comp.sources" type group, set
  1201.   subject-match-offset (the character position that matches are
  1202.   started from) to be beyond any digits that might appear in the first
  1203.   part of the subject.  --Dave Hayes <dave@elxr.jpl.nasa.gov>
  1204.  
  1205.   
  1206. Subject: Any plans for trn-ish thread following?
  1207. From: 10.7
  1208.  
  1209.   "Yes, it's planned."  --Peter Wemm <peter@dialix.oz.au> [10.93]
  1210.  
  1211.  
  1212. Subject: ***** The Format of the Kill File *****
  1213. From: 11.
  1214.  
  1215.  
  1216. Subject: ***** Miscellaneous Commands *****
  1217. From: 12.
  1218.  
  1219.  
  1220. Subject: Can I choose newsgroups as I do articles, ie. with a menu?
  1221. From: 12.1
  1222.  
  1223.   No, not yet.  Sorry.  However, progress in this direction has been
  1224.   made--if you care to finish the work, please contact Peter Wemm
  1225.   <peter@dialix.oz.au>. [12.92]
  1226.  
  1227.   See also [Q9.1 "How can see which newsgroups are available?"]  [1.93]
  1228.  
  1229.   Outside of nn, you may wish to check out eep which is in the
  1230.   contributed area in 6.5.0.  --Peter Wemm <peter@dialix.oz.au> [10.93]
  1231.  
  1232.   
  1233. Subject: How do I unsubscribe to all groups?
  1234. From: 12.2
  1235.  
  1236.   The file .newsrc in your home directory contains the information
  1237.   about the newsgroups, their subscription status and the numbers of
  1238.   the read articles.  A colon (':') indicates a subscribed group, and
  1239.   an exclamation mark ('!') indicates an unsubscribed group.  All you
  1240.   need to do for unsubscribing to all newsgroups is to edit .newsrc.
  1241.   You can do this with your favourite editor, or
  1242.  
  1243.     sed -e 's/:/!/' $HOME/.newsrc > foo
  1244.     mv foo .newsrc
  1245.  
  1246.   If you use csh, you have to escape the '!' with a '\'.  --Sven
  1247.   Guckes <guckes@math.fu-berlin.de> [3.93]
  1248.  
  1249.   
  1250. Subject: +How can I get nn to stop adding new newsgroups?
  1251. From: 12.3
  1252.  
  1253.   Add
  1254.  
  1255.     set new-group-action 0
  1256.  
  1257.   to ~/.nn/init. --Jason A Chase <jchase@netcom.com> [8.94]
  1258.  
  1259.   However, what you might want to do instead is not see new groups in
  1260.   selected hierarchies.  I've added the following to my sequence (in
  1261.   ~/.nn/init):
  1262.  
  1263.     # Don't bother with new groups in these hierarchies.
  1264.     !:N alt,de,u3b,vmsnet,eunet,bionet,bit,biz,trial,psi,k12,nirvana
  1265.  
  1266.   The key one is alt!  --Bill Wohler <wohler@newt.com> [8.94]
  1267.  
  1268.  
  1269. Subject: ***** The Init Files *****
  1270. From: 13.
  1271.  
  1272.  
  1273. Subject: +How do I customize nn or change nn's behavior?
  1274. From: 13.1
  1275.  
  1276.   Modify the file ~/.nn/init.  See the section "The Init Files" in the
  1277.   man page for more details.  So that you know what else might be
  1278.   affecting nn, here's the beginning of that chapter:
  1279.  
  1280.   The init files are used to customize nn's behaviour to local
  1281.   conventions and restrictions and to satisfy each user's personal
  1282.   taste.  Normally, nn reads up to three init files on start-up if
  1283.   they exist (all init files are optional):
  1284.  
  1285.   $LIB/setup 
  1286.     A system-wide file located in the library directory. This file
  1287.     is always loaded before any other init file (even when the -I
  1288.     option is specified).  It cannot contain a group presentation
  1289.     sequence.
  1290.  
  1291.   $LIB/init
  1292.     Another system-wide (global) init file located in the library
  1293.     directory.  This file may be ignored via the -I option.
  1294.  
  1295.   ~/.nn/init
  1296.     The private init file located in the user's .nn directory. It
  1297.     is read after the global init file to allow the user to change
  1298.     the default setup.
  1299.  
  1300.  
  1301. Subject: ***** Variables and Options *****
  1302. From: 14.
  1303.  
  1304.  
  1305. Subject: Setting new-group-action to "ask before adding" doesn't work.
  1306. From: 14.1
  1307.  
  1308.   Take NEW out of your sequence--it's redundant.
  1309.  
  1310.   There was also a small bug (fixed in 6.5.0) which caused it to
  1311.   not to work in certain situations. --Peter Wemm <peter@dialix.oz.au>
  1312.   [10.93]
  1313.  
  1314.  
  1315. Subject: ***** Macro Definitions *****
  1316. From: 15.
  1317.  
  1318.  
  1319. Subject: Is there a library of macros and other nn features?
  1320. From: 15.1
  1321.  
  1322.   When complete, it will be a companion posting to this one.  If you
  1323.   have not mailed me <wohler@newt.com> your init file, or you have
  1324.   made substantial changes since the last time, please send it in.  If
  1325.   anyone is handy in perl or awk and would like to write some scripts
  1326.   to reduce multiple init files to variable summaries (like the one I
  1327.   posted a long time ago), macro definitions and presentation sequence
  1328.   tricks, I would like to talk to you.
  1329.  
  1330.  
  1331. Subject: ***** Key Mappings *****
  1332. From: 16.
  1333.  
  1334.   
  1335. Subject: ***** Command Groups *****
  1336. From: 17.
  1337.  
  1338.   
  1339. Subject: ***** Group Presentation Sequence *****
  1340. From: 18.
  1341.  
  1342.  
  1343. Subject: ***** NN Maintenance & nnmaster *****
  1344. From: 19.
  1345.  
  1346.  
  1347. Subject: Why does nnmaster stop collecting articles at the "junk" group?
  1348. From: 19.1
  1349.  
  1350.   This can occur when you access news via NNTP.  Older nntp servers
  1351.   have a limitation of 4000 articles in a group, and junk may easily
  1352.   exceed this which makes the nntp server crash.
  1353.  
  1354.   To overcome the problem, edit the GROUPS file to add the X flag on
  1355.   the junk group, run nnmaster -G, and then nnmaster will ignore the
  1356.   junk group.  --Kim Storm <storm@olicom.dk>
  1357.  
  1358.   In nntp_dir/common/conf.h, you can either increase MAX_GROUPS
  1359.   (normally 4096) or you can set #define DYNAMIC_ART_ARRAY (normally
  1360.   #undefed).  In either case, you obviously have to recompile nntp.
  1361.  
  1362.   Normally, new groups are added as they come in, but the news
  1363.   administrator should monitor the junk newsgroup and either make new
  1364.   newsgroups for the orphan messages, or ensure that the feed stops
  1365.   sending bogus messages.  --Mark Rawling
  1366.   <Mark.Rawling@mel.dit.csiro.au> [3.93]
  1367.  
  1368.   
  1369. Subject: How do I cope with "Incomplete MASTER file"?
  1370. From: 19.2
  1371.  
  1372.   See [Q19.3 "Why isn't nnmaster working?"]
  1373.  
  1374.   
  1375. Subject: Why isn't nnmaster working?
  1376. From: 19.3
  1377.  
  1378.   After the make, did you remember to:
  1379.  
  1380.     Run ./inst <options> to install the files?
  1381.     Run ./inst INIT to initialize the database?
  1382.  
  1383.   Nnmaster mails error messages to the user who owns him (typically
  1384.   "news").  Check this mailbox for clues.
  1385.  
  1386.   If nnmaster -r or -D did not work, then neither did nnmaster -I (or
  1387.   ./inst INIT from the install directory).  Once you fix the
  1388.   permissions (see Paul's answer below), you need to rerun the
  1389.   initialization step.  --Stew Ellis <ellis@nova.gmi.edu>
  1390.  
  1391.   If nnmaster dies and updates the Log file with "Incomplete MASTER
  1392.   file", it could be you're not running the latest version.  --David
  1393.   R. Hieb <David.R.Hieb@magi.rootgroup.com>
  1394.  
  1395.   If, when you start your nnmaster, it just exits quietly, it could be
  1396.   that your permissions are incorrect.  Ensure that all directories in
  1397.   the nn library are owned by news (or the owner that you configured
  1398.   nn with).  --Paul Bickerstaff <pbickers@tamaluit.phys.uidaho.edu>
  1399.  
  1400.   Make sure that there is a 'news' entry in passwd and group since
  1401.   nnmaster is run setuid/setgid to news and the files and directories
  1402.   that nnmaster needs to access are owned and writable by news.  --Jim
  1403.   Jagielski <jim@jagubox.gsfc.nasa.gov> [9.92]
  1404.  
  1405.   Another problem could be in the way it is started.  Two related
  1406.   solutions are presented.
  1407.  
  1408.   /etc/rc exits before the child has had the chance to setpgrp().
  1409.   Putting "sleep 5" at the end of /etc/rc fixed it. --David B. Thomas
  1410.   <dt@yenta.alb.nm.us>
  1411.  
  1412.   Another similar solution involved inserting a "sleep 10" at the
  1413.   beginning of /etc/daemons/nnmaster.init file.
  1414.   --Jeffery Small <jeff@cjsa.wa.com>
  1415.  
  1416.   It could be you're not running the latest version.  --David R. Hieb
  1417.   <David.R.Hieb@magi.rootgroup.com>
  1418.  
  1419.   
  1420. Subject: !Why did nnmaster stop working?
  1421. From: 19.4
  1422.  
  1423.   Perhaps you have a corrupted database that can't be fixed.  In this
  1424.   case, run "./inst INIT" from the installation procedure.  --Phil
  1425.   Howard <pdh@netcom.com> [5.94]
  1426.  
  1427.   nnmaster may exit when it encounters a corrupt header in an article
  1428.   from a nntpserver.  Restart nnmaster in debug mode (nnmaster -D) to
  1429.   see which group contains the offending article.  Ignore this group
  1430.   until the offending article has expired by editing the GROUPS file,
  1431.   adding the `X' flag to the newsgroup and running "nnmaster -G".
  1432.   Restart collection of the newsgroup by removing the `X' flag and
  1433.   running "nnmaster -G".  --Stew Ellis <ellis@nova.gmi.edu> [8.94]
  1434.  
  1435.   See also [Q19.3 "Why isn't nnmaster working?"]
  1436.  
  1437.   
  1438. Subject: Why do I get ".../MASTER not found"?
  1439. From: 19.5
  1440.  
  1441.   The problem of the NN port to the Atari ST is, that you have to
  1442.   build an "active" file (NN format, not HERMES-like!!) in
  1443.   /usr/lib/news before running nnadmin -I.
  1444.  
  1445.   You can build this file by using the included "buildact.tos."
  1446.   Buildact.tos creates a UNIX-like /usr/lib/news/active from
  1447.   /usr/lib/hermes/active. [9.92]
  1448.  
  1449.   
  1450. Subject: Why do I get "cannot open 'x' file"
  1451. From: 19.6
  1452.  
  1453.   If you get a message like,
  1454.  
  1455.     Fatal system error:
  1456.     alt.activism (6): cannot open 'x' file (mode=82, errno=2)
  1457.  
  1458.   you haven't initialized your database.  As root, run the following
  1459.   command "./inst INIT" in the nn source directory.  See the file
  1460.   INSTALLATION for more information.  --Sami Tikka <Sami.Tikka@hut.fi>
  1461.   [1.93]
  1462.  
  1463.   
  1464. Subject: Why do I get "Lost connection to server foobar"
  1465. From: 19.7
  1466.  
  1467.   It's possible that the two database files for a newsgroup (nnn.x and
  1468.   nnn.d) don't exist.  Go into nnadmin and force a recollect of the
  1469.   newsgroup.  Most of the newsgroups (which are missing nnn.x and
  1470.   nnn.d files) after the first problem newsgroup might be
  1471.   automatically collected without a problem.  If there are a large
  1472.   number of these problem groups, it might be easier just to rebuild
  1473.   the whole database: kill nnmaster, run "./inst INIT" as root in the
  1474.   source directory and restart nnmaster.  --Jeff Beckley
  1475.   <beckley@qualcomm.com>
  1476.  
  1477.   If the group in question has too many articles (>4000), it will
  1478.   cause older NNTP implementations to choke.  See [Q19.1 "Why does
  1479.   nnmaster stop collecting articles at the "junk" group?"] for a
  1480.   fix. [3.93]
  1481.  
  1482.   
  1483. Subject: +Why doesn't nn display messages when not using NNTP?
  1484. From: 19.8
  1485.  
  1486.   If the database was built with NNTP, then nn has to use NNTP to read
  1487.   the messages.  This is not true in the other direction: nn clients
  1488.   can use NNTP to read the messages from a database built via NFS.
  1489.   The moral: build the database via NFS if you intend to use nn with
  1490.   either NFS or NNTP. --Michael Masterson <mjm@thumper.progcons.com>
  1491.   [8.94] 
  1492.  
  1493.   
  1494. Subject: +Why do I get "Notice: no news has arrived for the last n hours"?
  1495. From: 19.9
  1496.  
  1497.   See [Q19.4 "Why did nnmaster stop working?"]. [8.94]
  1498.  
  1499.  
  1500. Subject: Glossary
  1501. From: Appendix
  1502.  
  1503.   MIME        Multi-purpose Internet Mail Extensions (see RFC ?)
  1504.   NNTP        Network News Transport Protocol (see RFC 977)
  1505.   INN        Inter-Network News
  1506.  
  1507.   
  1508. Subject: Acknowledgements
  1509. From: Appendix
  1510.  
  1511. I'd like to thank the following people for providing ideas on the
  1512. layout of this article:
  1513.  
  1514. Joe Wells <jbw@bigbird.bu.edu>          Richard M. Stallman <rms@gnu.ai.mit.edu>
  1515. David Elliott <dce@smsc.sony.com>     Tom Christiansen <tchrist@convex.com>
  1516. Eugene N. Miya <eugene@nas.nasa.gov>
  1517.  
  1518.  
  1519. We are also grateful to the individuals mentioned below and in the
  1520. text of this document who have provided answers or other information
  1521. to make this a better document.  I regret that it is possible that
  1522. some names have been accidently omitted.  I would also like to thank
  1523. all the readers of news.software.nn.
  1524.  
  1525. Kim Storm <storm@olicom.dk>           Sven Guckes <guckes@math.fu-berlin.de>
  1526.  
  1527.   
  1528. Subject: Copyright and Warranty
  1529. From: Appendix
  1530.  
  1531.   Copyright 1994 Bill Wohler
  1532.  
  1533.   This article is free; you can redistribute it and/or modify it under
  1534.   the terms of the GNU General Public License as published by the Free
  1535.   Software Foundation; either version 2, or (at your option) any later
  1536.   version.
  1537.  
  1538.   This article is distributed in the hope that it will be useful,
  1539.   but WITHOUT ANY WARRANTY; without even the implied warranty of
  1540.   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  1541.   GNU General Public License for more details which can be found
  1542.   in prep.ai.mit.edu:/pub/gnu/COPYING.
  1543.  
  1544.   
  1545. Subject: pack_date.c
  1546. From: Appendix
  1547.  
  1548.   *** old/pack_date.c    Wed Apr 17 01:32:40 1991
  1549.   --- new/pack_date.c    Thu Jun  4 20:03:02 1992
  1550.   ***************
  1551.   *** 4,9 ****
  1552.   --- 4,11 ----
  1553.      *    Calculate an approximate "time_stamp" value for a date
  1554.      *    string.  The actual value is not at all critical,
  1555.      *    as long as the "ordering" is ok.
  1556.   +  *    The current algorithm mishandles non-GMT time zones near
  1557.   +  *    short month boundaries, but this is rare in real news.
  1558.      *
  1559.      *    The result is NOT a time_t value, i.e. ctime() will
  1560.      *    not produce the original Date string.
  1561.   ***************
  1562.   *** 256,262 ****
  1563.         res *= 24 * 60;
  1564.         res += (hour * 60) + min;
  1565.  
  1566.   !     return res + tzone(date);
  1567.     }
  1568.  
  1569.  
  1570.   --- 258,264 ----
  1571.         res *= 24 * 60;
  1572.         res += (hour * 60) + min;
  1573.  
  1574.   !     return res - tzone(date);
  1575.     }
  1576.  
  1577.   
  1578. Subject: news.c
  1579. From: Appendix
  1580.  
  1581.   RCS file: news.c,v
  1582.   retrieving revision 1.1
  1583.   diff -c2 -r1.1 news.c
  1584.   *** news.c    1990/10/23 21:37:38    1.1
  1585.   --- news.c    1992/06/19 23:17:05
  1586.   ***************
  1587.   *** 231,235 ****
  1588.         char *parse_header();
  1589.         struct stat statb;
  1590.   !     int retry;
  1591.         FILE *f;
  1592.     #ifdef NNTP
  1593.   --- 231,235 ----
  1594.         char *parse_header();
  1595.         struct stat statb;
  1596.   !     int c, retry;
  1597.         FILE *f;
  1598.     #ifdef NNTP
  1599.   ***************
  1600.   *** 300,309 ****
  1601.         body = parse_header(f, art_hdr_field, modes, buffer1);
  1602.  
  1603.   -     news.ng_lines = news.ng_xlines ? atoi(news.ng_xlines) : -1;
  1604.         if (news.ng_from == NULL) news.ng_from = news.ng_sender;
  1605.  
  1606.   !     if (modes & FILL_OFFSETS) {
  1607.             art->fpos = news.ng_fpos = ftell(f);
  1608.  
  1609.             fseek(f, (off_t)0, 2);
  1610.             news.ng_lpos = ftell(f);
  1611.   --- 300,328 ----
  1612.         body = parse_header(f, art_hdr_field, modes, buffer1);
  1613.  
  1614.         if (news.ng_from == NULL) news.ng_from = news.ng_sender;
  1615.  
  1616.   !     if (modes & FILL_OFFSETS)
  1617.             art->fpos = news.ng_fpos = ftell(f);
  1618.  
  1619.   +     if (news.ng_xlines)
  1620.   +         news.ng_lines = atoi(news.ng_xlines);
  1621.   +     else {
  1622.   + #ifdef NNTP
  1623.   +         if (use_nntp && lazy) {
  1624.   +         off_t fpos = ftell(f);
  1625.   +         fclose(f);
  1626.   +         f = nntp_get_article(art->a_number, 2);
  1627.   +         if (f == NULL) return NULL;
  1628.   +         lazy = 0;
  1629.   +         fseek(f, fpos, 0);
  1630.   +         }
  1631.   + #endif
  1632.   +         news.ng_lines = 0;
  1633.   +         while ((c = getc(f)) != EOF)
  1634.   +         if (c == '\n')
  1635.   +             news.ng_lines++;
  1636.   +     }
  1637.   +
  1638.   +     if (modes & FILL_OFFSETS) {
  1639.             fseek(f, (off_t)0, 2);
  1640.             news.ng_lpos = ftell(f);
  1641.  
  1642.   
  1643. Subject: nn-use-mh
  1644. From: Appendix
  1645.  
  1646. #!/bin/sh
  1647.  
  1648. # Obtain value of $WORK and $RECORD
  1649. . ${HOME}/.nn/.param
  1650.  
  1651. # Append Fcc: +folder to headers.  The folder is specified in
  1652. # mail-record.
  1653. if [ "$RECORD" != "" ]; then
  1654.       awk '
  1655.       {
  1656.           if ($0 == "" && !done) {
  1657.               print "Fcc: +'$RECORD'";
  1658.               done = 1;
  1659.           }
  1660.           print;
  1661.       }' $WORK > /tmp/aux.$$ && mv /tmp/aux.$$ $WORK
  1662. fi
  1663.  
  1664. # Compose and send the mail
  1665. comp -form $WORK
  1666.  
  1667.   
  1668. Subject: nn_elm
  1669. From: Appendix
  1670.  
  1671. #!/bin/sh
  1672. #
  1673. # nn_elm
  1674. #
  1675. # 07 Aug 91             V1.0
  1676. #
  1677. # Massage a mail message from nn into a form that elm can use
  1678. # (c) 1991 Phil Kernick <phil@ringo.ssn.flinders.edu.au> Wizard Software
  1679. #
  1680.  
  1681. eval `awk '
  1682. BEGIN {
  1683.   FS = ":";
  1684.   dq = sprintf("%c", 34);
  1685.  
  1686.   headers = 0;
  1687.   to = "";
  1688.   subject = "";
  1689. }
  1690.  
  1691. /^.*: / {
  1692.   headers++;
  1693.   if($1 == "To")
  1694.     to = dq substr($0, 5) dq;
  1695.   if($1 == "Subject")
  1696.     subject = dq substr($0, 10) dq;
  1697. }
  1698.  
  1699. /^$/ {
  1700.     printf("tail +%d %s | elm -s %s %s > /dev/null\n", headers+2, mail, subject, to);
  1701.     exit;
  1702. }' mail=$1 $1`
  1703.  
  1704. exit $?
  1705.  
  1706.   
  1707. Subject: nnalias
  1708. From: Appendix
  1709.  
  1710. #!/bin/sh
  1711. #
  1712. # nnalias -- expands aliases from ~/.mailrc file for nn.
  1713. #
  1714. # To use, put the following in your ~/.nn/init file:
  1715. #
  1716. #    set mail-alias-expander nnalias
  1717. # and put this file somewhere in your path, making it executable.  I use
  1718. #    set mail-alias-expander /usr/local/lib/nnalias
  1719. # but the choice is up to you.
  1720. #
  1721. # Written by Scott Hannahs, Bitter National Magnet Lab, MIT, August 1991
  1722. # Complaints, comments, ideas to sth@slipknot.mit.edu
  1723. # Tested on Silicon Graphics, IRIX 3.3.1
  1724. #
  1725. # Minor banging by <rreiner@nexus.yorku.ca> to handle alias value fields
  1726. # which contain doublequote characters, e.g.
  1727. #
  1728. #    alias Foo "Foobar the Great <foo@bar.com>"
  1729. #
  1730. # (the doublequotes are stripped in the expansion), and to handle multiple
  1731. # spaces after the token "alias".
  1732. #
  1733. # Also added some error detection and signal traps; tested on SunOS 4.1.1.
  1734. #
  1735. #    Exit codes:     0 -- normal termination
  1736. #            1 -- parm error
  1737. #            2 -- file does not exist
  1738. #            3 -- trap
  1739. #
  1740. # Thanks to bug reports from
  1741. #  Andy Jacobs and others
  1742. #
  1743. if [ z$1 = z ]; then
  1744.   myname=`basename $0`
  1745.   echo "$myname: usage is  $myname workfile"
  1746.   exit 1
  1747. fi
  1748.  
  1749. if [ ! -f $1 ]; then
  1750.   myname=`basename $0`
  1751.   echo "$myname: $1 does not exist or is a directory"
  1752.   exit 2
  1753. fi
  1754.  
  1755. TMP_DIR=/usr/tmp
  1756.  
  1757. trap "rm -f ${TMP_DIR}/nn.alias.$$ ; exit 3" 0 1 2 3 15
  1758.  
  1759. ALIAS_LIST=""
  1760. ADDRESS_LIST="`head -1 $1 | sed -e s/To://`"
  1761. until [ "$ALIAS_LIST" = "$ADDRESS_LIST" ] ; do
  1762.   ALIAS_LIST="`echo "$ADDRESS_LIST"| sed -e 's/,/ /g' `"
  1763.   ADDRESS_LIST=""
  1764.     for ALIAS in $ALIAS_LIST ; do
  1765.       ADDRESS=`grep '^[     ]*alias[     ][     ]*'"$ALIAS"'[     ]' ${HOME}/.mailrc |\
  1766.       sed      -e s/'^[     ]*alias[     ][     ]*'"$ALIAS"'[     ][     ]*'// |\
  1767.       sed -e s/'"'//g`
  1768.       if [ "$ADDRESS" ] ; then
  1769.     ADDRESS_LIST="$ADDRESS_LIST $ADDRESS"
  1770.       else
  1771.     ADDRESS_LIST="$ADDRESS_LIST $ALIAS"
  1772. #      for elm alias expansion use the following line instead of the previous.
  1773. #      ADDRESS_LIST="$ADDRESS_LIST "`elm -c "$ALIAS" | cut -f3 -d\ `
  1774.       fi
  1775.     done
  1776.   done
  1777. echo "To:${ADDRESS_LIST}" > ${TMP_DIR}/nn.alias.$$
  1778. tail +2 $1 >> ${TMP_DIR}/nn.alias.$$
  1779. mv -f ${TMP_DIR}/nn.alias.$$ $1
  1780.  
  1781. exit 0
  1782.  
  1783.   
  1784. Subject: +lynxify
  1785. From: Appendix
  1786.  
  1787. #!/bin/sh
  1788. # Author: Dr. Richard Botting <rbotting@wiley.csusb.edu>
  1789. # Posted to comp.infosystems.www.users on 9 June 94
  1790. # Prepare input with embedded html tags for lynx and then view it
  1791.  
  1792. file=/tmp/mailynx.${$}.html
  1793. (echo "<pre>" ; cat ; echo "</pre>" )> $file
  1794. lynx $file < /dev/tty
  1795. rm $file
  1796.  
  1797.   
  1798. Local Variables:
  1799. mode: outline
  1800. outline-regexp: "^Subject:"
  1801. fill-prefix: "  "
  1802. End:
  1803.