🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
4 messages
4 total messages Started by tareq i. j. albaho Tue, 27 Dec 1994 16:25
TIN help - alphabetic listing?
#14077
Author: tareq i. j. albaho
Date: Tue, 27 Dec 1994 16:25
25 lines
1751 bytes
hi;

i have a question regarding a silly but annoying aspect on tin.

when i add a new newsgroup, it is simply appended to the end of my
list of newsgroups, whereas all the old ones are listed nicely in
alphabetic order.  is there any way in which i can get the new groups
alphabetically integrated with the older ones?

thanks in advance.
--
 					 	    \ \             /
						    \\ \        `///
						     \\ \_    \\///
						     >\\  \ `\\-_/
		--+---TIJ---->			     '\\>  \\\ /
						_\__'///  <<  \
						 /// '/_ <<^-(.\
						    //\\ //   \)
						 ////\\_ \\
/-------------------------------+---------------------))-'))---------\
| in real life:			| habitat:			     |
|	tareq i. j. albaho	|   ecole superieure de physique et  |
|	tij@pmmh.espci.fr	|       de chimie industrielles      |
\-------------------------------+------------------------------------/
Re: TIN help - alphabetic listing?
#14072
Author: Riku Saikkonen
Date: Tue, 27 Dec 1994 17:28
17 lines
1419 bytes
tareq i. j. albaho (tij@caillebote.espci.fr) wrote:
>when i add a new newsgroup, it is simply appended to the end of my
>list of newsgroups, whereas all the old ones are listed nicely in
>alphabetic order.  is there any way in which i can get the new groups
>alphabetically integrated with the older ones?

(from your shell)
sort .newsrc >sorted.newsrc
more sorted.newsrc # (just in case, check if it looks ok)
cp .newsrc .newsrc.bak
cp sorted.newsrc .newsrc

--
-=- Rjs -=- rjs@spider.compart.fi - IRC: Rjs
"Well, dearest friend, the tree grows best in the land of its sires;
but for you in all the lands of the West there will ever be a welcome."
 - J.R.R. Tolkien
Re: TIN help - alphabetic listing?
#14086
Author: Dave Butcher
Date: Tue, 27 Dec 1994 21:49
20 lines
1421 bytes
tareq i. j. albaho (tij@caillebote.espci.fr) wrote:
: hi;

: when i add a new newsgroup, it is simply appended to the end of my
: list of newsgroups, whereas all the old ones are listed nicely in
: alphabetic order.  is there any way in which i can get the new groups
: alphabetically integrated with the older ones?


I don't know TIN well enough to do it from within TIN, but from the 
Unix command line, this is quick and easy:

   cat .newsrc |sort > newfile
 (check out newfile to make sure it looks ok--- e.g. more newfile)
   cp .newsrc newsrc.sav
   mv newfile .newsrc

HTH...
--
Dave Butcher  email: hdfbu@chevron.com
Re: TIN help - alphabetic listing?
#14089
Author: Jeffrey Hurwit
Date: Tue, 27 Dec 1994 21:52
14 lines
1224 bytes
In article <3dpf5q$6r5@idf.ext.jussieu.fr>,
tareq i. j. albaho (tij@caillebote.espci.fr) wrote:

>when i add a new newsgroup, it is simply appended to the end of my
>list of newsgroups, whereas all the old ones are listed nicely in
>alphabetic order.  is there any way in which i can get the new groups
>alphabetically integrated with the older ones?

    sort -ft. -o.newsrc .newsrc

    Nice .signature, BTW, but a bit too long.  Likely to get you
    ignored or flamed...

                                        Jeff
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