🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
2 messages
2 total messages Started by Bill Dixon Tue, 10 May 1994 14:45
Can you use 'y' to select articles in trn?
#8963
Author: Bill Dixon
Date: Tue, 10 May 1994 14:45
23 lines
1787 bytes
I am using trn version 3.4.1 on an IBM RS/6000, AIX 3.2.4.

I have previously used older version(s) of trn, and I keep thinking that I
used to be able to do something in trn that I cannot do now.  I do not
know whether it is something that has been removed from trn for some
reason, or if I had somehow redefined the 'y' key before.

What I would like to do (and thought I could do before) is this.  When I
am in the thread selector, when I select an article, the cursor
automatically positions itself on the next article.  I would like to be
able to press 'y' to select (or de-select) that article and move down to
the next article.  This would be especially useful in one of the sources
newsgroups, or the answers newsgroups, that tend to have many related
articles, not necessarily posted as follow-ups to the first.  As it is, I
have to be careful not to hit keys like 'c', or 'k', etc.

However, in my version of trn, the 'y' selects a specific article (if
there are enough articles on the screen).  Is there any way I can set trn
up to do this?

Thanks for any help.
-- 
Bill Dixon
Re: Can you use 'y' to select articles in trn?
#8974
Author: Wayne Davison
Date: Wed, 11 May 1994 00:59
28 lines
1854 bytes
According to Bill Dixon <bdixon@pcss.uucp>:
> When I am in the thread selector [...] I would like to be able to press
> 'y' to select (or de-select) that article and move down to the next
> article.

Firstly, you might want to use '.', which is the command you seek.

Secondly, if you really like using 'y' for this, you can redefine
your select characters.  If you have a .trninit file, put the following
option in it:

    -ESELECTCHARS="abdefgijlorstuvwxz1234567890BCFGHIKVW"

Note that 'y' is missing from this list (it is listed in the default).
If you wish to add back in 'c' and/or 'k' or whatever else, feel free.

The reason that this is enough to modify the behavior of 'y' in the
selector is that 'y' is still an alias for '.' in trn 3.x, but the
SELECTCHARS have precedence over internal commands and I revamped the
default for the selection characters in version 3.0 to include 'y'.

If you don't have a .trninit file, I would suggest that you create one
and define the environment variable TRNINIT to reference it.  Otherwise
you will have to define SELECTCHARS as an environment variable outside
of trn.
-- 
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