Mercurial > hg
annotate mcabber/mcabberrc.example @ 957:82aaa7afbd03
Cosmetic changes
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Sat, 02 Sep 2006 14:59:37 +0200 |
parents | 40175f3dcef7 |
children | e693cbe33802 |
rev | line source |
---|---|
169 | 1 # Sample ~/.mcabber/mcabberrc file |
62 | 2 |
500
357086193b02
Add a comment about the config. file syntax
Mikael Berthe <mikael@lilotux.net>
parents:
477
diff
changeset
|
3 # Note about this file syntax: |
357086193b02
Add a comment about the config. file syntax
Mikael Berthe <mikael@lilotux.net>
parents:
477
diff
changeset
|
4 # - Leading and trailing spaces are ignored. |
357086193b02
Add a comment about the config. file syntax
Mikael Berthe <mikael@lilotux.net>
parents:
477
diff
changeset
|
5 # - Empty lines and lines beginning with a '#' are ignored. |
357086193b02
Add a comment about the config. file syntax
Mikael Berthe <mikael@lilotux.net>
parents:
477
diff
changeset
|
6 |
405
8154c417d80c
Update sample config. file
Mikael Berthe <mikael@lilotux.net>
parents:
399
diff
changeset
|
7 # The jid will be the following: username@server |
8154c417d80c
Update sample config. file
Mikael Berthe <mikael@lilotux.net>
parents:
399
diff
changeset
|
8 # If your jid's domain name is different from the server name, |
8154c417d80c
Update sample config. file
Mikael Berthe <mikael@lilotux.net>
parents:
399
diff
changeset
|
9 # you can specify your complete jid as username. |
8154c417d80c
Update sample config. file
Mikael Berthe <mikael@lilotux.net>
parents:
399
diff
changeset
|
10 # |
85 | 11 # If password is not given, it will be interactively asked for. |
12 # If port is not given, default Jabber port will be used. | |
62 | 13 |
334
475dccabe6f3
New config. file parsing -- update sample config. file
Mikael Berthe <mikael@lilotux.net>
parents:
322
diff
changeset
|
14 set username = yourusername |
338
7bd4ffee9497
Update sample configuration file
Mikael Berthe <mikael@lilotux.net>
parents:
334
diff
changeset
|
15 # Note: if the password contains leading or trailing spaces, you must |
7bd4ffee9497
Update sample configuration file
Mikael Berthe <mikael@lilotux.net>
parents:
334
diff
changeset
|
16 # enclose it with quotes: set password = " example password " |
334
475dccabe6f3
New config. file parsing -- update sample config. file
Mikael Berthe <mikael@lilotux.net>
parents:
322
diff
changeset
|
17 #set password = yourpassword |
475dccabe6f3
New config. file parsing -- update sample config. file
Mikael Berthe <mikael@lilotux.net>
parents:
322
diff
changeset
|
18 set server = your.jabber.server |
475dccabe6f3
New config. file parsing -- update sample config. file
Mikael Berthe <mikael@lilotux.net>
parents:
322
diff
changeset
|
19 #set port = 5222 |
232 | 20 # If you don't know what a resource is, you can leave "mcabber" here. |
334
475dccabe6f3
New config. file parsing -- update sample config. file
Mikael Berthe <mikael@lilotux.net>
parents:
322
diff
changeset
|
21 set resource = mcabber |
475dccabe6f3
New config. file parsing -- update sample config. file
Mikael Berthe <mikael@lilotux.net>
parents:
322
diff
changeset
|
22 #set priority = 3 |
62 | 23 |
938
40175f3dcef7
SSL server certificate verification
Jefferson Ogata <ogata@antibozo.net>
parents:
919
diff
changeset
|
24 # SSL options: |
40175f3dcef7
SSL server certificate verification
Jefferson Ogata <ogata@antibozo.net>
parents:
919
diff
changeset
|
25 # Set ssl non-zero to use SSL (this also sets the default port to 5223). |
40175f3dcef7
SSL server certificate verification
Jefferson Ogata <ogata@antibozo.net>
parents:
919
diff
changeset
|
26 # Set ssl_verify to 0 to disable certificate verification, or non-zero |
40175f3dcef7
SSL server certificate verification
Jefferson Ogata <ogata@antibozo.net>
parents:
919
diff
changeset
|
27 # to set desired maximum CA verification depth. Use -1 to specify an |
40175f3dcef7
SSL server certificate verification
Jefferson Ogata <ogata@antibozo.net>
parents:
919
diff
changeset
|
28 # unlimited depth. |
40175f3dcef7
SSL server certificate verification
Jefferson Ogata <ogata@antibozo.net>
parents:
919
diff
changeset
|
29 # Set ssl_cafile to a path to a CA certificate file (may contain multiple |
40175f3dcef7
SSL server certificate verification
Jefferson Ogata <ogata@antibozo.net>
parents:
919
diff
changeset
|
30 # CA certificates). |
40175f3dcef7
SSL server certificate verification
Jefferson Ogata <ogata@antibozo.net>
parents:
919
diff
changeset
|
31 # Set ssl_capath to a directory containing CA certificates (use c_rehash |
40175f3dcef7
SSL server certificate verification
Jefferson Ogata <ogata@antibozo.net>
parents:
919
diff
changeset
|
32 # to generate hash links). |
40175f3dcef7
SSL server certificate verification
Jefferson Ogata <ogata@antibozo.net>
parents:
919
diff
changeset
|
33 # Set ssl_ciphers to a list of desired SSL ciphers (run "openssl ciphers" |
40175f3dcef7
SSL server certificate verification
Jefferson Ogata <ogata@antibozo.net>
parents:
919
diff
changeset
|
34 # for candidate values). |
40175f3dcef7
SSL server certificate verification
Jefferson Ogata <ogata@antibozo.net>
parents:
919
diff
changeset
|
35 set ssl = 0 |
40175f3dcef7
SSL server certificate verification
Jefferson Ogata <ogata@antibozo.net>
parents:
919
diff
changeset
|
36 #set ssl_verify = -1 |
40175f3dcef7
SSL server certificate verification
Jefferson Ogata <ogata@antibozo.net>
parents:
919
diff
changeset
|
37 #set ssl_cafile = /usr/share/ssl/certs/ca-bundle.crt |
40175f3dcef7
SSL server certificate verification
Jefferson Ogata <ogata@antibozo.net>
parents:
919
diff
changeset
|
38 #set ssl_capath = |
40175f3dcef7
SSL server certificate verification
Jefferson Ogata <ogata@antibozo.net>
parents:
919
diff
changeset
|
39 #set ssl_ciphers = |
40175f3dcef7
SSL server certificate verification
Jefferson Ogata <ogata@antibozo.net>
parents:
919
diff
changeset
|
40 |
659
e61aa455c61b
MUC: Add "nickname" option variable
Mikael Berthe <mikael@lilotux.net>
parents:
635
diff
changeset
|
41 # Conference nickname |
e61aa455c61b
MUC: Add "nickname" option variable
Mikael Berthe <mikael@lilotux.net>
parents:
635
diff
changeset
|
42 # This nickname is used when joining a room, when no nick is explicitly |
e61aa455c61b
MUC: Add "nickname" option variable
Mikael Berthe <mikael@lilotux.net>
parents:
635
diff
changeset
|
43 # specified by the user. Note that when the nickname option is not set, |
e61aa455c61b
MUC: Add "nickname" option variable
Mikael Berthe <mikael@lilotux.net>
parents:
635
diff
changeset
|
44 # the username variable can be used. |
e61aa455c61b
MUC: Add "nickname" option variable
Mikael Berthe <mikael@lilotux.net>
parents:
635
diff
changeset
|
45 #set nickname = Abitbol |
e61aa455c61b
MUC: Add "nickname" option variable
Mikael Berthe <mikael@lilotux.net>
parents:
635
diff
changeset
|
46 |
429 | 47 # Proxy |
48 # mcabber can use a proxy if it supports the CONNECT method | |
49 # The proxy_user/proxy_pass variables are optional. | |
50 #set proxy_host = "proxy-hostname" | |
51 #set proxy_port = 3128 | |
52 #set proxy_user = "username" | |
53 #set proxy_pass = "password" | |
54 | |
113 | 55 # Keepalive |
56 # If you need a ping/keepalive to leave your connection open, you | |
57 # can use the pinginterval. Setting this option to 0 disables the ping. | |
58 # Default value is 40 seconds. | |
334
475dccabe6f3
New config. file parsing -- update sample config. file
Mikael Berthe <mikael@lilotux.net>
parents:
322
diff
changeset
|
59 #set pinginterval = 40 |
113 | 60 |
919
653c1cdfb589
Mention the "lang" variable
Mikael Berthe <mikael@lilotux.net>
parents:
899
diff
changeset
|
61 # Language |
653c1cdfb589
Mention the "lang" variable
Mikael Berthe <mikael@lilotux.net>
parents:
899
diff
changeset
|
62 # Help files have been translated into a few languages. |
653c1cdfb589
Mention the "lang" variable
Mikael Berthe <mikael@lilotux.net>
parents:
899
diff
changeset
|
63 # You can set lang to one of the following values: en (default), fr, pl. |
653c1cdfb589
Mention the "lang" variable
Mikael Berthe <mikael@lilotux.net>
parents:
899
diff
changeset
|
64 #set lang = en |
653c1cdfb589
Mention the "lang" variable
Mikael Berthe <mikael@lilotux.net>
parents:
899
diff
changeset
|
65 |
87 | 66 # Set hide_offline_buddies to 1 to display only connected buddies |
67 # in the roster. | |
334
475dccabe6f3
New config. file parsing -- update sample config. file
Mikael Berthe <mikael@lilotux.net>
parents:
322
diff
changeset
|
68 #set hide_offline_buddies = 0 |
62 | 69 |
113 | 70 # History logging |
71 # You can save the messages history: set logging = 1 | |
177 | 72 # You can load (read) the messages history: set load_logs = 1 |
899
a833f3d6119a
Add option 'max_history_age'
Mikael Berthe <mikael@lilotux.net>
parents:
837
diff
changeset
|
73 # If you enable load_logs, you can use the 'max_history_age' setting below. |
169 | 74 # Default logging directory (logging_dir) is $HOME/.mcabber/histo/ |
356
a30ca1b77fa2
Disable logging by default in the sample configuration file
Mikael Berthe <mikael@lilotux.net>
parents:
355
diff
changeset
|
75 # Defaults for logging, load_logs are 0 (disabled) |
376
d37d8d661115
Update mcabberrc.example
Mikael Berthe <mikael@lilotux.net>
parents:
374
diff
changeset
|
76 # Note: the logging directory must exist if you enable logging, mcabber |
d37d8d661115
Update mcabberrc.example
Mikael Berthe <mikael@lilotux.net>
parents:
374
diff
changeset
|
77 # will not create it. |
356
a30ca1b77fa2
Disable logging by default in the sample configuration file
Mikael Berthe <mikael@lilotux.net>
parents:
355
diff
changeset
|
78 #set logging = 1 |
334
475dccabe6f3
New config. file parsing -- update sample config. file
Mikael Berthe <mikael@lilotux.net>
parents:
322
diff
changeset
|
79 #set load_logs = 1 |
475dccabe6f3
New config. file parsing -- update sample config. file
Mikael Berthe <mikael@lilotux.net>
parents:
322
diff
changeset
|
80 #set logging_dir = /home/mikael/.mcabber/histo/ |
160 | 81 |
477 | 82 # Set log_muc_conf to 1 to enable MUC chatrooms logging (default = 0) |
635
d4119cb85aeb
New "load_muc_logs" option
Mikael Berthe <mikael@lilotux.net>
parents:
619
diff
changeset
|
83 #set log_muc_conf = 1 |
d4119cb85aeb
New "load_muc_logs" option
Mikael Berthe <mikael@lilotux.net>
parents:
619
diff
changeset
|
84 # Set load_muc_logs to 1 to read MUC chatrooms logs (default = 0). These |
d4119cb85aeb
New "load_muc_logs" option
Mikael Berthe <mikael@lilotux.net>
parents:
619
diff
changeset
|
85 # logs will be displayed in the buffer window _before_ any history received |
d4119cb85aeb
New "load_muc_logs" option
Mikael Berthe <mikael@lilotux.net>
parents:
619
diff
changeset
|
86 # from the server. |
d4119cb85aeb
New "load_muc_logs" option
Mikael Berthe <mikael@lilotux.net>
parents:
619
diff
changeset
|
87 #set load_muc_logs = 0 |
477 | 88 |
899
a833f3d6119a
Add option 'max_history_age'
Mikael Berthe <mikael@lilotux.net>
parents:
837
diff
changeset
|
89 # When load_logs (or load_muc_logs) is enabled, you can specify a maximum |
a833f3d6119a
Add option 'max_history_age'
Mikael Berthe <mikael@lilotux.net>
parents:
837
diff
changeset
|
90 # number of history days to load into memory with max_history_age. |
a833f3d6119a
Add option 'max_history_age'
Mikael Berthe <mikael@lilotux.net>
parents:
837
diff
changeset
|
91 # Default = 0 (disabled -- everything is loaded) |
a833f3d6119a
Add option 'max_history_age'
Mikael Berthe <mikael@lilotux.net>
parents:
837
diff
changeset
|
92 # Note: this option is only used when reading history files, not later. |
a833f3d6119a
Add option 'max_history_age'
Mikael Berthe <mikael@lilotux.net>
parents:
837
diff
changeset
|
93 #set max_history_age = 0 |
a833f3d6119a
Add option 'max_history_age'
Mikael Berthe <mikael@lilotux.net>
parents:
837
diff
changeset
|
94 |
619
44ddf9bec3a5
Answer IQ:version & IQ:time requests
Mikael Berthe <mikael@lilotux.net>
parents:
550
diff
changeset
|
95 # IQ settings |
44ddf9bec3a5
Answer IQ:version & IQ:time requests
Mikael Berthe <mikael@lilotux.net>
parents:
550
diff
changeset
|
96 # Set iq_version_hide_os to 1 if you do not want to allow people to retrieve |
899
a833f3d6119a
Add option 'max_history_age'
Mikael Berthe <mikael@lilotux.net>
parents:
837
diff
changeset
|
97 # your OS version. |
619
44ddf9bec3a5
Answer IQ:version & IQ:time requests
Mikael Berthe <mikael@lilotux.net>
parents:
550
diff
changeset
|
98 #set iq_version_hide_os = 0 |
44ddf9bec3a5
Answer IQ:version & IQ:time requests
Mikael Berthe <mikael@lilotux.net>
parents:
550
diff
changeset
|
99 |
675
ae7016aae014
New "beep_on_message" option
Mikael Berthe <mikael@lilotux.net>
parents:
659
diff
changeset
|
100 # Beep |
ae7016aae014
New "beep_on_message" option
Mikael Berthe <mikael@lilotux.net>
parents:
659
diff
changeset
|
101 # Set beep_on_message to 1 if you want mcabber to beep when receiving |
ae7016aae014
New "beep_on_message" option
Mikael Berthe <mikael@lilotux.net>
parents:
659
diff
changeset
|
102 # a new message (except in chatrooms). If you want a more sophisticated |
ae7016aae014
New "beep_on_message" option
Mikael Berthe <mikael@lilotux.net>
parents:
659
diff
changeset
|
103 # system (e.g. play a sound), have a look at 'events_command' below. |
ae7016aae014
New "beep_on_message" option
Mikael Berthe <mikael@lilotux.net>
parents:
659
diff
changeset
|
104 #set beep_on_message = 0 |
ae7016aae014
New "beep_on_message" option
Mikael Berthe <mikael@lilotux.net>
parents:
659
diff
changeset
|
105 |
160 | 106 # External command for events |
107 # You can specify a script or process to be launched when an event occurs. | |
525
c7f94f6e51f0
Update sample mcabberrc and eventcmd script
Mikael Berthe <mikael@lilotux.net>
parents:
522
diff
changeset
|
108 # |
c7f94f6e51f0
Update sample mcabberrc and eventcmd script
Mikael Berthe <mikael@lilotux.net>
parents:
522
diff
changeset
|
109 # If 'event_log_files' is set, a file is created and contains the body of |
c7f94f6e51f0
Update sample mcabberrc and eventcmd script
Mikael Berthe <mikael@lilotux.net>
parents:
522
diff
changeset
|
110 # the message (incoming messages only); the file name is the last parameter. |
c7f94f6e51f0
Update sample mcabberrc and eventcmd script
Mikael Berthe <mikael@lilotux.net>
parents:
522
diff
changeset
|
111 # If you enable this, you can specify the directory mcabber will use to |
c7f94f6e51f0
Update sample mcabberrc and eventcmd script
Mikael Berthe <mikael@lilotux.net>
parents:
522
diff
changeset
|
112 # create these messages with the 'event_log_dir' variable (default is the |
c7f94f6e51f0
Update sample mcabberrc and eventcmd script
Mikael Berthe <mikael@lilotux.net>
parents:
522
diff
changeset
|
113 # system temp dir, or MCABBERTMPDIR environment variable). Please note |
c7f94f6e51f0
Update sample mcabberrc and eventcmd script
Mikael Berthe <mikael@lilotux.net>
parents:
522
diff
changeset
|
114 # that mcabber won't delete these files, it's your script's job. |
c7f94f6e51f0
Update sample mcabberrc and eventcmd script
Mikael Berthe <mikael@lilotux.net>
parents:
522
diff
changeset
|
115 # |
355
c5a7a7273986
Add some external actions
Mikael Berthe <mikael@lilotux.net>
parents:
339
diff
changeset
|
116 # The command is called the following way: |
525
c7f94f6e51f0
Update sample mcabberrc and eventcmd script
Mikael Berthe <mikael@lilotux.net>
parents:
522
diff
changeset
|
117 # $events_command MSG IN jabber@id [file] (when receiving a message) |
355
c5a7a7273986
Add some external actions
Mikael Berthe <mikael@lilotux.net>
parents:
339
diff
changeset
|
118 # $events_command MSG OUT jabber@id (when sending a message) |
525
c7f94f6e51f0
Update sample mcabberrc and eventcmd script
Mikael Berthe <mikael@lilotux.net>
parents:
522
diff
changeset
|
119 # $events_command MSG MUC room_id [file] (when receiving a MUC message) |
355
c5a7a7273986
Add some external actions
Mikael Berthe <mikael@lilotux.net>
parents:
339
diff
changeset
|
120 # $events_command STATUS X jabber@id (new buddy status is X) |
c5a7a7273986
Add some external actions
Mikael Berthe <mikael@lilotux.net>
parents:
339
diff
changeset
|
121 # See sample script in contrib/ directory. |
334
475dccabe6f3
New config. file parsing -- update sample config. file
Mikael Berthe <mikael@lilotux.net>
parents:
322
diff
changeset
|
122 #set events_command = /home/mikael/.mcabber/eventcmd |
525
c7f94f6e51f0
Update sample mcabberrc and eventcmd script
Mikael Berthe <mikael@lilotux.net>
parents:
522
diff
changeset
|
123 # |
c7f94f6e51f0
Update sample mcabberrc and eventcmd script
Mikael Berthe <mikael@lilotux.net>
parents:
522
diff
changeset
|
124 #set event_log_files = 0 |
c7f94f6e51f0
Update sample mcabberrc and eventcmd script
Mikael Berthe <mikael@lilotux.net>
parents:
522
diff
changeset
|
125 #set event_log_dir = /home/mikael/.mcabber/event_files |
113 | 126 |
676
80d4959422ca
New "eventcmd_checkstatus" option
Mikael Berthe <mikael@lilotux.net>
parents:
675
diff
changeset
|
127 # External command status check |
80d4959422ca
New "eventcmd_checkstatus" option
Mikael Berthe <mikael@lilotux.net>
parents:
675
diff
changeset
|
128 # You can request mcabber to inspect exit status value after each |
80d4959422ca
New "eventcmd_checkstatus" option
Mikael Berthe <mikael@lilotux.net>
parents:
675
diff
changeset
|
129 # events_command. If this option is set, mcabber will beep if the |
80d4959422ca
New "eventcmd_checkstatus" option
Mikael Berthe <mikael@lilotux.net>
parents:
675
diff
changeset
|
130 # exit value is 2. |
80d4959422ca
New "eventcmd_checkstatus" option
Mikael Berthe <mikael@lilotux.net>
parents:
675
diff
changeset
|
131 #set eventcmd_checkstatus = 0 |
80d4959422ca
New "eventcmd_checkstatus" option
Mikael Berthe <mikael@lilotux.net>
parents:
675
diff
changeset
|
132 |
374
bd5638c21834
Improve logging system (traces)
Mikael Berthe <mikael@lilotux.net>
parents:
364
diff
changeset
|
133 # Traces logging |
bd5638c21834
Improve logging system (traces)
Mikael Berthe <mikael@lilotux.net>
parents:
364
diff
changeset
|
134 # If you want advanced traces, please specify a file and a level here. |
bd5638c21834
Improve logging system (traces)
Mikael Berthe <mikael@lilotux.net>
parents:
364
diff
changeset
|
135 # There are currently 2 traceloglog levels: |
bd5638c21834
Improve logging system (traces)
Mikael Berthe <mikael@lilotux.net>
parents:
364
diff
changeset
|
136 # lvl 1: most events of the log window are written to the file |
bd5638c21834
Improve logging system (traces)
Mikael Berthe <mikael@lilotux.net>
parents:
364
diff
changeset
|
137 # lvl 2: debug logging (XML, etc.) |
bd5638c21834
Improve logging system (traces)
Mikael Berthe <mikael@lilotux.net>
parents:
364
diff
changeset
|
138 # Default is level 0, no trace logging |
bd5638c21834
Improve logging system (traces)
Mikael Berthe <mikael@lilotux.net>
parents:
364
diff
changeset
|
139 #set tracelog_level = 1 |
bd5638c21834
Improve logging system (traces)
Mikael Berthe <mikael@lilotux.net>
parents:
364
diff
changeset
|
140 #set tracelog_file = /home/mikael/mcabber.log |
113 | 141 |
525
c7f94f6e51f0
Update sample mcabberrc and eventcmd script
Mikael Berthe <mikael@lilotux.net>
parents:
522
diff
changeset
|
142 # Set the auto-away timeout, in seconds. If set to a value >0, |
c7f94f6e51f0
Update sample mcabberrc and eventcmd script
Mikael Berthe <mikael@lilotux.net>
parents:
522
diff
changeset
|
143 # mcabber will change your status to away if no real activity is detected |
c7f94f6e51f0
Update sample mcabberrc and eventcmd script
Mikael Berthe <mikael@lilotux.net>
parents:
522
diff
changeset
|
144 # (command, message, move in the buddylist...). Note: auto-away only changes |
c7f94f6e51f0
Update sample mcabberrc and eventcmd script
Mikael Berthe <mikael@lilotux.net>
parents:
522
diff
changeset
|
145 # the status when it is "available" (online) or "free_for_chat". |
c7f94f6e51f0
Update sample mcabberrc and eventcmd script
Mikael Berthe <mikael@lilotux.net>
parents:
522
diff
changeset
|
146 # See 'message_autoaway' below. |
c7f94f6e51f0
Update sample mcabberrc and eventcmd script
Mikael Berthe <mikael@lilotux.net>
parents:
522
diff
changeset
|
147 #set autoaway = 0 |
c7f94f6e51f0
Update sample mcabberrc and eventcmd script
Mikael Berthe <mikael@lilotux.net>
parents:
522
diff
changeset
|
148 |
819
c2d7d9dd4193
New option 'block_unsubscribed'
Mikael Berthe <mikael@lilotux.net>
parents:
808
diff
changeset
|
149 # Message blocking |
823
19c615fd071e
New option "delete_on_reject"
Mikael Berthe <mikael@lilotux.net>
parents:
819
diff
changeset
|
150 # Set 'block_unsubscribed' to 1 if you want to block (drop) incoming |
819
c2d7d9dd4193
New option 'block_unsubscribed'
Mikael Berthe <mikael@lilotux.net>
parents:
808
diff
changeset
|
151 # messages from people you haven't authorized. (default: 0) |
c2d7d9dd4193
New option 'block_unsubscribed'
Mikael Berthe <mikael@lilotux.net>
parents:
808
diff
changeset
|
152 #set block_unsubscribed = 0 |
823
19c615fd071e
New option "delete_on_reject"
Mikael Berthe <mikael@lilotux.net>
parents:
819
diff
changeset
|
153 # |
19c615fd071e
New option "delete_on_reject"
Mikael Berthe <mikael@lilotux.net>
parents:
819
diff
changeset
|
154 # Set 'delete_on_reject' to 1 if you want to delete buddies from your |
19c615fd071e
New option "delete_on_reject"
Mikael Berthe <mikael@lilotux.net>
parents:
819
diff
changeset
|
155 # roster when you reject their subscription request. (default: 0) |
19c615fd071e
New option "delete_on_reject"
Mikael Berthe <mikael@lilotux.net>
parents:
819
diff
changeset
|
156 # (See documentation for /event) |
19c615fd071e
New option "delete_on_reject"
Mikael Berthe <mikael@lilotux.net>
parents:
819
diff
changeset
|
157 # The buddy is actually deleted only if there is no other subscription, |
19c615fd071e
New option "delete_on_reject"
Mikael Berthe <mikael@lilotux.net>
parents:
819
diff
changeset
|
158 # so for example if you are subscribed to this buddy's presence updates it |
19c615fd071e
New option "delete_on_reject"
Mikael Berthe <mikael@lilotux.net>
parents:
819
diff
changeset
|
159 # won't be deleted. |
19c615fd071e
New option "delete_on_reject"
Mikael Berthe <mikael@lilotux.net>
parents:
819
diff
changeset
|
160 #set delete_on_reject = 0 |
819
c2d7d9dd4193
New option 'block_unsubscribed'
Mikael Berthe <mikael@lilotux.net>
parents:
808
diff
changeset
|
161 |
837
7c74eef1d0e0
New option "muc_auto_whois"
Mikael Berthe <mikael@lilotux.net>
parents:
823
diff
changeset
|
162 # MUC |
7c74eef1d0e0
New option "muc_auto_whois"
Mikael Berthe <mikael@lilotux.net>
parents:
823
diff
changeset
|
163 # Set 'muc_auto_whois' to 1 if you want to call /room whois each time |
7c74eef1d0e0
New option "muc_auto_whois"
Mikael Berthe <mikael@lilotux.net>
parents:
823
diff
changeset
|
164 # somebody joins a room. (default: 0) |
7c74eef1d0e0
New option "muc_auto_whois"
Mikael Berthe <mikael@lilotux.net>
parents:
823
diff
changeset
|
165 #set muc_auto_whois = 0 |
7c74eef1d0e0
New option "muc_auto_whois"
Mikael Berthe <mikael@lilotux.net>
parents:
823
diff
changeset
|
166 |
511 | 167 # Status messages |
294
871e53769084
Allow one status message per Jabber status
Mikael Berthe <mikael@lilotux.net>
parents:
272
diff
changeset
|
168 # The "message" value will override all others, take care! |
334
475dccabe6f3
New config. file parsing -- update sample config. file
Mikael Berthe <mikael@lilotux.net>
parents:
322
diff
changeset
|
169 #set message = Unique message status |
475dccabe6f3
New config. file parsing -- update sample config. file
Mikael Berthe <mikael@lilotux.net>
parents:
322
diff
changeset
|
170 #set message_avail = I'm available |
475dccabe6f3
New config. file parsing -- update sample config. file
Mikael Berthe <mikael@lilotux.net>
parents:
322
diff
changeset
|
171 #set message_free = I'm free for chat |
475dccabe6f3
New config. file parsing -- update sample config. file
Mikael Berthe <mikael@lilotux.net>
parents:
322
diff
changeset
|
172 #set message_dnd = Please do not disturb |
475dccabe6f3
New config. file parsing -- update sample config. file
Mikael Berthe <mikael@lilotux.net>
parents:
322
diff
changeset
|
173 #set message_notavail = I'm not available |
475dccabe6f3
New config. file parsing -- update sample config. file
Mikael Berthe <mikael@lilotux.net>
parents:
322
diff
changeset
|
174 #set message_away = I'm away |
522 | 175 # |
176 # The auto-away message is only used when 'autoaway' is set. The previous | |
177 # message will be restored when leaving auto-away status. If this message | |
178 # isn't defined, the status message will stay unchanged. | |
530 | 179 set message_autoaway = Auto-away (idle) |
294
871e53769084
Allow one status message per Jabber status
Mikael Berthe <mikael@lilotux.net>
parents:
272
diff
changeset
|
180 |
511 | 181 # Colors |
267 | 182 # Colors are: black, red, green, yellow, blue, magenta, cyan, white |
739
0d5fb1d9077c
Allow "bright" text colors
Mikael Berthe <mikael@lilotux.net>
parents:
736
diff
changeset
|
183 # For text colors (i.e. not background and bg* colors) you can also use |
0d5fb1d9077c
Allow "bright" text colors
Mikael Berthe <mikael@lilotux.net>
parents:
736
diff
changeset
|
184 # the "bright" prefix to get a bright/bold color. Example: brightblue |
399 | 185 # You can use the "default" color, too (i.e. for transparent background) |
712 | 186 # |
739
0d5fb1d9077c
Allow "bright" text colors
Mikael Berthe <mikael@lilotux.net>
parents:
736
diff
changeset
|
187 # You can have a look at the contrib/themes/ directory to see some sample |
0d5fb1d9077c
Allow "bright" text colors
Mikael Berthe <mikael@lilotux.net>
parents:
736
diff
changeset
|
188 # color settings. |
0d5fb1d9077c
Allow "bright" text colors
Mikael Berthe <mikael@lilotux.net>
parents:
736
diff
changeset
|
189 # |
712 | 190 # background: background color of the chat window and the log window |
191 # general: text color in the chat window and the log window | |
785
7e0562e3bc83
Replace color_highlight with color_msgout
Mikael Berthe <mikael@lilotux.net>
parents:
766
diff
changeset
|
192 # msgout: text color in the chat window for outgoing messages |
712 | 193 # bgstatus: background color of the status lines |
194 # status: text color of the status lines | |
195 # roster: text color of the roster (buddylist) normal items | |
196 # bgrostersel: background color of the selected roster item | |
197 # rostersel: text color of the selected roster item | |
723
23068490d063
Add text color when the selected buddy has an unread message
Mikael Berthe <mikael@lilotux.net>
parents:
719
diff
changeset
|
198 # rosterselmsg:text color of the selected roster item, if there is a new msg |
712 | 199 # rosternewmsg: text color of items with unread messages |
200 # | |
736
a8fa82e611c3
Change default background color in the sample config. file
Mikael Berthe <mikael@lilotux.net>
parents:
731
diff
changeset
|
201 #set color_background = black |
334
475dccabe6f3
New config. file parsing -- update sample config. file
Mikael Berthe <mikael@lilotux.net>
parents:
322
diff
changeset
|
202 #set color_general = white |
785
7e0562e3bc83
Replace color_highlight with color_msgout
Mikael Berthe <mikael@lilotux.net>
parents:
766
diff
changeset
|
203 #set color_msgout = cyan |
712 | 204 #set color_bgstatus = blue |
205 #set color_status = white | |
206 #set color_roster = green | |
207 #set color_bgrostersel = cyan | |
208 #set color_rostersel = blue | |
723
23068490d063
Add text color when the selected buddy has an unread message
Mikael Berthe <mikael@lilotux.net>
parents:
719
diff
changeset
|
209 #set color_rosterselmsg = red |
712 | 210 #set color_rosternewmsg = red |
62 | 211 |
511 | 212 # Style |
702
3e34bd8e073d
Update sample configuration file (roster_width option)
Mikael Berthe <mikael@lilotux.net>
parents:
676
diff
changeset
|
213 # Note: the "log_win_height" and "roster_width" values below can be set |
3e34bd8e073d
Update sample configuration file (roster_width option)
Mikael Berthe <mikael@lilotux.net>
parents:
676
diff
changeset
|
214 # in real time when mcabber is running. Refresh the screen (Ctrl-l) to |
3e34bd8e073d
Update sample configuration file (roster_width option)
Mikael Berthe <mikael@lilotux.net>
parents:
676
diff
changeset
|
215 # use the new values. |
3e34bd8e073d
Update sample configuration file (roster_width option)
Mikael Berthe <mikael@lilotux.net>
parents:
676
diff
changeset
|
216 # |
517
d8f4a0fc77d3
Update sample configuration file
Mikael Berthe <mikael@lilotux.net>
parents:
511
diff
changeset
|
217 # Log window height (minimum 1, default 5) |
d8f4a0fc77d3
Update sample configuration file
Mikael Berthe <mikael@lilotux.net>
parents:
511
diff
changeset
|
218 #set log_win_height = 5 |
702
3e34bd8e073d
Update sample configuration file (roster_width option)
Mikael Berthe <mikael@lilotux.net>
parents:
676
diff
changeset
|
219 # Buddylist window width (minimum 2, default 24) |
3e34bd8e073d
Update sample configuration file (roster_width option)
Mikael Berthe <mikael@lilotux.net>
parents:
676
diff
changeset
|
220 #set roster_width=24 |
517
d8f4a0fc77d3
Update sample configuration file
Mikael Berthe <mikael@lilotux.net>
parents:
511
diff
changeset
|
221 # |
511 | 222 # Buddy name format (in status window): |
223 # - 0: (default) "<jid/resource>" | |
224 # - 1: "name <jid/resource>" (name is omitted if same as the jid) | |
225 # - 2: "name/resource" (if the name is the same as the jid, use <jid/res>) | |
226 # - 3: "name" (if the name is the same as the jid, use <jid/res>) | |
227 #set buddy_format = 2 | |
517
d8f4a0fc77d3
Update sample configuration file
Mikael Berthe <mikael@lilotux.net>
parents:
511
diff
changeset
|
228 # |
d8f4a0fc77d3
Update sample configuration file
Mikael Berthe <mikael@lilotux.net>
parents:
511
diff
changeset
|
229 # Display the status changes in the chat buffers (default: 0, never) |
d8f4a0fc77d3
Update sample configuration file
Mikael Berthe <mikael@lilotux.net>
parents:
511
diff
changeset
|
230 # Values: 0: never 1: only connect/disconnect 2: all |
d8f4a0fc77d3
Update sample configuration file
Mikael Berthe <mikael@lilotux.net>
parents:
511
diff
changeset
|
231 #set show_status_in_buffer = 1 |
808
4a6ce276ffca
New option "log_display_sender"
Mikael Berthe <mikael@lilotux.net>
parents:
785
diff
changeset
|
232 # |
4a6ce276ffca
New option "log_display_sender"
Mikael Berthe <mikael@lilotux.net>
parents:
785
diff
changeset
|
233 # Set "log_display_sender" to 1 to display the message sender's jid in the |
4a6ce276ffca
New option "log_display_sender"
Mikael Berthe <mikael@lilotux.net>
parents:
785
diff
changeset
|
234 # log window (default: 0, no) |
4a6ce276ffca
New option "log_display_sender"
Mikael Berthe <mikael@lilotux.net>
parents:
785
diff
changeset
|
235 #set log_display_sender = 0 |
511 | 236 |
237 # Aliases | |
550 | 238 alias me = say /me |
334
475dccabe6f3
New config. file parsing -- update sample config. file
Mikael Berthe <mikael@lilotux.net>
parents:
322
diff
changeset
|
239 alias online = status online |
475dccabe6f3
New config. file parsing -- update sample config. file
Mikael Berthe <mikael@lilotux.net>
parents:
322
diff
changeset
|
240 alias away = status away |
475dccabe6f3
New config. file parsing -- update sample config. file
Mikael Berthe <mikael@lilotux.net>
parents:
322
diff
changeset
|
241 alias dnd = status dnd |
475dccabe6f3
New config. file parsing -- update sample config. file
Mikael Berthe <mikael@lilotux.net>
parents:
322
diff
changeset
|
242 alias notavail = status notavail |
530 | 243 #alias names = room names |
334
475dccabe6f3
New config. file parsing -- update sample config. file
Mikael Berthe <mikael@lilotux.net>
parents:
322
diff
changeset
|
244 |
511 | 245 # Key bindings |
334
475dccabe6f3
New config. file parsing -- update sample config. file
Mikael Berthe <mikael@lilotux.net>
parents:
322
diff
changeset
|
246 # Ctlr-X (24) bound to /roster alternate |
475dccabe6f3
New config. file parsing -- update sample config. file
Mikael Berthe <mikael@lilotux.net>
parents:
322
diff
changeset
|
247 bind 24 = roster alternate |
475dccabe6f3
New config. file parsing -- update sample config. file
Mikael Berthe <mikael@lilotux.net>
parents:
322
diff
changeset
|
248 # F5 (269) bound to /roster toggle_offline (centericq-like, IIRC) |
475dccabe6f3
New config. file parsing -- update sample config. file
Mikael Berthe <mikael@lilotux.net>
parents:
322
diff
changeset
|
249 bind 269 = roster toggle_offline |
719 | 250 # F12 (276) bound to /roster toggle |
251 bind 276 = roster toggle | |
766
c71ff9ade18c
Move Ctrl-Up/Down bindings to the config. file
Mikael Berthe <mikael@lilotux.net>
parents:
739
diff
changeset
|
252 # Ctrl-Up/Ctrl-Down bound to /buffer up/down (like Ctrl-p/Ctrl-n) |
c71ff9ade18c
Move Ctrl-Up/Down bindings to the config. file
Mikael Berthe <mikael@lilotux.net>
parents:
739
diff
changeset
|
253 bind 521 = buffer up |
c71ff9ade18c
Move Ctrl-Up/Down bindings to the config. file
Mikael Berthe <mikael@lilotux.net>
parents:
739
diff
changeset
|
254 bind 514 = buffer down |
334
475dccabe6f3
New config. file parsing -- update sample config. file
Mikael Berthe <mikael@lilotux.net>
parents:
322
diff
changeset
|
255 |
719 | 256 # Sample alias to join mcabber channel with "/jmc" |
257 #alias jmc = room join mcabber@conf.lilotux.net |