Thread View: news.software.nntp
7 messages
7 total messages
Started by Nigel Reed
Wed, 05 Apr 2023 11:31
How to remove this odd newsgroup?
Author: Nigel Reed
Date: Wed, 05 Apr 2023 11:31
Date: Wed, 05 Apr 2023 11:31
15 lines
1198 bytes
1198 bytes
When looking at my active file in vi I am seeing this... free.fr.test.ÏÏ<84>Ï<86>-8 0000000000 0000000001 y I don't seem to be able to get rid of it with ctlinnd rmgroup. I tried create a script file to do it, obviously replacing <84> by using ^Vx84 and ^Vx86 in vi but to no avail. Any suggestions? Thanks, -- End Of The Line BBS - Plano, TX telnet endofthelinebbs.com 23
Re: How to remove this odd newsgroup?
Author: Julien ÉLIE
Date: Wed, 05 Apr 2023 15:53
Date: Wed, 05 Apr 2023 15:53
19 lines
1955 bytes
1955 bytes
Hi Nigel, > When looking at my active file in vi I am seeing this... > > free.fr.test.ÏÏ<84>Ï<86>-8 0000000000 0000000001 y > > I don't seem to be able to get rid of it with ctlinnd rmgroup. Looks like a problem of encoding. The ctlinnd rmgroup command should provide the same newsgroup name as the one in your active file. If your terminal uses a different encoding than the one of the active file you're reading, then some characters may be encoded twice, and INN does not find the given newsgroup name on command line. -- Julien ÉLIE « Traversez la rivière en foule, le crocodile ne vous mangera pas. » (proverbe malgache)
Re: How to remove this odd newsgroup?
Author: Marc SCHAEFER
Date: Wed, 05 Apr 2023 16:25
Date: Wed, 05 Apr 2023 16:25
15 lines
1804 bytes
1804 bytes
On Wed, 05 Apr 2023 17:53:26, Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> wrote:
>> free.fr.test.ÏÏ<84>Ï<86>-8 0000000000 0000000001 y
>>
>> I don't seem to be able to get rid of it with ctlinnd rmgroup.
>
> Looks like a problem of encoding. The ctlinnd rmgroup command should
> provide the same newsgroup name as the one in your active file.
> If your terminal uses a different encoding than the one of the active
> file you're reading, then some characters may be encoded twice, and INN
> does not find the given newsgroup name on command line.
news% ctlinnd rmgroup $(awk '/^free\.fr\.test\./ { print $1; }' /var/lib/news/active)
Ok
did the job for me.
Re: How to remove this odd newsgroup?
Author: Adam W.
Date: Wed, 05 Apr 2023 19:37
Date: Wed, 05 Apr 2023 19:37
12 lines
1296 bytes
1296 bytes
Nigel Reed <sysop@endofthelinebbs.com> wrote: > When looking at my active file in vi I am seeing this... > > free.fr.test.??<84>?<86>-8 0000000000 0000000001 y Maybe this will do the trick? echo -ne "%s" | xargs -0 ctlinnd rmgroup Where %s is a group name with all non-printable characters replaced with their hex equivalents (\x84 for example).
Re: How to remove this odd newsgroup?
Author: Nigel Reed
Date: Wed, 05 Apr 2023 19:51
Date: Wed, 05 Apr 2023 19:51
58 lines
3135 bytes
3135 bytes
On Wed, 5 Apr 2023 17:53:26 +0200 Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> wrote: > Hi Nigel, > > > When looking at my active file in vi I am seeing this... > > > > free.fr.test.ÏÏ<84>Ï<86>-8 0000000000 0000000001 y > > > > I don't seem to be able to get rid of it with ctlinnd rmgroup. > > Looks like a problem of encoding. The ctlinnd rmgroup command should > provide the same newsgroup name as the one in your active file. > If your terminal uses a different encoding than the one of the active > file you're reading, then some characters may be encoded twice, and > INN does not find the given newsgroup name on command line. > I hate encoding with a passion...can't we all just get along! My active file had fileencoding set to latin1 and my script to delete the group was utf-8. Once I changed that to latin1 it worked. Thanks for the hint. It's amazing how much crap has built up in the active group over the years, not so much the obsolete groups, but groups that have invalid characters, end in a period, some group names are truncated, etc. While my server isn't perfect, I've tried to clean a lot of stuff up. I've removed all the binary and picture groups I could identify, any groups that don't contain a-z A-z 0-9 or +-_, those with a period at the end, some groups with truncated names, pedo groups (except those naming pedophiles) most of the alt.hipcrime and numerous variations thereof. My peers are welcome to pull my list and sync with it, and I especially appreciate feedback to fix anything else that's spotted. I will be running the scripts to cleanup obsolete/incorrect groups as and when they get identified. Anyone else interested is also welcome to a copy. Also, I have yet to update the newsgroups file but I should have that done this evening. newsfeed.endofthelinebbs.com port 119 Note, I have a lot of blocked netblocks due to abuse from shared hosting/vps providers. If you find you're blocked, drop me a note at sysop at the endoftheline and I'll put an exception rule in for you. OK, that's all :) Thanks, -- End Of The Line BBS - Plano, TX telnet endofthelinebbs.com 23
Re: How to remove this odd newsgroup?
Author: Russ Allbery
Date: Wed, 05 Apr 2023 20:30
Date: Wed, 05 Apr 2023 20:30
31 lines
2323 bytes
2323 bytes
Nigel Reed <sysop@endofthelinebbs.com> writes:
> It's amazing how much crap has built up in the active group over the
> years, not so much the obsolete groups, but groups that have invalid
> characters, end in a period, some group names are truncated, etc. While
> my server isn't perfect, I've tried to clean a lot of stuff up.
Yeah, the code that maintains the ftp.isc.org active file goes to quite
some lengths to try to filter out all that crap. But not all the other
spite groups and random personal insults disguised as group names and
similar junk.
(Personally, I just don't carry free.* at all and only add alt.* groups
that look specifically interesting, but I've never liked free-for-all
group creation so this probably isn't news to anyone.)
> My peers are welcome to pull my list and sync with it, and I especially
> appreciate feedback to fix anything else that's spotted. I will be
> running the scripts to cleanup obsolete/incorrect groups as and when
> they get identified. Anyone else interested is also welcome to a copy.
You may find the logic in control-archive worth reviewing, although it's
not as comprehensive as what you've mentioned.
https://github.com/rra/control-archive/blob/master/scripts/process-control#L256
--
Russ Allbery (eagle@eyrie.org) <https://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<https://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: How to remove this odd newsgroup?
Author: Nigel Reed
Date: Wed, 05 Apr 2023 23:18
Date: Wed, 05 Apr 2023 23:18
22 lines
1479 bytes
1479 bytes
On Wed, 5 Apr 2023 19:37:12 -0000 (UTC) gof-cut-this-news@cut-this-chmurka.net.invalid (Adam W.) wrote: > Nigel Reed <sysop@endofthelinebbs.com> wrote: > > > When looking at my active file in vi I am seeing this... > > > > free.fr.test.??<84>?<86>-8 0000000000 0000000001 y > > Maybe this will do the trick? > > echo -ne "%s" | xargs -0 ctlinnd rmgroup > > Where %s is a group name with all non-printable characters replaced > with their hex equivalents (\x84 for example). Thanks but it's sorted. -- End Of The Line BBS - Plano, TX telnet endofthelinebbs.com 23
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