Mercurial > noffle
annotate docs/NOTES @ 81:8b4e3f9e9e4e noffle
[svn] Added trn, xrn, knews info
author | bears |
---|---|
date | Sun, 14 May 2000 17:13:21 +0100 |
parents | 400ff41971ef |
children | 651334f85995 |
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 |
81 | 6 1.1 General |
7 1.2 kexpress | |
8 1.3 krn | |
9 1.4 Netscape | |
10 1.5 pine | |
11 1.6 slrn | |
12 1.7 tin | |
13 1.8 Emacs Gnus | |
14 1.9 pan | |
15 1.10 trn | |
16 1.11 xrn | |
17 1.12 knews | |
53
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
18 |
77 | 19 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
|
20 |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
21 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
|
22 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
|
23 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
|
24 |
42
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
25 ------------------------------------------------------------------------------- |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
26 |
53
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
27 |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
28 1.NOFFLE Compatibility Notes |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
29 ---------------------------- |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
30 |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
31 |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
32 1.1 General |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
33 ----------- |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
34 |
42
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
35 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
|
36 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
|
37 should be switched off. |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
38 |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
39 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
|
40 news reader program: |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
41 |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
42 * 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
|
43 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
|
44 "marked for download" to the real body. |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
45 |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
46 * 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
|
47 mark them unwantedly for download. |
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 |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
50 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
|
51 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
|
52 mode. |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
53 |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
54 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
|
55 compile NOFFLE with |
32ba1198c6fa
[svn] * Makefile.in, configure, configure.in, docs/Makefile.in, src/Makefile.in:
uh1763
parents:
42
diff
changeset
|
56 |
32ba1198c6fa
[svn] * Makefile.in, configure, configure.in, docs/Makefile.in, src/Makefile.in:
uh1763
parents:
42
diff
changeset
|
57 ./configure --enable-debug |
32ba1198c6fa
[svn] * Makefile.in, configure, configure.in, docs/Makefile.in, src/Makefile.in:
uh1763
parents:
42
diff
changeset
|
58 make |
32ba1198c6fa
[svn] * Makefile.in, configure, configure.in, docs/Makefile.in, src/Makefile.in:
uh1763
parents:
42
diff
changeset
|
59 make install |
32ba1198c6fa
[svn] * Makefile.in, configure, configure.in, docs/Makefile.in, src/Makefile.in:
uh1763
parents:
42
diff
changeset
|
60 |
32ba1198c6fa
[svn] * Makefile.in, configure, configure.in, docs/Makefile.in, src/Makefile.in:
uh1763
parents:
42
diff
changeset
|
61 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
|
62 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
|
63 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
|
64 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
|
65 list up-to-date. |
42
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
66 |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
67 |
53
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
68 1.2 kexpress |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
69 ------------ |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
70 |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
71 Version 0.2.0; |
42
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
72 |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
73 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
|
74 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
|
75 |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
76 #!/bin/bash |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
77 # kexpress wrapper, save as /usr/local/bin/kexpress |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
78 |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
79 /opt/kde/bin/kexpress $@ |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
80 rm $HOME/.kde/share/apps/kexpress/data/* |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
81 |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
82 |
53
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
83 1.3 krn |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
84 ------- |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
85 |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
86 Version 0.4.0: |
42
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
87 |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
88 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
|
89 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
|
90 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
|
91 |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
92 #!/bin/bash |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
93 # krn wrapper, save as /usr/local/bin/krn |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
94 |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
95 /opt/kde/bin/krn $@ |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
96 rm $HOME/.kde/share/apps/krn/cache/* |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
97 |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
98 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
|
99 button. This version of krn is still unstable. |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
100 |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
101 |
53
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
102 1.4 Netscape |
42
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
103 ------------- |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
104 |
53
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
105 Version 3.04: |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
106 |
42
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
107 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
|
108 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
|
109 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
|
110 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
|
111 "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
|
112 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
|
113 immediately after opening. |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
114 |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
115 |
53
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
116 Version 4.0.5: |
42
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 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
|
119 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
|
120 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
|
121 to be unstable for reading news. |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
122 |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
123 |
53
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
124 Version 4.5: |
42
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
125 |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
126 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
|
127 message display (and marking for download). |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
128 |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
129 |
53
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
130 1.5 pine |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
131 -------- |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
132 |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
133 Version 3.96, 4.05: |
42
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
134 |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
135 Ok. |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
136 |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
137 |
53
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
138 1.6 slrn |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
139 -------- |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
140 |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
141 Version 0.9.5.2: |
42
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
142 |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
143 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
|
144 ~/.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
|
145 ~/.slrnrc |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
146 |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
147 % 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
|
148 % 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
|
149 define my_article_linedn() |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
150 { |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
151 variable flags = get_header_flags(); |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
152 call ( "article_linedn" ); |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
153 set_header_flags( flags ); |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
154 } |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
155 define my_scroll_dn() |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
156 { |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
157 variable flags = get_header_flags(); |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
158 call ( "scroll_dn" ); |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
159 set_header_flags( flags ); |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
160 } |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
161 define my_hide_article() |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
162 { |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
163 variable flags = get_header_flags(); |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
164 call ( "hide_article" ); |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
165 set_header_flags( flags ); |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
166 } |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
167 definekey( "my_article_linedn", "\r", "article" ); |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
168 definekey( "my_scroll_dn", " ", "article" ); |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
169 definekey( "my_hide_article", "h", "article" ); |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
170 |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
171 |
53
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
172 1.7 tin |
42
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
173 ------- |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
174 |
53
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
175 Version tin pre: |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
176 |
42
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
177 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
|
178 without opening them. '-' marks them as unread. |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
179 |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
180 |
53
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
181 1.8 Emacs Gnus |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
182 -------------- |
42
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 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
|
185 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
|
186 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
|
187 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
|
188 |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
189 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
|
190 |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
191 ;; 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
|
192 ;; |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
193 ;; tick and open article |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
194 ;; for reading/marking for download |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
195 ;; scroll article text circular |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
196 ;; for avoiding automatic opening of next article |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
197 ;; 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
|
198 (defun my-gnus-summary-tick-and-open(n) |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
199 "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
|
200 (interactive "p") |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
201 (gnus-summary-scroll-up n) |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
202 (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
|
203 ) |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
204 (defun my-gnus-summary-next-page(n) |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
205 "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
|
206 (interactive "p") |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
207 (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
|
208 ) |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
209 (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
|
210 "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
|
211 (interactive "p") |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
212 (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
|
213 (next-line n) |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
214 ) |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
215 (defun my-gnus-summary-mode-hook () |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
216 (define-key gnus-summary-mode-map "\r" |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
217 'my-gnus-summary-tick-and-open) |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
218 (define-key gnus-summary-mode-map " " |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
219 'my-gnus-summary-next-page) |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
220 (define-key gnus-summary-mode-map "d" |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
221 'my-gnus-summary-mark-read-next-line) |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
222 ) |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
223 (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
|
224 |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
225 |
53
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
226 1.9 pan |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
227 ------- |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
228 |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
229 Version 0.8.0beta5: |
42
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
230 |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
231 Ok. |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
232 |
53
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
233 |
81 | 234 1.10 trn |
235 -------- | |
236 | |
237 Version 3.6: | |
238 | |
239 Ok. Use 'm' to mark an article unread. 'J' (junk) marks an entire thread | |
240 as read without examining the rest of the articles in the thread. | |
241 | |
242 | |
243 1.11 xrn | |
244 -------- | |
245 | |
246 Version 9.01: | |
247 | |
248 There does not appear to be away to stop the body of the first unread | |
249 article in the group from being displayed. Otherwise Ok. | |
250 | |
251 | |
252 1.12 knews | |
253 ---------- | |
254 | |
255 Version 1.0b.0: | |
256 | |
257 knews issues NEWNEWS with a non-compliant 7 digit date field (Y2K bug?). | |
258 It will not see new newsgroups as they appear. knews also regards articles | |
259 existing in a group when it joins as read, which makes it a bit tricky | |
260 reading the subscription trigger message - try the 'All threads' button. | |
261 Apart from that, it does not seem to cache article content other than the | |
262 current article, and that is re-read if you click on it in the thread | |
263 window. | |
264 | |
265 | |
77 | 266 2. Using Noffle as a Mail-News Gateway |
267 -------------------------------------- | |
53
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
268 |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
269 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
|
270 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
|
271 This is convenient for filtering out maillists from your personal emails. |
77 | 272 The local group is created without postings allowed, |
273 so mails to the maillist must be sent by email. | |
274 This is not a big problem, since most newsreaders allow choosing between | |
275 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
|
276 |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
277 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
|
278 ------------------------ |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
279 |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
280 Example: |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
281 |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
282 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
|
283 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
|
284 |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
285 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
|
286 ----------------------------- |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
287 |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
288 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
|
289 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
|
290 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
|
291 |
53
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
292 #!/usr/bin/python |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
293 # 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
|
294 import StringIO, nntplib, os, sys |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
295 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
|
296 grp = sys.argv[1] |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
297 buf = StringIO.StringIO() |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
298 buf.writelines("Newsgroups: " + grp + "\n") |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
299 buf.write(sys.stdin.read()) |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
300 buf.seek(0) |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
301 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
|
302 srv = nntplib.NNTP("localhost") |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
303 srv.group(grp) |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
304 srv.post(buf) |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
305 srv.quit |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
306 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
|
307 |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
308 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
|
309 ---------------------------------- |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
310 |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
311 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
|
312 posting it using mail2news. |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
313 |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
314 Example of a ~/.procmailrc: |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
315 |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
316 PATH=/bin:/usr/bin |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
317 MAILDIR=$HOME/Mail |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
318 LOGFILE=$MAILDIR/procmail.log |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
319 |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
320 :0 |
9f3a4eccce32
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
enz
parents:
45
diff
changeset
|
321 * ^To.*my-maillist-name@lists.somewhere.org |
77 | 322 |/usr/local/bin/mail2news local.mail-lists.my-maillist-name |