🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #38814

Re: TRN: Possible to listen for news on a non-standard port?

#38814
From: Eli the Bearded
Date: Tue, 17 Feb 1998 00:00
25 lines
1791 bytes
Mike "NO UCE" Schuster <schuster_@at_panix_.dot_com> wrote:
> Jeremy Mathers <pynq@midway.uchicago.edu> wrote:
> >I'm assuming the answer is 'No', but just in case I missed something in the
> >docu, I'm asking.

Some things are not documented....

> >Suppose my news server is on a port other than 119.  Is there a way to
> >specify this to trn?  Many PC (GUI) newsreaders have this ability, but I saw
> >no way to do it in trn.
> From the trn 4.0 "access" sample file:
> #   When defining an NNTP server, set "NNTP Server" to the domain name of
> # your server.  If you need to use a non-standard port number, append ";119"
> # (for example) to the name.

That is one way. If you have access to the appropriate files, changing
the port for nntp in /etc/services works from my experience. Or you can
replace the getservbyname() call in the trn source.

Elijah
------
noticed the /etc/services dependency by accident

Technical Details
Message-ID: <qz$9802171525@qz.little-neck.ny.us>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
References: <EoFz03.IvF@midway.uchicago.edu> <6c831m$a9j@news1.panix.com>

Show Full Headers
Complete Article Headers
Message-ID: <qz$9802171525@qz.little-neck.ny.us>
Subject: Re: TRN: Possible to listen for news on a non-standard port?
Date: Tue, 17 Feb 1998 00:00:00 +0000
From: Eli the Bearded <*@qz.to>
References: <EoFz03.IvF@midway.uchicago.edu> <6c831m$a9j@news1.panix.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
X-Deja-AN: 325977301
X-Usenet-II: Because it is time for October.
X-Files: Used for sharpening claws and teeth on your hawk and hacksaw
X-Attribution: EtB
X-US-Congress: Moronic Fucks.
X-From-Notes: yes, it is a valid address. Nyah.
Organization: Some absurd concept
Newsgroups: news.software.readers,alt.fan.e-t-b