mutt as news reader doesn't cache headers

2007-06-12 Thread malahal
I am using mutt as my news reader also. I am on gentoo compiled with
'nntp' use flag. I believe, it gets Vsevolod Volkov's patch. Anyway,
I set news_cache_dir, it created a file with server name and has list
of newsgroups. But it doesn't store the news hearders. Everytime, it
gets the headers from the server. What am I doing wrong? I would like it
to cache the headers and remember what I read.

Thank you for your time.

Thanks, Malahal.
PS: Also set newsrc = ~/.newsrc


Re: mutt as news reader doesn't cache headers

2007-06-12 Thread malahal
Looks like I need to subscribe to a list (just mutt notion of it) before
it can cache them. Makes sense!

Thanks, Malahal.

[EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 I am using mutt as my news reader also. I am on gentoo compiled with
 'nntp' use flag. I believe, it gets Vsevolod Volkov's patch. Anyway,
 I set news_cache_dir, it created a file with server name and has list
 of newsgroups. But it doesn't store the news hearders. Everytime, it
 gets the headers from the server. What am I doing wrong? I would like it
 to cache the headers and remember what I read.
 
 Thank you for your time.
 
 Thanks, Malahal.
 PS: Also set newsrc = ~/.newsrc


Re: mutt as news reader ...

2002-04-17 Thread Andre Berger


--+QahgC5+KEYLbs62
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

* Eduardo Gargiulo [EMAIL PROTECTED], 2002-04-17 13:03 -0400:
 Hi all.

Hi Eduardo!

 It is possible to use mutt as news reader?

My favorite nntp patch is Orjan Stromberg's:

http://www.ing.umu.se/~connor/programs/mutt.html

I wrote a little wrapper around NNTPPost:

#/bin/sh
#/usr/local/bin/newspost, a wrapper for /usr/bin/NNTPPost
# assumes your /etc/news/server contains the name of your newsserver
touch $USER/.muttnntp_spol
/usr/bin/NNTPPost $USER/.muttnntp_spol $(cat /etc/news/server) \
 cat $HOME/.muttnntp_spol  $HOME/.muttnntp_spol.SENT 2 /dev/null

and have this in my .muttrc:

#nntp-patch
set nntp_offline=3Dyes
bindindex   F   followup=20
bindpager   F   followup=20
macro   index   i   !newspost\nB   deliver and get news
macro   pager   i   !newspost\nB   deliver and get news

I like this patch much better than Vladimir's vvv-nntp, but YMMV.

 If the answer is yes, how should i configure it?

You can use the patched source Orjan provides, make sure you compile
mutt with --enable-nntp option.

-Andre


--+QahgC5+KEYLbs62
Content-Type: application/pgp-signature
Content-Disposition: inline

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8vbLtWkhBtALlJZ0RAtIaAJ4+ySzq0wnBKm0zLuN3EfJ/Vs3JnACgzMCB
Lbp6TRNiHX+z45JYz13Hk1A=
=ha+S
-END PGP SIGNATURE-

--+QahgC5+KEYLbs62--



Re: mutt as news reader ...

2002-04-17 Thread Andre Berger


--+HP7ph2BbKc20aGI
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

* Andre Berger [EMAIL PROTECTED], 2002-04-17 13:39 -0400:
 * Eduardo Gargiulo [EMAIL PROTECTED], 2002-04-17 13:03 -0400:
[...]
 I wrote a little wrapper around NNTPPost:

Here's the correct version:

#/bin/sh
#/usr/local/bin/newspost, a wrapper for /usr/bin/NNTPPost
# assumes your /etc/news/server contains the name of your newsserver
touch $HOME/.muttnntp_spol 2 /dev/null
/usr/bin/NNTPPost $HOME/.muttnntp_spol $(cat /etc/news/server) \
 cat $HOME/.muttnntp_spol  $HOME/.muttnntp_spol.SENT 2 /dev/null
rm $HOME/.muttnntp_spol 2 /dev/null

Sorry, stupid me messed the other one up :(

-Andre


--+HP7ph2BbKc20aGI
Content-Type: application/pgp-signature
Content-Disposition: inline

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8vbVkWkhBtALlJZ0RAtwMAKCZL17sYb0nVsN94LCBvqGHO3CisgCgoqpj
Wa0VZZ0sJjV3LZ09Xtf/gmY=
=FP9m
-END PGP SIGNATURE-

--+HP7ph2BbKc20aGI--



Re: mutt as news reader ...

2002-04-17 Thread Andre Berger


--0ntfKIWw70PvrIHh
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

* Andre Berger [EMAIL PROTECTED], 2002-04-17 13:48 -0400:
 * Andre Berger [EMAIL PROTECTED], 2002-04-17 13:39 -0400:
  * Eduardo Gargiulo [EMAIL PROTECTED], 2002-04-17 13:03 -0400:
 [...]
  I wrote a little wrapper around NNTPPost:
=20
 Here's the correct version:
=20
 #/bin/sh
 #/usr/local/bin/newspost, a wrapper for /usr/bin/NNTPPost
 # assumes your /etc/news/server contains the name of your newsserver
 touch $HOME/.muttnntp_spol 2 /dev/null
 /usr/bin/NNTPPost $HOME/.muttnntp_spol $(cat /etc/news/server) \
  cat $HOME/.muttnntp_spol  $HOME/.muttnntp_spol.SENT 2 /dev/null
 rm $HOME/.muttnntp_spol 2 /dev/null
=20
 Sorry, stupid me messed the other one up :(

And one more time :

#/bin/sh
#/usr/local/bin/newspost, a wrapper for /usr/bin/NNTPPost
# assumes your /etc/news/server contains the name of your newsserver
/usr/bin/NNTPPost $HOME/.muttnntp_spol $(cat /etc/news/server) \
 cat $HOME/.muttnntp_spol  $HOME/.muttnntp_spol.SENT 2 /dev/null
rm $HOME/.muttnntp_spol 2 /dev/null

The touch line confused NNTPPost. Argh, it's one of those days...

-Andre



--0ntfKIWw70PvrIHh
Content-Type: application/pgp-signature
Content-Disposition: inline

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8vbaMWkhBtALlJZ0RAgygAKDUYwo4a9d/eGnrKr27Cxh1ssb6eQCgm1c7
IXV+lbfPS6+ODTctIJ6iU6o=
=PhiR
-END PGP SIGNATURE-

--0ntfKIWw70PvrIHh--