Advertisement
Guest User

Untitled

a guest
Jul 1st, 2010
549
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 21.39 KB | None | 0 0
  1. # Sample ~/.mcabber/mcabberrc file
  2.  
  3. # Note about this file syntax:
  4. # - Leading and trailing spaces are ignored.
  5. # - Empty lines and lines beginning with a '#' are ignored.
  6.  
  7. # Please provide your Jabber (XMPP) identifier:
  8. set jid = user@server
  9.  
  10. # If password is not given, it will be interactively asked for.
  11. # Note: if the password contains leading or trailing spaces, you must
  12. # enclose it with quotes: set password = " example password "
  13. set password = не скажу
  14.  
  15. # You can provide a server name if you want mcabber to connect
  16. # to a specific server.
  17. set server = blabla.ru
  18.  
  19. # If port is not given, mcabber will try to find it out.
  20. #set port = 5222
  21.  
  22. # If you don't know what a resource is, do not set it.
  23. # Set disable_random_resource to 1 if you don't want mcabber to add a random
  24. # suffix to the resource name.
  25. set resource = ресурс
  26. set disable_random_resource = 1
  27.  
  28. #set priority = 3
  29. #set priority_away = 0
  30.  
  31. # Set 'ignore_self_presence' to 1 if you do not want to see your own
  32. # presence in your roster (default: 0).
  33. set ignore_self_presence = 1
  34.  
  35. # SSL/TLS options:
  36. # TLS is now regarded as the default encryption for connecting to jabber.
  37. # You can require TLS by setting tls to 1. If your jabber server
  38. # still doesn't support TLS, you can use the old-style SSL by setting
  39. # ssl to 1. It's not possible to use old-style SSL and TLS together.
  40. #set ssl = 0
  41. set tls = 1
  42. # Moreover, it's possible to check whether the fingerprint of the
  43. # ssl certificate matches ssl_fingerprint.
  44. # You can get the fingerprint of your server either with gnutls or openssl:
  45. # 1. gnutls-cli -p 5223 $your_server
  46. # 2. openssl s_client -connect $your_server:5223 | \
  47. # openssl x509 -fingerprint -md5 -noout
  48. #set ssl_fingerprint = 97:5C:00:3F:1D:77:45:25:E2:C5:70:EC:83:C8:87:EE
  49. # Set ssl_ignore_checks to 1 to disable all certificate checks except the
  50. # fingerprint check.
  51. set ssl_ignore_checks = 1
  52.  
  53. # PGP support
  54. # Set pgp to 1 to enable OpenPGP.
  55. # To sign outgoing messages, select your private key id with
  56. # the pgp_private_key option. You cannot change these options once
  57. # mcabber is running.
  58. # Note: you can get the Key Id with gpg: "gpg --list-keys --keyid-format long"
  59. #set pgp = 0
  60. #set pgp_private_key = "C9940A9BB0B92210"
  61. #
  62. # You can set your PGP passhrase here, although it's NOT advised.
  63. #set pgp_passphrase = "PGPpassword"
  64. #
  65. # If you don't like the default number of passphrase retries (2), you
  66. # can change it here. If this number is < 0, mcabber will keep asking
  67. # until the passphrase is good.
  68. #pgp_passphrase_retries = 2
  69.  
  70. # Conference nickname
  71. # This nickname is used when joining a room, when no nick is explicitly
  72. # specified by the user. Note that when the nickname option is not set,
  73. # the jid variable can be used.
  74. #set nickname = Abitbol
  75.  
  76. # Proxy
  77. # mcabber can use a proxy if it supports the CONNECT method
  78. # The proxy_user/proxy_pass variables are optional.
  79. #set proxy_host = "proxy-hostname"
  80. #set proxy_port = 3128
  81. #set proxy_user = "username"
  82. #set proxy_pass = "password"
  83.  
  84. # Keepalive
  85. # If you need a ping/keepalive to leave your connection open, you
  86. # can use the pinginterval. Setting this option to 0 disables the ping.
  87. # Default value is 40 seconds.
  88. #set pinginterval = 40
  89.  
  90. # Language
  91. # Help files have been translated into a few languages.
  92. # You can set lang to one of the following values: en (default),
  93. # cs, de, fr, it, nl, pl, ru, uk.
  94. set lang = ru
  95.  
  96. # Aspell
  97. # If your mcabber has been built with Aspell support, you can enable spell
  98. # checking with the following options (you can't change them once mcabber is
  99. # running).
  100. #set spell_enable = 1
  101. #set spell_lang = en_US
  102. #set spell_encoding = iso8859-1
  103. #set spell_encoding = UTF-8
  104.  
  105. # History
  106. # Number of lines to remember for the command line history
  107. # (default: 0, unlimited).
  108. set cmdhistory_lines = 250
  109.  
  110. # You can set up a mask to filter buddies and display them according to
  111. # their status. The mask should contain the shortcut letters of the
  112. # status you want to see ([o]nline, [f]ree_for_chat, [d]o_not_disturb,
  113. # [n]ot_available, [a]way, [_]offline).
  114. # For example, to display everybody the filter should be "ofdna_" (default).
  115. # To display only the connected buddies, use "ofdna".
  116. # Please note that this option is only used at startup (once mcabber is
  117. # running you can use "/roster display").
  118. #set roster_display_filter = ofdna_
  119.  
  120. # Typing notifications, Chat States, Events (JEP-22/85)
  121. # Set disable_chatstates to 1 if you don't want to use typing notifications.
  122. # Note: changing this option once mcabber is running has no effect.
  123. #set disable_chatstates = 0
  124.  
  125. # History logging
  126. # You can save the messages history: set logging = 1
  127. # Set 'logging_ignore_status' to 1 if you do not want to save status changes
  128. # (and status messages) to the log files (default: 0).
  129. # You can load (read) the messages history: set load_logs = 1
  130. # If you enable load_logs, you can use the 'max_history_age' setting below.
  131. # Default logging directory (logging_dir) is $HOME/.mcabber/histo/
  132. # Defaults for logging, load_logs are 0 (disabled)
  133. # Note: the logging directory must exist if you enable logging, mcabber
  134. # will not create it.
  135. # Note: these options, except 'max_history_age' and 'max_history_blocks',
  136. # are used at startup time.
  137. set logging = 1
  138. set load_logs = 1
  139. set logging_dir = ~/.mcabber/histo/
  140. set logging_ignore_status = 1
  141.  
  142. # Set log_muc_conf to 1 to enable MUC chatrooms logging (default = 0)
  143. #set log_muc_conf = 1
  144. # Set load_muc_logs to 1 to read MUC chatrooms logs (default = 0). These
  145. # logs will be displayed in the buffer window _before_ any history received
  146. # from the server.
  147. #set load_muc_logs = 0
  148.  
  149. # When load_logs (or load_muc_logs) is enabled, you can specify a maximum
  150. # number of history days to load into memory with max_history_age.
  151. # Default = 0 (disabled -- everything is loaded)
  152. # Note: this option is only used when reading history files, not later.
  153. #set max_history_age = 0
  154.  
  155. # mcabber can store the list of unread messages in a state file,
  156. # so that the message flags are set back at next startup.
  157. # Note that 'logging' must be enabled for this feature to work.
  158. set statefile = /tmp/mcabber.state
  159.  
  160. # You can specify a maximum number of data blocks per buffer (1 block contains
  161. # about 8kB). The default is 0 (unlimited). If set, this value must be > 2.
  162. #set max_history_blocks = 8
  163.  
  164. # IQ settings
  165. # Set iq_version_hide_os to 1 if you do not want to allow people to retrieve
  166. # your OS version.
  167. #set iq_version_hide_os = 0
  168. #
  169. # Set iq_last_disable to 1 if you want to disable response to jabber:iq:last
  170. # queries (XEP-0012). Set iq_last_disable_when_notavail to 1 if you want
  171. # to disable Last Activity reports only when the not-available status is set.
  172. # (Default is 0 for both options)
  173. #set iq_last_disable = 0
  174. #set iq_last_disable_when_notavail = 1
  175. #
  176. # Set iq_hide_requests to 1 if you don't want received IQ requests to be
  177. # displayed in the status window (default: 0).
  178. #set iq_hide_requests = 1
  179.  
  180. # Modules
  181. # If mcabber is built with modules support, you can specify the path
  182. # to the directory where your modules reside.
  183. set modules_dir = /usr/lib/mcabber
  184.  
  185. # Beep
  186. # Set beep_on_message to 1 if you want mcabber to beep when receiving
  187. # a new message (except in chatrooms). If you want a more sophisticated
  188. # system (e.g. play a sound), have a look at 'events_command' below.
  189. #set beep_on_message = 0
  190.  
  191. # External command for events
  192. # You can specify a script or process to be launched when an event occurs.
  193. # Set 'events_ignore_active_window' to 1 if you don't want the script to
  194. # be run for a message to the current active window (default: 0).
  195. #
  196. # If 'event_log_files' is set, a file is created and contains the body of
  197. # the message (incoming messages only); the file name is the last parameter.
  198. # If you enable this, you can specify the directory mcabber will use to
  199. # create these messages with the 'event_log_dir' variable (default is the
  200. # system temp dir, or MCABBERTMPDIR environment variable). Please note
  201. # that mcabber won't delete these files, it's your script's job.
  202. #
  203. # The command is called the following way:
  204. # $events_command MSG IN jabber@id [file] (when receiving a message)
  205. # $events_command MSG OUT jabber@id (when sending a message)
  206. # $events_command MSG MUC room_id [file] (when receiving a MUC message)
  207. # $events_command STATUS X jabber@id (new buddy status is X)
  208. # $events_command UNREAD N (number of unread buddy buffers)
  209. # See sample script in contrib/ directory.
  210. #set events_command = ~/.mcabber/eventcmd
  211. set events_command = ~/.mcabber/event.sh
  212. #
  213. #set events_ignore_active_window = 0
  214. set events_ignore_active_window = 0
  215. #
  216. #set event_log_files = 0
  217. set event_log_files = 1
  218. #set event_log_dir = ~/.mcabber/event_files
  219. set event_log_dir = ~/.bak/mcabber
  220.  
  221.  
  222. # If you set 'eventcmd_use_nickname' to 1, mcabber will pass the nickname
  223. # (if it is defined) to the event script instead of the JID (default: 0).
  224. set eventcmd_use_nickname = 1
  225.  
  226. # External command status check
  227. # You can request mcabber to inspect exit status value after each
  228. # events_command. If this option is set, mcabber will beep if the
  229. # exit value is 2.
  230. set eventcmd_checkstatus = 1
  231.  
  232. # Internal hooks
  233. # You can ask mcabber to execute an internal command when a special event
  234. # occurs (for example when it connects to the server).
  235. #
  236. # 'hook-post-connect' is executed when mcabber has connected to the server
  237. # and the roster has been received.
  238. #set hook-post-connect = status dnd
  239. set hook-post-connect = source ~/.mcabber/post-connect.rc
  240. #
  241. # 'hook-pre-disconnect' is executed just before mcabber disconnects from
  242. # the server.
  243. #set hook-pre-disconnect = say_to foo@bar Goodbye!
  244. set hook-pre-disconnect = status dnd Сломал свой мозг!
  245. # FIFO
  246. # mcabber can create a FIFO named pipe and listen to this pipe for commands.
  247. # Default: disabled.
  248. # Set 'fifo_hide_commands' to 1 if you don't want to see the FIFO commands
  249. # in the log window (they will still be written to the tracelog file).
  250. # When FIFO is configured, you can turn it off and on in real time with
  251. # the 'fifo_ignore' option (default: 0). When set to 1, the FIFO input is
  252. # still read but it is discarded.
  253. #set fifo_name = ~/.mcabber/mcabber.fifo
  254. set fifo_name = /tmp/mcabber.fifo
  255. #set fifo_hide_commands = 0
  256. #set fifo_ignore = 0
  257.  
  258. # Traces logging
  259. # If you want advanced traces, please specify a file and a level here.
  260. # There are currently 4 traceloglog levels:
  261. # lvl 1: most events of the log window are written to the file
  262. # lvl 2: Loudmouth verbose logging
  263. # lvl 3: debug logging (XML, etc.)
  264. # lvl 4: noisy debug logging (Loudmouth parser...)
  265. # Default is level 0, no trace logging
  266. #set tracelog_level = 1
  267. #set tracelog_file = ~/.mcabber/mcabber.log
  268.  
  269. # Set the auto-away timeout, in seconds. If set to a value >0,
  270. # mcabber will change your status to away if no real activity is detected
  271. # (command, message, move in the buddylist...). Note: auto-away only changes
  272. # the status when it is "available" (online) or "free_for_chat".
  273. # See 'message_autoaway' below.
  274. #set autoaway = 0
  275.  
  276. # Message blocking
  277. # Set 'block_unsubscribed' to 1 if you want to block (drop) incoming
  278. # messages from people you haven't authorized. (default: 0)
  279. #set block_unsubscribed = 0
  280. #
  281. # Set 'delete_on_reject' to 1 if you want to delete buddies from your
  282. # roster when you reject their subscription request. (default: 0)
  283. # (See documentation for /event)
  284. # The buddy is actually deleted only if there is no other subscription,
  285. # so for example if you are subscribed to this buddy's presence updates it
  286. # won't be deleted.
  287. #set delete_on_reject = 0
  288.  
  289. # MUC
  290. # Set 'muc_flag_joins' to 1 if you want the MUC rooms to be flagged in
  291. # the roster when somebody joins a room. Set it to 2 if you want a flag
  292. # for leaves too.
  293. #set muc_flag_joins = 0
  294. # Set 'muc_print_status' to see status changes in MUC rooms:
  295. # 1: (none) do not display joining/leaving members
  296. # 2: (in_and_out) display joining/leaving members
  297. # 3: (all) display joining/leaving members and member status changes
  298. # (default: in_and_out)
  299. #set muc_print_status = 2
  300. set muc_print_status = 2
  301. # Set 'muc_auto_whois' to 1 if you want to call /room whois each time
  302. # somebody joins a room. (default: 0)
  303. #set muc_auto_whois = 0
  304. #
  305. # Set 'muc_disable_nick_hl' to 1 if you don't want mcabber to color lines
  306. # containing your nickname in a MUC room.
  307. #set muc_disable_nick_hl = 0
  308. set muc_disable_nick_hl = 0
  309.  
  310. # Status messages
  311. # The 'message' value will override all others, take care!
  312. #set message = Unique message status
  313. #set message_avail = I'm available
  314. #set message_free = I'm free for chat
  315. #set message_dnd = Please do not disturb
  316. #set message_notavail = I'm not available
  317. #set message_away = I'm away
  318. #
  319. # The auto-away message is only used when 'autoaway' is set. The previous
  320. # message will be restored when leaving auto-away status. If this message
  321. # isn't defined, the status message will stay unchanged.
  322. set message_autoaway = Auto-away (idle)
  323.  
  324. # Escape timeout delay (ESCDELAY)
  325. # The ESCDELAY variable specifies the time, in milliseconds, for which
  326. # the ncurses interface will await a character sequence.
  327. # The default is 1000 (1 second).
  328. # If you want mcabber to react faster after hitting Escape, you can lower
  329. # this value by setting the ESCDELAY environment variable or setting the
  330. # 'escdelay' option.
  331. set escdelay = 50
  332.  
  333. # Colors
  334. # Colors are: black, red, green, yellow, blue, magenta, cyan, white
  335. # For text colors (i.e. not background and bg* colors) you can also use
  336. # the "bright" prefix to get a bright/bold color. Example: brightblue
  337. # You can use the "default" color, too (i.e. for transparent background).
  338. # If your terminal supports 256 colors, you can use the color number
  339. # directly (16-255).
  340. #
  341. # Have a look at the contrib/themes/ directory to see some sample
  342. # color settings.
  343. #
  344. # background: background color of the chat window and the log window
  345. # general: text color in the chat window and the log window
  346. # info: text color in the chat window for info messages
  347. # msgin: text color in the chat window for incoming messages
  348. # msgout: text color in the chat window for outgoing messages
  349. # msghl: text color in the chat window for highlighted messages (MUC)
  350. # bgstatus: background color of the status lines
  351. # status: text color of the status lines
  352. # roster: text color of the roster (buddylist) normal items
  353. # bgrostersel: background color of the selected roster item
  354. # rostersel: text color of the selected roster item
  355. # rosterselmsg:text color of the selected roster item, if there is a new msg
  356. # rosternewmsg: text color of items with unread messages
  357. #
  358. #set color_background = black
  359. #set color_general = white
  360. #set color_info = white
  361. #set color_msgin = white
  362. #set color_msgout = cyan
  363. #set color_msghl = yellow
  364. #set color_bgstatus = blue
  365. #set color_status = white
  366. #set color_roster = green
  367. #set color_bgrostersel = cyan
  368. #set color_rostersel = blue
  369. #set color_rosterselmsg = red
  370. #set color_rosternewmsg = red
  371. set color_background = default
  372. set color_general = default
  373. set color_info = default
  374. set color_msgin = 240
  375. set color_msgout = white
  376. set color_msghl = 237
  377. set color_bgstatus = 240
  378. set color_status = white
  379. set color_roster = default
  380. set color_bgrostersel = white
  381. set color_rostersel = brightdefault
  382. set color_rosterselmsg = default
  383. set color_rosternewmsg = brightdefault
  384.  
  385. # You can color roster items by their status and JID. For example, to have
  386. # all roster items white, just all contacts from jabber.org that are away,
  387. # not available or do not disturb yellow, you do this:
  388. #
  389. #color roster * * white
  390. #color roster adn *@jabber.org yellow
  391.  
  392. # You can let mcabber color nicks in MUC.
  393. # These colors will by used automatically:
  394. #set nick_colors = red green blue
  395. # This turns coloring of all mucs on:
  396. #color muc * on
  397. #
  398. # If you want someone's nick to be the same all the time:
  399. #color mucnick my_friend yellow
  400.  
  401. # Style
  402. # Note: the 'log_win_height' and 'roster_width' values below can be set
  403. # in real time when mcabber is running. Refresh the screen (Ctrl-l) to
  404. # use the new values.
  405. #
  406. # Log window height (minimum 1, default 5)
  407. #set log_win_height = 5
  408. set log_win_height = 3
  409. # Buddylist window width (minimum 2, default 24)
  410. #set roster_width=24
  411. set roster_width=30
  412. #
  413. # The options 'log_win_on_top' and 'roster_win_on_right' can change the
  414. # position of the log window (top/bottom) and the position of the roster
  415. # (left/right).
  416. #set log_win_on_top = 0
  417. #set roster_win_on_right = 0
  418. set log_win_on_top = 0
  419. set roster_win_on_right = 1
  420. #
  421. # By default, the displayed name of a contact in the roster window will
  422. # be the JID if no name has been specified. You can use the following
  423. # option if you only want to see the username part.
  424. #set roster_hide_domain = 0
  425. #
  426. # Buddy name format (in status window):
  427. # - 0: (default) "<jid/resource>"
  428. # - 1: "name <jid/resource>" (name is omitted if same as the JID)
  429. # - 2: "name/resource" (if the name is the same as the JID, use <jid/res>)
  430. # - 3: "name" (if the name is the same as the JID, use <jid/res>)
  431. #set buddy_format = 2
  432. set buddy_format = 0
  433. #
  434. # Time format:
  435. # - 0: (default) Date and time
  436. # - 1: Time only
  437. # - 2: None
  438. #set time_prefix = 0
  439. #
  440. # When a contact sends "/me ", mcabber displays "*user ", where user
  441. # is the local part of the contact's JID.
  442. # If you want mcabber to display the complete bare JID (user@server.com),
  443. # set 'buddy_me_fulljid' to 1 (default: 0)
  444. #set buddy_me_fulljid = 1
  445. #
  446. # Display the status changes in the log window (default: 0, never)
  447. # Set 'log_display_presence' to 1 to enable.
  448. #set log_display_presence = 0
  449. #
  450. # Display the status changes in the chat buffers (default: 0, never)
  451. # Values: 0: never 1: only connect/disconnect 2: all
  452. #set show_status_in_buffer = 1
  453. set show_status_in_buffer = 2
  454. #
  455. # Set 'log_display_sender' to 1 to display the message sender's JID in the
  456. # log window (default: 0, no)
  457. #set log_display_sender = 0
  458. #
  459. # Set 'info' to anything you'd like to see in your lower status line.
  460. #set info = woot
  461. #
  462.  
  463. # Contacts PGP information
  464. # You can provide a PGP key to be used for a given Jabber user, or
  465. # disable PGP on a per-account basis.
  466. # If you provide a KeyId for a contact, it will be compared to the key the
  467. # contact uses to sign their presence/messages and it will be used for
  468. # all outgoing encrypted messages (that is, the contact signature key will
  469. # be ignored).
  470. # Please note that the key must match exactly the id seen with /info.
  471. #pgp disable foo@bar.org
  472. #pgp setkey bar@foo.net C9940A9BB0B92210
  473.  
  474. # OTR (Off-The-Record messaging) support
  475. # (Only available if mcabber is built with OTR support)
  476. # Set otr to 1 to enable OTR support.
  477. # You cannot change this option once mcabber is running.
  478. #set otr = 0
  479. #
  480. # OTR directory
  481. # You can specify the OTR directory with the otr_dir option
  482. # (default = ~/.mcabber/otr/).
  483. #set otr_dir = "~/.mcabber/otr/"
  484. #
  485. # You can set OTR policies from the configuration file (use /help otrpolicy
  486. # for the details).
  487. #otrpolicy default manual
  488.  
  489.  
  490. # Set use_mouse to 1 to map mouse buttons like keycodes.
  491. #set use_mouse = 1
  492.  
  493. # plug pep
  494. module load pep
  495. # /pep
  496.  
  497. # plugactivity (pep)
  498. module load activity
  499. # /activity
  500.  
  501. # plug tune
  502. #set tune_interval = 10
  503. module load tune
  504. # /tune
  505.  
  506. # plug mood
  507. module load mood
  508. # /mood
  509.  
  510. # plug mpd
  511. # Host to connect to
  512. #set mpd_host = localhost
  513. # Port to connect to
  514. #set mpd_port = 6600
  515. # Password to authenticate with
  516. #set mpd_password = bigsecret
  517. # Polling for new information interval
  518. set mpd_interval = 15
  519. module load mpd
  520. # /mpd
  521.  
  522. # plug avatar аватарки
  523. module load avatar
  524. set avatar_directory = ~/.mcabber/avatars
  525. set avatar_font_height = 16
  526. set avatar_font_width = 8
  527. set avatar_max_width = 110
  528. set avatar_max_height = 110
  529. set avatar_background = 255
  530. # /plug avatar
  531.  
  532. #load mpd
  533. #load openurl
  534.  
  535. # plug eventcmd-ng
  536. module load eventcmd-ng
  537. # /event
  538.  
  539. # plug help ну куда же без хелпа
  540. set help_to_current = 1
  541. set help_dirs = /usr/share/mcabber/help
  542. module load help
  543. # /help
  544.  
  545. # plug urlopen открытие ссылок
  546. # Regexp to search for in message bodies. Required.
  547. # Have effect only at start time.
  548. set url_regex = "(((https?|ftps?|nntp)://)|www[.][-a-z0-9.]+|(mailto:|news:))(%[0-9A-F]{2}|[-_.!~*';/?:@&=+$,#[:alnum:]])+"
  549.  
  550. # Command to call to open url.
  551. # Url will be passed as program's first argument.
  552. # Other arguments for now are not defined and reserved
  553. # for possible future use.
  554. # Not required, but you can not really benefit from
  555. # this module without providing this.
  556. set url_handler = ~/.mcabber/urlcmd.sh
  557. # Do not output matched urls into log window (default
  558. # mcabber's builtin behaviour).
  559. set url_suppress_log = 0
  560. # Maximum number of saved urls. Older will be pulled out
  561. # by newer ones.
  562. set url_max_save = 3
  563. # Automatically do 'open' action on new urls.
  564. # This will not delete url, if url_delete_opened is set.
  565. set url_auto_open = 0
  566. # Delete url from list after performing 'open' action
  567. # on it.
  568. set url_delete_opened = 1
  569. alias open = url open
  570. alias ulist = url list
  571. module load urlopen
  572. # /urlopen
  573.  
  574. # plug templatecmd шаблоны комманд
  575. module load templatecmd
  576. # /templatecmd
  577.  
  578. # plug ping
  579. module load ping
  580. # /ping
  581.  
  582. # plug disco
  583. module load disco
  584. # /disco
  585.  
  586. # plug libnotifymsg уведомления
  587. libnotifymsg
  588. # /libnotifymsg
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement