Thread View: news.software.readers
8 messages
8 total messages
Started by vjp2 Vasos Panagiotopoulos 1-917...
Thu, 15 Jan 1998 00:00
sorting .newsrc
Author: vjp2 Vasos Panagiotopoulos 1-917...
Date: Thu, 15 Jan 1998 00:00
Date: Thu, 15 Jan 1998 00:00
21 lines
1764 bytes
1764 bytes
I sort my html bookmarks by putting a priotity code in a comment
before each link and then I sort from emacs. The only way to do this
with .newsrc is either put a varying amount of spaces (more spaces,
higher sort priority) in front of the newsgroup or put a sort code
that you later delete (kill-rectangle in emacs). Any alternative ideas?
Also, my ISP went from local to NNTP (zippo) access recently and uqwk
won't work. They are too busy with other upgrades to recompile and I'm
not good enough to recompile uqwk myself - does anyone have any
suggestions to trick uqwk to use nntp without recompiling?
- = -
Vasos-Peter John Panagiotopoulos II, Columbia'81+, Bioengineer-Financier, NYC
BachMozart ReaganQuayle EvrytanoKastorian http://WWW.Dorsai.Org/~vjp2
vjp2@{MCIMail.Com|CompuServe.Com|Dorsai.Org}
---{Nothing herein constitutes advice. Everything fully disclaimed.}---
Re: sorting .newsrc
Author: Conrad Sabatier
Date: Fri, 16 Jan 1998 00:00
Date: Fri, 16 Jan 1998 00:00
21 lines
1347 bytes
1347 bytes
In article <69kqqt$5oq@snews2.zippo.com>,
Vasos Panagiotopoulos +1-917-287-8087 Bioengineer-Financier <vjp2@dorsai.org @smtp.dorsai.org> wrote:
>I sort my html bookmarks by putting a priotity code in a comment
>before each link and then I sort from emacs. The only way to do this
>with .newsrc is either put a varying amount of spaces (more spaces,
>higher sort priority) in front of the newsgroup or put a sort code
>that you later delete (kill-rectangle in emacs). Any alternative ideas?
Have you considered:
sort .newsrc > tempfile; mv tempfile .newsrc
:-)
--
Conrad Sabatier | FreeBSD -- UNIX for your PC
| Why settle for less than the best?
http://www.neosoft.com/~conrads | http://www.freebsd.org
Re: sorting .newsrc
Author: vjp2 Vasos Panagiotopoulos 1-917...
Date: Sat, 17 Jan 1998 00:00
Date: Sat, 17 Jan 1998 00:00
28 lines
2088 bytes
2088 bytes
In <69obm5$52f$1@dolphin.neosoft.com> by Conrad Sabatier
(conrads@neosoft.com) on 16 Jan 1998 19:16:21 GMT we perused:
*+-In article <69kqqt$5oq@snews2.zippo.com>,
*+-Vasos Panagiotopoulos +1-917-287-8087 Bioengineer-Financier
<vjp2@dorsai.org @smtp.dorsai.org> wrote:
*+->I sort my html bookmarks by putting a priotity code in a comment
*+->before each link and then I sort from emacs. The only way to do this
*+->with .newsrc is either put a varying amount of spaces (more spaces,
*+->higher sort priority) in front of the newsgroup or put a sort code
*+->that you later delete (kill-rectangle in emacs). Any alternative ideas?
*+-
*+-Have you considered:
*+-
*+-sort .newsrc > tempfile; mv tempfile .newsrc
No different from emacs sort. Irrelevant.
I want to hide sort-codes on each line.
Numer-of-spaces is only sort-code which works.
- = -
Vasos-Peter John Panagiotopoulos II, Columbia'81+, Bioengineer-Financier, NYC
BachMozart ReaganQuayle EvrytanoKastorian http://WWW.Dorsai.Org/~vjp2
vjp2@{MCIMail.Com|CompuServe.Com|Dorsai.Org}
---{Nothing herein constitutes advice. Everything fully disclaimed.}---
Re: sorting .newsrc
Author: DIAL-MB-Edward Finch
Date: Sat, 17 Jan 1998 00:00
Date: Sat, 17 Jan 1998 00:00
22 lines
946 bytes
946 bytes
: Have you considered:
: sort .newsrc > tempfile; mv tempfile .newsrc
or sort -o .newsrc .newsrc?
;-)
Ed
--
Ed Finch
UNIX & ClearCase Administrator
NASA's Earth Observation System, "Mission To Planet Earth"
Linux. Because using the Windows 95 interface is like living
in "Who Framed Roger Rabbit?".
- me
Re: sorting .newsrc
Author: Robert Goodwin
Date: Mon, 19 Jan 1998 00:00
Date: Mon, 19 Jan 1998 00:00
23 lines
1450 bytes
1450 bytes
In article <21060@!>, Red wrote: >And have YOU considered: > >sort .newsrc -o .newsrc You may also wish to consider using eep. It will sort them for you. If you want a small .newsrc, use eep -d. That'll delete your non-subscribed groups and keep the main list small. Right now, mine's about 5K, and the full listing is approximately a whopping 850K+, which definitely will cause you to run out of account space quick, if your newsreader keeps a backup copy, like .newsrc and .newsrc.bak. -- Homepage: http://members.iglou.com/rsg0910 Sez who that a deaf person can't have fun on the net? No ears required! Junk emailers beware: $500 fee charged for each junk and spam ad. -Sending the junk email indicates acceptance of these terms and a LARTing.
Re: sorting .newsrc
Author: lvirden
Date: Wed, 21 Jan 1998 00:00
Date: Wed, 21 Jan 1998 00:00
25 lines
1775 bytes
1775 bytes
Have you all considered that sort won't do what was requested? 1. sort, on Unix systems other than Linux at least, is typically broken. Lines over 1024 frequently get truncated or broken into multiple lines. I've seen this at least on Ultrix, SunOs and Solaris. 2. The original requested wanted to perform a _priority_ sort - that is to say, it isn't that they wanted the newsrc in strictly alphabetical order, but instead, some special newsgroups sorted to the top of the list, followed by the rest in alphabetical order. Unfortuantely, there is no standard document describing the format of the newsrc file. This means that changes to the newsrc file such as adding comments may cause other newsreaders to core dump, throw them away, etc. -- Larry W. Virden INET: lvirden@cas.org <URL:http://www.teraform.com/%7Elvirden/> <*> O- "We are all Kosh." Unless explicitly stated to the contrary, nothing in this posting should be construed as representing my employer's opinions.
Re: sorting .newsrc
Author: lvirden
Date: Wed, 21 Jan 1998 00:00
Date: Wed, 21 Jan 1998 00:00
15 lines
1258 bytes
1258 bytes
According to See signature for return address <qqqqzzzz@qqqq.zzz>: :I wrote a custom script to do this. It puts a few specific groups up do be careful though folk to verify that the sort on your system correctly operates on a newsrc file's long lines. -- Larry W. Virden INET: lvirden@cas.org <URL:http://www.teraform.com/%7Elvirden/> <*> O- "We are all Kosh." Unless explicitly stated to the contrary, nothing in this posting should be construed as representing my employer's opinions.
Re: newsrc format - old and new
Author: Sven Guckes
Date: Wed, 21 Jan 1998 00:00
Date: Wed, 21 Jan 1998 00:00
94 lines
4345 bytes
4345 bytes
lvirden@cas.org (lvirden@cas.org):
> Unfortuantely, there is no standard document describing the format of the
> newsrc file. This means that changes to the newsrc file such as adding
> comments may cause other newsreaders to core dump, throw them away, etc.
So - lets write one!
http://www.math.fu-berlin.de/~guckes/newsrc/
I'll append with what I came up in five minutes.
Sven
===
URL: http://www.math.fu-berlin.de/~guckes/
Created: Wed Jan 21 19:00:00 CET 1998
Last update: Wed Jan 21 19:05:00 CET 1998
Newsrc - Old and New
The "newsrc" is a file used by many newsreaders as a database on
"read" articles within nesgroups.
The purpose of this page is to give a defintion of its format and to
find a better format for future purposes.
_________________________________________________________________
newsrc - current format
Each line contains exactly one newsgroup entry.
A newsgroup entry consists of a newsgroup name, followed directly by
the subscription character, a space and a list of "read article list".
subscription character:
char information name
: subscribed colon
! unsubscribed exclamation mark, "bang"
read article list: Numbers or ranges separated by commata. A "range"
consists of two numbers separated by a dash ('-'). It stands for all
numbers from the first to the second, inclusive.
Example for a newsrc file:
alt.fan.warlord: 1-37572
comp.editors: 1-29199
comp.mail.elm: 1-22608
comp.mail.misc: 1-40159
news.software.readers: 1-50424,50426-50899
news.software.nn: 1-9019
bln.announce.fub: 1-661
bln.announce.fub.d: 1-512
bln.announce.fub.math: 1-70
bln.announce.fub.math.d: 1-32
bln.announce.fub.cs: 1-47
bln.announce.fub.cs.d: 1-893
bln.announce.fub.physik: 1-88
bln.announce.fub.zedat: 1-611
bln.announce.fub.zedat.d: 1-3820
bln.announce.tub.zrz: 1-562
bln.announce.tub.zrz.d: 1-836
bln.markt.arbeit: 1-2371
bln.net.news: 1-1404
bln.net.www: 1-1777
bln.net.internet: 1-3444
bln.misc: 1-13162
bln.termine: 1-4273
bln.verkehr: 1-707,709,715
_________________________________________________________________
newsrc - future format
Some ideas for a future format:
Comments
Allow comment lines. Useful for all sorts of things.
Empty Lines
Allow empty lines. Also quite useful as not every line should
have "either data or comment".
External utility
There is a great need to make modifications to the newrc
easily. As newsreaders use the order of newsgroups for their
"presentation sequence" of groups there is a need to sort and
move these items easily.
The newsreader NN ships with "nntidy".
_________________________________________________________________
Send feedback on this page to
Sven Guckes guckes@math.fu-berlin.de
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