🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
2 messages
2 total messages Started by Mike Iglesias Fri, 02 Oct 1992 20:23
trn v2.2 problem?
#2318
Author: Mike Iglesias
Date: Fri, 02 Oct 1992 20:23
17 lines
1397 bytes
One of our users is having a problem with trn v2.2:

> I am using a macro named ama defind in my .rnmac file. As long as this macro
> is there in my .rnmac file I cannot select any thread in any newsgroup
> which is listed as 'a'. When I remove the file .rnmac I am again able to
> begin selecting threads listed under 'a'. Is this a bug or what? If not is
> there any way I can get around it?

Does anyone have any suggestions for him?  I do use trn, but I don't use
macros so I can't suggest anything.


Mike Iglesias                        Internet:    iglesias@draco.acs.uci.edu
University of California, Irvine     BITNET:      iglesias@uci
Office of Academic Computing         uucp:        ...!ucbvax!ucivax!iglesias
Distributed Computing Support        phone:       (714) 856-6926
Re: trn v2.2 problem?
#2321
Author: Wayne Davison
Date: Sat, 03 Oct 1992 17:36
23 lines
1451 bytes
iglesias@draco.acs.uci.edu (Mike Iglesias) wrote:
> One of our users is having a problem with trn v2.2:
> > I am using a macro named ama defind in my .rnmac file. As long as this
> > macro is there in my .rnmac file I cannot select any thread in any
> > newsgroup which is listed as 'a'.

When you globally redefine the 'a' key, guess what?  You press 'a' and
you run your macro, even if you are in the thread selector.  The solution
is to define the macro to only affect certain modes where it is useful.
Several examples exist in the HINTS file, distributed with trn.  If your
macro is only useful at the article-level, you would use something like
this:

a	%(%m=a?macro:a)

Multiple modes can also be handled with one macro:

a	%(%m=[anp]?macro:a)

Please refer to the manpage for complete details.
-- 
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