🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
22 messages
22 total messages Started by raf Mon, 13 Dec 1999 00:00
Crossposting
#55217
Author: raf
Date: Mon, 13 Dec 1999 00:00
4 lines
789 bytes
Is there a setting in slrn that warns/prompts you that you are posting to more
than 1 group.  I'm sorry if I posted to the wrong group.

Re: Crossposting
#55238
Author: Felix Schueller
Date: Tue, 14 Dec 1999 00:00
12 lines
1092 bytes
Am Mon, 13 Dec 1999 sendete raf folgende Botschaft:

>Is there a setting in slrn that warns/prompts you that you are posting to more
>than 1 group.  I'm sorry if I posted to the wrong group.

Get the patch "patch_followup_support_0.9.5.7.diff" from
http://www.netcologne.de/~nc-schuelfe/slrn/patches/

HTH & Cu
  Felix

slrn crossposting
#55243
Author: Dawn Owens-Nicholson
Date: Tue, 14 Dec 1999 00:00
11 lines
1197 bytes
Felix Schueller wrote:
> Get the patch "patch_followup_support_0.9.5.7.diff" from
> http://www.netcologne.de/~nc-schuelfe/slrn/patches/

With the exception of the colorize and clock patches, I don't understand why
these weren't done with macros.  The clock strikes (pun intended) me as
odd--how about a clock on the wall or a clock application?  The colorize
scores seems okay (I haven't used slrn in color in so long I'd have to play
with it to be sure).

Re: Crossposting
#55282
Author: Sylvan Butler
Date: Tue, 14 Dec 1999 00:00
28 lines
2137 bytes
On Mon, 13 Dec 1999 20:01:49 GMT, raf <raf@yeayea.com> wrote:
>Is there a setting in slrn that warns/prompts you that you are posting to more
>than 1 group.  I'm sorry if I posted to the wrong group.

That might be a good option...  But instead of a "warning on/off" setting
I'd suggest a "crosspost warning 0,1+" setting where "0" disables the
warning, otherwise it warns if crossposting to more than "n" groups.

I'd normally have mine set to three, maybe four.  I usually notice, but
sometimes I don't...  Especially if the "references:" header line is
also very long.

Another nice warning/setting would allow specification of a list of
newsgroups.  Any post or crosspost to any of the listed group(s) would
generate the warning.

In both cases the warning would be generated after editing the message
in case the user modifies the "newsgroups:" header.

sdb
-- 
 | Sylvan Butler | Not speaking for Hewlett-Packard | sbutler-boi.hp.com |
 | Watch out for my e-mail address. Thank UCE.   #### change ^ to @ #### |
    They that can give up essential liberty to obtain a little temporary
    safety deserve neither liberty nor safety. --Benjamin Franklin, 1759
 "Don't Tread On Me!"

Re: Crossposting
#55323
Author: raf
Date: Tue, 14 Dec 1999 00:00
15 lines
1188 bytes
On 14 Dec 1999 18:51:14 GMT, Felix Schueller wrote:
>Am Mon, 13 Dec 1999 sendete raf folgende Botschaft:
>
>>Is there a setting in slrn that warns/prompts you that you are posting to more
>>than 1 group.  I'm sorry if I posted to the wrong group.
>
>Get the patch "patch_followup_support_0.9.5.7.diff" from
>http://www.netcologne.de/~nc-schuelfe/slrn/patches/
>
>HTH & Cu
>  Felix

How would I install this patch?

[slrn] Patches and macros
#55438
Author: Dawn Owens-Nicholson
Date: Fri, 17 Dec 1999 00:00
11 lines
1266 bytes
Felix Schueller wrote:
> Why should it? C is much nicer.

Because C code can't be loaded based on need (autoloaded), it's always
loaded and using memory whether I use the functionality or not that session.
S-Lang code also stands a greater chance of being able to be autounloaded at
some point in the future--new intrinsics (by definition) won't be.  Because
one should choose the language based on the task at hand, not on a
subjective measure of niceness (whatever that means).

Re: slrn crossposting
#55446
Author: Felix Schueller
Date: Fri, 17 Dec 1999 00:00
23 lines
1447 bytes
Am Tue, 14 Dec 1999 sendete Dawn Owens-Nicholson folgende Botschaft:

>> Get the patch "patch_followup_support_0.9.5.7.diff" from
>> http://www.netcologne.de/~nc-schuelfe/slrn/patches/
>With the exception of the colorize and clock patches, I don't understand why
>these weren't done with macros.

Why should it? C is much nicer.

>The clock strikes (pun intended) me as
>odd--how about a clock on the wall

I have three clocks (on VCR and so on) in my room but sitting here and
read news i can't see one.

>or a clock application?

I'm too lazy too switch on another tty ;)

Cu
  Felix

Re: Crossposting
#55447
Author: Felix Schueller
Date: Fri, 17 Dec 1999 00:00
17 lines
1417 bytes
Am Tue, 14 Dec 1999 sendete raf folgende Botschaft:

>>Get the patch "patch_followup_support_0.9.5.7.diff" from
>>http://www.netcologne.de/~nc-schuelfe/slrn/patches/
>How would I install this patch?

Get slrn's sourcen from ftp://space.mit.edu/~davis/slrn extract it cd to
the source-directory run 'patch -p1 </path/to/the/patch' and then follow
the instructions at INSTALL.

If you have questions just ask I'm not a good "teacher" but if if you
discribe youre problme im sure that i can help. Fup2 poster is set.

Cu
  Felix

Re: Crossposting
#55458
Author: raf
Date: Fri, 17 Dec 1999 00:00
16 lines
1360 bytes
On 17 Dec 1999 19:30:16 GMT, Felix Schueller wrote:
>
>Get slrn's sourcen from ftp://space.mit.edu/~davis/slrn extract it cd to
>the source-directory run 'patch -p1 </path/to/the/patch' and then follow
>the instructions at INSTALL.
>
>If you have questions just ask I'm not a good "teacher" but if if you
>discribe youre problme im sure that i can help. Fup2 poster is set.
>
>Cu
>  Felix

I can't seem to access that site.  I'm getting "Remote server of file not
found.

Re: slrn crossposting
#55566
Author: Thomas Schultz
Date: Sun, 19 Dec 1999 00:00
26 lines
2005 bytes
On 14 December 1999, Dawn Owens-Nicholson <bluemoon@ux6.cso.uiuc.edu> wrote:

> Felix Schueller wrote:
>> Get the patch "patch_followup_support_0.9.5.7.diff" from
>> http://www.netcologne.de/~nc-schuelfe/slrn/patches/
> With the exception of the colorize and clock patches, I don't
> understand why these weren't done with macros. [...]

I tried to implement "followup_support" and "subject_strip_was" using
macros before Felix wrote his patches. As I didn't succeed, I would be
interested in how it could have been done.

Both features will change header fields ("Newsgroups:" and "Subject:",
respectively) in followups. I was able to extract them using
extract_article_header(), but I could not find a way to override them
in followups. I also tried to invoke system("sed") on '~/.followup' in
followup_hook(), but found out that the hook is executed before the
file is written (using post_filter_hook() is not an option as the
changes have to be made before the editor is launched). This solution
would also have been much slower than Felix' patch and would have
introduced the risk of certain errors which Felix' patch doesn't.
-- 
Kind regards,
    Thomas Schultz

Re: slrn crossposting
#55608
Author: John E. Davis
Date: Mon, 20 Dec 1999 00:00
15 lines
1701 bytes
On 20 Dec 1999 05:29:18 GMT, Dawn Owens-Nicholson <bluemoon@ux6.cso.uiuc.edu>
wrote:
>It's simple to do, like you say, but is there some chance it would be a
>slrn-only thing?  I get the impression it's something someone else has
>already solved in a way that's also easy to understand, scan for and type.
>Is there something gnus can do like this we can quickly pilfer?

I am not aware of any such convention in any newsreader.  If there is
none, I may just go ahead and implement it.  It would have no impact
upon the clarity of the message by those using newsreaders that do not
implement it.

--John

Re: slrn crossposting
#55619
Author: Dawn Owens-Nicholson
Date: Mon, 20 Dec 1999 00:00
43 lines
3277 bytes
Thomas Schultz wrote:
> I tried to implement "followup_support" and "subject_strip_was" using
> macros before Felix wrote his patches. As I didn't succeed, I would be
> interested in how it could have been done.

I will look into that more closely a little later--however two things frame
the discussion in broader terms: why are people producing patches to make
specific functions instead of new hooks?  A new hook would open up a whole
new area of functionality whereas patches only expand slrn to offer a single
feature (a feature which one may not want at all, let alone wanting it
loaded all the time).  I'm not against patching in things that open up slrn
to do more things with macros (like the things you did with patches) because
macros offer a high degree of customizability.

Consider the new built-in feature of parsing (what I've heard called)
proletext (textual markup for the proletariat, I suppose) which lets you see
*bold here* among other things.  I thought it would be nice to see this too
and I started working on a macro to do it.  The next version of slrn comes
out and offers it intrinsically.  This saves me time and effort but not
without some features I had been working on in my version. Unfortunately I
see no way to turn it off for some groups where it is likely to fail (source
code groups, for instance) or on certain lines of certain articles (scanning
for telltale signs of code like "-*- slang -*-").  These things are possible
with intrinsic code, of course, but they're less likely to be customizable.
None of this precludes me from continuing my version, but the point about
whether this was a good thing to build into slrn remains.

> This solution would also have been much slower than Felix' patch and would
> have introduced the risk of certain errors which Felix' patch doesn't.

Requiring sed for such a small job is clearly unportable and overkill.  But
the speed issue is the other overplayed issue I've heard before--I have yet
to see anyone's macros (including long ones I've written or seen) adversely
affect slrn's execution speed to the point where it justifies altering
slrn's C code.  Most things people want to do with slrn are not
time-intensive operations.

All that said, I want to make it clear I'm not against patching slrn to do
other things.  I benefit from such changes; I would like to see more people
proposing or patching hooks or scalable extensions other people can use
later for other things.

Re: slrn crossposting
#55628
Author: Dawn Owens-Nicholson
Date: Mon, 20 Dec 1999 00:00
16 lines
1514 bytes
John E. Davis wrote:
> It can be turned off on a group-by-group basis via [...]

Ah, of course.  I don't know why I didn't think of this when I was typing. I
even have emphasized_text_mode set to 3 right now.

> I thought about creating some sort of convention for source code in
> messages that a newsreader can easily recognise and not interpret
> otherwise.

It's simple to do, like you say, but is there some chance it would be a
slrn-only thing?  I get the impression it's something someone else has
already solved in a way that's also easy to understand, scan for and type.
Is there something gnus can do like this we can quickly pilfer?

Re: slrn crossposting
#55638
Author: John E. Davis
Date: Mon, 20 Dec 1999 00:00
36 lines
2106 bytes
On 20 Dec 1999 01:30:25 GMT, Dawn Owens-Nicholson <bluemoon@ux6.cso.uiuc.edu>
wrote:
>without some features I had been working on in my version. Unfortunately I
>see no way to turn it off for some groups where it is likely to fail (source

It can be turned off on a group-by-group basis via 

define article_mode_hook ()
{
   if (current_newsgroup () == WHATEVER)    
     set_integer_variable ("emphasized_text_mode", 0);
   else
     set_integer_variable ("emphasized_text_mode", 3);
}

I thought about creating some sort of convention for source code in
messages that a newsreader can easily recognise and not interpret
otherwise.  For example, a signature is denoted with with the string
"-- ".  Why not something similar for source code?  Specifically, I
entertained the idea of allowing "#v+" start a source code section and
"#v-" end it, e.g.,
#v+
     defined article_mode_hook () 
     % whatever
#v-
This has the advantage of being extremely simple to implement and easy
for the person composing the message.  Moreover, I like it much better
than a more complex form of markup such as <code> ... </code> or
wrapping it up in a section surrounded by MIME headers.

Any thoughts on this?

Thanks,
--John

Re: slrn crossposting
#55704
Author: Thomas Schultz
Date: Tue, 21 Dec 1999 00:00
66 lines
4002 bytes
On 20 December 1999, Dawn Owens-Nicholson <bluemoon@ux6.cso.uiuc.edu> wrote:

> I will look into that more closely a little later--however two things
> frame the discussion in broader terms: why are people producing
> patches to make specific functions instead of new hooks?

To return from "broader terms" to this specific case: Because the
removal of an old subject (marked by "(was:...") is a basic function
of a newsreader. I believe it is even suggested by some RFC (most
probably son-of-RFC 1036, but I'm too tired to look it up right now).
The user should now have to get and load a macro to do this.

> A new hook would open up a whole new area of functionality whereas
> patches only expand slrn to offer a single feature (a feature which
> one may not want at all, let alone wanting it loaded all the time).

This should not be a problem in this case. Felix added a variable to
switch the feature off and I do not think that the memory "wasted" by
the one-liner
if ((was = strstr(subject, "(was:")) != NULL ) was[0] = '\0';
is really a problem for you.

> I'm not against patching in things that open up slrn to do more
> things with macros (like the things you did with patches) because
> macros offer a high degree of customizability.

I really like macros and I sometimes write them for people in
de.comm.software.newsreader who are missing more or less exotic
features in slrn they have seen elsewhere. However, I believe that
there are also things that should be done with patches, because they
are such basic features that everybody should have them or because the
interface one would need to do them with macros would be so specific
that it is much more efficient to do them directly in C.

> Consider the new built-in feature of parsing (what I've heard called)
> proletext (textual markup for the proletariat, I suppose) which lets
> you see *bold here* among other things. [...] None of this precludes
> me from continuing my version, but the point about whether this was a
> good thing to build into slrn remains.

I also would have liked this feature to be more customizable (e.g. by
letting the user define regular expressions which will then be
highlighted; there could have been an example in the sample slrn.rc
file which would have done exactly what the intrinsic function is
doing now).

> Requiring sed for such a small job is clearly unportable and
> overkill.  But the speed issue is the other overplayed issue I've
> heard before--[...]

You are right -- speed is not the issue in most cases, especially on
modern machines.

> All that said, I want to make it clear I'm not against patching slrn
> to do other things.  I benefit from such changes; I would like to see
> more people proposing or patching hooks or scalable extensions other
> people can use later for other things.

Basically, I agree: Some things are better done with macros, some
things are better done with patches and sometimes it is necessary to
write a patch if you want to be able to do something with a macro.
-- 
Kind regards,
    Thomas Schultz

Re: slrn crossposting
#55723
Author: Thomas Schultz
Date: Wed, 22 Dec 1999 00:00
22 lines
1781 bytes
On 20 December 1999, Dawn Owens-Nicholson <bluemoon@ux6.cso.uiuc.edu> wrote:

> I would like to see more people proposing or patching hooks or
> scalable extensions other people can use later for other things.

I just wrote a macro that will uncollapse all threads which have
articles with positive scores in them. I tried to put it in
article_mode_hook(), but that turned out to be useless, as it is run
before threading and sorting is done. Am I simply unable to find the
appropriate hook to do what I want or do we need a hook that will be
run when article mode is "ready for display"? I know the same effect
could be achieved by putting something like

setkey group "select_group; disp_article_mode_hook" "\r"

in your .slrnrc for every key which selects a new group, but that
solution seems quite awkward to me.
-- 
Kind regards,
    Thomas Schultz

Re: slrn crossposting
#55732
Author: Markus Becker
Date: Wed, 22 Dec 1999 00:00
20 lines
1466 bytes
John E. Davis wrote:

>I thought about creating some sort of convention for source code in
>messages that a newsreader can easily recognise and not interpret
>otherwise.  For example, a signature is denoted with with the string
>"-- ".  Why not something similar for source code?  Specifically, I
>entertained the idea of allowing "#v+" start a source code section and
>"#v-" end it, e.g.,

>Any thoughts on this?

If you start such a thing, then why don't you implement HTML in slrn?
Then I can ditch it an return to Netscape.

No (real) offense meant.

Markus


Re: slrn crossposting
#55830
Author: John E. Davis
Date: Thu, 23 Dec 1999 00:00
37 lines
2776 bytes
On 22 Dec 1999 19:18:42 +0100, Markus Becker <markus.becker@student.uni-siegen.de>
wrote:
>If you start such a thing, then why don't you implement HTML in slrn?

Right now we have simple conventions for marking quoted text and
signatures.  Why not code?  After all, in many newsgroups (including
this one) people discuss and discuss code fragments all the time.  I
think that a simple convention of denoting code fragments that should
not be interpreted in any other way by the newsreader is a useful
extension.   How many times have you seen something misinterpreted by
slrn as quoted line?  Consider the following:
#v+
  [news.software.readers]
  Score:: 10
  Subject:  *slrn.*
#v-
Did your version of slrn (or any other newsreader interpret
"[news.software.readers]" as a quoted line?  How did it handle the
regular expression on the Subject line?  If you use slrn 0.9.6.1 then
the above section will be marked as code.

>Then I can ditch it an return to Netscape.
>No (real) offense meant.

None taken.  You have voiced (very tersely) a legitimate concern about
the infestation of usenet posts with extra tags that you feel do not
belong.  However, I claim that my simple proposal for denoting
``verbatum'' sections of messages will actually make the message more
readable and less noisy.  For this reason I added it to slrn 0.9.6.1
to see how it works in practice.  If it does not work or leads to
abuse, it will be removed.
-- 
John E. Davis                   Center for Space Research/AXAF Science Center
617-258-8119                    One Hampshire St., Building NE80-6019
http://space.mit.edu/~davis     Cambridge, MA  02139-4307

Re: slrn crossposting
#55831
Author: John E. Davis
Date: Thu, 23 Dec 1999 00:00
14 lines
1558 bytes
On 23 Dec 1999 00:32:00 GMT, Dawn Owens-Nicholson <bluemoon@ux6.cso.uiuc.edu>
wrote:
>Thomas Schultz wrote:
>That would need a new hook to do in the best way.  Perhaps
>post_article_mode_hook() (since there's already a pre_article_mode_hook()

I added a hook that runs after sorting and will appear in 0.9.6.1
(to be released tomorrow).  I called the hook
`article_mode_startup_hook' although `post_article_mode_hook' also
crossed my mind.

--John

Re: slrn crossposting
#55833
Author: Dawn Owens-Nicholson
Date: Thu, 23 Dec 1999 00:00
10 lines
1315 bytes
Thomas Schultz wrote:
> Am I simply unable to find the appropriate hook to do what I want or do we
> need a hook that will be run when article mode is "ready for display"?

That would need a new hook to do in the best way.  Perhaps
post_article_mode_hook() (since there's already a pre_article_mode_hook()
that runs before headers for the group are fetched and article_mode_hook()
that runs after downloading headers but before sorting)?

Re: slrn crossposting
#55874
Author: Stephane Gibier
Date: Fri, 24 Dec 1999 00:00
21 lines
1794 bytes
Thomas Schultz <tststs@gmx.de> wrote :

> I also would have liked this feature to be more customizable (e.g. by
> letting the user define regular expressions which will then be
> highlighted; there could have been an example in the sample slrn.rc
> file which would have done exactly what the intrinsic function is
> doing now).

I agree with you, this could be a nice feature and correct �de facto�
the ISO-Latin-1 bug discovered by Christan Perrier when parsing
proletext.

Humm... When Sven Guckes will be back, I am pretty sure that it will be
added to the whishlist.

-- 
St�phane Gibier <sgibier@mail.dotcom.fr>
Ca pue dans le car ! 
Pn cneg qnaf yr phy ! 

Re: slrn crossposting
#56044
Author: Markus Becker
Date: Tue, 28 Dec 1999 00:00
35 lines
1952 bytes
John E. Davis wrote:
>#v+
>  [news.software.readers]
>  Score:: 10
>  Subject:  *slrn.*
>#v-
>Did your version of slrn (or any other newsreader interpret
>"[news.software.readers]" as a quoted line?

No ;-)

>How did it handle the
>regular expression on the Subject line?

I think it handled it as I expected it to.

>If you use slrn 0.9.6.1 then
>the above section will be marked as code.

Ok, I'll give it a try when there's a binary for win32 available.

>None taken.  You have voiced (very tersely) a legitimate concern about
>the infestation of usenet posts with extra tags that you feel do not
>belong.  However, I claim that my simple proposal for denoting
>``verbatum'' sections of messages will actually make the message more
>readable and less noisy.  For this reason I added it to slrn 0.9.6.1
>to see how it works in practice.  If it does not work or leads to
>abuse, it will be removed.

How do you define "abuse"?

Markus


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