Mercurial > noffle
annotate docs/NOTES @ 77:400ff41971ef noffle
[svn] Made some parts of section 2 clearer.
author | enz |
---|---|
date | Sun, 14 May 2000 07:44:46 +0100 |
parents | 9f3a4eccce32 |
children | 8b4e3f9e9e4e |
rev | line source |
---|---|
53
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
1 |
42
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
2 ------------------------------------------------------------------------------- |
53
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
3 |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
4 1. NOFFLE Compatibility Notes |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
5 |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
6 1.1 General |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
7 1.2 kexpress |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
8 1.3 krn |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
9 1.4 Netscape |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
10 1.5 pine |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
11 1.6 slrn |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
12 1.8 Emacs Gnus |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
13 |
77 | 14 2. Using Noffle as a Mail-News Gateway |
53
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
15 |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
16 2.1 Create a local group |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
17 2.2 Create a mail2news script |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
18 2.3 Create an entry in .procmailrc |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
19 |
42
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
20 ------------------------------------------------------------------------------- |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
21 |
53
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
22 |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
23 1.NOFFLE Compatibility Notes |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
24 ---------------------------- |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
25 |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
26 |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
27 1.1 General |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
28 ----------- |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
29 |
42
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
30 Subscribing to groups in "full" mode should work with any news reader. |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
31 Caching of articles is unnecessary, since NOFFLE already caches them and |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
32 should be switched off. |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
33 |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
34 Subscribing to groups in "overview" or "thread" mode requires more from the |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
35 news reader program: |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
36 |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
37 * It must not cache articles at all (or allow to switch the cache off), |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
38 because the article bodies change from the pseudo article |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
39 "marked for download" to the real body. |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
40 |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
41 * The reader should rarely open article bodies automatically, because it will |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
42 mark them unwantedly for download. |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
43 |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
44 |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
45 Here comes a list with news readers that have been tested with NOFFLE, |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
46 especially with regards to subscribing to groups in "overview" or "thread" |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
47 mode. |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
48 |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
49 Please send me reports on your experiences. If a reader does not work at all, |
45
32ba1198c6fa
[svn] * Makefile.in, configure, configure.in, docs/Makefile.in, src/Makefile.in:
uh1763
parents:
42
diff
changeset
|
50 compile NOFFLE with |
32ba1198c6fa
[svn] * Makefile.in, configure, configure.in, docs/Makefile.in, src/Makefile.in:
uh1763
parents:
42
diff
changeset
|
51 |
32ba1198c6fa
[svn] * Makefile.in, configure, configure.in, docs/Makefile.in, src/Makefile.in:
uh1763
parents:
42
diff
changeset
|
52 ./configure --enable-debug |
32ba1198c6fa
[svn] * Makefile.in, configure, configure.in, docs/Makefile.in, src/Makefile.in:
uh1763
parents:
42
diff
changeset
|
53 make |
32ba1198c6fa
[svn] * Makefile.in, configure, configure.in, docs/Makefile.in, src/Makefile.in:
uh1763
parents:
42
diff
changeset
|
54 make install |
32ba1198c6fa
[svn] * Makefile.in, configure, configure.in, docs/Makefile.in, src/Makefile.in:
uh1763
parents:
42
diff
changeset
|
55 |
32ba1198c6fa
[svn] * Makefile.in, configure, configure.in, docs/Makefile.in, src/Makefile.in:
uh1763
parents:
42
diff
changeset
|
56 Then you will see every NNTP command and status line in /var/log/news. Most |
32ba1198c6fa
[svn] * Makefile.in, configure, configure.in, docs/Makefile.in, src/Makefile.in:
uh1763
parents:
42
diff
changeset
|
57 interesting is the last line, before the reader (or NOFFLE) hangs :-) |
32ba1198c6fa
[svn] * Makefile.in, configure, configure.in, docs/Makefile.in, src/Makefile.in:
uh1763
parents:
42
diff
changeset
|
58 Please also send me a short mail, if you successfully used NOFFLE with a |
32ba1198c6fa
[svn] * Makefile.in, configure, configure.in, docs/Makefile.in, src/Makefile.in:
uh1763
parents:
42
diff
changeset
|
59 certain version of a news reader for a longer time, so that I can keep this |
32ba1198c6fa
[svn] * Makefile.in, configure, configure.in, docs/Makefile.in, src/Makefile.in:
uh1763
parents:
42
diff
changeset
|
60 list up-to-date. |
42
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
61 |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
62 |
53
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
63 1.2 kexpress |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
64 ------------ |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
65 |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
66 Version 0.2.0; |
42
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
67 |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
68 I found no way to disable caching, apart from writing a wrapper script, which |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
69 removes all files from the cache after terminating kexpress: |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
70 |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
71 #!/bin/bash |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
72 # kexpress wrapper, save as /usr/local/bin/kexpress |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
73 |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
74 /opt/kde/bin/kexpress $@ |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
75 rm $HOME/.kde/share/apps/kexpress/data/* |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
76 |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
77 |
53
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
78 1.3 krn |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
79 ------- |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
80 |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
81 Version 0.4.0: |
42
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
82 |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
83 Set "Options/NNTP Options/Connect on Startup,Connect without asking" |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
84 and "Options/Expire options/Article bodies/Read=0,UnRead=0" Sometimes |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
85 the article bodies remain in the cache, the following wrapper script helps: |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
86 |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
87 #!/bin/bash |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
88 # krn wrapper, save as /usr/local/bin/krn |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
89 |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
90 /opt/kde/bin/krn $@ |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
91 rm $HOME/.kde/share/apps/krn/cache/* |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
92 |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
93 Articles can be marked as read/unread without opening with the middle mouse |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
94 button. This version of krn is still unstable. |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
95 |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
96 |
53
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
97 1.4 Netscape |
42
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
98 ------------- |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
99 |
53
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
100 Version 3.04: |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
101 |
42
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
102 No cache problems, netscape caches the article overviews, but not the |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
103 bodies. It is best to use "Options/Show only Unread Messages" and to |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
104 keep requested articles in unread state until their bodies are |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
105 downloaded. For avoiding unwanted opening of articles one should first |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
106 "Message/Mark Newsgroup read", then open the wanted articles one by |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
107 one and mark them as unread again ("Message/Mark as Unread") |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
108 immediately after opening. |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
109 |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
110 |
53
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
111 Version 4.0.5: |
42
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
112 |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
113 Same as with netscape 3.04, but automatically opens the first article |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
114 of a listed group and marks it for download thereby. If this bothers |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
115 you, choose "View/Hide message". This version of netscape still seems |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
116 to be unstable for reading news. |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
117 |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
118 |
53
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
119 Version 4.5: |
42
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
120 |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
121 As with 4.0.5 "View/Show/Message" can be used to switch off automatic |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
122 message display (and marking for download). |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
123 |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
124 |
53
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
125 1.5 pine |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
126 -------- |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
127 |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
128 Version 3.96, 4.05: |
42
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
129 |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
130 Ok. |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
131 |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
132 |
53
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
133 1.6 slrn |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
134 -------- |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
135 |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
136 Version 0.9.5.2: |
42
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
137 |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
138 Ok. You can change some keybindings, by saving the following script to |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
139 ~/.slrn.sl and adding "interpret .slrn.sl" at the end of your |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
140 ~/.slrnrc |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
141 |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
142 % SLRN script for better interplay with NOFFLE news server. |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
143 % Redefines some keys for opening articles without modifying flags. |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
144 define my_article_linedn() |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
145 { |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
146 variable flags = get_header_flags(); |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
147 call ( "article_linedn" ); |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
148 set_header_flags( flags ); |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
149 } |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
150 define my_scroll_dn() |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
151 { |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
152 variable flags = get_header_flags(); |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
153 call ( "scroll_dn" ); |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
154 set_header_flags( flags ); |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
155 } |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
156 define my_hide_article() |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
157 { |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
158 variable flags = get_header_flags(); |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
159 call ( "hide_article" ); |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
160 set_header_flags( flags ); |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
161 } |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
162 definekey( "my_article_linedn", "\r", "article" ); |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
163 definekey( "my_scroll_dn", " ", "article" ); |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
164 definekey( "my_hide_article", "h", "article" ); |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
165 |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
166 |
53
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
167 1.7 tin |
42
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
168 ------- |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
169 |
53
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
170 Version tin pre: |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
171 |
42
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
172 Call with "tin -r" or "rtin". 'K' marks articles/thread as read |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
173 without opening them. '-' marks them as unread. |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
174 |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
175 |
53
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
176 1.8 Emacs Gnus |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
177 -------------- |
42
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
178 |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
179 Some versions of Gnus freeze up when retrieving active groups. Since |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
180 NOFFLE's log files in DEBUG mode show nothing unusual, I believe that |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
181 this is a bug in Gnus. Sometimes it helps to remove all ".newsrc" and |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
182 similar files on ones home directory and restarting Gnus. |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
183 |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
184 Here is a proposal for changing some key-bindings. |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
185 |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
186 ;; Customising Gnus for use with the NOFFLE news server |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
187 ;; |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
188 ;; tick and open article |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
189 ;; for reading/marking for download |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
190 ;; scroll article text circular |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
191 ;; for avoiding automatic opening of next article |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
192 ;; mark article as read and go to next line |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
193 (defun my-gnus-summary-tick-and-open(n) |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
194 "Tick and open article, so that NOFFLE marks it for download" |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
195 (interactive "p") |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
196 (gnus-summary-scroll-up n) |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
197 (gnus-summary-mark-article nil gnus-ticked-mark t) |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
198 ) |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
199 (defun my-gnus-summary-next-page(n) |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
200 "Next page of article, but do not open next article automatically" |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
201 (interactive "p") |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
202 (gnus-summary-next-page 10 t) ;; Call with argument `circular'. |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
203 ) |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
204 (defun my-gnus-summary-mark-read-next-line(n) |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
205 "Mark article as read and go to next line" |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
206 (interactive "p") |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
207 (gnus-summary-mark-article-as-read gnus-read-mark) |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
208 (next-line n) |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
209 ) |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
210 (defun my-gnus-summary-mode-hook () |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
211 (define-key gnus-summary-mode-map "\r" |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
212 'my-gnus-summary-tick-and-open) |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
213 (define-key gnus-summary-mode-map " " |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
214 'my-gnus-summary-next-page) |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
215 (define-key gnus-summary-mode-map "d" |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
216 'my-gnus-summary-mark-read-next-line) |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
217 ) |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
218 (add-hook 'gnus-summary-mode-hook 'my-gnus-summary-mode-hook) |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
219 |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
220 |
53
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
221 1.9 pan |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
222 ------- |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
223 |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
224 Version 0.8.0beta5: |
42
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
225 |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
226 Ok. |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
227 |
53
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
228 |
77 | 229 2. Using Noffle as a Mail-News Gateway |
230 -------------------------------------- | |
53
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
231 |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
232 In combination with procmail, Noffle can be used to gateway all |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
233 mails from a maillist to a local newsgroup. |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
234 This is convenient for filtering out maillists from your personal emails. |
77 | 235 The local group is created without postings allowed, |
236 so mails to the maillist must be sent by email. | |
237 This is not a big problem, since most newsreaders allow choosing between | |
238 a reply and a followup. | |
53
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
239 |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
240 2.1 Create a local group |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
241 ------------------------ |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
242 |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
243 Example: |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
244 |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
245 noffle --create local.mail-lists.my-maillist-name |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
246 noffle --modify post local.mail-lists.my-maillist-name n |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
247 |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
248 2.2 Create a mail2news script |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
249 ----------------------------- |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
250 |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
251 You need a program that reads an article from stdin and posts it to |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
252 the local group. E.g. the following Python script will post an article |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
253 read from stdin to the newsgroup given as the first argument: |
42
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
254 |
53
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
255 #!/usr/bin/python |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
256 # Post article from stdin to noffle in group given as first argument. |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
257 import StringIO, nntplib, os, sys |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
258 if len(sys.argv) != 2: raise Exception("Need group as argument") |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
259 grp = sys.argv[1] |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
260 buf = StringIO.StringIO() |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
261 buf.writelines("Newsgroups: " + grp + "\n") |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
262 buf.write(sys.stdin.read()) |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
263 buf.seek(0) |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
264 os.system("/usr/local/bin/noffle --modify post " + grp + " y") |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
265 srv = nntplib.NNTP("localhost") |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
266 srv.group(grp) |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
267 srv.post(buf) |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
268 srv.quit |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
269 os.system("/usr/local/bin/noffle --modify post " + grp + " n") |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
270 |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
271 2.3 Create an entry in .procmailrc |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
272 ---------------------------------- |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
273 |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
274 Add a procmail entry for recognizing mails from the maillist and |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
275 posting it using mail2news. |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
276 |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
277 Example of a ~/.procmailrc: |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
278 |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
279 PATH=/bin:/usr/bin |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
280 MAILDIR=$HOME/Mail |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
281 LOGFILE=$MAILDIR/procmail.log |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
282 |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
283 :0 |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
284 * ^To.*my-maillist-name@lists.somewhere.org |
77 | 285 |/usr/local/bin/mail2news local.mail-lists.my-maillist-name |