🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #47269

Re: Setting up editor for slrn

#47269
From: Keith
Date: Sat, 13 Mar 1999 00:00
316 lines
12351 bytes
I have added some comments to your settings below.

Keith


On 12 Mar 1999 21:49:19 -0500, Brian W. Masinick 
 <masinick@yahoo.com> wrote:
> 
> I was able to get slrn working with a text editor.  I just made sure
> that the editor is in the same directory as slrn.  I'm sure there are
> many other approaches that would work as well.
> 
> I found myself to have a problem posting news and sending mail.  The
> sendsmtp program is in the same directory as slrn, and I think my
> NNTPSERVER is set up correctly.  I can read news fine.  But when I go
> to post news, I get an error message that seems to be implying that
> the NNTP header is incorrect.  That confused me.  What does that mean?
> If it refers to the way that the Newsgroups:, Subject:, and
> References:, are put together, it would seem to me that slrn should be
> managing that.  This implies to me that something is either missing in
> my slrn.rc file or I have done something incorrectly.  Which variables
> affect posting of messages?  I've set up the NNTP server as
> nntp.ne.mediaone,net, which is correct.  Why would it be able to read,
> but not post?  I had it working a couple of months ago, but when I
> rebuilt my system, I obviously fouled a bunch of things up!  When I
> get this right, I'm saving a copy OFF my system in a safe place!
> 
> By the way, Gnus, Outlook Express, and Netscape Messenger can post
> fine from this system, so it's gotta be a config file issue... my
> slrn.rc file is attached below, in case somebody can spot something
> erroneous.
> 
> Thanks!
> 
> -- Brian W. Masinick
> mailto:masinick@yahoo.com
> 
> 
> % -*- slang -*-
> % This is a sample startup file for the slrn news reader.  The percent
> % character is used for comments.
> 
> % SERVER to NEWSRC mapping
> %server "hsdndev.harvard.edu" ".jnewrc-hsdndev"
> %server "news.uni-stuttgart.de" ".jnewsrc-stuttgart"
> server "nntp.ne.mediaone.net" "jnews.rc"

I believe that you set the server in the autoexec.bat
file and not here. 

> 
> hostname "nntp.ne.mediaone.net"
Change this to any hostname not nntp
> set username "masinick"
> 
> set realname "Brian Masinick"
> set replyto  "masinick@yahoo.com"
> 
> % Name of signature file to use
> set signature ".signature"
> 
> % The quote string will be used when following up/replying
> set quote_string "> "
> 
> % If non-zero, slrn will not allow you to post articles that contain 
> % non-quoted lines whose length exceeds 80 characters.
> set reject_long_lines 1
> 
> % This regular expression defines lines that are consider to be quoted lines.
> % It says that any lines beginning with 0-2 spaces followed by a either
> % a >, <, :, |, or = character is a quoted line.
> ignore_quotes "^ ? ?[><:=|]"
> 
> % This sets the follow-up and reply strings.  Here, the following format 
> % specifiers are recognized: 
> %    %d:date, %r:real name, %f:email address, %s:subject,
> %    %m:msgid, %n:newsgroups, %%: percent 
> set followup_string "On %d, %r <%f> wrote:"
> set reply_string "In %n, you wrote:"
> 
> %Custom headers to add to NEW posts
> %set custom_headers "X-Whatever: bla\nX-Misc: bla bla"
> 
> % Custom headers for followup/reply.  These can use format specifiers as
> % in the 'followup' string variable.
> set followup_custom_headers "X-newsgroup: %n\nX-realname: %r\n"
> set reply_custom_headers "X-newsgroup: %n\nX-realname: %r\n"
> 
> 
> % WWW browser to use.  The 'U' key in article mode searches the current article
> % for a URL and then calls X browser if slrn appears to be run in X windows
> % and non_Xbrowser otherwise.  Note: The second Xbrowser form assumes that
> % netscape is already running.
> set non_Xbrowser "netscape %s"
This is wrong use one of the below, but I haven't used SLRN on windows
so it could be right.

> %set Xbrowser "netscape %s &"
> %set Xbrowser            "netscape -remote 'openURL(%s)' &"
> 
> % If autobaud is present, output rate will be synced to baud rate
> %autobaud
> 
> % if non-zero, display first article when entering article-mode.
> set show_article 0
> 
> % if non-zero, show description of newsgroup if available
> set show_descriptions 1
> 
> % column where group descriptions start
> set group_dsc_start_column 40
> 
> % If non-zero, backups of the newsrc file are not performed.
> set no_backups 0
> 
> % If 0, do not beep terminal.  If 1, send audible beep.  If 2, send only 
> % visible bell.  If 3, send both.
> set beep 1
> 
> % If non-zero, slrn will automatically un-subscribe new groups.  
> % The default is 0.
> set unsubscribe_new_groups 1
> 
> % If non-zero, all subject titles will be displayed even though many are
> % duplicated.  A zero value makes the screen look less busy.
> set show_thread_subject 0
> 
> % Enable xterm mouse support: 1 to enable, 0 to disable
> set mouse 0
> 
> % Set to 1 to have slrn scroll by full page instead of by line.
> set scroll_by_page 1
> 
> % Setting either of these to 0 will enable you to move directly to the
> % next article/group without confirmation
> set query_next_group 1
> set query_next_article 0
> 
> % if zero, you will not see the "next group:" prompt.  This is NOT the same
> % as the 'query_next_group' variable.
> set prompt_next_group 1
> 
> % Set this to 0 for no-confirmation on follow, reply, quit, etc...
> set confirm_actions 1
> 
> % If 0, do not display the name of the author.
> % If 1, display subject then name.  If 2, display name then subject.
> set author_display 1
> 
> % if 1, display author realname, if 0, display full address
> set display_author_realname 1
> 
> % If 0, save all groups when writing newsrc file
> % if 1, do not save any unsubscribed groups
> % if 2, do not save any unread-unsubscribed groups
> set write_newsrc_flags 1
> 
> % If greater than 0, a Cc: header to poster will automatically be generated on 
> % followups.  If -1, prompt first.
> set cc_followup 0
> set cc_followup_string "[This message has also been posted.]"
> 
> % Set to 0 to turn off display of ~ at end of article
> set use_tilde 1
> 
> % Filename where articles you have posted are archived.
> %set save_posts "News/My_Posts"
> %set save_replies "News/My_Replies"
> 
> % The sendmail command allows you to substitute another mailer.  Be sure that 
> % it implements the same interface as sendmail!
> %set sendmail_command "/usr/lib/sendmail -oi -t -oem -odb"
> set sendmail_command "C:\sendsmtp.exe nntp.ne.mediaone.net"

You are sending email to your news server this should be something like
smtp.ne.mediaone.net

> 
> % Name of score file  (relative to HOME directory)
> scorefile "News/Score"
> 
> % Articles scoring min_high_score and above constitute a high scoring article.
> % Articles scoring below max_low_score define a low scoring article.
> % Articles scoring at or below kill_score will be killed.
> set min_high_score 1
> set max_low_score 0
> set kill_score -9999
> 
> % Name of directory where decoded files are placed (relative to HOME)
> set decode_directory "News"
> % Directory where all other files are saved.
> set save_directory "News"
> 
> % Command used to invoke editor.  In the following example, %s represents
> % the file name and %d represents the starting line number
> set editor_command "gw32jed %s -g %d -tmp"
> 
> % Editor command for editing posts, mail, and score files.
> set mail_editor_command "gw32jed %s -g %d -tmp"
> set post_editor_command "gw32jed %s -g %d -tmp"
> set score_editor_command "gw32jed %s -g %d -tmp"

You can put the complete path to the editor here.

> 
> % If  non-zero, files used for posting, followup and reply will be regarded as
> % temporary files in the directory specified by the TMPDIR environment 
> % variable or /tmp.
> set use_tmpdir 0
> 
> % If 0, do not sort.  If 1, perform threading.  If 2, sort by subject
> % If 3, thread then sort result by subject
> % If 4, sort by score.  If 5, thread then sort by score.
> % If 6, sort by score and subject
> % If 7, thread, then sort by score and subject
> % If 8, sort by date with most recent first
> % If 9, thread, then sort by date with most recent first
> % If 10, sort by date with most recent last
> % If 11, thread then sort by date with most recent last
> set sorting_method 1
> set display_score 0
> 
> % If 1, a header with a new subject will start a new thread.
> set new_subject_breaks_threads 0
> 
> % If non-zero, threads will be uncollapsed when a group is entered
> set uncollapse_threads 0
> 
> % If non-zero, slrn will read the active file when starting.   This may lead to
> % faster startup times IF your network connection is fast.  If it slow, 
> % DO NOT USE IT.  If you can, I recommend setting it to 1.
> set read_active 1
> 
> % If non-zero and read_active is zero, slrn will attempt to use the NNTP
> % XGTITLE command when listing unsubscribed groups.
> set use_xgtitle 0
> 
> % What to wrap when wrapping an article:
> %  0 or 4 ==> wrap body
> %  1 or 5 ==> wrap headers, body
> %  2 or 6 ==> wrap quoted text, body
> %  3 or 7 ==> wrap headers, quoted text, body
> % The higher number indicates that every article will be automatically 
> % wrapped.
> set wrap_flags 4
> 
> % Maximum number of articles to read before slrn will prompt.  Default is 100.
> % Set this to zero to turn of prompting.
> set query_read_group_cutoff 1000
> 
> % Numes of lines to read from the server between percentage counter updates
> % This number will vary with the speed of the connection to your server
> set lines_per_update 100
> 
> % Valid character sets: isolatin, ibm850
> % ibm850 is the default on OS/2 and isolatin on other systems.
> %set charset isolatin
> 
> %---------------------------------------------------------------------------
> % Mime support
> %---------------------------------------------------------------------------
> set use_mime 1
> set mime_charset "iso-8859-1"
> % If non-zero, call metamail for mime formats that slrn does not handle
> set use_metamail 1
> set metamail_command "netscape"
> 
> % If non-zero, header numbers will be displayed in the left-margin of the
> % header window.  These numbers may be used as ``thread selectors''.
> set use_header_numbers 1
> 
> % If non-zero, prompt for reconnection if the NNTP connection drops.  If zero,
> % attempt reconnection without asking user.
> set query_reconnect 0
> 
> % Character to use to hide spoiler text:
> set spoiler_char '*'
> 
> % set to 0 to keep the display still, and just reveal the spoiler
> % set to 1 to start a new page when spoiler is revealed
> % set to 2 to keep the display still, and reveal ALL spoilers
> % set to 3 to start new page and reveal ALL spoilers
> set spoiler_display_mode 1
>  
> % Help text to be displayed at bottom of screen in various modes:
> %set art_help_line "bla bla"
> %set header_help_line "more bla bla"
> %set group_help_line "and even more"
> 
> 
> %---------------------------------------------------------------------------
> %  Local spool configuration
> %---------------------------------------------------------------------------
> % set spool_inn_root "/var/lib/news"
> % set spool_root "/var/spool/news"
> % set spool_nov_root "/var/spool/news/over.view"
> %


-- P
HTH,

Keith

Keith Wyatt,  PGP key via finger
http://www.teleport.com/~kew
http://www.teleport.com/~kew/linux








Technical Details
Message-ID: <slrn7ejs7n.6qd.kew@teleport.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.mbox.zip!not-for-mail
References: <36DE927D.1EA4C1BD@yahoo.com> <wklnh2ums0.fsf@yahoo.com>

Show Full Headers
Complete Article Headers
Message-ID: <slrn7ejs7n.6qd.kew@teleport.com>
Subject: Re: Setting up editor for slrn
Date: Sat, 13 Mar 1999 00:00:00 +0000
From: kew@-nospam-teleport.com (Keith)
References: <36DE927D.1EA4C1BD@yahoo.com> <wklnh2ums0.fsf@yahoo.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.mbox.zip!not-for-mail
X-Deja-AN: 454448980
X-Linux-vers: 2.0.36-3 Redhat 5.1
X-Complaints-To: news@teleport.com
X-Trace: news1.teleport.com 921301200 216.26.17.7 (Fri, 12 Mar 1999 21:00:00 PDT)
Organization: http://www.teleport.com
User-Agent: slrn/0.9.5.4 (UNIX)
NNTP-Posting-Date: Fri, 12 Mar 1999 21:00:00 PDT
Newsgroups: news.software.readers