Article View: news.software.readers
Article #38476Re: SLRN Spoilers Visible *
From: Sven Guckes
Date: Wed, 04 Feb 1998 00:00
Date: Wed, 04 Feb 1998 00:00
37 lines
2732 bytes
2732 bytes
aknyra@yoyo.cc.monash.edu.au (David Golding):
> Now then - does anyone know how SLRN knows that spoilers are visible?
SLRN recognizes the ^L and holds printing of further text until you hit a key.
That's all there is to it.
Quoting http://www.math.fu-berlin.de/~guckes/rfc/minimal.text.structure.html :
spoilerchar - ^L
Definition: A character that signals to the pager to hide the
following text from view.
Purpose: To hide "spoilers" from immediate view of the reader
there a several possible ways.
Workarounds: One workaround to hide spoilers is to insert many
empty lines - but this takes more bytes and just makes the text
a lot longer. The downside is that the read might think that
the text has been truncated and will move on to read the next
text. Also, the ratio of "characters per line" goes down which
is often a criteria for selecting text. And readers with a long
terminal might see the solution anyway.
So the solution is to use a "spoiler character" ("spoilerchar"
for short). The pager should recognize this and clear the rest
of the page. Moving on to the next line or page should then
reveal the rest of the text.
The spoilerchar should be used only if it is the only character
on the line. to prevent accidental interpretation when used
within a line (which includes the case that it is the first
character on the line). So the spoilerchar is to be recognized
in the bit stream as "\n^L\n", ie a control-l between two newlines.
[970707]
Additions, corrections, typos?
Sven
Technical Details
Message-ID:
<slrn6dgld8.d6i.guckes@rudin.math.fu-berlin.de>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mailReferences:
<slrn46dakkp.a26.aknyra@yoyo.cc.monash.edu.au> <slrn6dat8j.lea.lahvak@math.mps.ohio-state.edu> <slrn46dgbu1.us5.aknyra@yoyo.cc.monash.edu.au>Show Full Headers
Complete Article Headers
Message-ID: <slrn6dgld8.d6i.guckes@rudin.math.fu-berlin.de> Subject: Re: SLRN Spoilers Visible * Date: Wed, 04 Feb 1998 00:00:00 +0000 From: guckes@math.fu-berlin.de (Sven Guckes) References: <slrn46dakkp.a26.aknyra@yoyo.cc.monash.edu.au> <slrn6dat8j.lea.lahvak@math.mps.ohio-state.edu> <slrn46dgbu1.us5.aknyra@yoyo.cc.monash.edu.au> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail X-Deja-AN: 321964883 Content-Transfer-Encoding: 8bit Mail-Copies-To: guckes@math.fu-berlin.de Content-Type: text/plain; charset=iso-8859-1 X-Editor: vim-5.0v [980126] http://www.vim.org/ X-Trace: fu-berlin.de 886592936 11077 (none) 160.45.40.74 Organization: Freie Universitaet Berlin X-Access: 16 17 19 Mime-Version: 1.0 Reply-To: guckes@math.fu-berlin.de Newsgroups: news.software.readers