comparison mcabber/mcabberrc.example @ 334:475dccabe6f3

New config. file parsing -- update sample config. file
author Mikael Berthe <mikael@lilotux.net>
date Mon, 18 Jul 2005 20:03:03 +0100
parents da138cdebf04
children 7bd4ffee9497
comparison
equal deleted inserted replaced
333:db5bebe96c89 334:475dccabe6f3
3 # The jid will be the following: username@server/resource 3 # The jid will be the following: username@server/resource
4 # If password is not given, it will be interactively asked for. 4 # If password is not given, it will be interactively asked for.
5 # If port is not given, default Jabber port will be used. 5 # If port is not given, default Jabber port will be used.
6 # Use ssl = 1 to enable SSL 6 # Use ssl = 1 to enable SSL
7 7
8 username = yourusername 8 set username = yourusername
9 #password = yourpassword 9 #set password = yourpassword
10 server = your.jabber.server 10 set server = your.jabber.server
11 #port = 5222 11 #set port = 5222
12 ssl = 0 12 set ssl = 0
13 # If you don't know what a resource is, you can leave "mcabber" here. 13 # If you don't know what a resource is, you can leave "mcabber" here.
14 resource = mcabber 14 set resource = mcabber
15 #priority = 3 15 #set priority = 3
16 16
17 # Keepalive 17 # Keepalive
18 # If you need a ping/keepalive to leave your connection open, you 18 # If you need a ping/keepalive to leave your connection open, you
19 # can use the pinginterval. Setting this option to 0 disables the ping. 19 # can use the pinginterval. Setting this option to 0 disables the ping.
20 # Default value is 40 seconds. 20 # Default value is 40 seconds.
21 #pinginterval = 40 21 #set pinginterval = 40
22 22
23 # Set hide_offline_buddies to 1 to display only connected buddies 23 # Set hide_offline_buddies to 1 to display only connected buddies
24 # in the roster. 24 # in the roster.
25 #hide_offline_buddies = 0 25 #set hide_offline_buddies = 0
26 26
27 # Set the auto-away timeout, in seconds. If set to a value >0, 27 # Set the auto-away timeout, in seconds. If set to a value >0,
28 # mcabber will change your status to away if no real activity is detected 28 # mcabber will change your status to away if no real activity is detected
29 # (command, message, move in the buddylist...) 29 # (command, message, move in the buddylist...)
30 #set autoaway = 0 30 #set autoaway = 0
31 31
32 # History logging 32 # History logging
33 # You can save the messages history: set logging = 1 33 # You can save the messages history: set logging = 1
34 # You can load (read) the messages history: set load_logs = 1 34 # You can load (read) the messages history: set load_logs = 1
35 # Default logging directory (logging_dir) is $HOME/.mcabber/histo/ 35 # Default logging directory (logging_dir) is $HOME/.mcabber/histo/
36 logging = 1 36 set logging = 1
37 #load_logs = 1 37 #set load_logs = 1
38 #logging_dir = /home/mikael/.mcabber/histo/ 38 #set logging_dir = /home/mikael/.mcabber/histo/
39 39
40 # External command for events 40 # External command for events
41 # You can specify a script or process to be launched when an event occurs. 41 # You can specify a script or process to be launched when an event occurs.
42 # For now it is called the following way: 42 # For now it is called the following way:
43 # $events_command MSG IN jabber@id 43 # $events_command MSG IN jabber@id
44 # ... when receiving a message. 44 # ... when receiving a message (see sample script in contrib/).
45 #events_command = /home/mikael/.mcabber/eventcmd 45 #set events_command = /home/mikael/.mcabber/eventcmd
46 46
47 # Debug logging 47 # Debug logging
48 # If you want advanced debug, please specify a file here. 48 # If you want advanced debug, please specify a file here.
49 # You can enable debug in main.c before compiling mcabber, too. 49 # You can enable debug in main.c before compiling mcabber, too.
50 #debug = /home/mikael/mcabber.log 50 #set debug = /home/mikael/mcabber.log
51 51
52 # Status messages 52 # Status messages
53 # The "message" value will override all others, take care! 53 # The "message" value will override all others, take care!
54 #message = Unique message status 54 #set message = Unique message status
55 #message_avail = I'm available 55 #set message_avail = I'm available
56 #message_free = I'm free for chat 56 #set message_free = I'm free for chat
57 #message_dnd = Please do not disturb 57 #set message_dnd = Please do not disturb
58 #message_notavail = I'm not available 58 #set message_notavail = I'm not available
59 #message_away = I'm away 59 #set message_away = I'm away
60 #message_autoaway = Auto-away 60 #set message_autoaway = Auto-away
61 61
62 # The colors 62 # The colors
63 # Colors are: black, red, green, yellow, blue, magenta, cyan, white 63 # Colors are: black, red, green, yellow, blue, magenta, cyan, white
64 #color_background = blue 64 #set color_background = blue
65 #color_general = white 65 #set color_general = white
66 #color_newmessage = red 66 #set color_newmessage = red
67 #color_rosternormal = magenta 67 #set color_rosternormal = magenta
68 #color_rosterselect = black 68 #set color_rosterselect = black
69 #color_backselected = cyan 69 #set color_backselected = cyan
70 70
71 # Aliases
72 alias online = status online
73 alias away = status away
74 alias dnd = status dnd
75 alias notavail = status notavail
76
77 # Key bindings
78 # Ctlr-X (24) bound to /roster alternate
79 bind 24 = roster alternate
80 # F5 (269) bound to /roster toggle_offline (centericq-like, IIRC)
81 bind 269 = roster toggle_offline
82