🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
2 messages
2 total messages Started by Kenneth Porter Thu, 30 Mar 2000 00:00
Xnews as nsproto server
#59875
Author: Kenneth Porter
Date: Thu, 30 Mar 2000 00:00
11 lines
1167 bytes
I found a program, nsproto 
(http://navasgrp.home.att.net/winpmail/index.htm#NsProto) which allows 
Navigator to launch helper apps based on a link's protocol. It's targeted 
at launching Pegasus Mail for mailto: links, but I thought it would be nice 
if it could launch Xnews for news: links. Is this possible? Can Xnews take 
a command line argument of a news: URL and open with the requested 
server/group/article? I don't see anything in the manual about Xnews taking 
command line arguments. (There's also the issue of invoking Xnews if an 
instance is already running.)

Re: Xnews as nsproto server
#59863
Author: GM
Date: Thu, 30 Mar 2000 00:00
171 lines
5960 bytes
On 30 Mar 2000 Kenneth Porter wrote:

>I found a program, nsproto 
>(http://navasgrp.home.att.net/winpmail/index.htm#NsProto) which allows 
>Navigator to launch helper apps based on a link's protocol. It's
>targeted at launching Pegasus Mail for mailto: links, but I thought it
>would be nice if it could launch Xnews for news: links. Is this
>possible? Can Xnews take a command line argument of a news: URL and open
>with the requested server/group/article? I don't see anything in the
>manual about Xnews taking command line arguments. (There's also the
>issue of invoking Xnews if an instance is already running.)
>

It boils down to adding a few things at the registry.
For win9x copy and paste the code that follows (courtesy of a poster 
some time ago) into an ascii file. 
Name it xnews.reg, right click it and choose Merge.
This should make xnews available as a news handler.
The above works for IE4, IE5 so it should work with Netscape as well 
(at least the later versions).

For the other question, afaik, v.3.03.12 doesn't let two instances
run concurrently.


********************
Before manipulating the following registry codes, change the path
of XNews on all occurrences so that it reflects your own
configuration. 

Select and copy the text below this line (*****) and edit it in a
text editor like Notepad. Check whether end-of-lines are not
truncated, nor cut by a carriage return. Then, name and save the
file with a ".reg" extension, like: "XnewsByDefault.reg". Don't
forget the quotations (" "). Finally, right-click on the file and
select the command MERGE. The content of the file enters your
registry. XNews has now become your default newsreader program. 
******************** Copy everything from the next line on.
REGEDIT4

[HKEY_CLASSES_ROOT\news]
@="URL:news Protocol"
"URL Protocol"=""
"EditFlags"=hex:02,00,00,00

[HKEY_CLASSES_ROOT\news\shell]

[HKEY_CLASSES_ROOT\news\shell\open]

[HKEY_CLASSES_ROOT\news\shell\open\command]
@="D:\\XNEWS\\XNEWS.EXE /url=\"%1\""

[HKEY_CLASSES_ROOT\news\DefaultIcon]
@="D:\\Xnews\\Xnews.exe,1"

[HKEY_CLASSES_ROOT\nntp]
@="URL:nntp Protocol"
"URL Protocol"=""
"EditFlags"=hex:02,00,00,00

[HKEY_CLASSES_ROOT\nntp\shell]

[HKEY_CLASSES_ROOT\nntp\shell\open]

[HKEY_CLASSES_ROOT\nntp\shell\open\command]
@="D:\\XNEWS\\XNEWS.EXE /url=\"%1\""

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\news]
@="URL:news Protocol"
"URL Protocol"=""
"EditFlags"=hex:02,00,00,00

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\news\shell]

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\news\shell\open]

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\news\shell\open\command]
@="D:\\XNEWS\\XNEWS.EXE /url=\"%1\""

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\news\DefaultIcon]
@="D:\\Xnews\\Xnews.exe,1"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\nntp]
@="URL:nntp Protocol"
"URL Protocol"=""
"EditFlags"=hex:02,00,00,00

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\nntp\shell]

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\nntp\shell\open]

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\nntp\shell\open\command]
@="D:\\XNEWS\\XNEWS.EXE /url=\"%1\""

[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\News\XNews]
@="XNews"

[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\News\XNews\Protocols]

[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\News\XNews\Protocols\news]
@="URL:News Protocol"
"URL Protocol"=""
"EditFlags"=hex:02,00,00,00

[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\News\XNews\Protocols\news\DefaultIcon]
@="D:\\Xnews\\Xnews.exe\\,1"

[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\News\XNews\Protocols\news\shell]

[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\News\XNews\Protocols\news\shell\open]

[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\News\XNews\Protocols\news\shell\open\c
ommand]
@="D:\\XNEWS\\XNEWS.EXE /url=\"%1\""

[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\News\XNews\Protocols\nntp]
@="URL:NNTP Protocol"
"URL Protocol"=""
"EditFlags"=hex:02,00,00,00

[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\News\XNews\Protocols\nntp\DefaultIcon]
@="D:\\Xnews\\Xnews.exe\\,1"

[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\News\XNews\Protocols\nntp\shell]

[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\News\XNews\Protocols\nntp\shell\open]

[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\News\XNews\Protocols\nntp\shell\open\c
ommand]
@="D:\\XNEWS\\XNEWS.EXE /url=\"%1\""

[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\News\XNews\Protocols\snews]
@="URL:Snews Protocol"
"URL Protocol"=""
"EditFlags"=hex:02,00,00,00

[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\News\XNews\Protocols\snews\DefaultIcon
]
@="D:\\Xnews\\Xnews.exe\\,1"

[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\News\XNews\Protocols\snews\shell]

[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\News\XNews\Protocols\snews\shell\open]

[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\News\XNews\Protocols\snews\shell\open\
command]
@="D:\\XNEWS\\XNEWS.EXE /url=\"%1\""

[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\News\XNews\shell]

[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\News\XNews\shell\open]

[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\News\XNews\shell\open\command]
@="D:\\XNEWS\\XNEWS.EXE /url=\"%1\""

******************** Stop copying at the line above.








-- 
Gregory

Make this a valid address:
put the land before the news.

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