Advertisement
Guest User

Untitled

a guest
Aug 6th, 2017
623
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 19.67 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 = stereodinamik@jabber.ru
  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 = jabber.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 = Debian
  26. set disable_random_resource = 0
  27.  
  28. set priority = 50
  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 = 0
  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. #set 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 = Stereodinamik
  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 a semicolon separated list of the following
  93. # values: en, cs, de, fr, it, nl, pl, ru, uk. If you omit this,
  94. # mcabber will try to autodetect it from your locale, with fallback
  95. # to en.
  96. # You also can specify a list of directories, where help is located,
  97. # for example, if your mcabber is installed with another prefix than
  98. # your modules.
  99. # This may be convenient to print help not into the status buffer, but into
  100. # currently opened buffer. For that set help_to_current option.
  101. set lang = ru
  102. set help_dirs = "/usr/share/mcabber/help;~/share/mcabber/help"
  103. set help_to_current = 1
  104.  
  105. # Aspell
  106. # If your mcabber has been built with Aspell support, you can enable spell
  107. # checking with the following options (you can't change them once mcabber is
  108. # running).
  109. set spell_enable = 1
  110. set spell_lang = ru_RU
  111. #set spell_encoding = iso8859-1
  112. set spell_encoding = UTF-8
  113.  
  114. # History
  115. # Number of lines to remember for the command line history
  116. # (default: 0, unlimited).
  117. set cmdhistory_lines = 1000
  118.  
  119. # You can set up a mask to filter buddies and display them according to
  120. # their status. The mask should contain the shortcut letters of the
  121. # status you want to see ([o]nline, [f]ree_for_chat, [d]o_not_disturb,
  122. # [n]ot_available, [a]way, [_]offline).
  123. # For example, to display everybody the filter should be "ofdna_" (default).
  124. # To display only the connected buddies, use "ofdna".
  125. # Please note that this option is only used at startup (once mcabber is
  126. # running you can use "/roster display").
  127. set roster_display_filter = ofdna_
  128.  
  129. # By default command line completion is case-sensitive; this can be changed
  130. # by setting the option 'completion_ignore_case' to 1.
  131. set completion_ignore_case = 0
  132.  
  133. # Typing notifications, Chat States, Events (XEP-22/85)
  134. # Set disable_chatstates to 1 if you don't want to use typing notifications.
  135. # Note: changing this option once mcabber is running has no effect.
  136. set disable_chatstates = 0
  137.  
  138. # History logging
  139. # You can save the messages history: set logging = 1
  140. # Set 'logging_ignore_status' to 1 if you do not want to save status changes
  141. # (and status messages) to the log files (default: 0).
  142. # You can load (read) the messages history: set load_logs = 1
  143. # If you enable load_logs, you can use the 'max_history_age' setting below.
  144. # Default logging directory (logging_dir) is $HOME/.mcabber/histo/
  145. # Defaults for logging, load_logs are 0 (disabled)
  146. # Note: the logging directory must exist if you enable logging, mcabber
  147. # will not create it.
  148. # Note: these options, except 'max_history_age' and 'max_history_blocks',
  149. # are used at startup time.
  150. set logging = 1
  151. set load_logs = 1
  152. set logging_dir = ~/.mcabber/histo/
  153. #set logging_ignore_status = 1
  154.  
  155. # Set log_muc_conf to 1 to enable MUC chatrooms logging (default = 0)
  156. set log_muc_conf = 1
  157. # Set load_muc_logs to 1 to read MUC chatrooms logs (default = 0). These
  158. # logs will be displayed in the buffer window _before_ any history received
  159. # from the server.
  160. set load_muc_logs = 1
  161.  
  162. # When load_logs (or load_muc_logs) is enabled, you can specify a maximum
  163. # number of history days to load into memory with max_history_age.
  164. # Default = 0 (disabled -- everything is loaded)
  165. # Note: this option is only used when reading history files, not later.
  166. set max_history_age = 30
  167.  
  168. # mcabber can store the list of unread messages in a state file,
  169. # so that the message flags are set back at next startup.
  170. # Note that 'logging' must be enabled for this feature to work.
  171. set statefile = ~/.mcabber/mcabber.state
  172.  
  173. # You can specify a maximum number of data blocks per buffer (1 block contains
  174. # about 8kB). The default is 0 (unlimited). If set, this value must be > 2.
  175. set max_history_blocks = 8
  176.  
  177. # IQ settings
  178. # Set iq_version_hide_os to 1 if you do not want to allow people to retrieve
  179. # your OS version.
  180. set iq_version_hide_os = 0
  181. #
  182. # Set iq_last_disable to 1 if you want to disable response to jabber:iq:last
  183. # queries (XEP-0012). Set iq_last_disable_when_notavail to 1 if you want
  184. # to disable Last Activity reports only when the not-available status is set.
  185. # (Default is 0 for both options)
  186. #set iq_last_disable = 0
  187. #set iq_last_disable_when_notavail = 1
  188. #
  189. # Set iq_hide_requests to 1 if you don't want received IQ requests to be
  190. # displayed in the status window (default: 0).
  191. #set iq_hide_requests = 1
  192.  
  193. # Modules
  194. # If mcabber is built with modules support, you can specify the path
  195. # to the directory where your modules reside. Though, default compiled-in
  196. # value should be appropriate.
  197. set modules_dir = /usr/lib/mcabber/
  198.  
  199. # Beep
  200. # Set beep_on_message to 1 if you want mcabber to beep when receiving
  201. # a new message (except in chatrooms). If you want a more sophisticated
  202. # system (e.g. play a sound), have a look at 'events_command' below.
  203. #set beep_on_message = 0
  204.  
  205. # External command for events
  206. # You can specify a script or process to be launched when an event occurs.
  207. # Set 'events_ignore_active_window' to 1 if you don't want the script to
  208. # be run for a message to the current active window (default: 0).
  209. #
  210. # If 'event_log_files' is set, a file is created and contains the body of
  211. # the message (incoming messages only); the file name is the last parameter.
  212. # If you enable this, you can specify the directory mcabber will use to
  213. # create these messages with the 'event_log_dir' variable (default is the
  214. # system temp dir, or MCABBERTMPDIR environment variable). Please note
  215. # that mcabber won't delete these files, it's your script's job.
  216. #
  217. # The command is called the following way:
  218. $events_command MSG IN jabber@id [file] (when receiving a message)
  219. # $events_command MSG OUT jabber@id (when sending a message)
  220. $events_command MSG MUC room_id [file] (when receiving a MUC message)
  221. # $events_command STATUS X jabber@id (new buddy status is X)
  222. $events_command UNREAD "N x y z" (number of unread buddy buffers)
  223. #(x=attention y=muc unread buffers z=muc unread buffers with attention sign)
  224. # See sample script in contrib/ directory.
  225. set events_command = ~/.mcabber/eventcmd
  226. #
  227. #set events_ignore_active_window = 0
  228. #
  229. set event_log_files = 1
  230. set event_log_dir = ~/.mcabber/event_files
  231.  
  232. # If you set 'eventcmd_use_nickname' to 1, mcabber will pass the nickname
  233. # (if it is defined) to the event script instead of the JID (default: 0).
  234. set eventcmd_use_nickname = 0
  235.  
  236. # External command status check
  237. # You can request mcabber to inspect exit status value after each
  238. # events_command. If this option is set, mcabber will beep if the
  239. # exit value is 2.
  240. #set eventcmd_checkstatus = 0
  241.  
  242. # Internal hooks
  243. # You can ask mcabber to execute an internal command when a special event
  244. # occurs (for example when it connects to the server).
  245. #
  246. # 'hook-post-connect' is executed when mcabber has connected to the server
  247. # and the roster has been received.
  248. set hook-post-connect = status dnd (afk)
  249. #
  250. # 'hook-pre-disconnect' is executed just before mcabber disconnects from
  251. # the server.
  252. set hook-pre-disconnect = say_to foo@bar OFF!
  253.  
  254. # FIFO
  255. # mcabber can create a FIFO named pipe and listen to this pipe for commands.
  256. # Default: disabled.
  257. # Set 'fifo_hide_commands' to 1 if you don't want to see the FIFO commands
  258. # in the log window (they will still be written to the tracelog file).
  259. # When FIFO is configured, you can turn it off and on in real time with
  260. # the 'fifo_ignore' option (default: 0). When set to 1, the FIFO input is
  261. # still read but it is discarded.
  262. #set fifo_name = ~/.mcabber/mcabber.fifo
  263. #set fifo_hide_commands = 0
  264. #set fifo_ignore = 0
  265.  
  266. # Traces logging
  267. # If you want advanced traces, please specify a file and a level here.
  268. # There are currently 4 tracelog levels:
  269. # lvl 1: most events of the log window are written to the file
  270. # lvl 2: Loudmouth verbose logging
  271. # lvl 3: debug logging (XML, etc.)
  272. # lvl 4: noisy debug logging (Loudmouth parser...)
  273. # Default is level 0, no trace logging
  274. #set tracelog_level = 1
  275. #set tracelog_file = ~/.mcabber/mcabber.log
  276.  
  277. # Set the auto-away timeout, in seconds. If set to a value >0,
  278. # mcabber will change your status to away if no real activity is detected
  279. # (command, message, move in the buddylist...). Note: auto-away only changes
  280. # the status when it is "available" (online) or "free_for_chat".
  281. # See 'message_autoaway' below.
  282. #set autoaway = 0
  283.  
  284. # Message blocking
  285. # Set 'block_unsubscribed' to 1 if you want to block (drop) incoming
  286. # messages from people you haven't authorized. (default: 0)
  287. set block_unsubscribed = 0
  288. #
  289. # Set 'delete_on_reject' to 1 if you want to delete buddies from your
  290. # roster when you reject their subscription request. (default: 0)
  291. # (See documentation for /event)
  292. # The buddy is actually deleted only if there is no other subscription,
  293. # so for example if you are subscribed to this buddy's presence updates it
  294. # won't be deleted.
  295. set delete_on_reject = 1
  296.  
  297. # MUC
  298. # Set 'muc_flag_joins' to 1 if you want the MUC rooms to be flagged in
  299. # the roster when somebody joins a room. Set it to 2 if you want a flag
  300. # for leaves too.
  301. #set muc_flag_joins = 0
  302. # Set 'muc_print_status' to see status changes in MUC rooms:
  303. # 1: (none) do not display joining/leaving members
  304. # 2: (in_and_out) display joining/leaving members
  305. # 3: (all) display joining/leaving members and member status changes
  306. # (default: in_and_out)
  307. set muc_print_status = 1
  308. # Set 'muc_auto_whois' to 1 if you want to call /room whois each time
  309. # somebody joins a room. (default: 0)
  310. set muc_auto_whois = 0
  311. #
  312. # Set 'muc_disable_nick_hl' to 1 if you don't want mcabber to color lines
  313. # containing your nickname in a MUC room.
  314. set muc_disable_nick_hl = 0
  315. #
  316. # Set 'muc_completion_suffix' if you want mcabber to append a string to
  317. # suggested nicknames (only at the beginning of a line), like ":" or ",".
  318. # (Default: none)
  319. set muc_completion_suffix = ": "
  320.  
  321. # Status messages
  322. # The 'message' value will override all others, take care!
  323. #set message = Unique message status
  324. #set message_avail = I'm available
  325. #set message_free = I'm free for chat
  326. #set message_dnd = Please do not disturb
  327. #set message_notavail = I'm not available
  328. #set message_away = I'm away
  329. #
  330. # The auto-away message is only used when 'autoaway' is set. The previous
  331. # message will be restored when leaving auto-away status. If this message
  332. # isn't defined, the status message will stay unchanged.
  333. set message_autoaway = Auto-away (idle)
  334.  
  335. # Escape timeout delay (ESCDELAY)
  336. # The ESCDELAY variable specifies the time, in milliseconds, for which
  337. # the ncurses interface will await a character sequence.
  338. # The default is 1000 (1 second).
  339. # If you want mcabber to react faster after hitting Escape, you can lower
  340. # this value by setting the ESCDELAY environment variable or setting the
  341. # 'escdelay' option.
  342. set escdelay = 50
  343.  
  344. # Colors
  345. # Colors are: black, red, green, yellow, blue, magenta, cyan, white
  346. # For text colors (i.e. not background and bg* colors) you can also use
  347. # the "bright" prefix to get a bright/bold color. Example: brightblue
  348. # You can use the "default" color, too (i.e. for transparent background).
  349. # If your terminal supports 256 colors, you can use the color number
  350. # directly (16-255).
  351. #
  352. # Have a look at the contrib/themes/ directory to see some sample
  353. # color settings.
  354. #
  355. # background: background color of the chat window and the log window
  356. # general: text color in the chat window and the log window
  357. # info: text color in the chat window for info messages
  358. # msgin: text color in the chat window for incoming messages
  359. # msgout: text color in the chat window for outgoing messages
  360. # msghl: text color in the chat window for highlighted messages (MUC)
  361. # bgstatus: background color of the status lines
  362. # status: text color of the status lines
  363. # roster: text color of the roster (buddylist) normal items
  364. # bgrostersel: background color of the selected roster item
  365. # rostersel: text color of the selected roster item
  366. # rosterselmsg:text color of the selected roster item, if there is a new msg
  367. # rosternewmsg: text color of items with unread messages
  368. #
  369. #set color_background = #2E3436
  370. #set color_general = #EFEFEF
  371. #set color_info = white
  372. #set color_msgin = white
  373. #set color_msgout = cyan
  374. #set color_msghl = yellow
  375. #set color_bgstatus = blue
  376. #set color_status = white
  377. #set color_roster = #4E4E4E
  378. #set color_bgrostersel = cyan
  379. #set color_rostersel = blue
  380. #set color_rosterselmsg = #822808
  381. #set color_rosternewmsg = #FFFFFF
  382.  
  383. # You can color roster items by their status and JID. For example, to have
  384. # all roster items white, just all contacts from jabber.org that are away,
  385. # not available or do not disturb yellow, you do this:
  386. #
  387. #color roster * * blue
  388. color roster adn *.* yellow
  389.  
  390. # You can let mcabber color nicks in MUC.
  391. # These colors will by used automatically:
  392. set nick_colors = red green blue
  393. # This turns coloring of all mucs on:
  394. color muc * on
  395. #
  396. # If you want someone's nick to be the same all the time:
  397. #color mucnick my_friend yellow
  398.  
  399. # Style
  400. # Note: the 'log_win_height' and 'roster_width' values below can be set
  401. # in real time when mcabber is running. Refresh the screen (Ctrl-l) to
  402. # use the new values.
  403. #
  404. # Log window height (minimum 1, default 5)
  405. set log_win_height = 1
  406. # Buddylist window width (minimum 2, default 24)
  407. #set roster_width=24
  408. #
  409. # The options 'log_win_on_top' and 'roster_win_on_right' can change the
  410. # position of the log window (top/bottom) and the position of the roster
  411. # (left/right).
  412. #set log_win_on_top = 0
  413. #set roster_win_on_right = 0
  414. #
  415. # By default, the displayed name of a contact in the roster window will
  416. # be the JID if no name has been specified. You can use the following
  417. # option if you only want to see the username part.
  418. set roster_hide_domain = 1
  419. #
  420. # Buddy name format (in status window):
  421. # - 0: (default) "<jid/resource>"
  422. # - 1: "name <jid/resource>" (name is omitted if same as the JID)
  423. # - 2: "name/resource" (if the name is the same as the JID, use <jid/res>)
  424. # - 3: "name" (if the name is the same as the JID, use <jid/res>)
  425. set buddy_format = 2
  426. #
  427. # Time format:
  428. # - 0: (default) Date and time
  429. # - 1: Time only
  430. # - 2: None
  431. set time_prefix = 0
  432. #
  433. # When a contact sends "/me ", mcabber displays "*user ", where user
  434. # is the local part of the contact's JID.
  435. # If you want mcabber to display the complete bare JID (user@server.com),
  436. # set 'buddy_me_fulljid' to 1 (default: 0)
  437. #set buddy_me_fulljid = 1
  438. #
  439. # Display the status changes in the log window (default: 0, never)
  440. # Set 'log_display_presence' to 1 to enable.
  441. set log_display_presence = 1
  442. #
  443. # Display the status changes in the chat buffers (default: 0, never)
  444. # Values: 0: never 1: only connect/disconnect 2: all
  445. set show_status_in_buffer = 0
  446. #
  447. # Set 'log_display_sender' to 1 to display the message sender's JID in the
  448. # log window (default: 0, no)
  449. #set log_display_sender = 0
  450. #
  451. # Set 'info' to anything you'd like to see in your lower status line.
  452. set info = woot
  453. #
  454. # Set 'url_regex' to a regular expression matching urls. If it matches an
  455. # url in an incoming messages, it'll print it to the log window.
  456. set url_regex = "(((https?|ftps?|nntp)://)|www[.][-a-z0-9.]+|(mailto:|news:))(%[0-9A-F]{2}|[-_.!~*';/?:@&=+$,#[:alnum:]])+"
  457.  
  458. # Contacts PGP information
  459. # You can provide a PGP key to be used for a given Jabber user, or
  460. # disable PGP on a per-account basis.
  461. # If you provide a KeyId for a contact, it will be compared to the key the
  462. # contact uses to sign their presence/messages and it will be used for
  463. # all outgoing encrypted messages (that is, the contact signature key will
  464. # be ignored).
  465. # Please note that the key must match exactly the id seen with /info.
  466. #pgp disable foo@bar.org
  467. #pgp setkey bar@foo.net C9940A9BB0B92210
  468.  
  469. # OTR (Off-The-Record messaging) support
  470. # (Only available if mcabber is built with OTR support)
  471. # Set otr to 1 to enable OTR support.
  472. # You cannot change this option once mcabber is running.
  473. #set otr = 0
  474. #
  475. # OTR directory
  476. # You can specify the OTR directory with the otr_dir option
  477. # (default = ~/.mcabber/otr/).
  478. #set otr_dir = "~/.mcabber/otr/"
  479. #
  480. # You can set OTR policies from the configuration file (use /help otrpolicy
  481. # for the details).
  482. #otrpolicy default manual
  483.  
  484. # Aliases
  485. alias me = say /me
  486. alias online = status online
  487. alias away = status away
  488. alias dnd = status dnd
  489. alias notavail = status notavail
  490. alias names = room names
  491. alias topic = room topic
  492.  
  493. # Set use_mouse to 1 to map mouse buttons like keycodes.
  494. #set use_mouse = 1
  495.  
  496. # Key bindings
  497. # Ctrl-q (17) bound to /roster unread_next
  498. bind 17 = roster unread_next
  499. # Ctrl-x (24) bound to /roster alternate
  500. bind 24 = roster alternate
  501. # F5 (269) bound to /roster toggle_offline (centericq-like, IIRC)
  502. bind 269 = roster toggle_offline
  503. # F12 (276) bound to /roster toggle
  504. bind 276 = roster toggle
  505. # Ctrl-Up/Ctrl-Down bound to /buffer up/down (like Ctrl-p/Ctrl-n)
  506. bind 560 = buffer up
  507. bind 519= buffer down
  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