Advertisement
Guest User

Untitled

a guest
May 25th, 2017
678
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.18 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. # The jid will be the following: username@server
  8. # If your jid's domain name is different from the server name,
  9. # you can specify your complete jid as username.
  10. #
  11. # If password is not given, it will be interactively asked for.
  12. # If port is not given, default Jabber port will be used.
  13.  
  14. set jid = prak902000@gmail.com
  15.  
  16. # Note: if the password contains leading or trailing spaces, you must
  17. # enclose it with quotes: set password = " example password "
  18. set password =
  19.  
  20. set server = talk.google.com
  21.  
  22. #set port = 443
  23.  
  24. # If you don't know what a resource is, you can leave "mcabber" here.
  25. set resource = mcabber
  26. #set priority = 3
  27.  
  28. # SSL options:
  29. # Set ssl non-zero to use SSL (this also sets the default port to 5223).
  30. # Set ssl_verify to 0 to disable certificate verification, or non-zero
  31. # to set desired maximum CA verification depth. Use -1 to specify an
  32. # unlimited depth.
  33. # Set ssl_cafile to a path to a CA certificate file (may contain multiple
  34. # CA certificates).
  35. # Set ssl_capath to a directory containing CA certificates (use c_rehash
  36. # to generate hash links).
  37. # Set ssl_ciphers to a list of desired SSL ciphers (run "openssl ciphers"
  38. # for candidate values).
  39. set ssl = 1
  40. set ssl_verify = 1
  41. set ssl_cafile = /etc/ssl/certs/ca-certificates.crt
  42. #set ssl_capath =
  43. #set ssl_ciphers =
  44.  
  45. # PGP support
  46. # Set pgp to 1 to enable OpenPGP.
  47. # To sign outgoing messages, select your private key id with
  48. # the pgp_private_key option. You cannot change these options once
  49. # mcabber is running.
  50. # Note: you can get the Key Id with gpg: "gpg --list-keys --keyid-format long"
  51. set pgp = 0
  52. #
  53. # You can set your PGP passhrase here, although it's NOT advised.
  54. #set pgp_passphrase = "PGPpassword"
  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 = Prakash
  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 = "127.0.0.1"
  66. #set proxy_host = "10.13.1.56"
  67. # set proxy_host = "10.13.1.40"
  68.  
  69. #set proxy_port = 3233
  70. #set proxy_port = 3242
  71.  
  72. #set proxy_user = "username"
  73. #set proxy_pass = "password"
  74.  
  75. # Keepalive
  76. # If you need a ping/keepalive to leave your connection open, you
  77. # can use the pinginterval. Setting this option to 0 disables the ping.
  78. # Default value is 40 seconds.
  79. set pinginterval = 40
  80.  
  81. # Language
  82. # Help files have been translated into a few languages.
  83. # You can set lang to one of the following values: en (default),
  84. # de, fr, nl, pl, ru, uk.
  85. set lang = uk
  86.  
  87. # Aspell
  88. # If your mcabber has been built with Aspell support, you can enable spell
  89. # checking with the following options (you can't change them once mcabber is
  90. # running).
  91. set aspell_enable = 1
  92. set aspell_lang = en_EN
  93. set aspell_encoding = iso8859-1
  94. #set aspell_encoding = UTF-8
  95.  
  96. # History
  97. # Number of lines to remember for the command line history
  98. # (default: 0, unlimited).
  99. set cmdhistory_lines = 250
  100.  
  101. # Set hide_offline_buddies to 1 to display only connected buddies
  102. # in the roster.
  103. set hide_offline_buddies = 1
  104.  
  105. # Typing notifications, Chat States, Events (JEP-22/85)
  106. # Set disable_chatstates to 1 if you don't want to use typing notifications.
  107. # Note: changing this option once mcabber is running has no effect.
  108. set disable_chatstates = 0
  109.  
  110. # History logging
  111. # You can save the messages history: set logging = 1
  112. # Set 'logging_ignore_status' to 1 if you do not want to save status changes
  113. # (and status messages) to the log files (default: 0).
  114. # You can load (read) the messages history: set load_logs = 1
  115. # If you enable load_logs, you can use the 'max_history_age' setting below.
  116. # Default logging directory (logging_dir) is $HOME/.mcabber/histo/
  117. # Defaults for logging, load_logs are 0 (disabled)
  118. # Note: the logging directory must exist if you enable logging, mcabber
  119. # will not create it.
  120. # Note: these options, except 'max_history_age' and 'max_history_blocks',
  121. # are used at startup time.
  122. set logging = 1
  123. set load_logs = 1
  124. set logging_dir = ~/.mcabber/histo/
  125. #set logging_ignore_status = 1
  126.  
  127. # Set log_muc_conf to 1 to enable MUC chatrooms logging (default = 0)
  128. #set log_muc_conf = 1
  129. # Set load_muc_logs to 1 to read MUC chatrooms logs (default = 0). These
  130. # logs will be displayed in the buffer window _before_ any history received
  131. # from the server.
  132. #set load_muc_logs = 0
  133.  
  134. # When load_logs (or load_muc_logs) is enabled, you can specify a maximum
  135. # number of history days to load into memory with max_history_age.
  136. # Default = 0 (disabled -- everything is loaded)
  137. # Note: this option is only used when reading history files, not later.
  138. #set max_history_age = 0
  139. #
  140. # You can specify a maximum number of data blocks per buffer (1 block contains
  141. # about 8kB). The default is 0 (unlimited). If set, this value must be > 2.
  142. #set max_history_blocks = 8
  143.  
  144. # IQ settings
  145. # Set iq_version_hide_os to 1 if you do not want to allow people to retrieve
  146. # your OS version.
  147. set iq_version_hide_os = 0
  148.  
  149. # Beep
  150. # Set beep_on_message to 1 if you want mcabber to beep when receiving
  151. # a new message (except in chatrooms). If you want a more sophisticated
  152. # system (e.g. play a sound), have a look at 'events_command' below.
  153. set beep_on_message = 1 # Temporary
  154.  
  155. # External command for events
  156. # You can specify a script or process to be launched when an event occurs.
  157. # Set 'events_ignore_active_window' to 1 if you don't want the script to
  158. # be run for a message to the current active window (default: 0).
  159. #
  160. # If 'event_log_files' is set, a file is created and contains the body of
  161. # the message (incoming messages only); the file name is the last parameter.
  162. # If you enable this, you can specify the directory mcabber will use to
  163. # create these messages with the 'event_log_dir' variable (default is the
  164. # system temp dir, or MCABBERTMPDIR environment variable). Please note
  165. # that mcabber won't delete these files, it's your script's job.
  166. #
  167. # The command is called the following way:
  168. # $events_command MSG IN jabber@id [file] (when receiving a message)
  169. # $events_command MSG OUT jabber@id (when sending a message)
  170. # $events_command MSG MUC room_id [file] (when receiving a MUC message)
  171. # $events_command STATUS X jabber@id (new buddy status is X)
  172. # See sample script in contrib/ directory.
  173. set events_command = ~/.mcabber/event.rc
  174. #
  175. #set events_ignore_active_window = 1
  176. #
  177. set event_log_files = 1
  178. #set event_log_dir = ~/.mcabber/event_files
  179.  
  180. # External command status check
  181. # You can request mcabber to inspect exit status value after each
  182. # events_command. If this option is set, mcabber will beep if the
  183. # exit value is 2.
  184. #set eventcmd_checkstatus = 0
  185.  
  186. # Traces logging
  187. # If you want advanced traces, please specify a file and a level here.
  188. # There are currently 2 traceloglog levels:
  189. # lvl 1: most events of the log window are written to the file
  190. # lvl 2: debug logging (XML, etc.)
  191. # Default is level 0, no trace logging
  192. #set tracelog_level = 1
  193. #set tracelog_file = ~/.mcabber/mcabber.log
  194.  
  195. # Set the auto-away timeout, in seconds. If set to a value >0,
  196. # mcabber will change your status to away if no real activity is detected
  197. # (command, message, move in the buddylist...). Note: auto-away only changes
  198. # the status when it is "available" (online) or "free_for_chat".
  199. # See 'message_autoaway' below.
  200. set autoaway = 600
  201.  
  202. # Message blocking
  203. # Set 'block_unsubscribed' to 1 if you want to block (drop) incoming
  204. # messages from people you haven't authorized. (default: 0)
  205. #set block_unsubscribed = 0
  206. #
  207. # Set 'delete_on_reject' to 1 if you want to delete buddies from your
  208. # roster when you reject their subscription request. (default: 0)
  209. # (See documentation for /event)
  210. # The buddy is actually deleted only if there is no other subscription,
  211. # so for example if you are subscribed to this buddy's presence updates it
  212. # won't be deleted.
  213. #set delete_on_reject = 0
  214.  
  215. # MUC
  216. # Set 'muc_flag_joins' to 1 if you want the MUC rooms to be flagged in
  217. # the roster when somebody joins a room. Set it to 2 if you want a flag
  218. # for leaves too.
  219. set muc_flag_joins = 1
  220. # Set 'muc_auto_whois' to 1 if you want to call /room whois each time
  221. # somebody joins a room. (default: 0)
  222. #set muc_auto_whois = 0
  223. #
  224. # Set 'muc_disable_nick_hl' to 1 if you don't want mcabber to color lines
  225. # containing your nickname in a MUC room.
  226. #set muc_disable_nick_hl = 0
  227.  
  228. # Status messages
  229. # The "message" value will override all others, take care!
  230. #set message = Unique message status
  231. #set message_avail = I'm available
  232. #set message_free = I'm free for chat
  233. #set message_dnd = Please do not disturb
  234. #set message_notavail = I'm not available
  235. #set message_away = I'm away
  236. #
  237. # The auto-away message is only used when 'autoaway' is set. The previous
  238. # message will be restored when leaving auto-away status. If this message
  239. # isn't defined, the status message will stay unchanged.
  240. set message_autoaway = Away -> Probably not at desk.
  241.  
  242. # Colors
  243. # Colors are: black, red, green, yellow, blue, magenta, cyan, white
  244. # For text colors (i.e. not background and bg* colors) you can also use
  245. # the "bright" prefix to get a bright/bold color. Example: brightblue
  246. # You can use the "default" color, too (i.e. for transparent background)
  247. #
  248. # You can have a look at the contrib/themes/ directory to see some sample
  249. # color settings.
  250. #
  251. # background: background color of the chat window and the log window
  252. # general: text color in the chat window and the log window
  253. # msgout: text color in the chat window for outgoing messages
  254. # msghl: text color in the chat window for highlighted messages (MUC)
  255. # bgstatus: background color of the status lines
  256. # status: text color of the status lines
  257. # roster: text color of the roster (buddylist) normal items
  258. # bgrostersel: 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 = black
  264. #set color_general = white
  265. #set color_msgout = cyan
  266. #set color_msghl = yellow
  267. #set color_bgstatus = blue
  268. #set color_status = white
  269. #set color_roster = green
  270. #set color_bgrostersel = cyan
  271. #set color_rostersel = blue
  272. set color_rosterselmsg = red
  273. #set color_rosternewmsg = brightred
  274.  
  275. # Style
  276. # Note: the "log_win_height" and "roster_width" values below can be set
  277. # in real time when mcabber is running. Refresh the screen (Ctrl-l) to
  278. # use the new values.
  279. #
  280. # Log window height (minimum 1, default 5)
  281. set log_win_height = 5
  282. # Buddylist window width (minimum 2, default 24)
  283. #set roster_width=24
  284. #
  285. # The options "log_win_on_top" and "roster_win_on_right" can change the
  286. # position of the log window (top/bottom) and the position of the roster
  287. # (left/right).
  288. #set log_win_on_top = 0
  289. #set roster_win_on_right = 0
  290. #
  291. # Buddy name format (in status window):
  292. # - 0: (default) "<jid/resource>"
  293. # - 1: "name <jid/resource>" (name is omitted if same as the jid)
  294. # - 2: "name/resource" (if the name is the same as the jid, use <jid/res>)
  295. # - 3: "name" (if the name is the same as the jid, use <jid/res>)
  296. #set buddy_format = 2
  297. #
  298. # When a contacts sends "/me ", mcabber displays "*user ", where user
  299. # is the local part of the contact's jid.
  300. # If you want mcabber to display the complete bare jid (user@server.com),
  301. # set "buddy_me_fulljid" to 1 (default: 0)
  302. #set buddy_me_fulljid = 1
  303. #
  304. # Display the status changes in the chat buffers (default: 0, never)
  305. # Values: 0: never 1: only connect/disconnect 2: all
  306. #set show_status_in_buffer = 1
  307. #
  308. # Set "log_display_sender" to 1 to display the message sender's jid in the
  309. # log window (default: 0, no)
  310. #set log_display_sender = 0
  311.  
  312. # Contacts PGP information
  313. # You can provide a PGP key to be used for a given Jabber user, or
  314. # disable PGP on a per-account basis.
  315. # If you provide a KeyId for a contact, it will be compared to the key the
  316. # contact uses to sign their presence/messages and it will be used for
  317. # all outgoing encrypted messages (that is, the contact signature key will
  318. # be ignored).
  319. # Please note that the key must match exactly the id seen with /info.
  320. #pgp disable foo@bar.org
  321. #pgp setkey bar@foo.net C9940A9BB0B92210
  322.  
  323. # Aliases
  324. alias me = say /me
  325. alias online = status online
  326. alias away = status away
  327. alias dnd = status dnd
  328. alias notavail = status notavail
  329. #alias names = room names
  330.  
  331. # Key bindings
  332. # Ctlr-q (17) bound to /roster unread_next
  333. bind 17 = roster unread_next
  334. # Ctlr-x (24) bound to /roster alternate
  335. bind 24 = roster alternate
  336. # F5 (269) bound to /roster toggle_offline (centericq-like, IIRC)
  337. bind 269 = roster toggle_offline
  338. # F12 (276) bound to /roster toggle
  339. bind 276 = roster toggle
  340. # Ctrl-Up/Ctrl-Down bound to /buffer up/down (like Ctrl-p/Ctrl-n)
  341. bind 521 = buffer up
  342. bind 514 = buffer down
  343.  
  344. # Sample alias to join mcabber channel with "/jmc"
  345. #alias jmc = room join mcabber@conf.lilotux.net
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement