🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #2227

RN/TRN: problems with "g" command when newsgroup name begins with digit

#2227
From: Tim Pierce
Date: Tue, 22 Sep 1992 20:29
28 lines
2074 bytes
(Posted to news.software.readers, and mailed to Wayne Davison and Stan
Barber.)

The Pioneer Valley in western Massachusetts is part of a "Five
College" system that includes Amherst, Smith, Mount Holyoke, Hampshire
College, and the University of Massachusetts.  Here we have been
considering creating a local news hierarchy for the Five Colleges,
which we just recently did with the group "5col.config."

Experienced hackers of rn and trn may see what I am getting to here.
To jump to a new group in these newsreaders, one types "g" followed by
the name or number of the new group.  Trn, the newsreader I am
currently using (and, I assume, rn as well), examines the first
character of the argument to the "g" command to determine whether it
is a newsgroup name or number.  Since, in this case, the first
character is "5," trn takes me to the 5th group in my .newsrc.  Not
the desired solution.

I have suggested to my news cohorts that we call the hierarchy "pv",
for "Pioneer Valley," rather than "5col."  Even if we take that
solution, though, I'm bothered by this behavior.  Shouldn't the news
client parse the entire name to make sure that it is an integer, and
contains no non-numeric arguments?  What do folks out there think?

-- 
____ Tim Pierce                / "You are just naive and repressed because
\  / twpierce@unix.amherst.edu /  penis envy is here and it's now and it's
 \/ (BITnet: TWPIERCE@AMHERST) /  all around you." -- Neal C. Wickham
Technical Details
Message-ID: <Buzy8s.I9v@unix.amherst.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!sparky!uunet!caen!nic.umass.edu!news.amherst.edu!twpierce

Show Full Headers
Complete Article Headers
Message-ID: <Buzy8s.I9v@unix.amherst.edu>
Subject: RN/TRN: problems with "g" command when newsgroup name begins with digit
Date: Tue, 22 Sep 1992 20:29:15 GMT
From: twpierce@unix.amherst.edu (Tim Pierce)
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!sparky!uunet!caen!nic.umass.edu!news.amherst.edu!twpierce
Newsgroups: news.software.readers
Organization: Amherst College, Amherst MA
Lines: 28