Advertisement
Guest User

mcabber

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