Advertisement
Guest User

Untitled

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