NNTP: Difference between revisions

From Tildeverse Wiki
Line 55: Line 55:
There is also [[tin.html|tin]].
There is also [[tin.html|tin]].


tin works out of the box if your tilde host has a local news server installed. You can check with '''telnet tilde.name 119''' on most.
tin works out of the box if your tilde host has a local news server installed. You can check with <code>telnet tilde.name 119</code>
on most.


Otherwise it is necessary to do '''export NNTPSERVER=news.tildeverse.org''' or run it with '''tin -r news.tildeverse.org''' to access the central news server.
Otherwise it is necessary to do <code>export NNTPSERVER=news.tildeverse.org</code> or run it with <code>tin -r
news.tildeverse.org</code> to access the central news server.


When you first start tin it does not have any default newsgroups subscribed, either choose some that you know already or type S and select * to subscribe to all groups (there are only about 30). You can unsubscribe from some with u or use U to use a pattern. Usually you will not read control.* and junk.
When you first start tin it does not have any default newsgroups subscribed, either choose some that you know already or type S
and select * to subscribe to all groups (there are only about 30). You can unsubscribe from some with u or use U to use a pattern.
Usually you will not read control.* and junk.


=== Thunderbird ===
=== Thunderbird ===

Revision as of 01:13, 26 January 2023

The Network News Transfer Protocol (NNTP) is an application protocol used for transporting Usenet news articles (netnews) between news servers, and for reading/posting articles by the end user client applications.

Usenet was originally designed based on the UUCP network, with most article transfers taking place over direct point-to-point telephone links between news servers, which were powerful time-sharing systems. Readers and posters logged into these computers reading the articles directly from the local disk.

The tildeverse has a small, private net news network that can be accessed through several tildes using clients below. tilde.club and yourtilde.com provide public access for users outside of the tildeverse, or those who want access without first connecting to a tilde server.

Participating tildes

The following lists all of the known tildes that provides access to the tildeverse netnews.

tilde.club

Our primary gateway for those accessing from the outside. Read-write, accessible via news.tilde.club, nntp.tilde.club, and news.tildeverse.org, port 119. See also https://news.tildeverse.org/.

tilde.team

Read-only, accessible via news.tilde.team, nntp.tilde.team, and nntp.tildeverse.org, port 119. You have to ssh inside to post.

cosmic.voyage

Read-only, accessible via cosmic.voyage , port 119. You have to ssh inside to post.

yourtilde.com

Read-write, accessible via yourtilde.com, port 119.

News clients

slrn

slrn is a newsreader; see http://slrn.sourceforge.net/ for details.

First, add export NNTPSERVER="localhost" to your shellrc (.bashrc, .zshrc) and source it (source path/to/.shellrc).

Then run slrn --create to create the slrn config file, and lastly slrn -d to populate group names.

You’re now ready to run slrn! If the list is empty, press L (for list-groups) and enter * in the field for all groups. You might need to enter each group (pressing space) to get a proper count for how many (if any) unread messages there are.

pine/alpine

pine can read news; this http://www.chebucto.ns.ca/Help/News/PineNews.html might help. You can also read the FAQ from U Washington.

In Pine do

  1. ‘S’ for setup, ‘C’ for config, then
  2. set ‘NNTP Server (for news)’ to news.tilde.club
  3. Then go back to the main menu, and pick Folder List,
  4. A for add, ^t for list

Emacs

M-x gnus in [[[#emacs|emacs]]] can read news, but you better know [[[#emacs|emacs]]] first before you start.

lynx

Lynx reads news, a la lynx news://news.tilde.club/tilde.general. It can even post news, but you have to design your own headers.

tin

There is also tin.

tin works out of the box if your tilde host has a local news server installed. You can check with telnet tilde.name 119 on most.

Otherwise it is necessary to do export NNTPSERVER=news.tildeverse.org or run it with tin -r news.tildeverse.org to access the central news server.

When you first start tin it does not have any default newsgroups subscribed, either choose some that you know already or type S and select * to subscribe to all groups (there are only about 30). You can unsubscribe from some with u or use U to use a pattern. Usually you will not read control.* and junk.

Thunderbird

If you’re using Thunderbird for email, it can also be configured for news.

  1. Go to the Tools menu, -> Account Settings
  2. Under Account Actions click Add Other Account...
  3. Select “Newsgroup Account”
  4. Type in the name you and email address you want associated with your posts. This can be your real name and tilde.club email address, or any other name (like your tilde username) and any other email address.
  5. For the “Newsgroup Server” type news.tilde.club. Give it a name (“news.tilde.club” works fine), confirm a couple of times and you’re done! You should see a new entry for news.tilde.club in your accounts list.
  6. Right click on “news.tilde.club” in your accounts list and click Subscribe...
  7. You should see a dialog with a tree of news topics. Click one and click Subscribe to subscribe to the topic. When Thunderbird is running, it will periodically check for new messages to each of these topics. You will also see a list of topics in your accounts list with unread counts.
  8. To post to a topic, open the topic and click the “Write” button.

SeaMonkey

SeaMonkey (1) File -> New -> Account
SeaMonkey (2) Edit -> Mail & Newsgroups Account Settings
SeaMonkey (2) Click on New Account

The instructions for SeaMonkey are mostly the same as Thunderbird. The difference is that if you already created an account in SeaMonkey (whether for mail, RSS, or news), you create a new account by using either of the two options. Both of them will bring you to the Account Wizard.

  • Go to the File menu, -> New -> Account
  • Go to the Edit menu, -> Mail & Newsgroups Account Settings, -> Add Account...

Claws Mail

Setup

Claws Mail's New Account Preferences
  • If you have any draft messages open, close them or you will get an error in the next step.
  • In the "Configuration" menu, click "Create New Account..."
  • In the "Basic" settings:
    • Set the "Name of account" (optional).
    • In "Personal information", Set "Full name" and "Mail address". Set "Organization" (optional).
    • In "Server information", click the menu for "Protocol" and select "News (NNTP)".
    • Set "News server", enter nntp.tildeverse.org, or your other news server address as appropriate.
  • Set other settings as desired.

Connecting via a Proxy

Claws Mail's Proxy settings
  • If you need to access your tilde news via a proxy, you can do so in the account preferences as follows.
  • If not in the initial account creation, go to the account preferences from the "Configuration menu": If you are in the tilde folders already, choose "Preferences for current account..."; otherwise choose "Edit accounts...", select the account from the list, and click "Edit".
  • Go to the "Proxy" page.
  • Check "Use proxy server", and enter the appropriate details.
    • Note: to establish a proxy connection to your tilde server using SSH, you can the ssh -D option.
  • Click "OK".

Subscribing

Tilde News now shown in your Claws Mail folders
Claws Mail's Subscription window
Claws Mail now showing your subscribed newsgroups
  • After creating the account, it should appear as a folder in the main window.
  • Right-click the folder and choose "Subscribe to newsgroup..."
  • If you get an error, "Can't retrieve newsgroup list", try clicking "Refresh". Clicking "Refresh" must be done sometimes in case there are new groups available. If you still get an error, you may need to go back to the account settings and make appropriate adjustments. To debug the network connection you may want to check the network log: "Tools" menu -> "Network Log" (Shift+Ctrl+L).
  • Select the newsgroups you want to subscribe too. You can use the "Find groups" text box and "Search" button to search through the list of newsgroup names.
  • Click "OK".
  • The newsgroups you subscribed to will then appear in your folder list.
  • Eventually, the newsgroups will fill up with messages. You can trigger messages to be fetched from the "Message" menu -> "Receive" -> "Get from all accounts" (or the particular account name).

Writing and replying

Viewing a message in Claws Mail
  • Reply to news messages similarly as replying to email messages.
  • To start a new thread, go to the "Message" menu and select "Compose a news message".