Article View: news.software.readers
Article #265997Re: Can I Turn Off All Quoting in trn?
From: Eli the Bearded
Date: Sun, 16 Apr 2023 23:59
Date: Sun, 16 Apr 2023 23:59
30 lines
2262 bytes
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
Technical Details
Message-ID:
<eli$2304161959@qaz.wtf>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mailReferences:
<18f5a022-d312-f88e-fcbc-5a7fde1c3edb@hubert-humphrey.com>Show Full Headers
Complete Article Headers
Message-ID: <eli$2304161959@qaz.wtf> Subject: Re: Can I Turn Off All Quoting in trn? Date: Sun, 16 Apr 2023 23:59:13 +0000 From: Eli the Bearded <*@eli.users.panix.com> References: <18f5a022-d312-f88e-fcbc-5a7fde1c3edb@hubert-humphrey.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail Encrypted: double rot-13 User-Agent: Vectrex rn 2.1 (beta) Newsgroups: news.software.readers Xfrom: is a real address X-Attribution: EtB Injection-Date: Sun, 16 Apr 2023 23:59:13 -0000 (UTC) X-Motto: "Erosion of rights never seems to reverse itself." -- kenny@panix X-Us-Congress: Moronic Fucks. X-Liz: It's actually happened, the entire Internet is a massive game of Redcode Organization: Some absurd concept