Advertisement
Guest User

Untitled

a guest
Jul 3rd, 2017
557
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.12 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 = tommythepinballwizard@chat.facebook.com
  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 = chat.facebook.com
  18.  
  19. set username = tommythepinballwizard
  20.  
  21. # If port is not given, mcabber will try to find it out.
  22. set port = 5222
  23.  
  24. # If you don't know what a resource is, do not set it.
  25. # Set disable_random_resource to 1 if you don't want mcabber to add a random
  26. # suffix to the resource name.
  27. #set resource = mcabber
  28. #set disable_random_resource = 0
  29.  
  30. #set priority = 3
  31. #set priority_away = 0
  32.  
  33. # Set 'ignore_self_presence' to 1 if you do not want to see your own
  34. # presence in your roster (default: 0).
  35. set ignore_self_presence = 1
  36.  
  37. # SSL/TLS options:
  38. # TLS is now regarded as the default encryption for connecting to jabber.
  39. # You can require TLS by setting tls to 1. If your jabber server
  40. # still doesn't support TLS, you can use the old-style SSL by setting
  41. # ssl to 1. It's not possible to use old-style SSL and TLS together.
  42. #set ssl = 0
  43. set tls = 0
  44. # Moreover, it's possible to check whether the fingerprint of the
  45. # ssl certificate matches ssl_fingerprint.
  46. # You can get the fingerprint of your server either with gnutls or openssl:
  47. # 1. gnutls-cli -p 5223 $your_server
  48. # 2. openssl s_client -connect $your_server:5223 | \
  49. # openssl x509 -fingerprint -md5 -noout
  50. #set ssl_fingerprint = 97:5C:00:3F:1D:77:45:25:E2:C5:70:EC:83:C8:87:EE
  51. # Set ssl_ignore_checks to 1 to disable all certificate checks except the
  52. # fingerprint check.
  53. #set ssl_ignore_checks = 0
  54.  
  55. # PGP support
  56. # Set pgp to 1 to enable OpenPGP.
  57. # To sign outgoing messages, select your private key id with
  58. # the pgp_private_key option. You cannot change these options once
  59. # mcabber is running.
  60. # Note: you can get the Key Id with gpg: "gpg --list-keys --keyid-format long"
  61. #set pgp = 0
  62. #set pgp_private_key = "C9940A9BB0B92210"
  63. #
  64. # You can set your PGP passhrase here, although it's NOT advised.
  65. #set pgp_passphrase = "PGPpassword"
  66. #
  67. # If you don't like the default number of passphrase retries (2), you
  68. # can change it here. If this number is < 0, mcabber will keep asking
  69. # until the passphrase is good.
  70. #set pgp_passphrase_retries = 2
  71.  
  72. # Conference nickname
  73. # This nickname is used when joining a room, when no nick is explicitly
  74. # specified by the user. Note that when the nickname option is not set,
  75. # the jid variable can be used.
  76. #set nickname = Abitbol
  77.  
  78. # Proxy
  79. # mcabber can use a proxy if it supports the CONNECT method
  80. # The proxy_user/proxy_pass variables are optional.
  81. #set proxy_host = "proxy-hostname"
  82. #set proxy_port = 3128
  83. #set proxy_user = "username"
  84. #set proxy_pass = "password"
  85.  
  86. # Keepalive
  87. # If you need a ping/keepalive to leave your connection open, you
  88. # can use the pinginterval. Setting this option to 0 disables the ping.
  89. # Default value is 40 seconds.
  90. #set pinginterval = 40
  91.  
  92. # Language
  93. # Help files have been translated into a few languages.
  94. # You can set lang to a semicolon separated list of the following
  95. # values: en, cs, de, fr, it, nl, pl, ru, uk. If you omit this,
  96. # mcabber will try to autodetect it from your locale, with fallback
  97. # to en.
  98. # You also can specify a list of directories, where help is located,
  99. # for example, if your mcabber is installed with another prefix than
  100. # your modules.
  101. # This may be convenient to print help not into the status buffer, but into
  102. # currently opened buffer. For that set help_to_current option.
  103. #set lang = en
  104. #set help_dirs = "/usr/share/mcabber/help;~/share/mcabber/help"
  105. #set help_to_current = 0
  106.  
  107. # Aspell
  108. # If your mcabber has been built with Aspell support, you can enable spell
  109. # checking with the following options (you can't change them once mcabber is
  110. # running).
  111. #set spell_enable = 1
  112. #set spell_lang = en_US
  113. #set spell_encoding = iso8859-1
  114. #set spell_encoding = UTF-8
  115.  
  116. # History
  117. # Number of lines to remember for the command line history
  118. # (default: 0, unlimited).
  119. set cmdhistory_lines = 250
  120.  
  121. # You can set up a mask to filter buddies and display them according to
  122. # their status. The mask should contain the shortcut letters of the
  123. # status you want to see ([o]nline, [f]ree_for_chat, [d]o_not_disturb,
  124. # [n]ot_available, [a]way, [_]offline).
  125. # For example, to display everybody the filter should be "ofdna_" (default).
  126. # To display only the connected buddies, use "ofdna".
  127. # Please note that this option is only used at startup (once mcabber is
  128. # running you can use "/roster display").
  129. set roster_display_filter = ofdna
  130.  
  131. # Typing notifications, Chat States, Events (XEP-22/85)
  132. # Set disable_chatstates to 1 if you don't want to use typing notifications.
  133. # Note: changing this option once mcabber is running has no effect.
  134. #set disable_chatstates = 0
  135.  
  136. # History logging
  137. # You can save the messages history: set logging = 1
  138. # Set 'logging_ignore_status' to 1 if you do not want to save status changes
  139. # (and status messages) to the log files (default: 0).
  140. # You can load (read) the messages history: set load_logs = 1
  141. # If you enable load_logs, you can use the 'max_history_age' setting below.
  142. # Default logging directory (logging_dir) is $HOME/.mcabber/histo/
  143. # Defaults for logging, load_logs are 0 (disabled)
  144. # Note: the logging directory must exist if you enable logging, mcabber
  145. # will not create it.
  146. # Note: these options, except 'max_history_age' and 'max_history_blocks',
  147. # are used at startup time.
  148. set logging = 1
  149. #set load_logs = 1
  150. #set logging_dir = ~/.mcabber/histo/
  151. #set logging_ignore_status = 1
  152.  
  153. # Set log_muc_conf to 1 to enable MUC chatrooms logging (default = 0)
  154. #set log_muc_conf = 1
  155. # Set load_muc_logs to 1 to read MUC chatrooms logs (default = 0). These
  156. # logs will be displayed in the buffer window _before_ any history received
  157. # from the server.
  158. #set load_muc_logs = 0
  159.  
  160. # When load_logs (or load_muc_logs) is enabled, you can specify a maximum
  161. # number of history days to load into memory with max_history_age.
  162. # Default = 0 (disabled -- everything is loaded)
  163. # Note: this option is only used when reading history files, not later.
  164. #set max_history_age = 0
  165.  
  166. # mcabber can store the list of unread messages in a state file,
  167. # so that the message flags are set back at next startup.
  168. # Note that 'logging' must be enabled for this feature to work.
  169. #set statefile = ~/.mcabber/mcabber.state
  170.  
  171. # You can specify a maximum number of data blocks per buffer (1 block contains
  172. # about 8kB). The default is 0 (unlimited). If set, this value must be > 2.
  173. set max_history_blocks = 8
  174.  
  175. # IQ settings
  176. # Set iq_version_hide_os to 1 if you do not want to allow people to retrieve
  177. # your OS version.
  178. #set iq_version_hide_os = 0
  179. #
  180. # Set iq_last_disable to 1 if you want to disable response to jabber:iq:last
  181. # queries (XEP-0012). Set iq_last_disable_when_notavail to 1 if you want
  182. # to disable Last Activity reports only when the not-available status is set.
  183. # (Default is 0 for both options)
  184. #set iq_last_disable = 0
  185. #set iq_last_disable_when_notavail = 1
  186. #
  187. # Set iq_hide_requests to 1 if you don't want received IQ requests to be
  188. # displayed in the status window (default: 0).
  189. #set iq_hide_requests = 1
  190.  
  191. # Modules
  192. # If mcabber is built with modules support, you can specify the path
  193. # to the directory where your modules reside. Though, default compiled-in
  194. # value should be appropriate.
  195. #set modules_dir = /usr/lib/mcabber/
  196.  
  197. # Beep
  198. # Set beep_on_message to 1 if you want mcabber to beep when receiving
  199. # a new message (except in chatrooms). If you want a more sophisticated
  200. # system (e.g. play a sound), have a look at 'events_command' below.
  201. #set beep_on_message = 0
  202.  
  203. # External command for events
  204. # You can specify a script or process to be launched when an event occurs.
  205. # Set 'events_ignore_active_window' to 1 if you don't want the script to
  206. # be run for a message to the current active window (default: 0).
  207. #
  208. # If 'event_log_files' is set, a file is cr to 1 if you want to delete buddies from your
  209. # roster when you reject their subscription request. (default: 0)
  210. # (See documentation for /event)
  211. # The buddy is actually deleted only if there is no other subscription,
  212. # so for example if you are subscribed to this buddy's presence updates it
  213. # won't be deleted.
  214. #set delete_on_reject = 0
  215.  
  216. # MUC
  217. # Set 'muc_flag_joins' to 1 if you want the MUC rooms to be flagged in
  218. # the roster when somebody joins a room. Set it to 2 if you want a flag
  219. # for leaves too.
  220. #set muc_flag_joins = 0
  221. # Set 'muc_print_status' to see status changes in MUC rooms:
  222. # 1: (none) do not display joining/leaving members
  223. # 2: (in_and_out) display joining/leaving members
  224. # 3: (all) display joining/leaving members and member status changes
  225. # (default: in_and_out)
  226. #set muc_print_status = 2
  227. # Set 'muc_auto_whois' to 1 if you want to call /room whois each time
  228. # somebody joins a room. (default: 0)
  229. #set muc_auto_whois = 0
  230. #
  231. # Set 'muc_disable_nick_hl' to 1 if you don't want mcabber to color lines
  232. # containing your nickname in a MUC room.
  233. #set muc_disable_nick_hl = 0
  234. #
  235. # Set 'muc_completion_suffix' if you want mcabber to append a string to
  236. # suggested nicknames (only at the beginning of a line), like ":" or ",".
  237. # (Default: none)
  238. #set muc_completion_suffix = ": "
  239.  
  240. # Status messages
  241. # The 'message' value will override all others, take care!
  242. #set message = bouffe du pain
  243. set message_avail = -
  244. set message_free = -
  245. set message_dnd = Ne me dérangez pas.
  246. set message_notavail = Je ne suis pas disponible.
  247. set message_away = PAS LÀÀÀÀÀÀÀ
  248. #
  249. # The auto-away message is only used when 'autoaway' is set. The previous
  250. # message will be restored when leaving auto-away status. If this message
  251. # isn't defined, the status message will stay unchanged.
  252. set message_autoaway = Auto-away (idle)
  253.  
  254. # Escape timeout delay (ESCDELAY)
  255. # The ESCDELAY variable specifies the time, in milliseconds, for which
  256. # the ncurses interface will await a character sequence.
  257. # The default is 1000 (1 second).
  258. # If you want mca background color of the selected roster item
  259. # rostersel: text color of the selected roster item
  260. # rosterselmsg:text color of the selected roster item, if there is a new msg
  261. # rosternewmsg: text color of items with unread messages
  262. #
  263. set color_background = grey
  264. #set color_general = white
  265. #set color_info = white
  266. #set color_msgin = white
  267. #set color_msgout = cyan
  268. #set color_msghl = yellow
  269. #set color_bgstatus = blue
  270. #set color_status = white
  271. #set color_roster = green
  272. #set color_bgrostersel = cyan
  273. #set color_rostersel = blue
  274. #set color_rosterselmsg = red
  275. #set color_rosternewmsg = red
  276.  
  277. # You can color roster items by their status and JID. For example, to have
  278. # all roster items white, just all contacts from jabber.org that are away,
  279. # not available or do not disturb yellow, you do this:
  280. #
  281. #color roster * * white
  282. #color roster adn *@jabber.org yellow
  283.  
  284. color roster a * blue
  285. color roster dn * yellow
  286.  
  287. # You can let mcabber color nicks in MUC.
  288. # These colors will by used automatically:
  289. #set nick_colors = red green blue
  290. # This turns coloring of all mucs on:
  291. #color muc * on
  292. #
  293. # If you want someone's nick to be the same all the time:
  294. #color mucnick my_friend yellow
  295.  
  296. # Style
  297. # Note: the 'log_win_height' and 'roster_width' values below can be set
  298. # in real time when mcabber is running. Refresh the screen (Ctrl-l) to
  299. # use the new values.
  300. #
  301. # Log window height (minimum 1, default 5)
  302. #set log_win_height = 5
  303. # Buddylist window width (minimum 2, default 24)
  304. #set roster_width=24
  305. #
  306. # The options 'log_win_on_top' and 'roster_win_on_right' can change the
  307. # position of the log window (top/bottom) and the position of the roster
  308. # (left/right).
  309. #set log_win_on_top = 0
  310. #set roster_win_on_right = 0
  311. #
  312. # By default, the displayed name of a contact in the roster window will
  313. # be the JID if no name has been specified. You can use the following
  314. # option if you only want to see the username part.
  315. #set roster_hide_domain = 0
  316. #
  317. # Buddy name format (in status window):
  318. # - 0: (default) "<jid/resource>"
  319. # - 1: "name <jid/resource>" (name is omitted if same as the JID)
  320. # - 2: "name/resource" (if the name is the same as the JID, use <jid/res>)
  321. # - 3: "name" (if the name is the same as the JID, _regex = "(((https?|ftps?|nntp)://)|www[.][-a-z0-9.]+|(mailto:|news:))(%[0-9A-F]{2}|[-_.!~*';/?:@&=+$,#[:alnum:]])+"
  322.  
  323. # Contacts PGP information
  324. # You can provide a PGP key to be used for a given Jabber user, or
  325. # disable PGP on a per-account basis.
  326. # If you provide a KeyId for a contact, it will be compared to the key the
  327. # contact uses to sign their presence/messages and it will be used for
  328. # all outgoing encrypted messages (that is, the contact signature key will
  329. # be ignored).
  330. # Please note that the key must match exactly the id seen with /info.
  331. #pgp disable foo@bar.org
  332. #pgp setkey bar@foo.net C9940A9BB0B92210
  333.  
  334. # OTR (Off-The-Record messaging) support
  335. # (Only available if mcabber is built with OTR support)
  336. # Set otr to 1 to enable OTR support.
  337. # You cannot change this option once mcabber is running.
  338. #set otr = 0
  339. #
  340. # OTR directory
  341. # You can specify the OTR directory with the otr_dir option
  342. # (default = ~/.mcabber/otr/).
  343. #set otr_dir = "~/.mcabber/otr/"
  344. #
  345. # You can set OTR policies from the configuration file (use /help otrpolicy
  346. # for the details).
  347. #otrpolicy default manual
  348.  
  349. # Aliases
  350. alias me = say /me
  351. alias online = status online
  352. alias away = status away
  353. alias dnd = status dnd
  354. alias notavail = status notavail
  355. #alias names = room names
  356. #alias topic = room topic
  357.  
  358. # Set use_mouse to 1 to map mouse buttons like keycodes.
  359. #set use_mouse = 1
  360.  
  361. # Key bindings
  362. # Ctrl-q (17) bound to /roster unread_next
  363. bind 17 = roster unread_next
  364. # Ctrl-x (24) bound to /roster alternate
  365. bind 24 = roster alternate
  366. # F5 (269) bound to /roster toggle_offline (centericq-like, IIRC)
  367. bind 269 = roster toggle_offline
  368. # F12 (276) bound to /roster toggle
  369. bind 276 = roster toggle
  370. # Ctrl-Up/Ctrl-Down bound to /buffer up/down (like Ctrl-p/Ctrl-n)
  371. bind 521 = buffer up
  372. bind 514 = buffer down
  373.  
  374. # Sample alias to join mcabber channel with "/jmc"
  375. #alias jmc = room join mcabber@conf.lilotux.net
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement