conf

view .slrnrc @ 375:26aed4e65671

cleanup hgrc a bit
author Alexander Solovyov <alexander@solovyov.net>
date Mon Jan 23 18:20:04 2012 +0200
parents 8ece801793bb
children
line source
1 % Slrn config
2 % (c) Alexander Solovyov, 2002-2006
3 % piranha AT piranha.org.ua
5 set username "piranha"
6 set hostname "viii.ntu-kpi.kiev.ua"
7 set realname "Alexander Solovyov"
8 %set organization "Crazy Penguinz Crew"
10 set confirm_actions 0
12 set signature ".signature"
14 set server_object "nntp"
15 set post_object "nntp"
16 set generate_message_id 1
17 set read_active 1
19 set editor_command "jed '%s' -g %d -tmp"
20 set mail_editor_command "jed %s -tmp -f '{mail_mode;email_prepare_reply;email_prepare_body;}'"
21 set post_editor_command "jed %s -tmp -f '{mail_mode;email_prepare_reply;email_prepare_body;}'"
22 %set score_editor_command "jed '%s' -g %d -tmp --score-arrange-score"
23 set abort_unmodified_edits 1
24 set non_Xbrowser "lynx '%s'"
26 set save_posts ".news/posted"
27 set save_replies ".news/replied"
28 set failed_posts_file ""
30 % Name of score file.
31 %set scorefile "News/Score"
33 set decode_directory ".news"
34 set save_directory ".news"
35 set postpone_directory ".news/postponed"
37 % This sets the attribution lines for follow-ups and replies. The following
38 % format specifiers are recognized:
39 % %d:date, %D:date (formatted), %r:real name, %R:first name,
40 % %f:email address, %s:subject, %m:msgid, %n:newsgroups, %%: percent
41 set followup_string "According to %r:"
42 set reply_string "According to you in %n:"
44 % Custom headers to add to *new* posts
45 %set custom_headers "Mail-Copies-To: nobody"
47 % Custom headers for followup/reply/supersedes. These can use format
48 % specifiers as in the 'followup_string' variable.
49 %set followup_custom_headers "Mail-Copies-To: nobody"
50 %set reply_custom_headers "X-newsgroup: %n\nX-realname: %r"
51 %set supersedes_custom_headers "X-Superseded-Date: %d"
53 % These are inserted when sending email CCs of your postings.
54 % cc_post_string currently does not support any % escapes.
55 %set cc_followup_string "[This message has also been posted to %n.]"
56 %set cc_post_string "[This message has also been posted.]"
58 set charset koi8
59 set mime_charset "koi8-u"
60 compatible_charsets "koi8-u,koi8-r,windows-1251,cp1251,koi8-ru"
62 set sorting_method 11
63 set new_subject_breaks_threads 0
65 visible_headers "From:,Subject:,Newsgroups:,Reply-To:,Date:"
67 % If non-zero, #v+ and #v- will be interpreted as markers of verbatim lines.
68 %set process_verbatim_marks 1
70 % If non-zero, hide #v+/#v- verbatim marks.
71 %set hide_verbatim_marks 0
73 % If non-zero, hide signature in articles.
74 %set hide_signature 0
76 % If non-zero, hide PGP signature in articles.
77 %set hide_pgpsignature 0
79 set simulate_graphic_chars 0
80 set display_cursor_bar 1
81 %set scroll_by_page 0
83 % Should color be used to indicate the score of an article?
84 % (0) scores do not influence colors (1) scores are colored by their value
85 % (2) subjects are colored by score (3) both are colored by score
86 %set color_by_score 3
88 set highlight_unread_subjects 2
89 set highlight_urls 1
92 set quote_string ">"
93 ignore_quotes "^[ ]?.?.?.?>"
94 set unsubscribe_new_groups 1
95 set check_new_groups 0
96 set drop_bogus_groups 0
97 set show_thread_subject 0
98 set query_next_group 1
99 set query_next_article 0
100 set confirm_actions 1
101 set write_newsrc_flags 1
102 set use_tilde 1
104 % What to wrap when wrapping an article:
105 % 0 or 4 ==> wrap body
106 % 1 or 5 ==> wrap headers, body
107 % 2 or 6 ==> wrap quoted text, body
108 % 3 or 7 ==> wrap headers, quoted text, body
109 % The higher number indicates that every article will be automatically
110 % wrapped.
111 set wrap_flags 3
113 set query_read_group_cutoff 500
115 set use_metamail 0
117 group_display_format 0 " %F%-5u [%-6t] %n"
118 % header_display_format 0 "%F [%16d] : [%16r]%t%s"
119 header_display_format 0 "%F%B%-5S [%25r]:%t%49s %-19g[%17d]"
121 % This color object is only used when highlight_unread_subjects is set to 2
122 % (see the reference manual for details):
123 color unread_subject "white" "black" "bold"
124 mono unread_subject "bold"
126 color article "cyan" default
127 color author "magenta" default
128 color boldtext "brightblue" default
129 color box "black" "white"
130 color cursor "brightgreen" default
131 color description "blue" default
132 color error "red" default
133 color frame "yellow" "blue"
134 color group "white" black
135 color grouplens_display "yellow" default
136 color header_name "green" default
137 color header_number "green" default
138 color headers "brightcyan" default
139 color high_score "red" default
140 color italicstext "magenta" default
141 color menu "yellow" "blue"
142 color menu_press "blue" "yellow"
143 %color normal "lightgray" "black"
144 color normal "cyan" default
145 color pgpsignature "blue" default
146 color quotes "brightred" default
147 color quotes1 "brightmagenta" default
148 color quotes2 "yellow" default
149 color quotes3 "brown" default
150 color quotes4 "brown" default
151 color quotes5 "brown" default
152 color quotes6 "brown" default
153 color quotes7 "brown" default
154 color response_char "brightcyan" default
155 color signature "red" default
156 color selection "yellow" "blue"
157 color status "yellow" "blue"
158 color unread_subject "white" "black"
159 color subject default default
160 color thread_number "cyan" default
161 color tilde "green" default
162 color tree "red" default
163 color underlinetext "cyan" default
164 color verbatim "green" default
165 color message default default
169 %% 10. Group mode key bindings
172 % Cursor movement:
173 setkey group line_down "\eOB" % Go to the next group
174 setkey group line_down "\e[B"
175 setkey group line_down "^N"
176 setkey group line_up "\eOA" % Go to the previous group
177 setkey group line_up "\e[A"
178 setkey group line_up "^P"
179 setkey group page_down "^V" % Scroll to the next page
180 setkey group page_down "\e[6~"
181 setkey group page_down "\e[G" % (FreeBSD keycode)
182 setkey group page_down "^D"
183 setkey group page_up "\eV" % Scroll to the previous page
184 setkey group page_up "\e[5~"
185 setkey group page_up "\e[I" % (FreeBSD keycode)
186 setkey group page_up "^U"
187 setkey group bob "\e<" % Go to the bottom of the list
188 setkey group bob "^K\eOB"
189 setkey group bob "^K\e[B"
190 setkey group eob "\e>" % Go to the top of the list
191 setkey group eob "^K\eOB"
192 setkey group eob "^K\e[B"
193 setkey group group_search_backward "\\"% Group keyword search backward
194 setkey group group_search_forward "/" % Group keyword search forward
196 % Actions:
197 setkey group select_group " " % Enter the current newsgroup
198 setkey group select_group "\r"
199 setkey group post "P" % Post an article
200 setkey group post_postponed "\eP" % Post or edit a postponed article
201 setkey group refresh_groups "G" % Get new news from server
202 setkey group toggle_scoring "K" % Select scoring mode
203 setkey group repeat_last_key "." % Repeat last key sequence
204 setkey group evaluate_cmd "^X\e" % Read line and interpret it as S-Lang
205 setkey group suspend "^Z" % Suspend slrn
206 setkey group quit "Q" % Quit slrn
208 % Group management:
209 setkey group catchup "C" % Mark all articles as read
210 setkey group uncatchup "\eu" % Mark all articles as unread
211 setkey group add_group "a" % Add a new newsgroup
212 setkey group subscribe "S" % Subscribe to the current newsgroup
213 setkey group unsubscribe "U" % Unsubscribe from the current newsgroup
214 setkey group move_group "m" % Move newsgroup to a different location
215 setkey group transpose_groups "^X^T" % Transpose position of groups
216 setkey group save_newsrc "X" % Force a save of the newsrc file
218 % Display:
219 setkey group toggle_group_formats "\033A" % Toggle group display formats
220 setkey group toggle_hidden "l" % Toggle display of hidden groups
221 setkey group toggle_list_all "L" % Toggle listing of unsubscribed groups
222 setkey group redraw "^L" % Redraw the screen
223 setkey group redraw "^R"
224 setkey group help "?" % Display a help screen
227 %% 11. Article mode key bindings
230 % General movement:
231 setkey article next "n" % next unread article
232 setkey article previous "p" % previous unread article
233 setkey article skip_to_next_group "N" % go to the next group
234 setkey article skip_to_next_group "\e\e[C"
235 setkey article skip_to_next_group "\e\eOC"
236 setkey article skip_to_previous_group "\e\e[D" % go to the previous group
237 setkey article skip_to_previous_group "\e\eOD"
238 setkey article next_high_score "!" % next article with high score
239 setkey article next_same_subject "=" % next article with same subject
240 setkey article goto_last_read "L" % go to the last read article
242 % Actions:
243 setkey article post "P" % Post a new article
244 setkey article post_postponed "\eP" % Post/edit a postponed article
245 setkey article followup "f" % Post a followup
246 setkey article reply "r" % Reply to poster
247 setkey article forward "F" % Forward posting via mail
248 setkey article supersede "\e^S" % Supersede article
249 setkey article cancel "\e^C" % Cancel article
250 setkey article save "O" % Save article
251 setkey article pipe "|" % Pipe article
252 setkey article print "y" % Print article
253 setkey article decode ":" % Decode article
254 setkey article suspend "^Z" % Suspend slrn
255 setkey article quit "q" % Quit slrn
256 setkey article fast_quit "Q" % Quit slrn immediately
258 % Moving in the article pager:
259 setkey article article_line_down "\eOD" % Scroll article down one line
260 setkey article article_line_down "\e[D"
261 setkey article article_line_down "\r"
262 setkey article article_line_up "\e\eOB" % Scroll article up one line
263 setkey article article_line_up "\e\e[B"
264 setkey article article_line_up "[3~"
265 setkey article article_page_down " " % Scroll article down one page
266 setkey article article_page_up "^?" % Scroll article up one page
267 setkey article article_page_up "b" % Scroll article up one page
268 setkey article article_eob ">" % Move to the end of the article
269 setkey article article_bob "<" % Move to the beginning
270 setkey article article_left "\eOD" % Pan article to the left
271 setkey article article_left "\e[D"
272 setkey article article_right "\eOC" % Pan article to the right
273 setkey article article_right "\e[C"
274 setkey article article_search "/" % Search forward in the article
275 setkey article skip_quotes "\t" % Skip beyond quoted text
276 setkey article forward_digest "g" % Skip to next digest
278 % Moving in the header display:
279 setkey article header_line_down "\eOB" % Move to next article
280 setkey article header_line_down "\e[B"
281 setkey article header_line_down "^N"
282 setkey article header_line_up "\eOA" % Move to previous article
283 setkey article header_line_up "\e[A"
284 setkey article header_line_up "^P"
285 setkey article header_page_down "^V" % Scroll down one page
286 setkey article header_page_down "\e[6~"
287 setkey article header_page_down "\e[G" % (FreeBSD keycode)
288 setkey article header_page_down "^D"
289 setkey article header_page_up "\eV" % Scroll up one page
290 setkey article header_page_up "\e[5~"
291 setkey article header_page_up "\e[I" % (FreeBSD keycode)
292 setkey article header_page_up "^U"
293 setkey article header_eob "\e>" % Go to last article in group
294 setkey article header_bob "\e<" % Go to first article in group
295 setkey article goto_article "j" % Move to article (number)
296 setkey article author_search_forward "a" % Author search forward
297 setkey article author_search_backward "A" % Author search backward
298 setkey article subject_search_forward "s" % Subject search forward
299 setkey article subject_search_backward "S" % Subject search backward
301 % Marking as read/unread:
302 setkey article delete "d" % Mark article as read
303 setkey article undelete "u" % Mark article as unread
304 setkey article delete_thread "\ed" % Mark (Sub-)Thread as read
305 setkey article catchup_all "c" % Mark all articles as read
306 setkey article catchup_all "\ec"
307 setkey article catchup "\eC" % Catchup (up to this article)
308 setkey article uncatchup_all "\eu" % Mark all articles as unread
309 setkey article uncatchup "\eU" % Uncatchup (up to this article)
310 setkey article expunge "x" % Remove all read articles
312 % Display properties:
313 setkey article toggle_headers "t" % Full headers (on/off)
314 setkey article toggle_rot13 "\eR" % Toggle ROT-13 decryption
315 setkey article toggle_quotes "T" % Display quoted lines (on/off)
316 setkey article toggle_signature "\\" % Show signature (on/off)
317 setkey article wrap_article "W" % Wrap long lines (on/off)
318 setkey article show_spoilers "\e?" % Reveal spoilers (on/off)
319 setkey article toggle_pgpsignature "]" % Show PGP signature (on/off)
320 setkey article toggle_verbatim_marks "[" % Show verbatim marks (on/off)
321 setkey article enlarge_article_window "^" % Enlarge the article window
322 setkey article shrink_article_window "^^" % Shrink the article window
323 setkey article zoom_article_window "z" % Maximize/Unmaximize article
324 setkey article hide_article "h" % Hide/Show the article window
325 setkey article browse_url "U" % Search for URL and follow it
326 setkey article toggle_sort "\eS" % Select threading method
327 setkey article toggle_collapse_threads "\et" % Collapse/Uncollapse thread
328 setkey article toggle_header_formats "\ea" % Toggle header display formats
329 setkey article redraw "^L" % Redraw screen
330 setkey article redraw "^R" % Redraw screen
331 setkey article help "?" % Display help screen
333 % Miscellaneous actions:
334 setkey article create_score "K" % Create a scorefile entry
335 setkey article view_scores "v" % Show which rules matched
336 setkey article locate_article "\el" % Locate article by Message-ID
337 setkey article get_children_headers "\e^P" % Find all children
338 setkey article get_parent_header "\ep" % Reconstruct thread
339 setkey article mark_spot ";" % Mark current article position
340 setkey article exchange_mark "," % Return to marked article
341 setkey article tag_header "#" % Numerically tag article
342 setkey article untag_headers "\e#" % Remove all numerical tags
343 setkey article toggle_header_tag "*" % Set/remove header tag
344 setkey article repeat_last_key "." % Repeat last key sequence
345 setkey article grouplens_rate_article "0" % Rate article with grouplens
346 setkey article evaluate_cmd "^X\e" % Interpret line as S-Lang
349 %% Command prompt key bindings
352 setkey readline bol "^A" % Beginning of line
353 setkey readline eol "^E" % End of line
354 setkey readline right "\e[C" % Move right
355 setkey readline left "\e[D" % Move left
356 setkey readline bdel "^H" % Delete backward
357 setkey readline bdel "^?" % Delete Backward
358 setkey readline del "^D" % Delete Foreword
359 setkey readline delbol "^U" % Delete to Beginning of line
360 setkey readline delbow "^W" % Delete to Beginning of word
361 setkey readline deleol "^K" % Delete to End of line
362 setkey readline trim "\e/" % Trim whitespace
363 setkey readline quoted_insert "^Q" % Quoted insert
364 setkey readline complete "\t" % Complete filename
365 setkey readline cycle " " % Cycle among filenames
367 % This is a special hack for HP terminals to get the arrow keys working.
368 % Are there any other terminals being used with non-ANSI arrow keys?
369 #if$TERM hpterm
370 setkey group line_up "\eA"
371 setkey group line_down "\eB"
372 setkey article header_line_down "\eB"
373 setkey article header_line_up "\eA"
374 setkey article article_left "\eD"
375 setkey article article_right "\eC"
376 #endif
Repositories maintained by Alexander Solovyov