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
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)