🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #10833

Re: i conflict in trn

#10833
From: Denis McKeon
Date: Mon, 15 Aug 1994 09:54
36 lines
2650 bytes
In <32o147$bpl@bigblue.oit.unc.edu>,
Elizabeth A. Evans <uevans@med.unc.edu> wrote:
>Given the list of news articles in trn, you can typically select an
>article (or group of related articles) by typing the letter to the
>left in the listing. Most letters which are also commands are excluded
>from the listing (eg. c which is used for catch up). However, int he
>version of trn I use, i appears as a letter in the article listing.
>Selecting i, of course, threads or unthreads the group. How can I
>select i from the list of articles without having to arrow down to it?
>
You more likely mean "how can I disambiguate the meaning of 'i' ?"
One good way to do that is to disallow it as a selector.
>From the trn man pages:

>SELECTCHARS
>    The characters used by the thread selector to select the associated
>    thread of discussion.  You can specify up to 64 visible characters,
>    including upper- and lower-case letters, numbers, and many punctuation
>    characters.  Selection characters override command characters in the
>    selector, but are not excluded from macro expansion, so be careful.
>
>    Default: abdefgijlorstuvwxyz1234567890BCFGHIKMVW
>
>    (You'll notice various characters are omitted to allow them to
>    be typed as commands in the selector.)

So, in your trn init file, do:
     -ESELECTCHARS="abdefgjlorstuvwxyz1234567890BCFGHIKMVW"
or in .login or some other such,
setenv SELECTCHARS "abdefgjlorstuvwxyz1234567890BCFGHIKMVW"
			  ^ no 'i'

Note that SELECTCHARS can be exploited to hide or disallow some
commands from being usable in the selector - I hide the "cmnp" 
commands by adding them to SELECTCHARS.  If I need to catch up,
I can leave the selector with '+' and then 'c' and 'y'.
Technical Details
Message-ID: <32o34p$lgb@lynx.unm.edu>
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!bga.com!news.sprintlink.net!sundog.tiac.net!usenet.elf.com!news2.near.net!MathWorks.Com!yeshua.marcam.com!zip.eecs.umich.edu!newsxfer.itd.umich.edu!jobone!lynx.unm.edu!news
References: <32o147$bpl@bigblue.oit.unc.edu>

Show Full Headers
Complete Article Headers
Message-ID: <32o34p$lgb@lynx.unm.edu>
Subject: Re: i conflict in trn
Date: Mon, 15 Aug 1994 09:54:25 +0000
From: galway@chtm.eece.unm.edu (Denis McKeon)
References: <32o147$bpl@bigblue.oit.unc.edu>
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!bga.com!news.sprintlink.net!sundog.tiac.net!usenet.elf.com!news2.near.net!MathWorks.Com!yeshua.marcam.com!zip.eecs.umich.edu!newsxfer.itd.umich.edu!jobone!lynx.unm.edu!news
Newsgroups: news.software.readers
Organization: Connemara - Computing for People
Lines: 37
Distribution: world
NNTP-Posting-Host: chtm.eece.unm.edu
X-Copyright: Copyright 1994 by Denis McKeon
X-Mailer: Mail User's Shell (7.0.1 12/13/89)
Bcc: uevans@med.unc.edu
Status: OR