🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
5 messages
5 total messages Started by Chime Hart Wed, 12 Apr 2023 16:40
Can I Turn Off All Quoting in trn?
#265977
Author: Chime Hart
Date: Wed, 12 Apr 2023 16:40
7 lines
1548 bytes
Hi All: Earlier, I guess as I hit reply instead of followup in Alpine, my 
comments seemingly never posted. Anyway, I suppose I was spoiled while on 
Compuserve, as we almost never had to putup with quoting. In Alpine there is a 
setting to ignore with options to display on the fly. Does trn have such an 
option? You see, I am listening with a screen-reader-and-I've already heard 
many of an original comments. Thanks so much in advance
Chime
Re: Can I Turn Off All Quoting in trn?
#265984
Author: Adam H. Kerman
Date: Wed, 12 Apr 2023 17:08
7 lines
958 bytes
To quote in followup, the command is "F".

To followup without quoting, it's "f", then "no" to the question, are
you starting a new topic?

With "f", a References header is added so the followup threads but no
quote of the precursor article appears in the composer.
Re: Can I Turn Off All Quoting in trn?
#265987
Author: Frank Slootweg
Date: Wed, 12 Apr 2023 17:52
2 lines
940 bytes
  AFAICT, the OP wants to *view* posts without their quotes. I.e. it's
not about posting, but about reading.
Re: Can I Turn Off All Quoting in trn?
#266005
Author: Adam W.
Date: Sun, 16 Apr 2023 17:09
9 lines
1105 bytes
Chime Hart <chime@hubert-humphrey.com> wrote:

> You see, I am listening with a screen-reader-and-I've already heard many 
> of an original comments. Thanks so much in advance

I don't know if it helps (I don't know trn), but if you can pipe the 
article via a command, you could pipe it via something like:

grep -v '^>'
Re: Can I Turn Off All Quoting in trn?
#265997
Author: Eli the Bearded
Date: Sun, 16 Apr 2023 23:59
30 lines
2262 bytes
In news.software.readers, Chime Hart  <chime@hubert-humphrey.com> wrote:
> setting to ignore with options to display on the fly. Does trn have such an 
> option?

If the question is "can trn surpress output of lines matching typical
quoted from previous post patterns" the answer is Yes. I usually use it
to surpress output from nested quotes, but single quoted is easier.

Use the environment variable HIDELINE, I usually set trn specific
environment variables in ~/.trn/trnrc so it doesn't litter the space for
other programs.

You might be interested in PAGESTOP, too, which stops the display on a
matching line. Both variables take a regular expression (but I'm not
sure if it is an old-school one like plain grep, or an extended RE like
egrep). Here's values I think you might like:

# supress output of any line starting with greater than or colon
HIDELINE='^[>:]'

# stop showing the article on a line that begins with dash dash space
# or a bunch of dashes and the capitalized letters in the phrase "begin
# p g p signature" (will also stop at any line full of just hyphens,
# due to the character class matching). You can read past the page stop
# if you want, this just pauses it like a form feed character would.
PAGESTOP='^--[ -][-BEGINPGSATUR ]*$'

Elijah
------
both of these work in trn 3.5 as well as trn 4, but ~/.trn/trnrc is 4 only
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