SHARE
TWEET

Untitled

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