Advertisement
Guest User

Untitled

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