🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #41960

Re: Sorting .newsrc from within tin

#41960
From: Steve Howie
Date: Wed, 08 Jul 1998 00:00
28 lines
1781 bytes
Greg Berigan <gberigan@cse.unl.edu> wrote:
: root@bubba.worldnet.att.net (root) wrote:

:> Can someone post the command to use to shell out of tin, sort my .newsrc
:> file, and then come back to tin with a sorted list of newsgroups? Bonus
:> points for the additional command (if possible) to sort all newsgroups
:> available on my server. Thanks.

: Not possible.  Tin doesn't constantly reference the file, so even if you
: sort it while tin is running, it won't see it and will continue to use
: its internal list.  When it quits, it will write over your sorted list.

Funny, works for me. When I subscribe to new groups for example, I do a 
shell escape "!" then issue this command

	sort -o .newsrc .newsrc (yeah yeah, I know it's not safe:))

then shift-Y, this reorders my group menu to reflect the new groups in 
the correct positionY. No overwriting takes place. tin 980618

Scotty
--
Steve Howie					root@127.0.0.1
Netnews and Listserv Admin			519 824-4120 x2556
University of Guelph			
"If it's not Scottish it's CRRRRAAAAAAAPPPPPP!"

Technical Details
Message-ID: <6o0c33$rbv$1@testinfo.uoguelph.ca>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
References: <6no9ir$6us@bgtnsc03.worldnet.att.net> <6nodr0$a40$1@unlnews.unl.edu>

Show Full Headers
Complete Article Headers
Message-ID: <6o0c33$rbv$1@testinfo.uoguelph.ca>
Subject: Re: Sorting .newsrc from within tin
Date: Wed, 08 Jul 1998 00:00:00 +0000
From: Steve Howie <showie@uoguelph.ca>
References: <6no9ir$6us@bgtnsc03.worldnet.att.net> <6nodr0$a40$1@unlnews.unl.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
X-Deja-AN: 369630996
Sender: Steve Howie <showie@ccshst01.cs.uoguelph.ca>
Organization: Biled heids 'r us
User-Agent: tin/pre-1.4-980618 (UNIX) (HP-UX/A.09.04 (9000/887))
Newsgroups: news.software.readers