🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
22 messages
22 total messages Started by asf... Lloyd Zusman Sun, 06 Jul 1997 00:00
Two slrn questions.
#34886
Author: asf... Lloyd Zusman
Date: Sun, 06 Jul 1997 00:00
18 lines
940 bytes

I have two questions about slrn:

(1)  Could someone please explain what a "spoiler" is, in regard to
     the "spoiler_char" and "spoiler_display_mode" variables in
     .slrnrc?

(2)  This may be a FAQ, but I can't find the answer anywhere: what's
     the difference between "query_next_group" and "prompt_next_group"
     in .slrnrc?

Thanks in advance.

-- 
 Lloyd Zusman
 l...@asfast.com
Re: Two slrn questions.
#34892
Author: he... Heikki Kantola
Date: Mon, 07 Jul 1997 00:00
34 lines
1940 bytes

Lloyd Zusman <asf...@asfast.com> informed
news.software.readers with the following:
>I have two questions about slrn:
>
>(1)  Could someone please explain what a "spoiler" is, in regard to
>     the "spoiler_char" and "spoiler_display_mode" variables in
>     .slrnrc?

Spoilers are commonly(?) written in news articles after an ^L character 
to hide them, and slrn implements the hiding by changing all printable
characters into "spoiler_char". "spoiler_display_mode" then tells how
to react when encountering spoilers. Look at the example below... 


This is example of spoiler.

>(2)  This may be a FAQ, but I can't find the answer anywhere: what's
>     the difference between "query_next_group" and "prompt_next_group"
>     in .slrnrc?

The first one (if set) simply makes slrn to tell you that you've read 
last article of newsgroup and what to do move to next one, but the
second one is more like a historic relic, that unfortunately doesn't
have any effect in current slrn version, in good old days it did offer
a prompt where you could select which group to read next.

-- 
Heikki "Hezu" Kantola, <Heikki...@IKI.FI>
L�hett�m�ll� mainoksia tai muuta asiatonta s�hk�postia yll� olevaan
osoitteeseen sitoudut maksamaan oikolukupalvelusta FIM500 alkavalta
tunnilta.
Re: Two slrn questions.
#34894
Author: guc... Sven Guckes
Date: Mon, 07 Jul 1997 00:00
33 lines
1917 bytes

asf...@asfast.com (Lloyd Zusman):
> Could someone please explain what a "spoiler" is, in regard to the
> "spoiler_char" and "spoiler_display_mode" variables in .slrnrc?

When slrn detects the "spoiler_char" it will hide the following text from
immediate view from the reader.  The default spoiler_char is ^L (control-l).

I did not look at the source of slrn yet - so maybe the spoilerchar ^L
(a control-l) might work everywhere or just at the beginning of a line
or maybe just on a line by itself.  Let's see:

Here is a control-l within a line:   Does this text show up?

Here is a control-l at the beginning of a line:
  Does this text show up?

Here is a control-l in a line by itself:


This text should show up with slrn after you have proceeded to the next page.

I wish that some other programs would make use of these 

Sven  [no, I am not part of my signature]

-- 
And this text should have a color that is different from the previous text
as it is preceded with "sigdashes" (a line on its own with dash-dash-space).
As usual, here is a pointer to a page with more information (real soon now):
http://www.math.fu-berlin.de/~guckes/rfc/minimal.text.structure.html#spoilerchar
Re: Two slrn questions.
#34898
Author: guc... Sven Guckes
Date: Mon, 07 Jul 1997 00:00
18 lines
1333 bytes

> Sven Guckes wrote:
> >When slrn detects the "spoiler_char" it will hide the following text from
> >immediate view from the reader.  The default spoiler_char is ^L (control-l).

ol...@muscat.co.uk (Olly Betts):
> you haven't really answered the question of what a spoiler is.

Well, I did so on the page I referenced in the signature:
http://www.math.fu-berlin.de/~guckes/rfc/minimal.text.structure.html

> slrn replaces all non spaces with "*"

I prefer to see no information at all - thus I have set it to ' ' (space).

Sven
Re: Two slrn questions.
#34910
Author: ol... Olly Betts
Date: Mon, 07 Jul 1997 00:00
41 lines
2251 bytes

In article <slrn5s1li...@banach.math.fu-berlin.de>, Sven Guckes wrote:
>asf...@asfast.com (Lloyd Zusman):
>> Could someone please explain what a "spoiler" is, in regard to the
>> "spoiler_char" and "spoiler_display_mode" variables in .slrnrc?
>
>When slrn detects the "spoiler_char" it will hide the following text from
>immediate view from the reader.  The default spoiler_char is ^L (control-l).
>
>I did not look at the source of slrn yet - so maybe the spoilerchar ^L
>(a control-l) might work everywhere or just at the beginning of a line
>or maybe just on a line by itself.

It needs to be on a line by itself (in line with how other newsreaders such
as trn handle ^L).

However, you haven't really answered the question of what a spoiler is.  A
spoiler is something like the punchline of a joke, or the solution to a
puzzle, or part of a film review which gives away part of the plot.

The idea is that the writer can write something like:

Caution: the rest of this article discusses the plot of the film, and
inevitably contains spoilers.



And the newsreader will hide text after the ^L and await confirmation before
displaying it.

Unfortunately use of ^L spoilers seems to be dying out, probably because GUI
newsreaders don't seem to support them.  There's no technical reason why
they can't -- the text after a spoiler can easily be hidden, e.g. like slrn
which replaces all non spaces with "*", and a in the compose editor can add
a "spoiler separator" (actually a literal ^L on a line by itself).

Olly
-- 
Don't send a man to do a buoy's job.
Re: Two slrn questions.
#34919
Author: j... J
Date: Mon, 07 Jul 1997 00:00
14 lines
971 bytes

Sven Guckes <guc...@math.fu-berlin.de>:

> I wish that some other programs would make use of these -characters.

Quite a few do, in fact.


-- J$
-- 
dash-dash- space
this is my .sig                                         it's not so .big
Re: Two slrn questions.
#34925
Author: asf... Lloyd Zusman
Date: Mon, 07 Jul 1997 00:00
32 lines
1969 bytes

On 7 Jul 1997 12:30:35 GMT, Olly Betts <ol...@muscat.co.uk> wrote:
> In article <slrn5s1li...@banach.math.fu-berlin.de>, Sven Guckes wrote:
> >asf...@asfast.com (Lloyd Zusman):
> >> Could someone please explain what a "spoiler" is, in regard to the
> >> "spoiler_char" and "spoiler_display_mode" variables in .slrnrc?
> >
> >When slrn detects the "spoiler_char" it will hide the following text from
> >immediate view from the reader.  The default spoiler_char is ^L (control-l).
> >
> >I did not look at the source of slrn yet - so maybe the spoilerchar ^L
> >(a control-l) might work everywhere or just at the beginning of a line
> >or maybe just on a line by itself.
> 
> It needs to be on a line by itself (in line with how other newsreaders such
> as trn handle ^L).
> 
> However, you haven't really answered the question of what a spoiler is.  A
> spoiler is something like the punchline of a joke, or the solution to a
> puzzle, or part of a film review which gives away part of the plot.

This is the kind of stuff that people used to do a rot-13 on in the
"old days".  I just never heard this referred to as a "spoiler" back
then.

Thanks to all of you who answered this question.

-- 
 Lloyd Zusman
 l...@asfast.com
Re: Two slrn questions.
#34932
Author: Hrvoje Niksic
Date: Mon, 07 Jul 1997 00:00
18 lines
1512 bytes
guckes@math.fu-berlin.de (Sven Guckes) writes:

> I wish that some other programs would make use of these

Well, most of the newsreaders do (and yes, it /should/ be on a line by 
itself).

Emacs has a `narrow-to-page' command, which narrows editing to the
portion between two ^L-s.  Quite useful.

-- 
Hrvoje Niksic <hniksic@srce.hr> | Student at FER Zagreb, Croatia
--------------------------------+--------------------------------
Thou Who might be our Father Who perhaps may be in Heaven...
                                                -- Roger Zelazny

Re: interpretation of control-l in text
#34942
Author: Hrvoje Niksic
Date: Tue, 08 Jul 1997 00:00
83 lines
4553 bytes
guckes@math.fu-berlin.de (Sven Guckes) writes:

> NOTE:  This is a copy of a Usenet post.
> > guckes@math.fu-berlin.de (Sven Guckes) writes:
> > > I wish that some other programs would make use of these
> 
> hniksic@srce.hr (Hrvoje Niksic):
> > most of the newsreaders do (and yes, it /should/ be on a line by itself).
> 
> I think the main reason is to prevent interpretation of ^L *within*
> a line.  But can you give some other reasons why it should?

Because Gnus interprets it only if it's on a line by itself? ;-)

> > Emacs has a `narrow-to-page' command, which narrows
> > editing to the portion between two ^L-s.  Quite useful.
> 
> "narrows editing"?

It means that the editing buffer is restricted to the current region.
The commands that would normally bring you to the beginning/end of
buffer will now bring you to the beginning/end of narrowed part;
line-numbers are recomputed; scrollbars reflect this, etc.  Here is
how the manual describes the concept of narrowing:

    File: xemacs.info,  Node: Narrowing,  Next: Hardcopy,  Prev: Shell,  Up: Top

    Narrowing
    =========

       "Narrowing" means focusing in on some portion of the buffer, making
    the rest temporarily invisible and inaccessible.  Cancelling the
    narrowing and making the entire buffer once again visible is called
    "widening".  The amount of narrowing in effect in a buffer at any time
    is called the buffer's "restriction".

    `C-x n n'
	 Narrow down to between point and mark (`narrow-to-region').

    `C-x n w'
	 Widen to make the entire buffer visible again (`widen').

       Narrowing sometimes makes it easier to concentrate on a single
    subroutine or paragraph by eliminating clutter.  It can also be used to
    restrict the range of operation of a replace command or repeating
    keyboard macro.  The word `Narrow' appears in the mode line whenever
    narrowing is in effect.  When you have narrowed to a part of the
    buffer, that part appears to be all there is.  You can't see the rest,
    can't move into it (motion commands won't go outside the visible part),
    and can't change it in any way.  However, the invisible text is not
    gone; if you save the file, it will be saved.

       The primary narrowing command is `C-x n n' (`narrow-to-region').  It
    sets the current buffer's restrictions so that the text in the current
    region remains visible but all text before the region or after the
    region is invisible.  Point and mark do not change.

       Because narrowing can easily confuse users who do not understand it,
    `narrow-to-region' is normally a disabled command.  Attempting to use
    this command asks for confirmation and gives you the option of enabling
    it; once you enable the command, confirmation will no longer be
    required.  *Note Disabling::.

       To undo narrowing, use `C-x n w' (`widen').  This makes all text in
    the buffer accessible again.

       Use the `C-x =' command to get information on what part of the
    buffer you narrowed down.  *Note Position Info::.

The command to narrow to a page is `C-x n p' (`narrow-to-page').


P.S.
Doesn't slrn somehow take notice of `Mail-Copies-To: never'?  I did
receive your courtesy copy.

-- 
Hrvoje Niksic <hniksic@srce.hr> | Student at FER Zagreb, Croatia
--------------------------------+--------------------------------
"Psychos _do not_ explode when sunlight hits them."

Re: Two slrn questions.
#34943
Author: Hrvoje Niksic
Date: Tue, 08 Jul 1997 00:00
20 lines
1608 bytes

ol...@muscat.co.uk (Olly Betts) writes:

> Unfortunately use of ^L spoilers seems to be dying out, probably because GUI
> newsreaders don't seem to support them.

True.  Netscape doesn't get it either, and it doesn't look hard to
implement.

For instance, Gnus has a pretty good implementation -- when a C-l is
encountered, the rest of the page is clear, except for a
`Next Page...' button at the end of page.  You can either press SPC or 
click on the button to get to the next page.

-- 
Hrvoje Niksic <hni...@srce.hr> | Student at FER Zagreb, Croatia
--------------------------------+--------------------------------
Speak softly and carry a +6 two-handed sword.
Re: interpretation of control-l in text
#34952
Author: Sven Guckes
Date: Tue, 08 Jul 1997 00:00
18 lines
1390 bytes
> guckes@math.fu-berlin.de (Sven Guckes) writes:
> > I wish that some other programs would make use of these

hniksic@srce.hr (Hrvoje Niksic):
> most of the newsreaders do (and yes, it /should/ be on a line by itself).

I think the main reason is to prevent interpretation of ^L *within* a line.
But can you give some other reasons why it should?

> Emacs has a `narrow-to-page' command, which narrows
> editing to the portion between two ^L-s.  Quite useful.

"narrows editing"?

Sven

Re: Two slrn questions.
#34959
Author: Hrvoje Niksic
Date: Tue, 08 Jul 1997 00:00
21 lines
1774 bytes

asf...@asfast.com (Lloyd Zusman) writes:

> > However, you haven't really answered the question of what a spoiler is.  A
> > spoiler is something like the punchline of a joke, or the solution to a
> > puzzle, or part of a film review which gives away part of the plot.
> 
> This is the kind of stuff that people used to do a rot-13 on in the
> "old days".  I just never heard this referred to as a "spoiler" back
> then.

Well, rot13 was (and is) mostly used to rotate the whole message, or
the larger part of it.  "Spoiler" is used to hide the "spoiling" part.
And yes, it always called that way before.

-- 
Hrvoje Niksic <hni...@srce.hr> | Student at FER Zagreb, Croatia
--------------------------------+--------------------------------
"Psychos _do not_ explode when sunlight hits them."
Re: interpretation of control-l in text
#34964
Author: Olly Betts
Date: Tue, 08 Jul 1997 00:00
14 lines
1088 bytes
In article <kig2059k1ic.fsf@jagor.srce.hr>, Hrvoje Niksic wrote:
>P.S.
>Doesn't slrn somehow take notice of `Mail-Copies-To: never'?  I did
>receive your courtesy copy.

Mail-Copies-To: support got merged into slrn 0.9.4.1; Sven is still using
0.9.4.0.

Olly
-- 
Don't send a man to do a buoy's job.

Re: interpretation of control-l in text
#34971
Author: Drazen Kacar
Date: Wed, 09 Jul 1997 00:00
21 lines
1248 bytes
On 09 Jul 1997 21:25:11 +0200, Hrvoje Niksic <hniksic@srce.hr> wrote:
> olly@muscat.co.uk (Olly Betts) writes:
> [...]
> 
> Hey, I noticed this:
> 
> ~X-Mailer: slrn (0.9.4.2 UNIX)
> 
> Why does slrn use `X-Mailer'?  The previous versions correctly used
> the `X-Newsreader' header.

It's a fuzzy header. :)

-- 
Life is a sexually transmitted disease.

dave@fly.cc.fer.hr
dave@zemris.fer.hr

Re: interpretation of control-l in text
#34992
Author: Hrvoje Niksic
Date: Wed, 09 Jul 1997 00:00
17 lines
1430 bytes
olly@muscat.co.uk (Olly Betts) writes:
[...]

Hey, I noticed this:

~X-Mailer: slrn (0.9.4.2 UNIX)

Why does slrn use `X-Mailer'?  The previous versions correctly used
the `X-Newsreader' header.

-- 
Hrvoje Niksic <hniksic@srce.hr> | Student at FER Zagreb, Croatia
--------------------------------+--------------------------------
I'm a Lisp variable -- bind me!

Re: Two slrn questions.
#35019
Author: war... Michael Warner
Date: Thu, 10 Jul 1997 00:00
31 lines
1761 bytes

In news.software.readers, Olly Betts <ol...@muscat.co.uk>
was seen to have written:
>
>Unfortunately use of ^L spoilers seems to be dying out, probably because GUI
>newsreaders don't seem to support them.  There's no technical reason why
>they can't -- the text after a spoiler can easily be hidden, e.g. like slrn
>which replaces all non spaces with "*", and a in the compose editor can add
>a "spoiler separator" (actually a literal ^L on a line by itself).

^L use *for spoilers* might be dying out, but I see it used
occasionally as a sort of formatting tool.  Over on
alt.religion.kibology, for instance, some of the people who do fairly
elaborate posts use it to force page breaks that don't depend on the
number of lines your particular display might be set for.

I don't know if I'll do this right, but if I did, you'd see some text
leading up to...



..a BUAG in its glorious entirety, not spoiled by having been half
visible at the bottom of the previous page.

Or something.

-- 
Michael Warner 
<war...@wsu.edu>
Re: interpretation of control-l in text
#35023
Author: Olly Betts
Date: Thu, 10 Jul 1997 00:00
18 lines
1334 bytes
Hrvoje Niksic <hniksic@srce.hr> writes:
>olly@muscat.co.uk (Olly Betts) writes:
>>X-Mailer: slrn (0.9.4.2 UNIX)
>
>Why does slrn use `X-Mailer'?  The previous versions correctly used
>the `X-Newsreader' header.

I'm working on some code to allow slrn to be used as an MUA (where
'X-Mailer' is more correct).  However my code was wrongly putting
'X-Mailer' on some news messages too.  Thanks for pointing it out.

Cheers,
Olly
-- 
Don't send a man to do a buoy's job.

Re: interpretation of control-l in text
#35035
Author: Sven Guckes
Date: Thu, 10 Jul 1997 00:00
21 lines
1721 bytes
hniksic@srce.hr (Hrvoje Niksic):
> > > Emacs has a `narrow-to-page' command, which narrows
> > > editing to the portion between two ^L-s.  Quite useful.
> > "narrows editing"?
> It means that the editing buffer is restricted to the current region.
> The commands that would normally bring you to the beginning/end of
> buffer will now bring you to the beginning/end of narrowed part;
> line-numbers are recomputed; scrollbars reflect this, etc.
> Here is how the manual describes the concept of narrowing:

Sounds like the often requested "outlining" to me.

> Doesn't slrn somehow take notice of `Mail-Copies-To: never'?
> I did receive your courtesy copy.

That's because I still use slrn-0.9.4.0.  Sorry about that.  Will upgrade asap!

Sven

Re: interpretation of control-l in text
#35041
Author: Hrvoje Niksic
Date: Fri, 11 Jul 1997 00:00
31 lines
2595 bytes
guckes@math.fu-berlin.de (Sven Guckes) writes:

> > It means that the editing buffer is restricted to the current region.
> > The commands that would normally bring you to the beginning/end of
> > buffer will now bring you to the beginning/end of narrowed part;
> > line-numbers are recomputed; scrollbars reflect this, etc.
> > Here is how the manual describes the concept of narrowing:
> 
> Sounds like the often requested "outlining" to me.

Outlining in Emacs is something completely different -- it hides parts
of the text, based on its logical structure (which is, more often than
not, determined by indentation).  Narrowing, on the other hand, simply
makes the current editing buffer pertain to a smaller part of the
whole buffer (i.e. the editing buffer is "narrowed").

Both concepts are quite useful, but not trivial to implement.  For
instance, line numbers should work correctly in a narrowed
environment -- for instance, `M-15 M-g' (`1 5 G' in vi command mode)
should bring you to line 15, counting from the start of the narrowed
part (if any), not the beginning of buffer.  This means that lots of
primitive commands must be narrow-aware.  Also, line numbers in the
modeline should display correctly, etc.

-- 
Hrvoje Niksic <hniksic@srce.hr> | Student at FER Zagreb, Croatia
--------------------------------+--------------------------------
I'm sure they'll listen to reason! -- Neal Stevenson, _Snow Crash_

Re: interpretation of control-l in text
#35063
Author: Drazen Kacar
Date: Fri, 11 Jul 1997 00:00
17 lines
1684 bytes
Olly Betts wrote:

> I'm working on some code to allow slrn to be used as an MUA (where
> 'X-Mailer' is more correct).  However my code was wrongly putting
> 'X-Mailer' on some news messages too.  Thanks for pointing it out.

Oh, does this mean you're not going to implement Netscape crock compatibility
support? Not even as a compile time option?

-- 
 .-.   .-.    Life is a sexually transmitted disease.
(_  \ /  _)
     |        dave@srce.hr
     |        dave@fly.cc.fer.hr

Re: ^L spoilers
#35378
Author: billy
Date: Mon, 21 Jul 1997 00:00
12 lines
976 bytes
Olly Betts <olly@muscat.co.uk> writes:

> Well, trn and strn for starters, and probably rn too.  MH (an MUA) also
> supports them.

So does tin, and even VAX Notes supports it (for those of you who
stuff news into it).

Billy Y..

Re: ^L spoilers
#35397
Author: Olly Betts
Date: Mon, 21 Jul 1997 00:00
18 lines
1160 bytes
In article <slrn5s20mb.7kr.guckes@banach.math.fu-berlin.de>, Sven Guckes wrote:
>> Sven Guckes <guckes@math.fu-berlin.de>:
>> > I wish that some other programs would make use of these -characters.
>
>js@xs4all.nl (J$):
>> Quite a few do, in fact.
>
>Which do?  Please let me know!

Well, trn and strn for starters, and probably rn too.  MH (an MUA) also
supports them.

Olly
-- 
Don't send a man to do a buoy's job.

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