Mercurial > noffle
comparison docs/NOTES @ 53:9f3a4eccce32 noffle
[svn] Use numbers for sections. Added using Noffle as a maillist newsgroup gateway.
| author | enz |
|---|---|
| date | Mon, 08 May 2000 17:52:14 +0100 |
| parents | 32ba1198c6fa |
| children | 400ff41971ef |
comparison
equal
deleted
inserted
replaced
| 52:48b7f28c3189 | 53:9f3a4eccce32 |
|---|---|
| 1 | |
| 1 ------------------------------------------------------------------------------- | 2 ------------------------------------------------------------------------------- |
| 2 NOFFLE Compatibility Notes | 3 |
| 4 1. NOFFLE Compatibility Notes | |
| 5 | |
| 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.8 Emacs Gnus | |
| 13 | |
| 14 2. Using Noffle as a local maillist - news gateway | |
| 15 | |
| 16 2.1 Create a local group | |
| 17 2.2 Create a mail2news script | |
| 18 2.3 Create an entry in .procmailrc | |
| 19 | |
| 3 ------------------------------------------------------------------------------- | 20 ------------------------------------------------------------------------------- |
| 21 | |
| 22 | |
| 23 1.NOFFLE Compatibility Notes | |
| 24 ---------------------------- | |
| 25 | |
| 26 | |
| 27 1.1 General | |
| 28 ----------- | |
| 4 | 29 |
| 5 Subscribing to groups in "full" mode should work with any news reader. | 30 Subscribing to groups in "full" mode should work with any news reader. |
| 6 Caching of articles is unnecessary, since NOFFLE already caches them and | 31 Caching of articles is unnecessary, since NOFFLE already caches them and |
| 7 should be switched off. | 32 should be switched off. |
| 8 | 33 |
| 33 Please also send me a short mail, if you successfully used NOFFLE with a | 58 Please also send me a short mail, if you successfully used NOFFLE with a |
| 34 certain version of a news reader for a longer time, so that I can keep this | 59 certain version of a news reader for a longer time, so that I can keep this |
| 35 list up-to-date. | 60 list up-to-date. |
| 36 | 61 |
| 37 | 62 |
| 38 kexpress 0.2.0 | 63 1.2 kexpress |
| 39 -------------- | 64 ------------ |
| 65 | |
| 66 Version 0.2.0; | |
| 40 | 67 |
| 41 I found no way to disable caching, apart from writing a wrapper script, which | 68 I found no way to disable caching, apart from writing a wrapper script, which |
| 42 removes all files from the cache after terminating kexpress: | 69 removes all files from the cache after terminating kexpress: |
| 43 | 70 |
| 44 #!/bin/bash | 71 #!/bin/bash |
| 46 | 73 |
| 47 /opt/kde/bin/kexpress $@ | 74 /opt/kde/bin/kexpress $@ |
| 48 rm $HOME/.kde/share/apps/kexpress/data/* | 75 rm $HOME/.kde/share/apps/kexpress/data/* |
| 49 | 76 |
| 50 | 77 |
| 51 krn 0.4.0 | 78 1.3 krn |
| 52 --------- | 79 ------- |
| 80 | |
| 81 Version 0.4.0: | |
| 53 | 82 |
| 54 Set "Options/NNTP Options/Connect on Startup,Connect without asking" | 83 Set "Options/NNTP Options/Connect on Startup,Connect without asking" |
| 55 and "Options/Expire options/Article bodies/Read=0,UnRead=0" Sometimes | 84 and "Options/Expire options/Article bodies/Read=0,UnRead=0" Sometimes |
| 56 the article bodies remain in the cache, the following wrapper script helps: | 85 the article bodies remain in the cache, the following wrapper script helps: |
| 57 | 86 |
| 63 | 92 |
| 64 Articles can be marked as read/unread without opening with the middle mouse | 93 Articles can be marked as read/unread without opening with the middle mouse |
| 65 button. This version of krn is still unstable. | 94 button. This version of krn is still unstable. |
| 66 | 95 |
| 67 | 96 |
| 68 netscape 3.04 | 97 1.4 Netscape |
| 69 ------------- | 98 ------------- |
| 99 | |
| 100 Version 3.04: | |
| 70 | 101 |
| 71 No cache problems, netscape caches the article overviews, but not the | 102 No cache problems, netscape caches the article overviews, but not the |
| 72 bodies. It is best to use "Options/Show only Unread Messages" and to | 103 bodies. It is best to use "Options/Show only Unread Messages" and to |
| 73 keep requested articles in unread state until their bodies are | 104 keep requested articles in unread state until their bodies are |
| 74 downloaded. For avoiding unwanted opening of articles one should first | 105 downloaded. For avoiding unwanted opening of articles one should first |
| 75 "Message/Mark Newsgroup read", then open the wanted articles one by | 106 "Message/Mark Newsgroup read", then open the wanted articles one by |
| 76 one and mark them as unread again ("Message/Mark as Unread") | 107 one and mark them as unread again ("Message/Mark as Unread") |
| 77 immediately after opening. | 108 immediately after opening. |
| 78 | 109 |
| 79 | 110 |
| 80 netscape communicator 4.0.5 | 111 Version 4.0.5: |
| 81 --------------------------- | |
| 82 | 112 |
| 83 Same as with netscape 3.04, but automatically opens the first article | 113 Same as with netscape 3.04, but automatically opens the first article |
| 84 of a listed group and marks it for download thereby. If this bothers | 114 of a listed group and marks it for download thereby. If this bothers |
| 85 you, choose "View/Hide message". This version of netscape still seems | 115 you, choose "View/Hide message". This version of netscape still seems |
| 86 to be unstable for reading news. | 116 to be unstable for reading news. |
| 87 | 117 |
| 88 | 118 |
| 89 netscape communicator 4.5 | 119 Version 4.5: |
| 90 ------------------------- | |
| 91 | 120 |
| 92 As with 4.0.5 "View/Show/Message" can be used to switch off automatic | 121 As with 4.0.5 "View/Show/Message" can be used to switch off automatic |
| 93 message display (and marking for download). | 122 message display (and marking for download). |
| 94 | 123 |
| 95 | 124 |
| 96 pine 3.96, 4.05 | 125 1.5 pine |
| 97 --------------- | 126 -------- |
| 127 | |
| 128 Version 3.96, 4.05: | |
| 98 | 129 |
| 99 Ok. | 130 Ok. |
| 100 | 131 |
| 101 | 132 |
| 102 slrn 0.9.5.2 | 133 1.6 slrn |
| 103 ------------ | 134 -------- |
| 135 | |
| 136 Version 0.9.5.2: | |
| 104 | 137 |
| 105 Ok. You can change some keybindings, by saving the following script to | 138 Ok. You can change some keybindings, by saving the following script to |
| 106 ~/.slrn.sl and adding "interpret .slrn.sl" at the end of your | 139 ~/.slrn.sl and adding "interpret .slrn.sl" at the end of your |
| 107 ~/.slrnrc | 140 ~/.slrnrc |
| 108 | 141 |
| 129 definekey( "my_article_linedn", "\r", "article" ); | 162 definekey( "my_article_linedn", "\r", "article" ); |
| 130 definekey( "my_scroll_dn", " ", "article" ); | 163 definekey( "my_scroll_dn", " ", "article" ); |
| 131 definekey( "my_hide_article", "h", "article" ); | 164 definekey( "my_hide_article", "h", "article" ); |
| 132 | 165 |
| 133 | 166 |
| 134 tin pre | 167 1.7 tin |
| 135 ------- | 168 ------- |
| 169 | |
| 170 Version tin pre: | |
| 136 | 171 |
| 137 Call with "tin -r" or "rtin". 'K' marks articles/thread as read | 172 Call with "tin -r" or "rtin". 'K' marks articles/thread as read |
| 138 without opening them. '-' marks them as unread. | 173 without opening them. '-' marks them as unread. |
| 139 | 174 |
| 140 | 175 |
| 141 Emacs Gnus | 176 1.8 Emacs Gnus |
| 142 ---------- | 177 -------------- |
| 143 | 178 |
| 144 Some versions of Gnus freeze up when retrieving active groups. Since | 179 Some versions of Gnus freeze up when retrieving active groups. Since |
| 145 NOFFLE's log files in DEBUG mode show nothing unusual, I believe that | 180 NOFFLE's log files in DEBUG mode show nothing unusual, I believe that |
| 146 this is a bug in Gnus. Sometimes it helps to remove all ".newsrc" and | 181 this is a bug in Gnus. Sometimes it helps to remove all ".newsrc" and |
| 147 similar files on ones home directory and restarting Gnus. | 182 similar files on ones home directory and restarting Gnus. |
| 181 'my-gnus-summary-mark-read-next-line) | 216 'my-gnus-summary-mark-read-next-line) |
| 182 ) | 217 ) |
| 183 (add-hook 'gnus-summary-mode-hook 'my-gnus-summary-mode-hook) | 218 (add-hook 'gnus-summary-mode-hook 'my-gnus-summary-mode-hook) |
| 184 | 219 |
| 185 | 220 |
| 186 pan 0.8.0beta5 | 221 1.9 pan |
| 187 -------------- | 222 ------- |
| 223 | |
| 224 Version 0.8.0beta5: | |
| 188 | 225 |
| 189 Ok. | 226 Ok. |
| 190 | 227 |
| 191 -- | 228 |
| 192 Markus Enzenberger <markus.enzenberger@t-online.de> | 229 2. Using Noffle as a gateway between a maillist and a local group |
| 193 Last update: 5/2000 | 230 ----------------------------------------------------------------- |
| 194 | 231 |
| 232 In combination with procmail, Noffle can be used to gateway all | |
| 233 mails from a maillist to a local newsgroup. | |
| 234 This is convenient for filtering out maillists from your personal emails. | |
| 235 The local group is created with no posting allowed. | |
| 236 Instead, replies to the list should be sent by email. | |
| 237 | |
| 238 2.1 Create a local group | |
| 239 ------------------------ | |
| 240 | |
| 241 Example: | |
| 242 | |
| 243 noffle --create local.mail-lists.my-maillist-name | |
| 244 noffle --modify post local.mail-lists.my-maillist-name n | |
| 245 | |
| 246 2.2 Create a mail2news script | |
| 247 ----------------------------- | |
| 248 | |
| 249 You need a program that reads an article from stdin and posts it to | |
| 250 the local group. E.g. the following Python script will post an article | |
| 251 read from stdin to the newsgroup given as the first argument: | |
| 252 | |
| 253 #!/usr/bin/python | |
| 254 # Post article from stdin to noffle in group given as first argument. | |
| 255 import StringIO, nntplib, os, sys | |
| 256 if len(sys.argv) != 2: raise Exception("Need group as argument") | |
| 257 grp = sys.argv[1] | |
| 258 buf = StringIO.StringIO() | |
| 259 buf.writelines("Newsgroups: " + grp + "\n") | |
| 260 buf.write(sys.stdin.read()) | |
| 261 buf.seek(0) | |
| 262 os.system("/usr/local/bin/noffle --modify post " + grp + " y") | |
| 263 srv = nntplib.NNTP("localhost") | |
| 264 srv.group(grp) | |
| 265 srv.post(buf) | |
| 266 srv.quit | |
| 267 os.system("/usr/local/bin/noffle --modify post " + grp + " n") | |
| 268 | |
| 269 2.3 Create an entry in .procmailrc | |
| 270 ---------------------------------- | |
| 271 | |
| 272 Add a procmail entry for recognizing mails from the maillist and | |
| 273 posting it using mail2news. | |
| 274 | |
| 275 Example of a ~/.procmailrc: | |
| 276 | |
| 277 PATH=/bin:/usr/bin | |
| 278 MAILDIR=$HOME/Mail | |
| 279 LOGFILE=$MAILDIR/procmail.log | |
| 280 | |
| 281 :0 | |
| 282 * ^To.*my-maillist-name@lists.somewhere.org | |
| 283 |/home/user/bin/mail2news local.mail-lists.my-maillist-name |
