🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #257272

Re: slrn on Windows

#257272
From: Keith
Date: Sat, 19 Apr 2014 05:14
145 lines
5094 bytes
On 2014-04-13, Andres Garza <beefeatingrobot@gmail.com> wrote:
> I need help setting up slrn on Windows.
> I'm getting this message whenever I set "gmail.com" or "imap.gmail.com" as my hostname.
>
> Loading slang\slrn.slslrn fatal error:
> Unable to find a valid hostname for constructing your e-mail address.
> You probably want to specify a hostname in your slrn.rc file.
> Please see the "slrn reference manual" for full details.
>
> What should I set it as?


You need to set up a batch sile like this:
slrn.bat
echo off
del jnewsrc-forte.txt-lock
CLS
rem #THIS IS NEEDED
rem #set NNTPSERVER=my.newsserver.isp

rem #Edited 6-3-09 Keith Wyatt

set NNTPSERVER=news.eternal-september.org

set USER=USERNAME_GOES_HERE

set NNTPSERVER

set USER

rem #chcp 65001
rem change directory to the directory to where slrn.exe is
cd C:\Users\USERNAME_HERE\Documents\slrn

set SLRNHOME=C:\Users\USERNAME_HERE\Documents\slrn

set SLRN_SLANG_DIR=C:\Users\USERNAME_HERE\Documents\slrn\slang

@echo "Press a Key or control-c to cancel"

@pause

slrn.exe %1

___________________________________________________________________


Windows slrn.rc file
__________________________________________________________________
% -*- slang -*-



%% This is a sample startup file for the slrn newsreader and meant as a

%% template for your personal startup file; it is not a full reference

%% of slrn's config options -- please see the reference manual for this.



%% The percent character is used for comments.



%

%% 1. Tell slrn about your identity (name, email address and such)

%



% The "From:" header will be generated from the following three variables.

% With the example settings, it would read "John Doe <john@doe.com>"

set username "USERNAME_HERE"

set hostname "EMAIL_DOMAIN_NAME_HERE"

set realname "NAME_U_WANT_2_USE"



% Set this if you want replies to your articles to go to a address different

% from the one in "From:".

set replyto  "NAME <EMAIL_ACCOUNT_ADDRESS@here>"



% What to put into the "Organization:" header line.

%set organization "Doe inc."



% The name of your signature file.  If "", no signature is added.

set signature "signature.txt"



set query_read_group_cutoff 1000

set abort_unmodified_edits 1

set check_new_groups 0

set confirm_actions 2

set overview_date_format "%d"

%%%%%%%%%%%%%%%%%%%Header Display Format%%%%%%%%%%%%%%%%%%%%%%%%%%%%
header_display_format 1 "%F%B%-5S [%10r]:%t%49s %-19g[%17d]"
header_display_format 0 "%F%B%-5S%G%-5l:[%12r]%t%s"
header_display_format 2 "%F%B%G%-5l:[%12r]%t%s"
header_display_format 3 "%F%B%-5l:%t%s"
header_display_format 4 "%F%B%-5S%-5l:%t%50s %r"
%%%%%%%%%%%%%%%%%%%Header Display Format%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
%% 2. Server specific settings
%
% Tell slrn which newsrc file it should use for which server.
% Note: This does *not* set the default server; you need to set the
%       NNTPSERVER environment variable for this.

server "news.eternal-september.org" "jnewsrc-forte.txt"

% If a server requires authentication, add a nnrpaccess line for it.
% If you leave username and/or password empty, slrn will prompt for it.

nnrpaccess "news.eternal-september.org" "NEWS_SERVER_USER_NAME_HERE" "PASSWORD_4_NEWS_SERVER_HERE"

% Some servers require authentication, but don't ask for it.
% To offer your authentication data "voluntarily", set this variable to 1

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% SET THIS TO 1 for the eternal-september news server or it won't work properly!!!!!!!!!!!!!!!
set force_authentication 1
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%################################################################

Technical Details
Message-ID: <20140418220216.885@news1.newsguy.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border2.nntp.dca3.giganews.com!backlog4.nntp.dca3.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
References: <fb6d8dab-1337-4f98-a052-86ad46c7374c@googlegroups.com>

Show Full Headers
Complete Article Headers
Message-ID: <20140418220216.885@news1.newsguy.com>
Subject: Re: slrn on Windows
Date: Sat, 19 Apr 2014 05:14:55 +0000
From: Keith <kilowattradio@gmail.com.REMOVE>
References: <fb6d8dab-1337-4f98-a052-86ad46c7374c@googlegroups.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border2.nntp.dca3.giganews.com!backlog4.nntp.dca3.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
Newsgroups: news.software.readers
Organization: A noiseless patient Spider
Lines: 145
Injection-Date: Sat, 19 Apr 2014 05:14:55 +0000 (UTC)
Injection-Info: mx05.eternal-september.org;
 posting-host="a53e23cb04a91d619bdaff5ccb1d4e83";
 logging-data="25749"; mail-complaints-to="abuse@eternal-september.org";
 posting-account="U2FsdGVkX19wpnGRkQ8ivYSrTiES/1Ee5kJcmcROfGU="
User-Agent: slrn/1.0.1/co (Commodore 64 512 Mb w/ expansion card)
Cancel-Lock: sha1:MUtYmrjY35l5AduMruIgLEF9PjA=
 sha1:FRy7uKSRuJXfok7ax6ytjqNxkd0=
X-Original-Bytes: 4781