Thread View: news.software.readers
8 messages
8 total messages
Started by andrew
Sun, 08 Apr 2012 07:53
[slrn] Development on the move again.....
Author: andrew
Date: Sun, 08 Apr 2012 07:53
Date: Sun, 08 Apr 2012 07:53
17 lines
1592 bytes
1592 bytes
Hi, slrn development is on the move again from JED's git repository. Details are here: http://www.slrn.org/download.html#git But the short version may be enough for most people: git clone git://git.jedsoft.org/git/slrn.git Very exciting to see slrn once again on the move, thanks again to JED for all of his hard work :). Andrew -- Do you think that's air you're breathing?
Re: [slrn] Development on the move again.....
Author: John E. Davis
Date: Sun, 08 Apr 2012 16:16
Date: Sun, 08 Apr 2012 16:16
56 lines
3924 bytes
3924 bytes
On Sun, 08 Apr 2012 17:53:45 +1000, andrew <andrew@skamandros.invalid>
> slrn development is on the move again from JED's git repository. Details
> are here:
>
> http://www.slrn.org/download.html#git
In particular, read the changes.txt file in the distribution to see
what is new/different. The main new thing is support for multipart
mime messages, which allows the user to save/view user-selected parts
of such messages. The interface probably needs to be hammered out a
bit before I make it part of the default setting. At the moment, you
have to add something like:
#v+
interpret "mime.sl"
setkey article "mime_browse" "v"
#v-
to your .slrnrc file. I personally use:
#v+
set macro_directory "lib/slrn"
interpret "myslrn.sl"
#v-
where $HOME/lib/slrn/myslrn.sl contains, among other things,
#v+
require ("mime");
() = register_hook ("read_article_hook", &mime_process_multipart);
definekey ("mime_browse", "v", "article");
#v-
The mime_process_multipart hook will get invoked after the article has
been read from the server. It replaces a multipart MIME message by
the first text/plain portion that it finds, and prints a small message
at the bottom of the display summarizing what is in it, e.g.,
#v+
MIME multipart/mixed [1 non-text, 2 text (0 html)]
#v-
The "mime_browse" function will allow other parts to be accessed via a
popup window such as:
#v+
┌──────────────────────────────────────────────────────┐
│ Browse Mime │
│ │
│ 0 text/plain | us-ascii| │
│ 1 app/pdf | | xap_bayes_2012.pdf │
│ 2 text/plain | us-ascii| │
│ 3 View full message with all parts │
│ │
│ (Select One) │
└──────────────────────────────────────────────────────┘
#v-
(The above looks ok in my editor, and hopefully ok in slrn after
posting).
>From there a selected piece can either be viewed (using an external
viewer from the mailcap file), or saved.
Thanks,
--John
Re: [slrn] Development on the move again.....
Author: Rockinghorse Winner
Date: Sun, 08 Apr 2012 23:06
Date: Sun, 08 Apr 2012 23:06
68 lines
4256 bytes
4256 bytes
* It may have been the liquor talking, but
John E. Davis <jed@jedsoft.org> wrote:
> On Sun, 08 Apr 2012 17:53:45 +1000, andrew <andrew@skamandros.invalid>
>> slrn development is on the move again from JED's git repository. Details
>> are here:
>>
>> http://www.slrn.org/download.html#git
>
> In particular, read the changes.txt file in the distribution to see
> what is new/different. The main new thing is support for multipart
> mime messages, which allows the user to save/view user-selected parts
> of such messages. The interface probably needs to be hammered out a
> bit before I make it part of the default setting. At the moment, you
> have to add something like:
> #v+
> interpret "mime.sl"
> setkey article "mime_browse" "v"
> #v-
> to your .slrnrc file. I personally use:
> #v+
> set macro_directory "lib/slrn"
> interpret "myslrn.sl"
> #v-
> where $HOME/lib/slrn/myslrn.sl contains, among other things,
> #v+
> require ("mime");
> () = register_hook ("read_article_hook", &mime_process_multipart);
> definekey ("mime_browse", "v", "article");
> #v-
> The mime_process_multipart hook will get invoked after the article has
> been read from the server. It replaces a multipart MIME message by
> the first text/plain portion that it finds, and prints a small message
> at the bottom of the display summarizing what is in it, e.g.,
> #v+
> MIME multipart/mixed [1 non-text, 2 text (0 html)]
> #v-
> The "mime_browse" function will allow other parts to be accessed via a
> popup window such as:
> #v+
> ????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????
> ??? Browse Mime ???
> ??? ???
> ??? 0 text/plain | us-ascii| ???
> ??? 1 app/pdf | | xap_bayes_2012.pdf ???
> ??? 2 text/plain | us-ascii| ???
> ??? 3 View full message with all parts ???
> ??? ???
> ??? (Select One) ???
> ????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????
> #v-
> (The above looks ok in my editor, and hopefully ok in slrn after
> posting).
>
> From there a selected piece can either be viewed (using an external
> viewer from the mailcap file), or saved.
>
> Thanks,
> --John
Interesting, John. This looks similar to how mutt handles such things.
Terry
--
"There are two means of refuge from the miseries of life: music and cats."
-Albert Schweitzer
badass linux - gentoo 3.1.6
Re: [slrn] Development on the move again.....
Author: Peter J Ross
Date: Thu, 12 Apr 2012 21:50
Date: Thu, 12 Apr 2012 21:50
25 lines
1924 bytes
1924 bytes
In news.software.readers on Sun, 08 Apr 2012 17:53:45 +1000, andrew
<andrew@skamandros.invalid> wrote:
> Hi,
>
> slrn development is on the move again from JED's git repository. Details
> are here:
>
> http://www.slrn.org/download.html#git
>
> But the short version may be enough for most people:
>
> git clone git://git.jedsoft.org/git/slrn.git
>
> Very exciting to see slrn once again on the move, thanks again to JED
> for all of his hard work :).
Excellent!
--
PJR :-) | οἵη περ φύλλων γενεὴ, τοίη δὲ καὶ ἀνδρῶν.
| φύλλα τὰ μέν τ' ἄνεμος χαμάδις χέει, ἄλλα δέ θ' ὕλη
| τηλεθόωσα φύει, ἔαρος δ' ἐπιγίγνεται ὥρη·
| ὣς ἀνδρῶν γενεὴ ἡ μὲν φύει ἡ δ' ἀπολήγει. (Homer)
Re: [slrn] Development on the move again.....
Author: Peter J Ross
Date: Thu, 12 Apr 2012 21:58
Date: Thu, 12 Apr 2012 21:58
32 lines
2830 bytes
2830 bytes
In news.software.readers on Sun, 8 Apr 2012 16:16:32 +0000 (UTC), John
E. Davis <jed@jedsoft.org> wrote:
> ┌──────────────────────────────────────────────────────┐
> │ Browse Mime │
> │ │
> │ 0 text/plain | us-ascii| │
> │ 1 app/pdf | | xap_bayes_2012.pdf │
> │ 2 text/plain | us-ascii| │
> │ 3 View full message with all parts │
> │ │
> │ (Select One) │
> └──────────────────────────────────────────────────────┘
> (The above looks ok in my editor, and hopefully ok in slrn after
> posting).
It looks good both in slrn and vi. I notice that the lines are
converted to question marks in Rockinghorse Winner's reply to your
post, but that might be a result of conservative configuration
settings.
Hurrah for resumed slrn development!
--
PJR :-) | οἵη περ φύλλων γενεὴ, τοίη δὲ καὶ ἀνδρῶν.
| φύλλα τὰ μέν τ' ἄνεμος χαμάδις χέει, ἄλλα δέ θ' ὕλη
| τηλεθόωσα φύει, ἔαρος δ' ἐπιγίγνεται ὥρη·
| ὣς ἀνδρῶν γενεὴ ἡ μὲν φύει ἡ δ' ἀπολήγει. (Homer)
Re: [slrn] Development on the move again.....
Author: Peter J Ross
Date: Thu, 12 Apr 2012 22:01
Date: Thu, 12 Apr 2012 22:01
35 lines
2805 bytes
2805 bytes
In news.software.readers on Sun, 8 Apr 2012 16:06:33 -0700,
Rockinghorse Winner <badass.superman@gmx.com> wrote:
<...>
>> ????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????
>> ??? Browse Mime ???
>> ??? ???
>> ??? 0 text/plain | us-ascii| ???
>> ??? 1 app/pdf | | xap_bayes_2012.pdf ???
>> ??? 2 text/plain | us-ascii| ???
>> ??? 3 View full message with all parts ???
>> ??? ???
>> ??? (Select One) ???
>> ????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????
<...>
Hmmm.
User-Agent: slrn/0.9.9p1 (Linux)
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Do you have something in your .slrnrc that has changed JED's neat
line-drawing into thousands of "?"s?
--
PJR :-) | οἵη περ φύλλων γενεὴ, τοίη δὲ καὶ ἀνδρῶν.
| φύλλα τὰ μέν τ' ἄνεμος χαμάδις χέει, ἄλλα δέ θ' ὕλη
| τηλεθόωσα φύει, ἔαρος δ' ἐπιγίγνεται ὥρη·
| ὣς ἀνδρῶν γενεὴ ἡ μὲν φύει ἡ δ' ἀπολήγει. (Homer)
Re: [slrn] Development on the move again.....
Author: Robert Grimm
Date: Thu, 10 May 2012 09:12
Date: Thu, 10 May 2012 09:12
49 lines
2841 bytes
2841 bytes
John E. Davis <jed@jedsoft.org> wrote:
> In particular, read the changes.txt file in the distribution to see
> what is new/different. The main new thing is support for multipart
> mime messages, which allows the user to save/view user-selected parts
> of such messages. The interface probably needs to be hammered out a
> bit before I make it part of the default setting. At the moment, you
> have to add something like:
> interpret "mime.sl"
Apparently that won't work with "S-Lang Library Version: 2.2.2"?
#v+
[rob@news:~]$ slrn --version
slrn pre1.0.0-40
* Note: This version is a developer preview.
S-Lang Library Version: 2.2.2
Compiled on: Apr 16 2012 11:19:46
Operating System: Linux/3.3.5-smp i686
COMPILE TIME OPTIONS:
Backends: +nntp +slrnpull +spool
External programs / libs: +canlock +inews -ssl +uudeview +iconv
Features: +decoding +emphasized_text +end_of_thread +fake_refs +gen_msgid
-grouplens -msgid_cache +piping +rnlock +spoilers -strict_from
Using 64 bit integers for article numbers.
DEFAULTS:
Default server object: nntp
Default posting mechanism: nntp
[rob@news:~]$ slrn
slrn pre1.0.0-40
Loading /usr/share/slrn/slang/slrn.sl
Reading startup file /etc/news/slrn.rc.
Reading startup file /home/rob/News/slrn/.slrnrc.
Loading /usr/share/slrn/slang/mime.sl
is_substrbytes is undefined
/usr/share/slrn/slang/mime.sl:81:<top-level>:Undefined Name
slrn fatal error:
/home/rob/News/slrn/.slrnrc: Error encountered processing line 400
interpret mime.sl
#v-
Works fine on systems with 2.2.4, though.
Rob
--
A right is not what someone gives you;
it's what no one can take from you.
-- Ramsey Clark
Re: [slrn] Development on the move again.....
Author: Whiskers
Date: Wed, 16 May 2012 22:12
Date: Wed, 16 May 2012 22:12
41 lines
2686 bytes
2686 bytes
On 2012-04-08, John E. Davis <jed@jedsoft.org> wrote:
> On Sun, 08 Apr 2012 17:53:45 +1000, andrew <andrew@skamandros.invalid>
>> slrn development is on the move again from JED's git repository. Details
>> are here:
>>
>> http://www.slrn.org/download.html#git
>
> In particular, read the changes.txt file in the distribution to see
> what is new/different. The main new thing is support for multipart
> mime messages, which allows the user to save/view user-selected parts
> of such messages. The interface probably needs to be hammered out a
> bit before I make it part of the default setting. At the moment, you
> have to add something like:
> #v+
> interpret "mime.sl"
> setkey article "mime_browse" "v"
> #v-
> to your .slrnrc file. I personally use:
> #v+
> set macro_directory "lib/slrn"
> interpret "myslrn.sl"
> #v-
> where $HOME/lib/slrn/myslrn.sl contains, among other things,
> #v+
> require ("mime");
> () = register_hook ("read_article_hook", &mime_process_multipart);
> definekey ("mime_browse", "v", "article");
> #v-
[...]
As v is already defined to list the score-file entries which apply to
the current article, I've used V instead ;))
I like the new features; thanks! :)) (Now to find posts on which I can
try them out ...)
--
-- ^^^^^^^^^^
-- Whiskers
-- ~~~~~~~~~~
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads