🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #210506

Re: [slrn] Page rewrite: comments?

#210506
From: Hugolino
Date: Fri, 23 Nov 2007 01:38
357 lines
13253 bytes
Le 23 Nov 2007 00:55:22 GMT, andrew a écrit:
>  On 2007-11-23, Hugolino <hugolino@free.fr> wrote:

> > OK, I will try again but from my office connection because my modem does
> > not keep the connection more than 4 minutes in my new flat (it maybe the
> > reason I can not join your url)

I just retried it with my 4' minutes connection, and it worked.

>  Hugolino can I ask about your slrn setup? Have you changed something
>  since your last message which seems to have corrected the rendering of
>  some characters? In a previous message I saw some mangled characters:
 
> >> > Le 14 Nov 2007 06:26:50 GMT, andrew a écrit:
 
>  while in today's message I can read it perfectly:
 
> > Le 22 Nov 2007 03:16:41 GMT, andrew a écrit:
 
>  I ask especially because slrn is undergoing considerable development
>  at the moment and this is the first example of broken characters I
>  have seen for a while :-)

It's just because I installed the new ubuntu 7.10 and decided to not set
it to use iso-8859-15 but to use the default configuration which is
utf8. But as of my first post it was not correctly set up yet.

If you can read french, I just posted on fr.comp.usenet.lecteurs-de-news
an article that explains how I set up slrn managing utf8.

If you don't read french, I can translate it, but you will have to wait
for 2 or 3 days.

The basic idea is to run slrn via luit just like this :

    LANG=fr_FR@euro luit slrn

and to make sure that ~/.vimrc does *not* have encoding set to utf8

My ~/.slrnrc follows:
8<-----------8<---------8<----------8<----------8<----------8<----------8<

set charset "isolatin"
%set charset "iso-8859-15"
%set editor_uses_mime_charset 1
set editor_uses_mime_charset 0
set use_mime 5
%set simulate_graphic_chars 1
%set metamail_command "metamail"
%set metamail_command "more"
compatible_charsets "iso-8859-1,iso-8858-15,utf-8"
set mime_charset "iso-8859-1,iso-8859-15,utf-8"
%set mime_charset "utf-8"

interpret "/home/hug1/News/custom.sl"


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%  Pour régler le From de mes posts  %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
set username "hugolino"
set hostname "free.fr"
set realname "Hugolino"
set replyto "hugolino@free.fr"
set organization "Guilde des Gardiens de la Foi Debianiste"

set supersedes_custom_headers "X-Superseded-Date: %d"

% Pour éditer les posts, on utilise vim en faisant attention à quoter
% à 72 caractères (attention, cette commande est overridée par la définition
% de la signature)

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%  Signature.                               %
%  simple: décommenter les 3 1ères lignes   %
%  Aléatoire: utiliser les 3 lignes d'après %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% set signature "/home/hugo/.Signature"
% set mail_editor_command "vim -c 'set tw=72' -f %s +%d"
% set post_editor_command "vim -c 'set tw=72' -f %s +%d"
set signature "/home/hug1/News/SignatureAl"
set mail_editor_command "/home/hug1/News/CreeSignatureAl.sh > /home/hug1/News
                                 /SignatureAl ; vim -c 'set tw=72' -f %s +%d"
set post_editor_command "/home/hug1/News/CreeSignatureAl_Sec.sh > /home/hug1/
                             News/SignatureAl ; vim -c 'set tw=72' -f %s +%d"
% Le script CreeSignatureAl_Sec.sh de mon répertoire News est:
% #!/bin/sh
% fortune /home/hugo/News/Signature-s-Al
% /usr/local/bin/NbSecS

% Le script CreeSignatureAl.sh de mon répertoire News est:
% #!/bin/sh
% fortune /home/hugo/News/Signature-s-Al


%%%%%%%%%%%%%%%%%%%%%%%%%%%
%  Quotons classiquement  %
%%%%%%%%%%%%%%%%%%%%%%%%%%%
set quote_string "> "
ignore_quotes "^ ? ?[><:=|]"

% If non-zero, signature will not be included in quoted text of followups
set followup_strip_signature 1

% 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

set followup_string "Le %d, %r a écrit:"
set reply_string "Le %d, dans %n, tu as dit:"

% If non-zero, abort posting or email operation if the file was not
% modified
% by the editor.
set abort_unmodified_edits 1


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Reglons le pb du Message_ID %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%set generate_message_id 0


% 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 Xbrowser "netscape -remote 'openURL(%s)' &"
set non_Xbrowser "lynx %s"

% if non-zero, display first article when entering article-mode.
set show_article 0
% set group_display_format 2
group_display_format 0 "  %F%-4u  %45n%d"
set no_backups 0
set scroll_by_page 0

% 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

set mouse 0

% Draw cursor bar ala tin instead of slrn "->" cursor?
set display_cursor_bar  1

set query_next_group 1
set query_next_article 1
set confirm_actions 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 2

% je veux pas qu'il tue automatiquement l'article que j'ai lu
set auto_mark_article_as_read 0

% Réglages de l'affichage des champs d'entêtes de messages
header_display_format 0 "%F%-5S %11d %16r %-3l%t%s"
header_display_format 1 "%F%-5S%-3l %10d%t%40s [%16r]"         
visible_headers "Date:,NNTP-Posting-Date:,From:,X-Newsreader:,X-Mailer:,User
                       -Agent:,Subject:,X-Approuved:,Approved:,Organization:"



%%%%%%%%%%%%%%%%%%%%
%  Copie Comforme  %
%%%%%%%%%%%%%%%%%%%%
% Pour avoir dans mes followup le champ "Copie Conforme" 
set followup_custom_headers "Cc:"
% Pour avoir ce champ "Cc:" automatiquement complété: 1
% Pour avoir ce champ proposé: -1
set cc_followup -1
% pour qu'une ligne soit ajouté au mail...
set cc_post_string "\n\n [Aussi posté dans\n %n]\n\n"


%%%%%%%%%%%%%
%  SCORING  %
%%%%%%%%%%%%%
set 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 -1
set kill_score -9999


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%  Sauvegardes de mes contributions  %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Fichiers dans lesquels sont sauvés mes posts et mes replies
set save_posts "News/MyPosts"
set save_replies "News/MyReplies"

% 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

% Directory where postponed articles are placed.  (Make sure it exists)
set postpone_directory "News/postponed"



%%%%%%%%%%%%%
%  Threads  %
%%%%%%%%%%%%%
% 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
% If 12, customized sorting method àmoikejé

set sorting_method 12
set custom_sort_by_threads 42 
% 6.18. custom_sort_order
% For example, if you want to see high scoring and recent
% threads first, but sort the messages within the thread from oldest to
%  newest, you could set custom_sort_order to Highscore,Date|date.
set custom_sort_order Highscore,Date|date

% 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 1

% set use_xgtitle 0
set read_active 1
set wrap_flags 4
set query_read_group_cutoff 500
set lines_per_update 100

%%%%%%%%%%%%%%%%%%
%  MIME support  %
%%%%%%%%%%%%%%%%%%
set use_mime 1
set mime_charset "iso-8859-15"
set use_metamail 0
set metamail_command "metamail"
set use_header_numbers 1
% set query_reconnect 1
set spoiler_char '*'

%%%%%%%%%%%%%%%%%%%%
% Nouveaux groupes %
%%%%%%%%%%%%%%%%%%%%
% If non-zero, slrn will automatically un-subscribe new groups.
set unsubscribe_new_groups 1
% If zero, do not check for new groups (equivalent of -n on command line)
% set check_new_groups 0

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%  Local spool configuration  %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%If set to 1, then spool.c will actually check each article file exists when
%reading an overview file.  This adds a perceptible delay (especially in a
%large spool directory), so I've made it an option.  With some servers it is
%almost redundant, whereas with others which don't expire entries from
%overview files regularly, it's almost vital.  If the users sees a lot of
%"article not available" errors, they should probably try turning it on.
set spool_check_up_on_nov 0 

% If non-zero, the subjects of unread articles are highlighted
set highlight_unread_subjects 2
set color_by_score 3

% If non-zero, URLs are highlighted.
set highlight_urls 1

%%%%%%%%%%%%
%  Colors  %
%%%%%%%%%%%%        	fore		back 
color article			cyan		black
color author 			magenta		black
color boldtext      	white	    black
color cursor 			black 		yellow
color date              "lightgray"     "black"
color description 		lightgray 		black
color error 			black		yellow
color group				yellow		black
color grouplens_display red       	black  % blue         white   !
color header_name       green       black
color header_number 	green		black
color headers 			magenta		black
color high_score 		red			black
color italicstext       green    	black
color menu 				yellow 		blue
color menu_press 		magenta 	blue
color normal 			white 		black
color quotes 			green		black
color quotes1       	magenta     black
color quotes2      		red         black
color quotes3      		green       black
color response_char     green 		black
color signature 		yellow 		black
color status 			yellow 		blue
color subject 			white 		black
color thread_number 	blue 		black
color tilde 			green 		black
color tree 				red 		black
color underlinetext 	red      	black
color unread_subject    "green"         "black" "bold"
color url 				red 		black

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%  for monochrom terminals  %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
mono normal none
mono header_number none
mono error blink bold
mono status reverse
mono group bold
mono article none
mono cursor bold reverse
mono author none
mono subject none
mono headers bold
mono menu reverse
mono menu_press none
mono tree bold
mono quotes underline
mono thread_number bold
mono high_score bold
mono signature none
mono description none

% Key Bindings
setkey article  toggle_collapse_threads "+"
setkey article  article_line_up  "\e\e[A"        
setkey article  article_line_up  "\e\eOA"
setkey article  article_line_down  "\e\e[B"        
setkey article  article_line_down  "\e\eOB"
setkey article  article_line_down  "\r"
8<-----------8<---------8<----------8<----------8<----------8<----------8<


Regards

-- 
> Que pensez-vous de ce script ? Permet-il de bien sécurisé l'ordinateur ?
Non il y a un trou de sécurité abominable du à un bug de iptables qui laisse
passer des troyens bsd utilisant l'émulation Linux par un port netbios.
       Hugo (né il y a 1 375 236 938 secondes)
Technical Details
Message-ID: <slrnfkcboq.ka1.hugolino@deborah.rock-n-roll.org>
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!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!newsfeed2.ip.tiscali.net!tiscali!newsfeed1.ip.tiscali.net!proxad.net!feeder1-2.proxad.net!nerim.net!grolier!not-for-mail
References: <slrnfjl56q.3r1.andrew@ilium.invalid> <slrnfk9iqc.uaj.hugolino@deborah.rock-n-roll.org> <slrnfk9t2g.lb2.andrew@ilium.invalid> <slrnfkc8gc.dag.hugolino@deborah.rock-n-roll.org> <slrnfkc95g.409.andrew@ilium.invalid>

Show Full Headers
Complete Article Headers
Message-ID: <slrnfkcboq.ka1.hugolino@deborah.rock-n-roll.org>
Subject: Re: [slrn] Page rewrite: comments?
Date: Fri, 23 Nov 2007 02:38:34 +0100
From: Hugolino <hugolino@free.fr>
References: <slrnfjl56q.3r1.andrew@ilium.invalid> <slrnfk9iqc.uaj.hugolino@deborah.rock-n-roll.org> <slrnfk9t2g.lb2.andrew@ilium.invalid> <slrnfkc8gc.dag.hugolino@deborah.rock-n-roll.org> <slrnfkc95g.409.andrew@ilium.invalid>
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!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!newsfeed2.ip.tiscali.net!tiscali!newsfeed1.ip.tiscali.net!proxad.net!feeder1-2.proxad.net!nerim.net!grolier!not-for-mail
Newsgroups: news.software.readers
Organization: Guilde des Gardiens de la Foi Debianiste
Reply-To: hugolino@free.fr
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-15
Content-Transfer-Encoding: 8bit
User-Agent: slrn/0.9.8.1pl1 (Debian)
Lines: 357
NNTP-Posting-Date: 23 Nov 2007 01:47:08 GMT
NNTP-Posting-Host: 87.90.107.242
X-Trace: 1195782428 news.club-internet.fr 21145 87.90.107.242
X-Complaints-To: abuse@club-internet.fr