Article View: news.software.readers
Article #8185Re: six trn questions
From: Wayne Davison
Date: Tue, 22 Mar 1994 23:01
Date: Tue, 22 Mar 1994 23:01
56 lines
3088 bytes
3088 bytes
According to Doug Landauer <landauer@morocco.Eng.Sun.COM>: > Q1: [...] So I select all the ones I want, then toggle *all* > the selections, and :Tj to KILL all of the now-selected threads. You could macro a command that would save all the selected articles with 'M', kill the rest of the articles with Tj, and then yank back the saved articles. The following macro uses ~X as an obscure character sequence: ~X %(%m=t?\:M^m/\^/\:Tj^mY:) Translation: in thread mode only, type ":M" to mark all selected articles as "read but returning", use "/^/:Tj" to kill all remaining articles and put a thread kill in the KILL file, then use 'Y' to yank back the returning articles. All the back-slashes are to escape the ':'s from being taken as the "else" portion of the %(?:) statement and the '^' from being thought to be a ctrl-character modifier. The "^m" sequences are two characters that translate into a return. > A companion to the ":" command that would do the Tj on all > *un*selected threads would be even better. This is a good idea. I'll see if I can think of a good way to bind it. Perhaps :: would be good enough, so you would just have to type ::Tj" to do the above. > Q2: I often want to go backwards through the articles and/or threads > that I've seen in this (or the previous) session -- is there a > command like '-' that keeps going backwards instead of just toggling? Not to the specific articles, but to the specific threads, yes. Use '<' to go backward and '>' to go forward. > Q3: At article reading level, ^ goes to the "first unread article". > How do I go to the first *existing* article in the group? Press '1', RETURN (same as rn). > Q4: Can the thread-killer lines in a KILL file be aged (like nn does), Thread killing does expire after it ceases to be effective. Subject kills don't, however (not yet, at least). > Q5: [...] z %(%m=[aet]?q+:%(%m=p?jq+:%(%m=n?n+:z))) > [...] (q+ in [aet] modes, jq+ in the pager, and n+ at newsgroup > selection level.) Is there a simpler way to write this macro? That isn't simple enough for you? :-) It's too bad that trn's macros don't have an easier way to do mode case switching, but it looks like you've written a good macro there. > Q6: Is there an X interface? Unfortunately not. If I didn't have to work for a living there would have been one a long time ago, alas. .wayne..
Technical Details
Message-ID:
<Cn39BB.9B7@borland.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!gmd.de!newsserver.jvnc.net!nntpserver.pppl.gov!princeton!att-in!news.bu.edu!decwrl!decwrl!borland.com!davisonReferences:
<2mm3ta$78k@engnews2.Eng.Sun.COM>Show Full Headers
Complete Article Headers
Message-ID: <Cn39BB.9B7@borland.com> Subject: Re: six trn questions Date: Tue, 22 Mar 1994 23:01:58 GMT From: davison@borland.com (Wayne Davison) References: <2mm3ta$78k@engnews2.Eng.Sun.COM> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!gmd.de!newsserver.jvnc.net!nntpserver.pppl.gov!princeton!att-in!news.bu.edu!decwrl!decwrl!borland.com!davison Newsgroups: news.software.readers Organization: Borland International Lines: 56