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