🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
3 messages
3 total messages Started by Robert B. Sun, 19 Jun 1994 17:54
probably an FAQ: save in memorized commands in trn 3.4.1
#9606
Author: Robert B.
Date: Sun, 19 Jun 1994 17:54
34 lines
1762 bytes
With the 'A' command, one can "memorize" to select threads, select
subjects, kill subjects, and kill sub-trees.

But, is there a way to save to a file?  I'd like to do something like
(in article reading mode):

A
s foo

such that my KILL file looks like:

/.*:whatever subject/:I:s foo

There are many problems with this apparently:

1) The "/whatever/:s foo" does not work -- trn 3.4.1 seems to ignore
   the "foo" part.  (I'm not completely sure of this; my test may not
   have been rigorous.)
2) The "A^Js foo" does not work because 's' is not an option for 'A'.

So, my questions are:

1) Is there any way to do this operation in current existing trn
   3.4.1?
2) If "no" to #1, has anyone made changes to trn 3.4.1 to enable this?
3) If "no" to #1, will this sort of feature be appearing in trn 3.5?

Thanks.

-- 
Robert Brown		   Work address: BARRA, 1995 University Ave. Suite 400,
Internet: robertb@barra.com		 Berkeley, CA 94704, (510) 548-5442
Disclaimer: BARRA may or may not agree with this nonsense.
             * * * Newsfeed is unreliable; e-mail is better * * *
Re: probably an FAQ: save in memorized commands in trn 3.4.1
#9609
Author: Arthur Tateishi
Date: Sun, 19 Jun 1994 19:42
31 lines
1748 bytes
In article <2u20nq$1td@nic.scruz.net>,
Robert B. <robertb@bedap.barra.COM> wrote:
>With the 'A' command, one can "memorize" to select threads, select
>subjects, kill subjects, and kill sub-trees.
>
>But, is there a way to save to a file?  I'd like to do something like
>(in article reading mode):
>
>A
>s foo
>
>such that my KILL file looks like:
>
>/.*:whatever subject/:I:s foo

I have various kill file entries similar to this. For example, 
    /:.*hunt/:s hunt
saves all the Hunt related stuff from Alt.internet.services.
Of course, I've been adding these in by hand after using ^K to
get to the kill file. It doesn't look like what you want exists.

I think the most general form would be to add ':' as a possibility to
the A and T commands. You hit : followed by whatever save, filter,
or other commands you want and end with a CR.

Something for 3.5.1 if not already in 3.5.0?

arthur
-- 
Choices don't scare me. However, a lack of choices does.
Arthur Tateishi                           ruhtra@turing.utoronto.ca
Re: probably an FAQ: save in memorized commands in trn 3.4.1
#9614
Author: Wayne Davison
Date: Mon, 20 Jun 1994 04:50
29 lines
1618 bytes
According to Robert B. <robertb@bedap.barra.COM>:
> is there a way to save to a file?  I'd like to do something like
> (in article reading mode):
> 
> A
> s foo

This has worked since the rn days -- type:

/<esc>s/K:sfoo

The sequence <esc>s enters the current subject for you, the 'K' modifier
tells trn to store the command in the kill file as it gets executed, the
colon (:) seperates the modifiers from the command, and "sfoo" saves the
article(s) to "foo".  Of course, you can type in an actual subject if you
prefer.

BTW, don't use the 'I' modifer because this tells trn to ignore the THRU
line in the kill file, and thus you could get multiple copies of the article
saved.

> /.*:whatever subject/:I:s foo

Note that the :I part of this is a bug in trn 3.4.1 -- the command should
have put the 'I' right after the second '/' since 'I' is a modifier and
not a command.  This is fixed in 3.5.
-- 
Wayne Davison
davison@borland.com
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