Metropoli BBS
VIEWER: slrn.rc MODE: TEXT (ASCII)
% -*- slang -*-
% This is a sample startup file for the slrn news reader.  The percent
% character is used for comments. 

% OS/2 version...you must change the following entries in this file before
% using slrn.

% Name of score file  (give fully qualified pname)
scorefile "d:/slrn/News/Score"

% Name of directory where decoded files are placed, fully qualified
set decode_directory "d:/slrn/News"
% Directory where all other files are saved.
set save_directory "d:/slrn/News"

% You must fill in the following, since they are not provided by default
% on OS/2.
% Your real name as you wish it to appear in the From: line.
realname "I haven't set my real name yet"
% Your email address where you wish to receive mailed replies.
replyto  this@is.a.bogus.address

% The sendmail command allows you to specify the location of the sendmail
% configuration file. The one supplied with slrn will send all outgoing
% mail to a relay host for actual processing; it must be modified per the
% comments in that file to specify the name of the relay host, the name of
% the host where you read mail, and the directory in which outgoing mail
% is queued. You should only need to change the fully qualified pathname
% of the sendmail configuration file here.
set sendmail_command "sendmail -t -Cd:/slrn/slrnconf.sml > nul"

% The rest of this file is optional; the defaults supplied here will work
% without alterations.

% SERVER to NEWSRC mapping
%server hsdndev.harvard.edu .jnewrc-hsdndev
%server news.uni-stuttgart.de .jnewsrc-stuttgart

%nnrpaccess HOSTNAME USERNAME PASSWORD

% The quote string will be used when following up/replying
quote_string ">"

% 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 string.  Here, the following format specifiers are
% recognized: %d:date, %r:real name, %f:email address, %s:subject,
%             %m:msgid, %n:newsgroups, %%: percent 
followup "On %d, %r <%f> wrote:"

% 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.
% OS/2 default: use WebExplorer, assume it's installed on the PATH
%set Xbrowser "netscape %s &"
set non_Xbrowser "start explore %s"

% If autobaud is present, output rate will be synced to baud rate
% Note: meaningless and not supported on OS/2
%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 3

% If non-zero, slrn will automatically subscribe new groups.  The default is 0.
set unsubscribe_new_groups 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

% Enable xterm mouse support: 1 to enable, 0 to disable
set mouse 0

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

% 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 
% If 1, display subject then name.  If 2, display name then subject.
set author_display 2

% 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 non-zero, a Cc: header to poster will automatically be generated on 
% followups
set cc_followup 0
cc_followup_string "[This message has also been posted.]"

% Command used to invoke editor.  In the following example, %s represents
% the file name and %d represents the starting line number
%editor_command "jed %s -g %d -tmp"

% 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
set sorting_method 3

% If non-zero, threads will be uncollapsed when a group is entered
set uncollapse_threads 0

% If non-zer, 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.
set read_active 0

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

% 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

%---------------
% Mime support
%---------------
set use_mime 0
set mime_charset "iso-8859-1"
% If non-zero, call metamail for mime formats that slrn does not handle
set use_metamail 1

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

% Character to use to hide spoiler text:
set spoiler_char '*'

%------------
% Colors
%------------
color normal black white
color error red white
color status yellow blue
color group blue white
color article blue white
color cursor brightgreen white
color author magenta white
color subject black white
color headers brightcyan white
color menu yellow blue
color menu_press blue yellow
color tree red white
color quotes red white
color thread_number blue white
color high_score red white
color signature red white
color header_number green white
color description blue white
%-----------------------------------------------------
% Monochrome attributes for monochrom terminals
% These have no effect on OS/2, where color is assumed
%-----------------------------------------------------
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
%------------------------  Group keymap------------------------------------

setkey group	add_group	"A"    %  add a new newsgroup
setkey group	bob		"\e<"  %  beg of buffer
setkey group	bob		"^K\eOA"
setkey group	bob		"^K\e[A"
setkey group	catch_up	"C"    %  mark group as read
setkey group	down		"\eOB" %  next group
setkey group	down		"\e[B"
setkey group	down		"^N"
setkey group	eob		"\e>"  %  end of buffer
setkey group	eob		"^K\eOB"
setkey group	eob		"^K\e[B"
setkey group	group_search_forward	"/"
setkey group	help		"?"
setkey group	pagedown	"^D"   %  next page of groups
setkey group	pagedown	"\e[6~"
setkey group	pagedown	"^V"
setkey group	pageup		"\eV"  %  previous page of groups
setkey group	pageup		"^U"
setkey group	pageup		"\e[5~"
setkey group	post		"P"
setkey group	quit		"Q"
setkey group	redraw		"^L"
setkey group	redraw		"^R"
setkey group	refresh_groups	"G"
setkey group	save_newsrc	"X"
setkey group	select_group	"\r"   %  read articles from group
setkey group	select_group	" "
setkey group	subscribe	"S"    %  subscribe to group (See unsubscribe)
setkey group	suspend		"^Z"
setkey group	toggle_group_display	"\033A"
setkey group	toggle_score	"K"
setkey group	toggle_hidden	"l"
setkey group	toggle_list_all	"L"
setkey group	unsubscribe	"U"    %  unsubscribe
setkey group	up		"\eOA" %  previous line
setkey group	up		"\e[A"
setkey group	up		"^P"

%---------------- Article mode keymap -------------------------------------

setkey article	goto_article	"j"
setkey article	pipe_article	"|"
setkey article	skip_quotes	"\t"

setkey article	pageup		"^U"
setkey article	pageup		"\e[5~"
setkey article	pageup		"\eV"

setkey article	pagedn		"\e[6~"
setkey article	pagedn		"^D"
setkey article	pagedn		"^V"

setkey article post "P"
setkey article toggle_show_author "\ea"
setkey article get_parent_header "\ep"
setkey article	catchup_all	"c"
setkey article	catchup_all	"\ec"
setkey article	uncatchup_all	"\eu"
setkey article	catchup		"\eC"
setkey article	uncatchup	"\eU"
setkey article	scroll_dn	" "	% scroll to next page of article or select article
setkey article	scroll_up	"^?"	% scroll to next page of article
setkey article	scroll_up	"b"	% (scroll_up or article_pageup)
setkey article  article_lineup	"\e\e[A"	% Scroll article one line up
setkey article  article_lineup	"\e\eOA"
setkey article  article_linedn	"\e\e[B"	% Scroll article one line down
setkey article  article_linedn	"\e\eOB"
setkey article	article_linedn  "\r"
setkey article  article_search	"/"	% Search forward through article
setkey article  author_search_forward	"a"	% Search forward for an author
setkey article  author_search_backward	"A"	% Search backward for an author
setkey article  cancel		"\e^C"	% Cancel the article
setkey article  delete		"d"	% Mark current article as read and move to the next unread one
setkey article  down		"^N"	% Move to the next article
setkey article  down		"\e[B"
setkey article  down		"\eOB"
setkey article  mark_spot	";"	% Set mark at current article
setkey article  exchange_mark	","	% Set the mark and return to the location of the previous mark.
setkey article  followup	"f"	% Followup on the article
setkey article  forward		"F"	% Forward the article to someone
setkey article  help		"?"	% Show help screen
setkey article  hide_article	"H"	% Hide the article window.
setkey article  goto_end	">"	% goto the end of the article
setkey article  left		"\eOD"
setkey article  left		"\e[D"
setkey article  next		"n"	% next unread article
setkey article  skip_to_next_group	"N"	% next group
setkey article  prev		"p"	% previous unread article
setkey article  quit		"q"	% Quit back to group mode.
setkey article  redraw		"^L"	% Redraw the display
setkey article  redraw		"^R"
setkey article  reply		"r"	% Reply to the author of the current article
setkey article  goto_beginning	"<"	% goto the beginning of the article
setkey article  right		"\e[C"
setkey article  right		"\eOC"
setkey article  save		"O"	% append to a file in Unix mail format
setkey article  subject_search_forward	"s"	% Search forward/backward for an article with a specific subject
setkey article  subject_search_backward	"S"
setkey article  suspend		"^Z"	% Suspend the newsreader
setkey article	toggle_rot13	"\eR"
setkey article	toggle_sort	"\eS"
setkey article  toggle_headers	"t"	% Toggle the display of some headers on and off
setkey article  toggle_quotes	"T"
setkey article  undelete    	"u"	% Mark the current article as unread
setkey article  up		"^P"	% Move to the previous article
setkey article  up		"\eOA"
setkey article  up		"\e[A"
setkey article	art_header_bob	"\e<"	% Move to first article in list
setkey article	art_header_eob	"\e>"	% Move to last article in list
setkey article	shrink_window	"^^"	% Ctrl-6 or Ctrl-^	% Shrink header window
setkey article	enlarge_window	"^"	% Shift-6 or just ^	% Enlarge header window

%setkey article  skip_to_prev_group ""     % No default binding
%setkey article  fast_quit          ""     % No default binding

% 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 up "\eA"
  setkey group down "\eB"
  setkey article down "\eB"
  setkey article up "\eA"
  setkey article left "\eD"
  setkey article right "\eC"
#endif

[ RETURN TO DIRECTORY ]