author | Mikael Berthe <mikael@lilotux.net> |
Sat, 23 Jul 2005 09:14:50 +0100 | |
changeset 356 | a30ca1b77fa2 |
parent 355 | c5a7a7273986 |
child 364 | 33b8e801ffa6 |
permissions | -rw-r--r-- |
169 | 1 |
# Sample ~/.mcabber/mcabberrc file |
62 | 2 |
|
3 |
# The jid will be the following: username@server/resource |
|
85 | 4 |
# If password is not given, it will be interactively asked for. |
5 |
# If port is not given, default Jabber port will be used. |
|
70 | 6 |
# Use ssl = 1 to enable SSL |
62 | 7 |
|
334
475dccabe6f3
New config. file parsing -- update sample config. file
Mikael Berthe <mikael@lilotux.net>
parents:
322
diff
changeset
|
8 |
set username = yourusername |
338
7bd4ffee9497
Update sample configuration file
Mikael Berthe <mikael@lilotux.net>
parents:
334
diff
changeset
|
9 |
# 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
|
10 |
# 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
|
11 |
#set password = yourpassword |
475dccabe6f3
New config. file parsing -- update sample config. file
Mikael Berthe <mikael@lilotux.net>
parents:
322
diff
changeset
|
12 |
set server = your.jabber.server |
475dccabe6f3
New config. file parsing -- update sample config. file
Mikael Berthe <mikael@lilotux.net>
parents:
322
diff
changeset
|
13 |
#set port = 5222 |
475dccabe6f3
New config. file parsing -- update sample config. file
Mikael Berthe <mikael@lilotux.net>
parents:
322
diff
changeset
|
14 |
set ssl = 0 |
232 | 15 |
# 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
|
16 |
set resource = mcabber |
475dccabe6f3
New config. file parsing -- update sample config. file
Mikael Berthe <mikael@lilotux.net>
parents:
322
diff
changeset
|
17 |
#set priority = 3 |
62 | 18 |
|
113 | 19 |
# Keepalive |
20 |
# If you need a ping/keepalive to leave your connection open, you |
|
21 |
# can use the pinginterval. Setting this option to 0 disables the ping. |
|
22 |
# Default value is 40 seconds. |
|
334
475dccabe6f3
New config. file parsing -- update sample config. file
Mikael Berthe <mikael@lilotux.net>
parents:
322
diff
changeset
|
23 |
#set pinginterval = 40 |
113 | 24 |
|
87 | 25 |
# Set hide_offline_buddies to 1 to display only connected buddies |
26 |
# in the roster. |
|
334
475dccabe6f3
New config. file parsing -- update sample config. file
Mikael Berthe <mikael@lilotux.net>
parents:
322
diff
changeset
|
27 |
#set hide_offline_buddies = 0 |
62 | 28 |
|
322
da138cdebf04
Implement auto-away mode
Mikael Berthe <mikael@lilotux.net>
parents:
294
diff
changeset
|
29 |
# Set the auto-away timeout, in seconds. If set to a value >0, |
da138cdebf04
Implement auto-away mode
Mikael Berthe <mikael@lilotux.net>
parents:
294
diff
changeset
|
30 |
# mcabber will change your status to away if no real activity is detected |
339 | 31 |
# (command, message, move in the buddylist...). Note: auto-away only changes |
32 |
# the status when it is "available" (online) or "free_for_chat". |
|
322
da138cdebf04
Implement auto-away mode
Mikael Berthe <mikael@lilotux.net>
parents:
294
diff
changeset
|
33 |
#set autoaway = 0 |
da138cdebf04
Implement auto-away mode
Mikael Berthe <mikael@lilotux.net>
parents:
294
diff
changeset
|
34 |
|
113 | 35 |
# History logging |
36 |
# You can save the messages history: set logging = 1 |
|
177 | 37 |
# You can load (read) the messages history: set load_logs = 1 |
169 | 38 |
# 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
|
39 |
# Defaults for logging, load_logs are 0 (disabled) |
a30ca1b77fa2
Disable logging by default in the sample configuration file
Mikael Berthe <mikael@lilotux.net>
parents:
355
diff
changeset
|
40 |
# Note: and the logging directory must exist if you enable logging. |
a30ca1b77fa2
Disable logging by default in the sample configuration file
Mikael Berthe <mikael@lilotux.net>
parents:
355
diff
changeset
|
41 |
#set logging = 1 |
334
475dccabe6f3
New config. file parsing -- update sample config. file
Mikael Berthe <mikael@lilotux.net>
parents:
322
diff
changeset
|
42 |
#set load_logs = 1 |
475dccabe6f3
New config. file parsing -- update sample config. file
Mikael Berthe <mikael@lilotux.net>
parents:
322
diff
changeset
|
43 |
#set logging_dir = /home/mikael/.mcabber/histo/ |
160 | 44 |
|
45 |
# External command for events |
|
46 |
# You can specify a script or process to be launched when an event occurs. |
|
355
c5a7a7273986
Add some external actions
Mikael Berthe <mikael@lilotux.net>
parents:
339
diff
changeset
|
47 |
# The command is called the following way: |
c5a7a7273986
Add some external actions
Mikael Berthe <mikael@lilotux.net>
parents:
339
diff
changeset
|
48 |
# $events_command MSG IN jabber@id (when receiving a message) |
c5a7a7273986
Add some external actions
Mikael Berthe <mikael@lilotux.net>
parents:
339
diff
changeset
|
49 |
# $events_command MSG OUT jabber@id (when sending a message) |
c5a7a7273986
Add some external actions
Mikael Berthe <mikael@lilotux.net>
parents:
339
diff
changeset
|
50 |
# $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
|
51 |
# 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
|
52 |
#set events_command = /home/mikael/.mcabber/eventcmd |
113 | 53 |
|
139 | 54 |
# Debug logging |
55 |
# If you want advanced debug, please specify a file here. |
|
56 |
# You can enable debug in main.c before compiling mcabber, too. |
|
334
475dccabe6f3
New config. file parsing -- update sample config. file
Mikael Berthe <mikael@lilotux.net>
parents:
322
diff
changeset
|
57 |
#set debug = /home/mikael/mcabber.log |
113 | 58 |
|
294
871e53769084
Allow one status message per Jabber status
Mikael Berthe <mikael@lilotux.net>
parents:
272
diff
changeset
|
59 |
# Status messages |
871e53769084
Allow one status message per Jabber status
Mikael Berthe <mikael@lilotux.net>
parents:
272
diff
changeset
|
60 |
# 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
|
61 |
#set message = Unique message status |
475dccabe6f3
New config. file parsing -- update sample config. file
Mikael Berthe <mikael@lilotux.net>
parents:
322
diff
changeset
|
62 |
#set message_avail = I'm available |
475dccabe6f3
New config. file parsing -- update sample config. file
Mikael Berthe <mikael@lilotux.net>
parents:
322
diff
changeset
|
63 |
#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
|
64 |
#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
|
65 |
#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
|
66 |
#set message_away = I'm away |
475dccabe6f3
New config. file parsing -- update sample config. file
Mikael Berthe <mikael@lilotux.net>
parents:
322
diff
changeset
|
67 |
#set message_autoaway = Auto-away |
294
871e53769084
Allow one status message per Jabber status
Mikael Berthe <mikael@lilotux.net>
parents:
272
diff
changeset
|
68 |
|
62 | 69 |
# The colors |
267 | 70 |
# Colors are: black, red, green, yellow, blue, magenta, cyan, white |
334
475dccabe6f3
New config. file parsing -- update sample config. file
Mikael Berthe <mikael@lilotux.net>
parents:
322
diff
changeset
|
71 |
#set color_background = blue |
475dccabe6f3
New config. file parsing -- update sample config. file
Mikael Berthe <mikael@lilotux.net>
parents:
322
diff
changeset
|
72 |
#set color_general = white |
475dccabe6f3
New config. file parsing -- update sample config. file
Mikael Berthe <mikael@lilotux.net>
parents:
322
diff
changeset
|
73 |
#set color_newmessage = red |
475dccabe6f3
New config. file parsing -- update sample config. file
Mikael Berthe <mikael@lilotux.net>
parents:
322
diff
changeset
|
74 |
#set color_rosternormal = magenta |
475dccabe6f3
New config. file parsing -- update sample config. file
Mikael Berthe <mikael@lilotux.net>
parents:
322
diff
changeset
|
75 |
#set color_rosterselect = black |
475dccabe6f3
New config. file parsing -- update sample config. file
Mikael Berthe <mikael@lilotux.net>
parents:
322
diff
changeset
|
76 |
#set color_backselected = cyan |
62 | 77 |
|
334
475dccabe6f3
New config. file parsing -- update sample config. file
Mikael Berthe <mikael@lilotux.net>
parents:
322
diff
changeset
|
78 |
# Aliases |
475dccabe6f3
New config. file parsing -- update sample config. file
Mikael Berthe <mikael@lilotux.net>
parents:
322
diff
changeset
|
79 |
alias online = status online |
475dccabe6f3
New config. file parsing -- update sample config. file
Mikael Berthe <mikael@lilotux.net>
parents:
322
diff
changeset
|
80 |
alias away = status away |
475dccabe6f3
New config. file parsing -- update sample config. file
Mikael Berthe <mikael@lilotux.net>
parents:
322
diff
changeset
|
81 |
alias dnd = status dnd |
475dccabe6f3
New config. file parsing -- update sample config. file
Mikael Berthe <mikael@lilotux.net>
parents:
322
diff
changeset
|
82 |
alias notavail = status notavail |
475dccabe6f3
New config. file parsing -- update sample config. file
Mikael Berthe <mikael@lilotux.net>
parents:
322
diff
changeset
|
83 |
|
475dccabe6f3
New config. file parsing -- update sample config. file
Mikael Berthe <mikael@lilotux.net>
parents:
322
diff
changeset
|
84 |
# Key bindings |
475dccabe6f3
New config. file parsing -- update sample config. file
Mikael Berthe <mikael@lilotux.net>
parents:
322
diff
changeset
|
85 |
# 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
|
86 |
bind 24 = roster alternate |
475dccabe6f3
New config. file parsing -- update sample config. file
Mikael Berthe <mikael@lilotux.net>
parents:
322
diff
changeset
|
87 |
# 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
|
88 |
bind 269 = roster toggle_offline |
475dccabe6f3
New config. file parsing -- update sample config. file
Mikael Berthe <mikael@lilotux.net>
parents:
322
diff
changeset
|
89 |