Mercurial > noffle
changeset 108:8eb2975c8c1a noffle
[svn] 1.0pre6 merge
author | bears |
---|---|
date | Tue, 13 Jun 2000 07:44:21 +0100 |
parents | 2869baa02f3c |
children | 2bedacfe1ba7 |
files | ChangeLog NEWS configure configure.in docs/NOTES docs/noffle.1 |
diffstat | 6 files changed, 83 insertions(+), 85 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Tue Jun 13 07:41:08 2000 +0100 +++ b/ChangeLog Tue Jun 13 07:44:21 2000 +0100 @@ -2,15 +2,50 @@ NOFFLE ChangeLog ------------------------------------------------------------------------------- +Tue Jun 13 07:27:21 BST 2000 Jim Hague <jim.hague@acm.org> + + * src/configfile.h, src/configfile.c, src/database.c: Redo config + expires routines to remove enumerator and replace with routine to + obtain expire time for specified group. + * src/configfile.h, src/configfile.c, src/server.c, noffle.conf.example, + docs/noffle.conf.5: Change 'auto-subscribe-mode' to + 'default-auto-subscribe-mode' and add + 'auto-subscribe-mode <grp pattern> <mode>'. For the moment, + spot old usage of 'auto-subscribe-mode' and interpret it as + 'default-auto-subscribe-mode'. + * src/client.c: Rename variable to remove compiler warning. + +Sat Jun 11 2000 Markus Enzenberger <markus.enzenberger@t-online.de> + + * Prepare for version 1.0pre6 + * configure.in: Removed warning options for warnings that are + unavoidable with libgdbm + Mon Jun 5 09:46:30 BST 2000 Jim Hague <jim.hague@acm.org> * src/client.c, src/fetch.c, src/group.c, src/group.h, src/noffle.c: - Don't track remote message number read unless subscribed to a group. - This stops 'Missing articles' pseudos being generated when you join - a group some time after doing the 'noffle --query groups' that first - found the group, or if you resubscribe a while after unsubscribing. - They will still be generated if articles are missed when a group is - subscribed, in which case the pseudo message is entirely applicable. + Don't track remote message number read unless subscribed to a group. + This stops 'Missing articles' pseudos being generated when you join + a group some time after doing the 'noffle --query groups' that first + found the group, or if you resubscribe a while after unsubscribing. + They will still be generated if articles are missed when a group is + subscribed, in which case the pseudo message is entirely applicable. + +Sat Jun 03 2000 Markus Enzenberger <markus.enzenberger@t-online.de> + + * docs/NOTES: removed the whole section about the mail2news gateway. + It doesn't really work, because procmail forks for each mail and + changing the posting allowed status is not atomic. + +Thu Jun 01 2000 Markus Enzenberger <markus.enzenberger@t-online.de> + + * docs/NOTES: Added section about "replace-messageid" option in + the Mail-News-Gateway chapter. + +Mon May 29 19:12:47 BST 2000 Jim Hague <jim.hague@acm.org> + + * src/client.c: Fix spelling mistake in comment. + * docs/noffle.1: Add a little bit more to the description of --online. Mon May 29 18:28:25 CEST 2000 Uwe Hermann <uh1763@bingo-ev.de> @@ -21,6 +56,11 @@ * NEWS: Update. +Fri May 26 11:38:27 BST 2000 Jim Hague <jim.hague@acm.org> + + * docs/NOTES: Added notes on knode. + * src/client.c: Corrected comment. + Thu May 25 22:03:56 BST 2000 Jim Hague <jim.hague@acm.org> * src/post.c: Fixed stupid bug in article checking code where a @@ -40,6 +80,9 @@ * src/client.c: Closer perusal of Son Of RFC1036 reveals that Supersedes: can have multiple message IDs. Do this. +Sat May 20 2000 Markus Enzenberger <markus.enzenberger@t-online.de> + * src/noffle.c: always enable generation of core files. + Fri May 19 14:02:44 BST 2000 Jim Hague <jim.hague@acm.org> * src/util.h, src/util.c, src/database.c, src/pseudo.c, src/post.c:
--- a/NEWS Tue Jun 13 07:41:08 2000 +0100 +++ b/NEWS Tue Jun 13 07:44:21 2000 +0100 @@ -2,17 +2,21 @@ NOFFLE NEWS -- User visible changes ------------------------------------------------------------------------------- -1.1devel --------- +Current development version: +---------------------------- + * Rename 'auto-subscribe-mode' to 'default-auto-subscribe-mode' and + add new 'auto-subscribe-mode <group pattern> <mode>' option. * Observe Expires: and Supersedes: headers. * Added post-locally option and '--post' command line option. * Add getgroups and omitgroups options. - * added ./configure-option '--enable-debug=[no/min/yes]' 1.0pre6 ------- +11 June 2000 + * added ./configure-option '--enable-debug=[no/min/yes]' + * Add 'info-always-unread' option. * Add support for XOVER with no argument. Also XHDR with message ID argument and XHDR when 'xref' requested (trn needs this). * Forget cached group info when group database closed.
--- a/configure Tue Jun 13 07:41:08 2000 +0100 +++ b/configure Tue Jun 13 07:44:21 2000 +0100 @@ -532,7 +532,7 @@ PACKAGE=noffle -VERSION=1.0pre5develop +VERSION=1.0pre6develop @@ -2542,17 +2542,17 @@ -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion \ -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes \ -Wmissing-declarations -Wnested-externs -Winline \ --D__USE_BSD -D__USE_XOPEN_EXTENDED -D__USE_POSIX -DDEBUG" +-D__USE_BSD -D__USE_XOPEN_EXTENDED -D__USE_POSIX -DDEBUG" else if test "x$enable_debug" != "xno" && test "x$GCC" = "xyes"; then CFLAGS="$CFLAGS \ -Wall -O2 -g -pedantic -ansi -W -Wtraditional -Wshadow \ --Wcast-qual -Wcast-align -Wwrite-strings \ --Waggregate-return -Wstrict-prototypes -Wmissing-prototypes \ +-Wcast-align -Wwrite-strings \ +-Wstrict-prototypes -Wmissing-prototypes \ -Wmissing-declarations -Wnested-externs -Winline \ --D__USE_BSD -D__USE_XOPEN_EXTENDED -D__USE_POSIX -DDEBUG" +-D__USE_BSD -D__USE_XOPEN_EXTENDED -D__USE_POSIX -DDEBUG" fi fi
--- a/configure.in Tue Jun 13 07:41:08 2000 +0100 +++ b/configure.in Tue Jun 13 07:44:21 2000 +0100 @@ -7,7 +7,7 @@ AC_PREREQ(2.13) PACKAGE=noffle -VERSION=1.0pre5develop +VERSION=1.0pre6develop AM_CONFIG_HEADER(config.h) AM_INIT_AUTOMAKE($PACKAGE,$VERSION) @@ -138,7 +138,7 @@ -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion \ -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes \ -Wmissing-declarations -Wnested-externs -Winline \ --D__USE_BSD -D__USE_XOPEN_EXTENDED -D__USE_POSIX -DDEBUG" +-D__USE_BSD -D__USE_XOPEN_EXTENDED -D__USE_POSIX -DDEBUG" else dnl Do nothing if --enable-debug=no @@ -146,10 +146,10 @@ if test "x$enable_debug" != "xno" && test "x$GCC" = "xyes"; then CFLAGS="$CFLAGS \ -Wall -O2 -g -pedantic -ansi -W -Wtraditional -Wshadow \ --Wcast-qual -Wcast-align -Wwrite-strings \ --Waggregate-return -Wstrict-prototypes -Wmissing-prototypes \ +-Wcast-align -Wwrite-strings \ +-Wstrict-prototypes -Wmissing-prototypes \ -Wmissing-declarations -Wnested-externs -Winline \ --D__USE_BSD -D__USE_XOPEN_EXTENDED -D__USE_POSIX -DDEBUG" +-D__USE_BSD -D__USE_XOPEN_EXTENDED -D__USE_POSIX -DDEBUG" fi fi
--- a/docs/NOTES Tue Jun 13 07:41:08 2000 +0100 +++ b/docs/NOTES Tue Jun 13 07:44:21 2000 +0100 @@ -15,12 +15,7 @@ 1.10 trn 1.11 xrn 1.12 knews - - 2. Using Noffle as a Mail-News Gateway - - 2.1 Create a local group - 2.2 Create a mail2news script - 2.3 Create an entry in .procmailrc + 1.13 knode ------------------------------------------------------------------------------- @@ -186,6 +181,11 @@ this is a bug in Gnus. Sometimes it helps to remove all ".newsrc" and similar files on ones home directory and restarting Gnus. +[ Alternatively, set option Gnus/Gnus Start/Gnus Init File from the ] +[ default ~/.newsrc to, say, ~/.gnus-newsrc. The hang I experienced ] +[ seems to be due to problems reading an existing .newsrc, nothing ] +[ to do with NOFFLE at all. ] + Here is a proposal for changing some key-bindings. ;; Customising Gnus for use with the NOFFLE news server @@ -262,61 +262,10 @@ current article, and that is re-read if you click on it in the thread window. - -2. Using Noffle as a Mail-News Gateway --------------------------------------- - -In combination with procmail, Noffle can be used to gateway all -mails from a maillist to a local newsgroup. -This is convenient for filtering out maillists from your personal emails. -The local group is created without postings allowed, -so mails to the maillist must be sent by email. -This is not a big problem, since most newsreaders allow choosing between -a reply and a followup. - -2.1 Create a local group ------------------------- - -Example: - - noffle --create local.mail-lists.my-maillist-name - noffle --modify post local.mail-lists.my-maillist-name n - -2.2 Create a mail2news script ------------------------------ - -You need a program that reads an article from stdin and posts it to -the local group. E.g. the following Python script will post an article -read from stdin to the newsgroup given as the first argument: +1.13 knode +---------- - #!/usr/bin/python - # Post article from stdin to noffle in group given as first argument. - import StringIO, nntplib, os, sys - if len(sys.argv) != 2: raise Exception("Need group as argument") - grp = sys.argv[1] - buf = StringIO.StringIO() - buf.writelines("Newsgroups: " + grp + "\n") - buf.write(sys.stdin.read()) - buf.seek(0) - os.system("/usr/local/bin/noffle --modify post " + grp + " y") - srv = nntplib.NNTP("localhost") - srv.group(grp) - srv.post(buf) - srv.quit - os.system("/usr/local/bin/noffle --modify post " + grp + " n") +Version 0.1.13: -2.3 Create an entry in .procmailrc ----------------------------------- - -Add a procmail entry for recognizing mails from the maillist and -posting it using mail2news. - -Example of a ~/.procmailrc: - - PATH=/bin:/usr/bin - MAILDIR=$HOME/Mail - LOGFILE=$MAILDIR/procmail.log - - :0 - * ^To.*my-maillist-name@lists.somewhere.org - |/usr/local/bin/mail2news local.mail-lists.my-maillist-name +Setting the number of days to cache an article to 0 in Options/Read News +prevents the article being cached between knode sessions.
--- a/docs/noffle.1 Tue Jun 13 07:41:08 2000 +0100 +++ b/docs/noffle.1 Tue Jun 13 07:44:21 2000 +0100 @@ -1,5 +1,5 @@ .TH noffle 1 -.\" $Id: noffle.1 100 2000-05-18 12:17:23Z bears $ +.\" $Id: noffle.1 147 2000-06-13 06:44:21Z bears $ .SH NAME noffle \- Usenet package optimized for dialup connections. @@ -204,7 +204,10 @@ Put .B NOFFLE to online status. Requested articles or overviews of selected -groups are immediately fetched from the remote server. +groups are immediately fetched from the remote server. Groups are +not automatically subscribed to while in online mode, making online +mode ideal for tasting the content of unfamiliar groups without +subscribing to them. Should be run in the .B ip-up script of @@ -296,8 +299,7 @@ takes its configuration from a configuration file, by default .I /etc/noffle.conf. For a description of this file, see -.BR noffle.conf (5). -. +.BR noffle.conf(5). .B NOFFLE keeps all its data files in a spool directory.