%###############################################################################
% Filename: ~/.slrnrc
% Purpose: configuration file for the worlds best newsreader called "slrn"
% Author: Michael Prokop - -
% Availability:
% Latest change: Thu Jan 29 11:45:01 CET 2004
% Notice: The percent character "%" is used for comments.
%###############################################################################
%
%###############################################################################
% Ressources:
% TFM: http://slrn.sourceforge.net/manual/slrn-manual.html
% Andrew Preater's .slrnrc: http://www.preater.f9.co.uk/slrn/slrnrc.gz
% Jurriaan's page: http://www.xs4all.nl/~thunder7/
% Emmanuele's page: http://digilander.libero.it/ebassi/slrn.html
% Sven's site: http://www.guckes.net/slrn/
% tsca's s-lang macros: http://www.geocities.com/tsca.geo/slang.html
% Tomasz K³oczko's slrn-stuff: http://cvs.pld.org.pl/slrn-pl/
% Tomasz K³oczko's macros: http://cvs.pld.org.pl/slrn-pl/macros
% jbn's S-Lang code: http://forestfield.org/slrn/
% S-lang regexps: http://www.s-lang.org/doc/html/slang-18.html
%###############################################################################
%
%###############################################################################
% Installation Info for this file:
%###############################################################################
% WARNING: Please do not use this file without adjusting it!
% You need to adjust it a little for yourself.
%
% Save a copy of this file to "$HOME/.slrnrc".
% Please adjust *all* values of the following variables:
% hostname realname replyto server username
% editor_command and mail_editor_command
%
% The percent character (%) starts a "comment",
% ie slrn will ignore the rest of the line.
% (But you probably have realized this already. ;-)
%###############################################################################
%
%% 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.com (John Doe)".
% set username "abuse"
% set username "faqbot"
set username "devnull"
set hostname "michael-prokop.at"
set realname "Michael Prokop"
% Set this if you want replies to your articles to go to a address different
% from the one in "From:".
% my "reply-to" looks like "usenet-030619@michael-prokop.at"
% a cronjob generates this dynamic information daily:
% echo "set replyto \"usenet-`date +%y%m%d`@michael-prokop.at\"" > $HOME/.slrnrc_replyto
include ".slrnrc_replyto"
% If you don't want to use such an setup just use the following value:
% set replyto "ng@michael-prokop.at"
% What to put into the "Organization:" header line.
% set organization "Privat."
% set organization "WTF?"
set organization "www.michael-prokop.at"
% The name of your signature file. If "", no signature is added.
% Note, slrn automatically adds a sigdash, "-- " to the beginning
% if there is not already one present.
% Default if unset is ~/.signature.
%
% set signature "signature_ng"
% set signature "/home/mika/.slrn/signature"
% set signature "signify --input=/home/mika/signify/signature"
% set signature "/home/mika/signature_ng"
% This appends a string to the end of every post, so I don't have to write
% my name every time.
% set signoff_string "mfg,\n(-: Michael"
% set signoff_string "(-: Michael"
set signoff_string "-mika-"
%% 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.
% We can refer to other slrnrc files located elsewhere
% using 'include', a la muttrc in Mutt.
% All paths are relative to $SLRNHOME or $HOME if unset.
% e.g. include ".slrn-colours", "News/server-settings"
% But here are the basics anyway:
server news.individual.de ".slrn/newsrc_be"
server news.tugraz.at ".slrn/newsrc_tu"
server forums.macromedia.com ".slrn/newsrc_ma"
server aconews.univie.ac.at ".slrn/newsrc_aco"
server localhost ".slrn/newsrc_local"
server msnews.microsoft.com ".slrn/newsrc_microsoft"
server news.opera.com ".slrn/newsrc_opera"
server news.gmane.org ".slrn/newsrc_gmane"
server news.uslinuxtraining.com ".slrn/newsrc_us"
server dmt.fh-joanneum.at ".slrn/newsrc_fh"
server luggage.rince.de ".slrn/newsrc_luggage.rince.de"
server 10.11.18.42 ".slrn/newsrc_vcg"
% #ifdef GMANE
% set spool_inn_root ".news/slrnpull/gmane.org"
% set spool_root ".news/slrnpull/gmane.org/news"
% set spool_nov_root ".news/slrnpull/gmane.org/news"
% #elifdef INDIVIDUAL
% set spool_inn_root ".news/slrnpull/individual.net"
% set spool_root ".news/slrnpull/individual.net/news"
% set spool_nov_root ".news/slrnpull/individual.net/news"
% #else
% Error: please start slrn with -DGMANE or -DINDIVIDUAL
% #endif
% 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.isp.tld" "username" "password"
% Sorry - but server (password) information is NOT FOR YOU! :-)
include ".slrnrc-private" % Has no place in an online slrnrc ;)
% write_newsrc_flags :
% write_newsrc_flags = 0 (default): save all groups when writing newsrc file
% write_newsrc_flags = 1 : do not save any unsubscribed groups
% write_newsrc_flags = 2 : do not save any unread-unsubscribed groups
set write_newsrc_flags 0
% Include Macro-Files
% set macro directory and load macros for color editing
% To launch macro do ESC-e-c
% set macro_directory "/usr/local/share/slrn/macros"
% !!!Important!!! Because not everyone has the slang-macros I am using
% I check for a variable called $SLRN_SETUP - I export it in my
% shell-configfile (~/.zshrc).
#if$SLRN_SETUP yes
% interpret ".slrn/editing.sl" % X-Editing-Started- und X-Editing-Finished-Header
interpret ".slrn/gnupg.sl" % A macro that allows GnuPG integration in slrn
% To verify a signed article: shift-v
% To import a PGP key: esc, ctrl-k.
% To import keys a keyserver must be specified in
% GnuPG's options file in ~/.gnupg.
interpret ".slrn/gpg-stuff.sl" % Verify GnuPG-Signature (default via pressing F5)
% interpret ".slrn/body_search.sl" % search in bodies
interpret ".slrn/mark_and_go.sl" % mark group as read and switch to next group directly
% interpret ".slrn/signatur.sl" % not necesary - I create my own signatures with agrep ;-)
interpret ".slrn/stickytags.sl" % A macro that sets "sticky" tags on articles -- tags do not
% disappear when we quit the group.
% interpret ".slrn/temp_score.sl" % This macro allows one to "temporarily score" the current
% newsgroup based on subject, author or body. It binds the
% function 'temp_score_newsgroup' to the '%' key in article mode.
interpret ".slrn/notify_postponed.sl" % A macro that tells me that I have "postponed" messages
interpret ".slrn/slrnface.sl" % A macro that allows X-faces to be displayed.
% Needs slrnface and X.
interpret ".slrn/rtfFAQ.sl" % Make slrn open a web browser and get the FAQ for the current
% news group.
% interpret ".slrn/sigcolor.sl" % load the sig-color slang file
interpret ".slrn/onekey-score.sl" % allows you to create scorefile entries based on the current
% article via a single function call / keystroke.
interpret ".slrn/get-by-mid.sl" % get message-id via google - does not work :-((
interpret ".slrn/identity.sl" % Emmanuele Bassi's "identity" macro, allows different
% From:, .sig etc. on a per-groups basis.
interpret ".slrn/identity-conf" % Config-File for identity.sl
interpret ".slrn/metamail.sl" % pipe article to metamail (great!)
interpret ".slrn/msgid.sl" % This macro searches the article for msg-id's and presents them
% in the menu form (just as it is with URL's).
% interpret ".slrn/create_msgid.sl" % create my own message-id
interpret ".slrn/t-prot.sl" % TOFU-Protection :-)
% interpret ".slrn/quit.sl" % emulate mutt's behavior: 'q' hide the article window if reading an article, or
% exit the newsgroup when browsing headers
% interpret ".slrn/article_mode_hook.sl" % be carefull! when using it signature will
% not be appended any more!
#else
interpret "color.sl" % Change colors in slrn via menue
#endif
% This can either be set to "nntp" (read online) or "spool" (use local spool)
% set server_object "nntp"
% This can be "nntp" (post directly to the server), "inews" (use external
% program for posting) or "slrnpull" (spool message for slrnpull to send).
% set post_object "nntp"
% Set this to zero if you want to leave Message-ID generation to your server
% or your system does not have a proper unique hostname.
set generate_message_id 1
% generate date-header?
set generate_date_header 1
% If non-zero, slrn reads the active file on each startup. You might want to
% use this if your network connection is fast or the server has few groups.
% set read_active 0
set read_active 1
% How many articles do you want to read by default if more than $NUMBER unread
% articles are available:
% set query_read_group_cutoff 100
% The following variables are only meaningful when using spool mode:
% Basic directory settings
% set spool_inn_root "/var/lib/news"
% set spool_root "/var/spool/news"
% set spool_nov_root "/var/spool/news/over.view"
% These are relative to spool_inn_root unless they start with "/".
% set spool_active_file "data/active"
% set spool_activetimes_file "data/active.times"
% set spool_newsgroups_file "data/newsgroups"
% This value is relative to the directories under spool_nov_root:
% set spool_nov_file ".overview"
% Whether to check for each article when reading an overview file (slower,
% but may save you from lots of "article not available" errors).
% set spool_check_up_on_nov 0
%
%% 3. Which external programs do you want to use?
%
% Note OS/2 and Win32 users:
% To separate directories you can either use a single '/' or
% double '\\'. Single backslashes are not supported. For example, use
% "C:\\home\\file.txt" or "C:/home/file.txt" but NOT "C:\home\file.txt"
% Set your favourite editor. Use %s for the file name and %d for the line
% where the cursor should be placed (usually at the beginning of the body).
% set editor_command "jed '%s' -g %d -tmp"
% set editor_command "vim -c 'set tw=68 et'"
% set editor_command "vim + %s 'set tw=68 et'"
% set editor_command "vim -f '+set tw=68' +%d '%s'"
set editor_command "vim -f +%d '%s'"
% does not work due to locking problem by slrn ;-( -->
% set editor_command "screen -t 'slrn-posting' vim -f +%d '%s'"
% You can have separate commands for editing posts, mail, and score files.
set mail_editor_command "mutt -H '%s'"
% set mail_editor_command "mutt -H '%s'; exit 1"
% set mail_editor_command "jed '%s' -g %d -tmp --mail-mode"
% set post_editor_command "jed '%s' -g %d -tmp --mail-mode"
% set post_editor_command "jed '%s' -tmp -f ~/.slrn/wywal_ms_siga.txt"
set score_editor_command "vim '%s'" % /home/mika/.slrn/scoring"
% set score_editor_command "jed '%s' -g %d -tmp --score-arrange-score"
% set score_editor_command "vim -c 'set tw=68 et'"
% If non-zero, abort posting or email operation if the file was not modified
% by the editor.
set abort_unmodified_edits 1
% In case we need metamail to display an article:
% set metamail_command "export METAMAIL_PAGER=vim && metamail"
set metamail_command "metamail"
% WWW browser to use. Xbrowser is used when the DISPLAY environment variable
% is set; non_Xbrowser otherwise.
% set non_Xbrowser "links '%s'"
% set non_Xbrowser "lynx '%s'"
% set non_Xbrowser "w3m '%s'"
% set non_Xbrowser "elinks '%s'"
set non_Xbrowser "screen -t 'url' $BROWSER %s"
% set Xbrowser "Netscape '%s'" %
% set Xbrowser "galeon '%s' &"
% set Xbrowser "elinks '%s'"
% set Xbrowser "opera -remote 'openURL(%s, new-window)' &"
% set Xbrowser "opera -remote 'openURL(%s, new-page)' &"
set Xbrowser "screen -t 'url' $BROWSER %s"
% Command to use for printing
#ifdef UNIX
% On Unix, printer_name is the command to use for printing
% set printer_name "lpr -Pmy_printer"
% set printer_name "lpr -Plp"
set printer_name "muttprint"
#elifdef WIN32
% On Win32, printer_name is set to the print queue
% set printer_name "MyPrinter"
#endif
% In case you want to use another mailer than sendmail. Be sure that it
% implements the same interface, though!
% set sendmail_command "/usr/lib/sendmail -oi -t -oem -odb"
% Set this to one if you want the "From:" header in e-mails to be generated
% from the hostname / username / realname variable.
% Note: Not all MTAs are configured to allow this.
% set generate_email_from 0
%
%% 4. Directory / file names
%
% Note: All filenames in this section are relative to HOME unless they start
% with a '/'.
% Filename where articles / email you sent are archived.
% Note: If these are unset, slrn does not keep a copy of outgoing messages.
set save_posts "News/My_Posts"
set save_replies "News/My_Replies"
% File where failed posts are appended. Use "" to disable saving.
set failed_posts_file "~/dead.letter"
% Name of score file.
% set scorefile "News/Score"
% set scorefile ".scoring"
set scorefile "/home/mika/.slrn/scoring"
% Articles scoring min_high_score and above: high scoring article.
% Articles scoring below max_low_score: low scoring article.
% Articles scoring at or below kill_score will be killed.
% set min_high_score 1
% set max_low_score 0
set min_high_score 100
set max_low_score -30
set kill_score -9000
% Name of directory where decoded files are placed.
set decode_directory "News"
% Directory where all other files are saved.
set save_directory "News"
% Directory where postponed articles are placed. Please make sure it exists.
set postpone_directory "News/postponed"
% Whether to put temporary files for postings, followups and replies in the
% directory specified by the TMPDIR environment variable or /tmp.
% set use_tmpdir 0
%
%% 5. Attribution lines / custom headers
%
% This sets the attribution lines for follow-ups and replies. The following
% format specifiers are recognized:
% %d:date, %D:date (formatted), %r:real name, %R:first name,
% %f:email address, %s:subject, %m:msgid, %n:newsgroups, %%: percent
% set followup_string "On %d, %r <%f> wrote:"
set followup_string "* %r <%f> wrote:"
%
% If non-zero, signature will not be included in quoted text of followups
set followup_strip_signature 0
% set followup_strip_signature 1
% Fixing GnuPG's munging of sig-delimiters.
% slrn by defalt recognises "--". GnuPG, for reasons of its own,
% changes this to "- -- " which slrn doesn't like. Work around this
% by changing the regexp that sets what slrn recognises as a .sig.
% strip_sig_regexp "-- " "- -- ?"
% Setup strip_was_regexp
%
% We can strip the old subject people sometimes include (new subject [was: old subject])
% when they change the subject line. This relies on others following USENET conventions.
%
% We want to strip the old subject automatically on followups AND when creating
% scorefile entries based on the subject, this is what's below.
% This variable doesn't affect sorting at all, see strip_re_regexp for explanation
strip_was_regexp " ?(was:.*)$"
% What to count as "quotes" in text (this one includes fancy "Name>"
% type Supercite quotes. These will be ignored when you press 'T', so
% it's important.
%
% Explanation of this regular expression:
% "^[>|#:][>|#: ]*"
% ^ beginning of line
% [>|#:] any of the characters angle, pipe, hash, colon.
% [>|#: ] next char is either space or another of previous char
% * zero or more of the previous set
% Sven Guckes :
% Some other things I have tried - but did not like. ;-)
% ignore_quotes "^ ? ?[>#:%|)}}=+-]" "^[ \t]*[A-Za-z]+>"
% ignore_quotes "^[ \t]+[a-zA-Z]+>" "^ ? ?[]>#:|)}}=+-]+"
% ignore_quotes "^[ \t]*[a-zA-Z]+>"
% ignore_quotes "^ ? ?[]-|>#:)}=+%>]"
% John E. Davis :
% Yes, he is the author of SLRN! :-)
% ignore_quotes "^\t? \\{0,5\\}[]{}><:=|+\xBB!]" "^[\t ]*[A-Za-z]+>"
% From Tomasz Sienicki. Could it be... yes, this one
% is perfect! Doesn't catch lines starting with a :)
ignore_quotes "^ *[a-zA-Z-]*>" "^ *[\]|)]" "^ *:[^-()^]"
% Heikki "Hezu" Kantola :
% ignore_quotes "^[ ]*[>^<:|&;%]" "^[ ]*[a-zA-Z-]*>" "^()" "^[-=]+>" "^\+\+"
% Felix von Leitner
% ignore_quotes "^ ? ?[>:)=-]"
% ignore_quotes "^ ? ?[-=]?[>:]"
% Some kind of default ;-)
% ignore_quotes "^[>|#:][>|#: ]"
% Explanation of this regular expression:
% "^[>|#:][>|#: ]*"
% ^ beginning of line
% [>|#:] any of the characters angle, pipe, hash, colon.
% [>|#: ] next char is either space or another of previous char
% * zero or more of the previous set
% other tries:
% ignore_quotes "^ ? ?[A-Za-z0-9]*[]-|>#:)}=+%>]" % Too aggressive
% ignore_quotes "^[>|#:][>|#: ]" % Not aggressive enough!
% ignore_quotes "^ ? ?[]-|>#:)}=+%>]" % Sven's.
%
% reply_string: ...
% set reply_string "In %n, you wrote:" % default
% An attribution should always cite the name and address - and with
% replies to posts in email it is nice to see the newsgroups, too.
% set reply_string "In %n, you wrote:"
set reply_string "* %r <%f> [%n]:
% Custom headers to add to *new* posts
% set custom_headers "Mail-Copies-To: nobody"
% set custom_headers "X-Birthday: yes"
% set custom_headers "X-No-Archive: yes\nX-no-archive: yes\nX-No-archive: yes"
% set custom_headers "X-MSMail-Priority: High"
% set custom_headers "X-Signature-Color: black"
% set custom_headers "X-Exploder: \nX-USA:
% set custom_headers "X-ASCII-01: * ___ __\nX-ASCII-02: * .^ _| .----. .-----. .---.-. | |--.\nX-ASCII-03: * | _| | _| | -__| | _ | | <\nX-ASCII-04: * |__| |__| |_____| |___._| |__|__|"
% set custom_headers "X-ASCII-01: * _\nX-ASCII-02: * __ _ _ _ _ __ | |\nX-ASCII-03: * / _` | '_| ' \\| |\nX-ASCII-04: * \\__, |_| |_|_|_|_|\nX-ASCII-05: * |___/"
% 030513 For the feature X-Face check out Karl Voit's XFace-Mini-Howto:
% http://www.karl-voit.at/howtos/en/xface.txt
%
% Make sure to replace all " with \" and all \ with \\. Additional, replace all % with %%.
% " -> \"
% \ -> \\
% % -> %%
%
% xface personal - original
% &4&X!qr7?b~~M!]h:9HnNn?X3D8dYY'4{:x^Rez09{Nw/AUy:Jukdh_t8`4|T#m%g{!cf#c#A.tk^41\KOEM+QIcCDsFkFCFdb?iKY1k:]G]J*1P]PAHMS_2U7pjn)T\IQ
% watch it:
% http://www.dairiki.org/xface/xface.php?xface=%264%26X%21qr7%3Fb%7E%7EM%21%5Dh%3A9HnNn%3FX3D8dYY%274%7B%3Ax%5ERez09%7BNw%2FAUy%3AJukdh_t8%604%7CT%23m%25g%7B%21cf%23c%23A.tk%5E41%5CKOEM%2BQIcCDsFkFCFdb%3FiKY1k%3A%5DG%5DJ%2A1P%5DPAHMS_2U7pjn%29T%5CIQ&preview=1&enlarge=4
% personal-xface:
%set custom_headers "X-Face: &4&X!qr7?b~~M!]h:9HnNn?X3D8dYY'4{:x^Rez09{Nw/AUy:Jukdh_t8`4|T#m%%g{!cf#c#A.tk^41\\KOEM+QIcCDsFkFCFdb?iKY1k:]G]J*1P]PAHMS_2U7pjn)T\\IQ\nX-GPG-Key: http://www.michael-prokop.at/gpg\nX-Registered-Linux-User: 224337\nX-User-Agent-Patches: separator, longoptions -> http://www.michael-prokop.at/slrn/"
% donald-xface:
% set custom_headers "X-Face: kCY!\\;XUq:|P>|is9z7L_fUW28hu7vJ{:M&hOe&sc:dmcZg7$GDL!xy(=`mX+1\"N-@Z!!Ct/Fj@)?xq{^3Q#!BUy/jT`!p4^XATm{JVxh[5tYceJ.bVDE+Df%%3\nX-GPG-Key: http://www.michael-prokop.at/gpg\nX-Registered-Linux-User: 224337\nX-User-Agent-Patches: separator, longoptions -> http://www.michael-prokop.at/slrn/"
set custom_headers "X-Face: kCY!\\;XUq:|P>|is9z7L_fUW28hu7vJ{:M&hOe&sc:dmcZg7$GDL!xy(=`mX+1\"N-@Z!!Ct/Fj@)?xq{^3Q#!BUy/jT`!p4^XATm{JVxh[5tYceJ.bVDE+Df%%3\nX-User-Agent-Patches: separator, longoptions -> http://www.michael-prokop.at/slrn/"
% personal-xface:
%set followup_custom_headers "X-Face: &4&X!qr7?b~~M!]h:9HnNn?X3D8dYY'4{:x^Rez09{Nw/AUy:Jukdh_t8`4|T#m%%g{!cf#c#A.tk^41\\KOEM+QIcCDsFkFCFdb?iKY1k:]G]J*1P]PAHMS_2U7pjn)T\\IQ\nX-GPG-Key: http://www.michael-prokop.at/gpg\nX-Registered-Linux-User: 224337\nX-User-Agent-Patches: separator, longoptions -> http://www.michael-prokop.at/slrn/"
% donald-xface:
set followup_custom_headers "X-Face: kCY!\\;XUq:|P>|is9z7L_fUW28hu7vJ{:M&hOe&sc:dmcZg7$GDL!xy(=`mX+1\"N-@Z!!Ct/Fj@)?xq{^3Q#!BUy/jT`!p4^XATm{JVxh[5tYceJ.bVDE+Df%%3\nX-User-Agent-Patches: separator, longoptions -> http://www.michael-prokop.at/slrn/"
% donald-xface:
set supersedes_custom_headers "X-Face: kCY!\\;XUq:|P>|is9z7L_fUW28hu7vJ{:M&hOe&sc:dmcZg7$GDL!xy(=`mX+1\"N-@Z!!Ct/Fj@)?xq{^3Q#!BUy/jT`!p4^XATm{JVxh[5tYceJ.bVDE+Df%%3\nX-User-Agent-Patches: separator, longoptions -> http://www.michael-prokop.at/slrn/\nX-Superseded-Date: %d"
% Custom headers for followup/reply/supersedes. These can use format
% specifiers as in the 'followup_string' variable.
% set followup_custom_headers "Mail-Copies-To: nobody"
% set reply_custom_headers "X-newsgroup: %n\nX-realname: %r"
% set supersedes_custom_headers "X-Superseded-Date: %d"
% CC on followups.
% Some authors will request a CC by email as well as a post,
% by default slrn asks if we want to send an email as well.
% "Post the NG, read the NG" so set to 0 for 'never CC'
set cc_followup 1
% These are inserted when sending email CCs of your postings.
% cc_post_string currently does not support any % escapes.
% Obsolete variable name is "cc_followup_string"
% the new name is cc_post_string:
set cc_post_string "[This message has also been posted to %n.]"
% header_display_format:
% Chose the format within the article menu.
% (requires slrn-0.9.6.2, I think.)
%
% You can specify up to 10 different formats and switch among them using
% toggle_header_formats (default binding: ESC a).
%
% % percent character
% C prints `C' if current thread is collapsed
% D date (as defined by overview_date_format)
% F flags (read/unread, `*' and `#' tags, header number)
% G GroupLens score
% P prints `P' if current article has a parent (inside threads)
% S score
% T thread tree
% b article size (numer of bytes)
% c number of messages in current subthread
% d date
% f from header
% l article length (number of lines)
% n server number
% r author's real name
% s subject
% t number of messages in thread plus tree
% %Xg: indicates that the cursor should be moved to column X
% (numbered from 0). If X is negative, the cursor will
% be moved X columns from the right edge of the window.
%
% Here are slrn's default settings:
%
% header_display_format 0 "%F%-5S%G%-5l:[%12r]%t%s"
% header_display_format 1 "%F%G%-5l:[%12r]%t%s"
% header_display_format 2 "%F%-5l:%t%s"
% header_display_format 3 "%F%-5S%-5l:%t%50s %r"
% header_display_format 4 "%F%-5S [%10r]:%t%49s %-19g[%17d]"
%
% Examples:
% header_display_format 0 "%F%-5S%G%-5l:[%12r]%t%s"
% header_display_format 0 "%F%G%-5l:[%12r]%t%s"
% header_display_format 0 "%F%-5l:%t%s"
% header_display_format 0 "%F%-5S%-5l:%t%50s %r"
% header_display_format 0 "%F[%6D]%-5S%G%-5l:[%12r] %t%s"
% header_display_format 0 "%F%-5S%G%-5l:[%12r] (%6D)%t%s"
% header_display_format 0 "%F%-5S%-5l: [%15r] [%9d] %t %70s"
% header_display_format 0 "%F%-5S%-5l: [%20r] %t %70s"
header_display_format 0 "%F%-5S%-5l: [%20r] %t %70s %-19g[%17d]"
header_display_format 1 "%F%G%-5l:[%12r]%t%s"
header_display_format 2 "%F%-5l:%t%s"
header_display_format 3 "%F%-5S%-5l:%t%50s %r"
header_display_format 4 "%F%-5S [%10r]:%t%49s %-19g[%17d]"
% How to display the groups index
group_display_format 0 " %F%-5u %n%45g%d"
group_display_format 1 " %F%-5u [%-6t] %n"
group_display_format 2 " %F [%-5u|%-6t] %n%45g%d"
group_display_format 3 " %F%-5u %n%50g%-8l-%h"
% Spoiler Anzeige Modus
% Falls 0 bleibt das Display unverändert, und zeigt einen Spoiler an.
% Falls 1 Startet eine neue Seite, in der ein Spoiler angezeigt wird
% Falls 2 bleibt das Display unverändert, und alle Spoiler werden angezeigt.
% Falls 3 Startet eine neue Seite, und zeigt darin alle Spoiler an.
set spoiler_display_mode 1
%% 6. Character mapping / MIME support
%
% Character set used for the local display; valid values are:
% isolatin, ibm850, ibm852, next, koi8
set charset isolatin
% You may set this to a comma-separated list of MIME charsets your terminal
% is capable to display.
% compatible_charsets "us_ascii,iso-8859-1,iso-8859-15,windows-1252,utf-8"
% The example adds two Chinese charsets:
% compatible_charsets "Big5,gb2312"
% Character set to declare when posting 8bit characters. Do *not* use
% the same value as for "charset" here.
set use_mime 1
set mime_charset "iso-8859-15"
% If non-zero, call metamail for MIME formats slrn cannot handle.
% set use_metamail 0
%
%% 7. Some preferences for the header window (see the manual for more)
%
% .___________________________________________________.
% | Sorting Method |
% | |
% | 0 No sorting |
% | 1 Thread Headers |
% | 2 Sort by subject |
% | 3 Thread, then sort result by subject. |
% | 4 Sort by scores. |
% | 5 Thread, then sort by scores. |
% | 6 Sort by score and subject |
% | 7 Thread, then sort by score and subject |
% | 8 Sort by date (with most recent first) |
% | 9 Thread, then sort by date (most recent first) |
% | 10/A Sort by date (most recent last) |
% | 11/B Thread, then Sort by date (most recent last) |
% .___________________________________________________.
set sorting_method 7
set check_new_groups 1 % let slrn check for new newsgroups
set unsubscribe_new_groups 1 % new groups are unsubscribed by default
% beep:
% 0: do not send beep to terminal.
% 1: send audible beep.
% 2: send only visible bell.
% 3: send both audible and visible bell.
set beep 2
% If non-zero, a header with a new subject will start a new thread.
set new_subject_breaks_threads 0 % No, no!
%
%% 8. Some preferences for the article pager (see the manual for more)
%
% Which headers do you want to see by default?
% You can also match all headers starting with a given string and exclude
% specific headers by preceding them with "!" (e.g. use "X-,!X-Trace:" to
% display all the "X-"headers except "X-Trace:").
visible_headers "Subject:,From:,Organization:,Newsgroups:,Date:,Followup-To:,Mail-Copies-To:,Reply-To:,Message-ID:,Supersedes:,User-Agent,X-Mailer,X-Newsreader:,X-Posting-Agent:,X-Http-User-Agent:,X-,!X-Trace:,!X-Complaints-To:,!X-Face:,!X-MSMail-Priority:,!X-MimeOLE:,!X-Priority:,!X-Accept-Language:"
%visible_headers "From:,Subject:,Newsgroups:,Followup-To:,Reply-To:,X-Newsreader:,User-Agent:"
% If non-zero, #v+ and #v- will be interpreted as markers of verbatim lines.
set process_verbatim_marks 1
% If non-zero, hide #v+/#v- verbatim marks.
% set hide_verbatim_marks 0
% If non-zero, hide signature in articles.
% set hide_signature 0
% If non-zero, hide PGP signature in articles.
% set hide_pgpsignature 0
%
%% 9. Display / color settings
%
% If non-zero, slrn will draw the thread tree using simple ascii characters
set simulate_graphic_chars 1
% Enable xterm/win32 mouse support: 1 to enable, 0 to disable
% set mouse 0
% Setup cursor bar.
% Draw cursor bar ala tin instead of slrn "->" cursor?
% By default the current article is marked with a ->, if we set this to 1
% the article is highlighted with a horizontal bar across the screen
set display_cursor_bar 0
% Set to 1 to have slrn scroll by full page instead of by line.
set scroll_by_page 0
% Should color be used to indicate the score of an article?
% (0) scores do not influence colors (1) scores are colored by their value
% (2) subjects are colored by score (3) both are colored by score
set color_by_score 3
% If non-zero, the subjects of unread articles are highlighted
set highlight_unread_subjects 2
% set highlight_unread_subjects 1
% If non-zero, URLs are highlighted.
set highlight_urls 1
% Enables blinking in monochrome mode and allows bright backgrounds in some
% color terminals:
% set use_blink 1
% Setup actions we want slrn to ask confirmation for (confirm_actions)
% It's set as an integer, the default is 31 which means that for everything
% below slrn will ask for confirmation
% 1 Confirm marking groups as read or un-read.
% 2 Confirm printing an article.
% 4 Confirm posts, followups, replies and supersedes.
% 8 Confirm leaving a group by following a news: URL.
% 16 Confirm quitting slrn.
% set confirm_actions 10 % 2 & 8
set confirm_actions 31 % 1 & 2 & 4 & 8 & 16
% Always warn me when I a followup will be sent to groups other than
% the NG I read it in.
set warn_followup_to 2
% Where shall we look for emphasised text?
%
% Emphasised text is /italic/, *bold* or _underlined_ we mightn't want
% to highlight emphasised text in the whole message, so we can set this
% integer.
%
% 1 scan message portion (the non-quoted, non-signature part)
% 2 scan quoted text
% 4 scan signature
% 8 scan header lines
set emphasized_text_mask 1 % message only
% How should emphasised text be displayed anyway?
% If 1, do not write _ and * characters.
% If 2, write _ and * with spaces.
% Otherwise (and if non-zero) write _ and * characters
set emphasized_text_mode 3 % Display text as text!
% Moving to the next article.
% I want to move to next article by default when I am at the end
% of the one I am reading, to ask for confirmation of this set to 1
set query_next_article 0 % Very annoying until I turned it off.
% Change the article help line.
% By default slrn includes a little line of infos in the article pager to
% help in case we forget which keys to press.
%
% Default: "SPC:Pgdn B:PgUp u:Un-Mark-as-Read f:Followup n:Next p:Prev q:Quit"
% set art_help_line " [:Verbatim | W: Wrap | esc-q:Fix OE quotes | ;:Mark | ,:Goto marked | esc-1-K:Edit scorefile"
% set art_help_line " [:Verbatim | ;:Mark | ,:Goto marked | [ESC 1] ESC t:Collapse/Uncollapse all threads"
set art_help_line "....+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8 <-> (c) Michael Prokop"
% Change the group help line.
% Default: "SPC:Select p:Post c:CatchUp l:List q:Quit ^R:Redraw (u)s:(Un)Subscribe"
set group_help_line "SPC:Select p:Post c:CatchUp l:List q:Quit ^R:Redraw (u)s:(Un)Subscribe <-> (c) Michael Prokop"
% Wrapping of long lines, and auto-wrapping.
% sylpheed and some OE lusers can't seem to turn on the line-wrap,
% so we'll have to do it for them.
set wrap_flags 7 % _Automatically_ wrap quoted material and body
% 0 wrap body only
% 1 wrap headers and body
% 2 wrap quoted material and body
% 3 wrap headers, quoted material and body
% If you want to wrap long lines automatically, without having to press
% a key, you can set the variable to one of these values:
% 4 wrap body only
% 5 wrap headers and body
% 6 wrap quoted material and body
% 7 wrap headers, quoted material and body
% set wrap_method 0 % *never* wrap within "word"
% This variable controls what text is wrapped in
% the article pager when pressing the wrap_article key
% (bound to ``W'' by default):
% 0 wrap body only
% 1 wrap headers and body
% 2 wrap quoted material and body
% 3 wrap headers, quoted material and body
set wrap_method 2 % When 0, it wraps at word boundries, leaving words that are
% longer than your line width untouched.
% When 1, it always wraps at the right border of the screen.
% When 2, it first tries so find a good place to wrap the line and
% wraps at the right border only when necessary.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Notice: I "sourced-out" my color-setup to file ~/.slrn/colors.mika %
% so let's include it: %
include .slrn/colors.mika
% include .slrn/colors.sven
% include .slrn/colors.alfie
% include .slrn/colors.test
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% These settings are used for color terminals:
% color article "lightgray" "black"
% color author "magenta" "black"
% color boldtext "brightblue" "black"
% color box "black" "white"
% color cursor "brightgreen" "black"
% color date "lightgray" "black"
% color description "lightgray" "black"
% color error "red" "black"
% color frame "yellow" "blue"
% color from_myself "brightmagenta" "black"
% color group "lightgray" "black"
% color grouplens_display "lightgray" "black"
% color header_name "green" "black"
% color header_number "green" "black"
% color headers "brightcyan" "black"
% color neg_score "green" "black"
% color pos_score "blue" "black"
% color high_score "red" "black"
% color italicstext "magenta" "black"
% color menu "yellow" "blue"
% color menu_press "lightgray" "yellow"
% color message "lightgray" "black"
% color normal "lightgray" "black"
% color pgpsignature "lightgray" "black"
% color quotes "red" "black"
% color quotes1 "magenta" "black"
% color quotes2 "brown" "black"
% color quotes3 "brown" "black"
% color quotes4 "brown" "black"
% color quotes5 "brown" "black"
% color quotes6 "brown" "black"
% color quotes7 "brown" "black"
% color response_char "green" "black"
% color signature "red" "black"
% color selection "yellow" "blue"
% color status "yellow" "blue"
% color subject "lightgray" "black"
% color thread_number "lightgray" "black"
% color tilde "green" "black"
% color tree "red" "black"
% color underlinetext "cyan" "black"
% color url "white" "black"
% color verbatim "green" "black"
%% 10. Group mode key bindings
%
% Cursor movement:
setkey group line_down "\eOB" % Go to the next group
setkey group line_down "\e[B"
setkey group line_down "^N"
setkey group line_up "\eOA" % Go to the previous group
setkey group line_up "\e[A"
setkey group line_up "^P"
setkey group page_down "^V" % Scroll to the next page
setkey group page_down "\e[6~"
setkey group page_down "\e[G" % (FreeBSD keycode)
setkey group page_down "^D"
setkey group page_up "\eV" % Scroll to the previous page
setkey group page_up "\e[5~"
setkey group page_up "\e[I" % (FreeBSD keycode)
setkey group page_up "^U"
setkey group bob "\e<" % Go to the bottom of the list
setkey group bob "^K\eOB"
setkey group bob "^K\e[B"
setkey group eob "\e>" % Go to the top of the list
setkey group eob "^K\eOB"
setkey group eob "^K\e[B"
setkey group group_search_backward "\\"% Group keyword search backward
setkey group group_search_forward "/" % Group keyword search forward
% Actions:
setkey group select_group " " % Enter the current newsgroup
setkey group select_group "\r"
setkey group post "P" % Post an article
setkey group post_postponed "\eP" % Post or edit a postponed article
setkey group refresh_groups "G" % Get new news from server
setkey group toggle_scoring "K" % Select scoring mode
setkey group repeat_last_key "." % Repeat last key sequence
setkey group evaluate_cmd "^X\e" % Read line and interpret it as S-Lang
setkey group suspend "^Z" % Suspend slrn
setkey group quit "Q" % Quit slrn
% Group management:
setkey group catchup "C" % Mark all articles as read
setkey group uncatchup "\eu" % Mark all articles as unread
setkey group add_group "a" % Add a new newsgroup
setkey group subscribe "S" % Subscribe to the current newsgroup
setkey group unsubscribe "U" % Unsubscribe from the current newsgroup
setkey group move_group "m" % Move newsgroup to a different location
setkey group transpose_groups "^X^T" % Transpose position of groups
setkey group save_newsrc "X" % Force a save of the newsrc file
% Display:
setkey group toggle_group_formats "\033A" % Toggle group display formats
setkey group toggle_hidden "l" % Toggle display of hidden groups
setkey group toggle_list_all "L" % Toggle listing of unsubscribed groups
setkey group redraw "^L" % Redraw the screen
setkey group redraw "^R"
setkey group help "?" % Display a help screen
%
%% 11. Article mode key bindings
%
% General movement:
setkey article next "n" % next unread article
setkey article previous "p" % previous unread article
setkey article skip_to_next_group "N" % go to the next group
setkey article skip_to_next_group "\e\e[C"
setkey article skip_to_next_group "\e\eOC"
setkey article skip_to_previous_group "\e\e[D" % go to the previous group
setkey article skip_to_previous_group "\e\eOD"
setkey article next_high_score "!" % next article with high score
setkey article next_same_subject "=" % next article with same subject
setkey article goto_last_read "L" % go to the last read article
setkey article "call(\"catchup_all\");call(\"skip_to_next_group\")" "\e\eV"
setkey article "call(\"toggle_collapse_threads\");call(\"delete\")" "\e\ev"
% Actions:
setkey article post "P" % Post a new article
setkey article post_postponed "\eP" % Post/edit a postponed article
setkey article followup "f" % Post a followup
setkey article reply "r" % Reply to poster
setkey article forward "F" % Forward posting via mail
setkey article supersede "\e^S" % Supersede article
setkey article cancel "\e^C" % Cancel article
setkey article save "O" % Save article
setkey article pipe "|" % Pipe article
setkey article print "y" % Print article
setkey article decode ":" % Decode article
setkey article suspend "^Z" % Suspend slrn
% setkey article quit "q" % Quit slrn
setkey article fast_quit "Q" % Quit slrn immediately
% Moving in the article pager:
setkey article article_line_down "\eOD" % Scroll article down one line
setkey article article_line_down "\e[D"
setkey article article_line_up "\e\eOB" % Scroll article up one line
setkey article article_line_up "\e\e[B"
setkey article article_page_down " " % Scroll article down one page
setkey article article_page_up "^?" % Scroll article up one page
setkey article article_page_up "b" % Scroll article up one page
setkey article article_eob ">" % Move to the end of the article
setkey article article_bob "<" % Move to the beginning
setkey article article_left "\eOD" % Pan article to the left
setkey article article_left "\e[D"
setkey article article_right "\eOC" % Pan article to the right
setkey article article_right "\e[C"
setkey article article_search "/" % Search forward in the article
setkey article skip_quotes "\t" % Skip beyond quoted text
setkey article forward_digest "g" % Skip to next digest
% Moving in the header display:
setkey article header_line_down "\eOB" % Move to next article
setkey article header_line_down "\e[B"
setkey article header_line_down "^N"
setkey article header_line_up "\eOA" % Move to previous article
setkey article header_line_up "\e[A"
setkey article header_line_up "^P"
setkey article header_page_down "^V" % Scroll down one page
setkey article header_page_down "\e[6~"
setkey article header_page_down "\e[G" % (FreeBSD keycode)
setkey article header_page_down "^D"
setkey article header_page_up "\eV" % Scroll up one page
setkey article header_page_up "\e[5~"
setkey article header_page_up "\e[I" % (FreeBSD keycode)
setkey article header_page_up "^U"
setkey article header_eob "\e>" % Go to last article in group
setkey article header_bob "\e<" % Go to first article in group
setkey article goto_article "j" % Move to article (number)
setkey article author_search_forward "a" % Author search forward
setkey article author_search_backward "A" % Author search backward
setkey article subject_search_forward "s" % Subject search forward
setkey article subject_search_backward "S" % Subject search backward
% Marking as read/unread:
setkey article delete "d" % Mark article as read
setkey article undelete "u" % Mark article as unread
setkey article delete_thread "\ed" % Mark (Sub-)Thread as read
setkey article catchup_all "c" % Mark all articles as read
%setkey article catchup_all "\ec"
setkey article catchup "\eC" % Catchup (up to this article)
setkey article uncatchup_all "\eu" % Mark all articles as unread
setkey article uncatchup "\eU" % Uncatchup (up to this article)
setkey article expunge "x" % Remove all read articles
% Display properties:
setkey article toggle_headers "t" % Full headers (on/off)
setkey article toggle_rot13 "\eR" % Toggle ROT-13 decryption
setkey article toggle_quotes "T" % Display quoted lines (on/off)
setkey article toggle_signature "\\" % Show signature (on/off)
setkey article wrap_article "W" % Wrap long lines (on/off)
setkey article show_spoilers "\e?" % Reveal spoilers (on/off)
setkey article toggle_pgpsignature "]" % Show PGP signature (on/off)
setkey article toggle_verbatim_marks "[" % Show verbatim marks (on/off)
setkey article enlarge_article_window "^" % Enlarge the article window
setkey article shrink_article_window "^^" % Shrink the article window
setkey article zoom_article_window "z" % Maximize/Unmaximize article
setkey article hide_article "h" % Hide/Show the article window
setkey article browse_url "U" % Search for URL and follow it
setkey article toggle_sort "\eS" % Select threading method
setkey article toggle_collapse_threads "\et" % Collapse/Uncollapse thread
setkey article toggle_header_formats "\ea" % Toggle header display formats
setkey article redraw "^L" % Redraw screen
setkey article redraw "^R" % Redraw screen
setkey article help "?" % Display help screen
% Miscellaneous actions:
setkey article create_score "K" % Create a scorefile entry
setkey article view_scores "v" % Show which rules matched
% setkey article locate_article "\el" % Locate article by Message-ID
setkey article get_children_headers "\e^P" % Find all children
setkey article get_parent_header "\ep" % Reconstruct thread
setkey article mark_spot ";" % Mark current article position
setkey article exchange_mark "," % Return to marked article
setkey article tag_header "#" % Numerically tag article
setkey article untag_headers "\e#" % Remove all numerical tags
setkey article toggle_header_tag "*" % Set/remove header tag
setkey article repeat_last_key "." % Repeat last key sequence
setkey article grouplens_rate_article "0" % Rate article with grouplens
setkey article evaluate_cmd "^X\e" % Interpret line as S-Lang
%
%% Command prompt key bindings
%
setkey readline bol "^A" % Beginning of line
setkey readline eol "^E" % End of line
setkey readline right "\e[C" % Move right
setkey readline left "\e[D" % Move left
setkey readline bdel "^H" % Delete backward
setkey readline bdel "^?" % Delete Backward
setkey readline del "^D" % Delete Foreword
setkey readline delbol "^U" % Delete to Beginning of line
setkey readline delbow "^W" % Delete to Beginning of word
setkey readline deleol "^K" % Delete to End of line
setkey readline trim "\e/" % Trim whitespace
setkey readline quoted_insert "^Q" % Quoted insert
setkey readline complete "\t" % Complete filename
setkey readline cycle " " % Cycle among filenames
%setkey readline del "\e[3~"
% Own definitions
% interpret onekeyscore.sl:
setkey article "OneKeyScore->create_score('f', +300, 'a', 0, 1);" "^i"
setkey article "OneKeyScore->create_score('f', -300, 'a', 0, 1);" "^o"
setkey article "OneKeyScore->create_score('f', -9000, 'a', 0, 1);" "^p"
setkey article OneKeyScore->ignore_subthread "^K"
setkey article OneKeyScore->watch_subthread "^W"
% interpret metamail.sl:
setkey article pipe_to_metamail "m"
% interpret get-by-mid.sl
setkey article GetByMid->get_article "\el"
% interpret gnupg.sl
setkey article gnupg->verify_signature "V"
setkey article gnupg->import_key "\e^K"
% interpret mark_and_go.sl
setkey article mark_and_go "\en"
setkey group mark_and_go "\en"
% interpret color.sl
setkey article edit_colors "\ec"
% interpret quit.sl
% setkey article hide_article_or_quit "q"
% This is a special hack for HP terminals to get the arrow keys working.
% Are there any other terminals being used with non-ANSI arrow keys?
#if$TERM hpterm
setkey group line_up "\eA"
setkey group line_down "\eB"
setkey article header_line_down "\eB"
setkey article header_line_up "\eA"
setkey article article_left "\eD"
setkey article article_right "\eC"
#endif