home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Spezial / SPEZIAL2_97.zip / SPEZIAL2_97.iso / ANWEND / ONLINE / SLRN0931 / DOC / SLRN.RC < prev    next >
Text File  |  1997-02-24  |  16KB  |  432 lines

  1. % -*- slang -*-
  2. % This is a sample startup file for the slrn news reader.  The percent
  3. % character is used for comments.
  4.  
  5. interpret slrn.sl
  6.  
  7. % SERVER to NEWSRC mapping
  8. server                  nntp.isp.com newsrc.isp
  9. server                  nntp.red.edu newsrc.red
  10.  
  11. % The next line is for those servers that require a password.
  12. %nnrpaccess "HOSTNAME" "USERNAME" "PASSWORD"
  13. %nnrpaccess "HOSTNAME" "USERNAME" ""         % Prompt for password
  14. %nnrpaccess "HOSTNAME" ""         ""         % Prompt for username and password
  15.  
  16. hostname        "ips.com"
  17. username        "joe"
  18.  
  19. set realname        "Joe User"
  20. set replyto        "joe@isp.com"
  21.  
  22. %set organization        "None whatsoever..."
  23.  
  24. % Name of signature file to use
  25. set signature        "slrn_sig"
  26.  
  27. % The quote string will be used when following up/replying
  28. set quote_string ">"
  29.  
  30. % This regular expression defines lines that are consider to be quoted lines.
  31. % It says that any lines beginning with 0-2 spaces followed by a either
  32. % a >, <, :, |, or = character is a quoted line.
  33. ignore_quotes "^ ? ?[><:=|]"
  34.  
  35. % This sets the follow-up string.  Here, the following format specifiers are
  36. % recognized: %d:date, %r:real name, %f:email address, %s:subject,
  37. %             %m:msgid, %n:newsgroups, %%: percent 
  38. %set followup            "In %m, %r <%f> wrote:"
  39. %set followup "On %d, %r <%f> wrote:"
  40. set followup "%r wrote:"
  41.  
  42. %Custom headers to add to NEW posts
  43. % set custom_headers "X-No-Archive: YES"
  44. % set custom_headers X-Whatever: bla\nX-Misc: bla bla"
  45.  
  46. % Custom headers for followup/reply.  These can use format specifiers as
  47. % in the 'followup' string variable.
  48. %set followup_custom_headers "X-newsgroup: %n\nX-realname: %r\n"
  49. %set reply_custom_headers "X-newsgroup: %n\nX-realname: %r\n"
  50.  
  51.  
  52. % WWW browser to use.  The 'U' key in article mode searches the current article
  53. % for a URL and then calls X browser if slrn appears to be run in X windows
  54. % and non_Xbrowser otherwise.  Note: The second Xbrowser form assumes that
  55. % netscape is already running.
  56. set non_Xbrowser "e:\\network\\lynx\\lynx.exe %s"
  57. %set Xbrowser "netscape %s &"
  58. %set Xbrowser "netscape -remote 'openURL(%s)' &"
  59.  
  60. % if non-zero, display first article when entering article-mode.
  61. set show_article 0
  62.  
  63. % if non-zero, show description of newsgroup if available
  64. set show_descriptions 0
  65.  
  66. % column where group descriptions start
  67. set group_dsc_start_column 40
  68.  
  69. % If non-zero, backups of the newsrc file are not performed.
  70. set no_backups 0
  71.  
  72. % If 0, do not beep terminal.  If 1, send audible beep.  If 2, send only 
  73. % visible bell.  If 3, send both.
  74. set beep 3
  75.  
  76. % If non-zero, slrn will automatically subscribe new groups.  The default is 0.
  77. set unsubscribe_new_groups 0
  78.  
  79. % If non-zero, all subject titles will be displayed even though many are
  80. % duplicated.  A zero value makes the screen look less busy.
  81. set show_thread_subject 0
  82.  
  83. % Enable xterm mouse support: 1 to enable, 0 to disable
  84. set mouse 0
  85.  
  86. % Set to 1 to have slrn scroll by full page instead of by line.
  87. set scroll_by_page 1
  88.  
  89. % Setting either of these to 0 will enable you to move directly to the
  90. % next article/group without confirmation
  91. set query_next_group 1
  92. set query_next_article 1
  93.  
  94. % if zero, you will not see the "next group:" prompt.  This is NOT the same
  95. % as the 'query_next_group' variable.
  96. set prompt_next_group 0
  97.  
  98. % Set this to 0 for no-confirmation on follow, reply, quit, etc...
  99. set confirm_actions 1
  100.  
  101. % If 0, do not display the name of the author.
  102. % If 1, display subject then name.  If 2, display name then subject.
  103. set author_display 2
  104.  
  105. % If 0, save all groups when writing newsrc file
  106. % if 1, do not save any unsubscribed groups
  107. % if 2, do not save any unread-unsubscribed groups
  108. set write_newsrc_flags 0
  109.  
  110. % If greater than 0, a Cc: header to poster will automatically be generated on 
  111. % followups.  If -1, prompt first.
  112. set cc_followup 0
  113. set cc_followup_string "[This message has also been posted.]"
  114.  
  115. % Set to 0 to turn off display of ~ at end of article
  116. set use_tilde 1
  117.  
  118. % Filename where articles you have posted are archived.
  119. %set save_posts "News"
  120.  
  121. % The sendmail command allows you to substitute another mailer.  Be sure that 
  122. % it implements the same interface as sendmail!
  123. %set sendmail_command "sendmail -t -Ce:/network/slrn/slrnconf.sml"
  124. set sendmail_command "e:\\network\\slrn\\mailfile.cmd"
  125.  
  126. % Name of score file  (relative to HOME directory)
  127. scorefile "slrn_score"
  128.  
  129. % Articles scoring min_high_score and above constitute a high scoring article.
  130. % Articles scoring below max_low_score define a low scoring article.
  131. % Articles scoring at or below kill_score will be killed.
  132. set min_high_score 1
  133. set max_low_score 0
  134. set kill_score -9999
  135.  
  136. % Name of directory where decoded files are placed (relative to HOME)
  137. set decode_directory "News"
  138. % Directory where all other files are saved.
  139. set save_directory "/0_down/docs"
  140.  
  141. % Command used to invoke editor.  In the following example, %s represents
  142. % the file name and %d represents the starting line number
  143. %set editor_command "jed %s -g %d -tmp"
  144. set editor_command "fte -mMSG -#%d %s"
  145.  
  146. % If  non-zero, files used for posting, followup and reply will be regarded as
  147. % temporary files in the directory specified by the TMPDIR environment 
  148. % variable or /tmp.
  149. set use_tmpdir 1
  150.  
  151. % If 0, do not sort.  If 1, perform threading.  If 2, sort by subject
  152. % If 3, thread then sort result by subject
  153. % If 4, sort by score.  If 5, thread then sort by score.
  154. % If 6, sort by score and subject
  155. % If 7, thread, then sort by score and subject
  156. % If 8, sort by date with most recent first
  157. % If 9, thread, then sort by date with most recent first
  158. % If 10, sort by date with most recent last
  159. % If 11, thread then sort by date with most recent last
  160. set sorting_method 0
  161. set display_score 1
  162.  
  163. % If 1, a header with a new subject will start a new thread.
  164. set new_subject_breaks_threads 0
  165.  
  166. % If non-zero, threads will be uncollapsed when a group is entered
  167. set uncollapse_threads 0
  168.  
  169. % If non-zero, slrn will read the active file when starting.   This may lead to
  170. % faster startup times IF your network connection is fast.  If it slow, 
  171. % DO NOT USE IT.  If you can, I recommend setting it to 1.
  172. set read_active 1
  173.  
  174. % If non-zero and read_active is zero, slrn will attempt to use the NNTP
  175. % XGTITLE command when listing unsubscribed groups.
  176. set use_xgtitle 0
  177.  
  178. % What to wrap when wrapping an article:
  179. %  0 or 4 ==> wrap body
  180. %  1 or 5 ==> wrap headers, body
  181. %  2 or 6 ==> wrap quoted text, body
  182. %  3 or 7 ==> wrap headers, quoted text, body
  183. % The higher number indicates that every article will be automatically 
  184. % wrapped.
  185. set wrap_flags 5
  186.  
  187. % Maximum number of articles to read before slrn will prompt.  Default is 100.
  188. % Set this to zero to turn of prompting.
  189. set query_read_group_cutoff 0
  190.  
  191. % Numes of lines to read from the server between percentage counter updates
  192. % This number will vary with the speed of the connection to your server
  193. set lines_per_update 100
  194.  
  195. %---------------------------------------------------------------------------
  196. % Mime support
  197. %---------------------------------------------------------------------------
  198. set use_mime 1
  199. set mime_charset "iso-8859-1"
  200. % If non-zero, call metamail for mime formats that slrn does not handle
  201. set use_metamail 0
  202.  
  203. % If non-zero, header numbers will be displayed in the left-margin of the
  204. % header window.  These numbers may be used as ``thread selectors''.
  205. set use_header_numbers 1
  206.  
  207. % If non-zero, prompt for reconnection if the NNTP connection drops.  If zero,
  208. % attempt reconnection without asking user.
  209. set query_reconnect 0
  210.  
  211. % Character to use to hide spoiler text:
  212. set spoiler_char '*'
  213.  
  214. % Help text to be displayed at bottom of screen in various modes:
  215. %set art_help_line "bla bla"
  216. %set header_help_line "more bla bla"
  217. %set group_help_line "and even more"
  218.  
  219.  
  220. %---------------------------------------------------------------------------
  221. %  Local spool configuration
  222. %---------------------------------------------------------------------------
  223. % set spool_inn_root "/export/opt/inn"
  224. % set spool_root "/export/news"
  225. % set spool_nov_root "/export/news"
  226. %
  227. %% -- The following filenames are relative to spool_root
  228. %
  229. % set spool_nov_file ".overview"
  230. % set spool_active_file "data/active"
  231. % set spool_activetimes_file "data/active.times"
  232. % set spool_newsgroups_file "data/newsgroups"
  233.  
  234.  
  235. %---------------------------------------------------------------------------
  236. %  GroupLens Support
  237. %---------------------------------------------------------------------------
  238. %set use_grouplens 1
  239. %color grouplens_display blue white
  240. %set grouplens_host        "grouplens.cs.umn.edu"
  241. %set grouplens_port        9000
  242. %set grouplens_pseudoname    "YOUR_PSEUDONAME"
  243. %grouplens_add "rec.cooking.recipes"
  244. %grouplens_add "comp.os.linux.misc"
  245.  
  246.  
  247. %---------------------------------------------------------------------------
  248. % Colors
  249. %---------------------------------------------------------------------------
  250. color normal black lightgray
  251. color status yellow blue
  252. color menu yellow blue
  253. color menu_press blue yellow
  254. color headers magenta lightgray
  255. color group blue lightgray
  256. color subject black lightgray
  257. color author blue lightgray
  258. color error red lightgray
  259. color cursor yellow lightgray
  260. color article blue lightgray
  261. color tree red lightgray
  262. color quotes red lightgray
  263. color signature red lightgray
  264. color thread_number blue lightgray
  265. color header_number green lightgray
  266. color high_score red lightgray
  267. color description blue lightgray
  268. color tilde green lightgray
  269. color header_name red lightgray
  270.  
  271. %-----------------------------------------------------
  272. % Monochrome attributes for monochrom terminals
  273. %-----------------------------------------------------
  274. mono normal        none
  275. mono header_number    none
  276. mono error        blink bold
  277. mono status        reverse
  278. mono group        bold
  279. mono article        none
  280. mono cursor        bold reverse
  281. mono author        none
  282. mono subject        none
  283. mono headers        bold
  284. mono menu        reverse
  285. mono menu_press        none
  286. mono tree        bold
  287. mono quotes        underline
  288. mono thread_number    bold
  289. mono high_score        bold
  290. mono signature        none
  291. mono description    none
  292. %------------------------  Group keymap------------------------------------
  293.  
  294. setkey group    add_group    "A"    %  add a new newsgroup
  295. setkey group    bob        "\e<"  %  beg of buffer
  296. setkey group    bob        "^K\eOA"
  297. setkey group    bob        "^K\e[A"
  298. setkey group    catch_up    "C"    %  mark group as read
  299. setkey group    down        "\eOB" %  next group
  300. setkey group    down        "\e[B"
  301. setkey group    down        "^N"
  302. setkey group    eob        "\e>"  %  end of buffer
  303. setkey group    eob        "^K\eOB"
  304. setkey group    eob        "^K\e[B"
  305. setkey group    group_search_forward    "/"
  306. setkey group    help        "?"
  307. setkey group    pagedown    "^D"   %  next page of groups
  308. setkey group    pagedown    "\e[6~"
  309. setkey group    pagedown    "^V"
  310. setkey group    pageup        "\eV"  %  previous page of groups
  311. setkey group    pageup        "^U"
  312. setkey group    pageup        "\e[5~"
  313. setkey group    post        "P"
  314. setkey group    quit        "Q"
  315. setkey group    redraw        "^L"
  316. setkey group    redraw        "^R"
  317. %setkey group    refresh_groups    "G"
  318. setkey group    save_newsrc    "X"
  319. setkey group    select_group    "\r"   %  read articles from group
  320. setkey group    select_group    " "
  321. setkey group    subscribe    "S"    %  subscribe to group (See unsubscribe)
  322. setkey group    suspend        "^Z"
  323. setkey group    toggle_group_display    "\033A"
  324. setkey group    toggle_scoring  "K"
  325. setkey group    toggle_hidden    "l"
  326. setkey group    toggle_list_all    "L"
  327. setkey group    unsubscribe    "U"    %  unsubscribe
  328. setkey group    up        "\eOA" %  previous line
  329. setkey group    up        "\e[A"
  330. setkey group    up        "^P"
  331.  
  332. %---------------- Article mode keymap -------------------------------------
  333.  
  334. setkey article    goto_article    "j"
  335. setkey article    pipe_article    "|"
  336. setkey article    skip_quotes    "\t"
  337.  
  338. setkey article    pageup        "^U"
  339. setkey article    pageup        "\e[5~"
  340. setkey article    pageup        "\eV"
  341.  
  342. setkey article    pagedn        "\e[6~"
  343. setkey article    pagedn        "^D"
  344. setkey article    pagedn        "^V"
  345.  
  346. setkey article post "P"
  347. setkey article toggle_show_author "\ea"
  348. setkey article get_parent_header "\ep"
  349. setkey article    catchup_all    "c"
  350. setkey article    catchup_all    "\ec"
  351. setkey article    uncatchup_all    "\eu"
  352. setkey article    catchup        "\eC"
  353. setkey article    uncatchup    "\eU"
  354. setkey article    scroll_dn    " "    % scroll to next page of article or select article
  355. setkey article    scroll_up    "^?"    % scroll to next page of article
  356. setkey article    scroll_up    "b"    % (scroll_up or article_pageup)
  357. setkey article  article_lineup    "\e\e[A"    % Scroll article one line up
  358. setkey article  article_lineup    "\e\eOA"
  359. setkey article  article_linedn    "\e\e[B"    % Scroll article one line down
  360. setkey article  article_linedn    "\e\eOB"
  361. setkey article    article_linedn  "\r"
  362. setkey article  article_search    "/"    % Search forward through article
  363. setkey article  author_search_forward    "a"    % Search forward for an author
  364. setkey article  author_search_backward    "A"    % Search backward for an author
  365. setkey article  cancel        "\e^C"    % Cancel the article
  366. setkey article  delete        "d"    % Mark current article as read and move to the next unread one
  367. setkey article  down        "^N"    % Move to the next article
  368. setkey article  down        "\e[B"
  369. setkey article  down        "\eOB"
  370. setkey article  mark_spot    ";"    % Set mark at current article
  371. setkey article  exchange_mark    ","    % Set the mark and return to the location of the previous mark.
  372. setkey article  followup    "f"    % Followup on the article
  373. setkey article  forward        "F"    % Forward the article to someone
  374. setkey article  help        "?"    % Show help screen
  375. setkey article  hide_article    "H"    % Hide the article window.
  376. setkey article  art_eob        ">"    % goto the end of the article
  377. setkey article  left        "\eOD"
  378. setkey article  left        "\e[D"
  379. setkey article  next        "n"    % next unread article
  380. setkey article  skip_to_next_group    "N"    % next group
  381. setkey article  prev        "p"    % previous unread article
  382. setkey article  quit        "q"    % Quit back to group mode.
  383. setkey article  redraw        "^L"    % Redraw the display
  384. setkey article  redraw        "^R"
  385. setkey article  reply        "r"    % Reply to the author of the current article
  386. setkey article  art_bob        "<"    % goto the beginning of the article
  387. setkey article  right        "\e[C"
  388. setkey article  right        "\eOC"
  389. setkey article  save        "O"    % append to a file in Unix mail format
  390. setkey article  subject_search_forward    "s"    % Search forward/backward for an article with a specific subject
  391. setkey article  subject_search_backward    "S"
  392. setkey article  suspend        "^Z"    % Suspend the newsreader
  393. setkey article  toggle_collapse_threads "\et"
  394. setkey article    toggle_rot13    "\eR"
  395. setkey article    toggle_sort    "\eS"
  396. setkey article  toggle_headers    "t"    % Toggle the display of some headers on and off
  397. setkey article  toggle_quotes    "T"
  398. setkey article  undelete        "u"    % Mark the current article as unread
  399. setkey article  up        "^P"    % Move to the previous article
  400. setkey article  up        "\eOA"
  401. setkey article  up        "\e[A"
  402. setkey article    header_bob    "\e<"    % Move to first article in list
  403. setkey article    header_eob    "\e>"    % Move to last article in list
  404. setkey article    shrink_window    "^^"    % Ctrl-6 or Ctrl-^    % Shrink header window
  405. setkey article    enlarge_window    "^"    % Shift-6 or just ^    % Enlarge header window
  406.  
  407. %setkey article  skip_to_prev_group ""     % No default binding
  408. %setkey article  fast_quit          ""     % No default binding
  409.  
  410. % This is a special hack for HP terminals to get the arrow keys working.  
  411. % Are there any other terminals being used with non-ANSI arrow keys?
  412. #if$TERM hpterm
  413.   setkey group up "\eA"
  414.   setkey group down "\eB"
  415.   setkey article down "\eB"
  416.   setkey article up "\eA"
  417.   setkey article left "\eD"
  418.   setkey article right "\eC"
  419. #endif
  420.  
  421. % Command prompt keymap
  422. setkey readline bol         "^A"        % Beginning of line
  423. setkey readline eol         "^E"        % End of line
  424. setkey readline right         "\e[C"        % Move right
  425. setkey readline left         "\e[D"        % Move left
  426. setkey readline bdel         "^H"        % Delete backward
  427. setkey readline bdel         "^?"        % Delete Backward
  428. setkey readline del         "^D"        % Delete Foreword
  429. setkey readline deleol         "^K"        % Delete to End of line
  430. setkey readline trim         "\e/"        % Trim whitespace
  431. setkey readline quoted_insert     "^Q"        % Quoted insert
  432.