source: doc/user-guide/commands.xml @ f5ac0fb

Last change on this file since f5ac0fb was f5ac0fb, checked in by Sven Moritz Hallberg <sm@…>, at 2008-02-12T01:32:28Z

document otr commands

  • Property mode set to 100644
File size: 38.4 KB
Line 
1<chapter id="commands">
2        <title>Bitlbee commands</title>
3
4        <command-list/>
5
6        <bitlbee-command name="account">
7                <short-description>IM-account list maintenance</short-description>
8                <syntax>account &lt;action&gt; [&lt;arguments&gt;]</syntax>
9
10                <description>
11
12                        <para>
13                                Available actions: add, del, list, on, off and set. See <emphasis>help account &lt;action&gt;</emphasis> for more information.
14                        </para>
15
16                </description>
17
18                <bitlbee-command name="add">
19                        <syntax>account add &lt;protocol&gt; &lt;username&gt; &lt;password&gt;</syntax>
20
21                        <description>
22                                <para>
23                                        Adds an account on the given server with the specified protocol, username and password to the account list. Supported protocols right now are: Jabber, MSN, OSCAR (AIM/ICQ) and Yahoo. For more information about adding an account, see <emphasis>help account add &lt;protocol&gt;</emphasis>.
24                                </para>
25                        </description>
26                       
27                        <bitlbee-command name="jabber">
28                                <syntax>account add jabber &lt;handle@server.tld&gt; &lt;password&gt;</syntax>
29
30                                <description>
31                                        <para>
32                                                The handle should be a full handle, including the domain name. You can specify a servername if necessary. Normally BitlBee doesn't need this though, since it's able to find out the server by doing DNS SRV lookups.
33                                        </para>
34
35                                        <para>
36                                                In previous versions it was also possible to specify port numbers and/or SSL in the server tag. This is deprecated and should now be done using the <emphasis>account set</emphasis> command. This also applies to specifying a resource in the handle (like <emphasis>wilmer@bitlbee.org/work</emphasis>).
37                                        </para>
38                                </description>
39                        </bitlbee-command>
40
41                        <bitlbee-command name="msn">
42                                <syntax>account add msn &lt;handle@server.tld&gt; &lt;password&gt;</syntax>
43
44                                <description>
45                                        <para>
46                                                For MSN connections there are no special arguments.
47                                        </para>
48                                </description>
49                        </bitlbee-command>
50                       
51                        <bitlbee-command name="oscar">
52                                <syntax>account add oscar &lt;handle&gt; &lt;password&gt;</syntax>
53
54                                <description>
55                                        <para>
56                                                OSCAR is the protocol used to connect to AIM and/or ICQ. The servers will automatically detect if you're using a numeric or non-numeric username so there's no need to tell which network you want to connect to.
57                                        </para>
58                                </description>
59
60                                <ircexample>
61                                        <ircline nick="wilmer">account add oscar 72696705 hobbelmeeuw</ircline>
62                                        <ircline nick="root">Account successfully added</ircline>
63                                </ircexample>
64                        </bitlbee-command>
65
66                        <bitlbee-command name="yahoo">
67                                <syntax>account add yahoo &lt;handle&gt; &lt;password&gt;</syntax>
68
69                                <description>
70                                        <para>
71                                                For Yahoo! connections there are no special arguments.
72                                        </para>
73                                </description>
74                        </bitlbee-command>
75
76                </bitlbee-command>
77
78                <bitlbee-command name="del">
79                        <syntax>account del &lt;account id&gt;</syntax>
80
81                        <description>
82                                <para>
83                                        This commands deletes an account from your account list. You should signoff the account before deleting it.
84                                </para>
85
86
87                                <para>
88                                        The account ID can be a number (see <emphasis>account list</emphasis>), the protocol name or (part of) the screenname, as long as it matches only one connection.
89                                </para>
90                        </description>
91                </bitlbee-command>
92
93                <bitlbee-command name="on">
94                        <syntax>account on [&lt;account id&gt;]</syntax>
95
96                        <description>
97                                <para>
98                                        This command will try to log into the specified account. If no account is specified, BitlBee will log into all the accounts that have the auto_connect flag set.
99                                </para>
100
101                                <para>
102                                        The account ID can be a number (see <emphasis>account list</emphasis>), the protocol name or (part of) the screenname, as long as it matches only one connection.
103                                </para>
104                        </description>
105
106                </bitlbee-command>
107
108                <bitlbee-command name="off">
109                        <syntax>account off [&lt;account id&gt;]</syntax>
110
111                        <description>
112                                <para>
113                                        This command disconnects the connection for the specified account. If no account is specified, BitlBee will deactivate all active accounts and cancel all pending reconnects.
114                                </para>
115
116                                <para>
117                                        The account ID can be a number (see <emphasis>account list</emphasis>), the protocol name or (part of) the screenname, as long as it matches only one connection.
118                                </para>
119                        </description>
120                </bitlbee-command>
121
122                <bitlbee-command name="list">
123                        <syntax>account list</syntax>
124
125                        <description>
126                                <para>
127                                        This command gives you a list of all the accounts known by BitlBee, including the numbers you'll need for most account commands.
128                                </para>
129                        </description>
130                </bitlbee-command>
131
132                <bitlbee-command name="set">
133                        <syntax>account set &lt;account id&gt;</syntax>
134                        <syntax>account set &lt;account id&gt;/&lt;setting&gt;</syntax>
135                        <syntax>account set &lt;account id&gt;/&lt;setting&gt; &lt;value&gt;</syntax>
136                        <syntax>account set -del &lt;account id&gt;/&lt;setting&gt;</syntax>
137
138                        <description>
139                                <para>
140                                        This account can be used to change various settings for IM accounts. For all protocols, this command can be used to change the handle or the password BitlBee uses to log in and if it should be logged in automatically. Some protocols have additional settings. You can see the settings available for a connection by typing <emphasis>account set &lt;account id&gt;</emphasis>.
141                                </para>
142                               
143                                <para>
144                                        For more infomation about a setting, see <emphasis>help set &lt;setting&gt;</emphasis>. For details about the syntax of this command, see <emphasis>help set</emphasis>.
145                                </para>
146                               
147                                <para>
148                                        The account ID can be a number (see <emphasis>account list</emphasis>), the protocol name or (part of) the screenname, as long as it matches only one connection.
149                                </para>
150                        </description>
151                </bitlbee-command>
152        </bitlbee-command>
153
154        <bitlbee-command name="add">
155                <short-description>Add a buddy to your contact list</short-description>
156                <syntax>add &lt;connection&gt; &lt;handle&gt; [&lt;nick&gt;]</syntax>
157                <syntax>add -tmp &lt;connection&gt; &lt;handle&gt; [&lt;nick&gt;]</syntax>
158
159                <description>
160                        <para>
161                                Adds the given buddy at the specified connection to your buddy list. The account ID can be a number (see <emphasis>account list</emphasis>), the protocol name or (part of) the screenname, as long as it matches only one connection.
162                        </para>
163
164                        <para>
165                                If you want, you can also tell BitlBee what nick to give the new contact. Of course you can also use the <emphasis>rename</emphasis> command for that, but sometimes this might be more convenient.
166                        </para>
167                       
168                        <para>
169                                Adding -tmp adds the buddy to the internal BitlBee structures only, not to the real contact list (like done by <emphasis>set handle_unknown add</emphasis>). This allows you to talk to people who are not in your contact list.
170                        </para>
171                </description>
172
173                <ircexample>
174                        <ircline nick="ctrlsoft">add 3 gryp@jabber.org grijp</ircline>
175                        <ircaction nick="grijp" hostmask="gryp@jabber.org">has joined <emphasis>&amp;bitlbee</emphasis></ircaction>
176                </ircexample>
177        </bitlbee-command>
178
179        <bitlbee-command name="info">
180                <short-description>Request user information</short-description>
181                <syntax>info &lt;connection&gt; &lt;handle&gt;</syntax>
182                <syntax>info &lt;nick&gt;</syntax>
183
184                <description>
185                        <para>
186                                Requests IM-network-specific information about the specified user. The amount of information you'll get differs per protocol. For some protocols (ATM Yahoo! and MSN) it'll give you an URL which you can visit with a normal web browser to get the information.
187                        </para>
188                </description>
189
190                <ircexample>
191                        <ircline nick="ctrlsoft">info 0 72696705</ircline>
192                        <ircline nick="root">User info - UIN: 72696705   Nick: Lintux   First/Last name: Wilmer van der Gaast   E-mail: lintux@lintux.cx</ircline>
193                </ircexample>
194
195        </bitlbee-command>
196
197        <bitlbee-command name="remove">
198                <short-description>Remove a buddy from your contact list</short-description>
199                <syntax>remove &lt;nick&gt;</syntax>
200
201                <description>
202                        <para>
203                                Removes the specified nick from your buddy list.
204                        </para>
205                </description>
206
207                <ircexample>
208                        <ircline nick="ctrlsoft">remove gryp</ircline>
209                        <ircaction nick="gryp" hostmask="gryp@jabber.jabber.org">has quit <emphasis>[Leaving...]</emphasis></ircaction>
210                </ircexample>
211
212        </bitlbee-command>
213
214        <bitlbee-command name="block">
215                <short-description>Block someone</short-description>
216                <syntax>block &lt;nick&gt;</syntax>
217                <syntax>block &lt;connection&gt; &lt;handle&gt;</syntax>
218                <syntax>block &lt;connection&gt;</syntax>
219
220                <description>
221                        <para>
222                                Puts the specified user on your ignore list. Either specify the user's nick when you have him/her in your contact list or a connection number and a user handle.
223                        </para>
224                       
225                        <para>
226                                When called with only a connection specification as an argument, the command displays the current block list for that connection.
227                        </para>
228                </description>
229        </bitlbee-command>
230
231        <bitlbee-command name="allow">
232                <short-description>Unblock someone</short-description>
233                <syntax>allow &lt;nick&gt;</syntax>
234                <syntax>allow &lt;connection&gt; &lt;handle&gt;</syntax>
235
236                <description>
237                        <para>
238                                Reverse of block. Unignores the specified user or user handle on specified connection.
239                        </para>
240                       
241                        <para>
242                                When called with only a connection specification as an argument, the command displays the current allow list for that connection.
243                        </para>
244                </description>
245        </bitlbee-command>
246       
247        <bitlbee-command name="otr">
248                <short-description>Off-the-Record encryption control</short-description>
249                <syntax>otr &lt;subcommand&gt; [&lt;arguments&gt;]</syntax>
250
251                <description>
252
253                        <para>
254                                Available subcommands: connect, disconnect, smp, trust, info, keygen, and forget. See <emphasis>help otr &lt;subcommand&gt;</emphasis> for more information.
255                        </para>
256
257                </description>
258               
259                <bitlbee-command name="connect">
260                        <syntax>otr connect &lt;nick&gt;</syntax>
261                       
262                        <description>
263                       
264                                <para>
265                                        Attempts to establish an encrypted connection with the specified user by sending a magic string.
266                                </para>
267                               
268                        </description>
269               
270                </bitlbee-command>
271               
272                <bitlbee-command name="disconnect">
273                        <syntax>otr disconnect &lt;nick&gt;</syntax>
274                       
275                        <description>
276                       
277                                <para>
278                                        Resets the connection with the specified user to cleartext.
279                                </para>
280                               
281                        </description>
282               
283                </bitlbee-command>
284               
285                <bitlbee-command name="smp">
286                        <syntax>otr smp &lt;nick&gt; &lt;secret&gt;</syntax>
287                       
288                        <description>
289                       
290                                <para>
291                                        Attempts to authenticate the given user's active fingerprint via the Socialist Millionaires' Protocol.
292                                </para>
293                               
294                                <para>
295                                        If an SMP challenge has already been received from the given user, responds with the specified secret. Otherwise, a challenge for the secret will be sent. If the protocol succeeds (i.e. both parties gave the same secret), the fingerprint will be trusted.
296                                </para>
297                               
298                        </description>
299               
300                </bitlbee-command>
301               
302                <bitlbee-command name="trust">
303                        <syntax>otr trust &lt;nick&gt; &lt;fp1&gt; &lt;fp2&gt; &lt;fp3&gt; &lt;fp4&gt; &lt;fp5&gt;</syntax>
304                       
305                        <description>
306                       
307                                <para>
308                                        Manually affirms trust in the specified fingerprint, given as five blocks of precisely eight (hexadecimal) digits each.
309                                </para>
310                               
311                        </description>
312               
313                </bitlbee-command>
314               
315                <bitlbee-command name="info">
316                        <syntax>otr info</syntax>
317                        <syntax>otr info &lt;nick&gt;</syntax>
318                       
319                        <description>
320                       
321                                <para>
322                                        Shows information about the OTR state. The first form lists our private keys and current OTR contexts. The second form displays information about the connection with a given user, including the list of their known fingerprints.
323                                </para>
324                               
325                        </description>
326               
327                </bitlbee-command>
328               
329                <bitlbee-command name="keygen">
330                        <syntax>otr keygen &lt;account-no&gt;</syntax>
331                       
332                        <description>
333                       
334                                <para>
335                                        Generates a new OTR private key for the given account.
336                                </para>
337                               
338                        </description>
339               
340                </bitlbee-command>
341               
342                <bitlbee-command name="forget">
343                        <syntax>otr forget &lt;thing&gt; &lt;arguments&gt;</syntax>
344                       
345                        <description>
346                       
347                                <para>
348                                        Forgets some part of our OTR userstate. Available things: fingerprint, context, and key. See <emphasis>help otr forget &lt;thing&gt;</emphasis> for more information.
349                                </para>
350                       
351                        </description>
352                       
353                        <bitlbee-command name="fingerprint">
354                                <syntax>otr forget fingerprint &lt;nick&gt; &lt;fingerprint&gt;</syntax>
355                               
356                                <description>
357                               
358                                        <para>
359                                                Drops the specified fingerprint from the given user's OTR connection context. It is allowed to specify only a (unique) prefix of the desired fingerprint.
360                                        </para>
361                                       
362                                </description>
363                               
364                        </bitlbee-command>
365                               
366                        <bitlbee-command name="context">
367                                <syntax>otr forget context &lt;nick&gt;</syntax>
368                               
369                                <description>
370                               
371                                        <para>
372                                                Forgets the entire OTR context associated with the given user. This includes current message and protocol states, as well as any fingerprints for that user.
373                                        </para>
374                                       
375                                </description>
376                               
377                        </bitlbee-command>
378
379                        <bitlbee-command name="key">
380                                <syntax>otr forget key &lt;fingerprint&gt;</syntax>
381                               
382                                <description>
383                               
384                                        <para>
385                                                Forgets an OTR private key matching the specified fingerprint. It is allowed to specify only a (unique) prefix of the fingerprint.
386                                        </para>
387                                       
388                                </description>
389                               
390                        </bitlbee-command>
391               
392                </bitlbee-command>
393               
394        </bitlbee-command>
395
396        <bitlbee-command name="set">
397                <short-description>Miscellaneous settings</short-description>
398                <syntax>set</syntax>
399                <syntax>set &lt;variable&gt;</syntax>
400                <syntax>set &lt;variable&gt; &lt;value&gt;</syntax>
401                <syntax>set -del &lt;variable&gt;</syntax>
402
403                <description>
404
405                        <para>
406                                Without any arguments, this command lists all the set variables. You can also specify a single argument, a variable name, to get that variable's value. To change this value, specify the new value as the second argument. With <emphasis>-del</emphasis> you can reset a setting to its default value.
407                        </para>
408
409                        <para>
410                                To get more help information about a setting, try:
411                        </para>
412
413                </description>
414
415                <ircexample>
416                        <ircline nick="ctrlsoft">help set private</ircline>
417                </ircexample>
418
419        </bitlbee-command>
420
421        <bitlbee-command name="help">
422                <short-description>BitlBee help system</short-description>
423
424                <syntax>help [subject]</syntax>
425
426                <description>
427                        <para>
428                                This command gives you the help information you're reading right now. If you don't give any arguments, it'll give a short help index.
429                        </para>
430                </description>
431        </bitlbee-command>
432
433        <bitlbee-command name="save">
434                <short-description>Save your account data</short-description>
435                <syntax>save</syntax>
436
437                <description>
438                        <para>
439                                This command saves all your nicks and accounts immediately. Handy if you have the autosave functionality disabled, or if you don't trust the program's stability... ;-)
440                        </para>
441                </description>
442        </bitlbee-command>
443
444        <bitlbee-setting name="auto_connect" type="boolean" scope="both">
445                <default>true</default>
446
447                <description>
448                        <para>
449                                With this option enabled, when you identify BitlBee will automatically connect to your accounts, with this disabled it will not do this.
450                        </para>
451                       
452                        <para>
453                                This setting can also be changed for specific accounts using the <emphasis>account set</emphasis> command. (However, these values will be ignored if the global <emphasis>auto_connect</emphasis> setting is disabled!)
454                        </para>
455                </description>
456        </bitlbee-setting>
457
458        <bitlbee-setting name="auto_reconnect" type="boolean" scope="both">
459                <default>false</default>
460
461                <description>
462                        <para>
463                                If an IM-connections breaks, you're supposed to bring it back up yourself. Having BitlBee do this automatically might not always be a good idea, for several reasons. If you want the connections to be restored automatically, you can enable this setting.
464                        </para>
465
466                        <para>
467                                See also the <emphasis>auto_reconnect_delay</emphasis> setting.
468                        </para>
469
470                        <para>
471                                This setting can also be changed for specific accounts using the <emphasis>account set</emphasis> command. (However, these values will be ignored if the global <emphasis>auto_reconnect</emphasis> setting is disabled!)
472                        </para>
473                </description>
474        </bitlbee-setting>
475
476        <bitlbee-setting name="auto_reconnect_delay" type="integer" scope="global">
477                <default>300</default>
478
479                <description>
480                        <para>
481                                Tell BitlBee after how many seconds it should attempt to bring an IM-connection back up after a crash. It's not a good idea to set this value very low, it will cause too much useless traffic when an IM-server is down for a few hours.
482                        </para>
483
484                        <para>
485                                See also the <emphasis>auto_reconnect</emphasis> setting.
486                        </para>
487                </description>
488        </bitlbee-setting>
489
490        <bitlbee-setting name="away_devoice" type="boolean" scope="global">
491                <default>true</default>
492
493                <description>
494                        <para>
495                                With this option enabled, the root user devoices people when they go away (just away, not offline) and gives the voice back when they come back. You might dislike the voice-floods you'll get if your contact list is huge, so this option can be disabled.
496                        </para>
497                </description>
498        </bitlbee-setting>
499
500        <bitlbee-setting name="buddy_sendbuffer" type="boolean" scope="global">
501                <default>false</default>
502
503                <description>
504                        <para>
505                                By default, when you send a message to someone, BitlBee forwards this message to the user immediately. When you paste a large number of lines, the lines will be sent in separate messages, which might not be very nice to read. If you enable this setting, BitlBee will buffer your messages and wait for more data.
506                        </para>
507
508                        <para>
509                                Using the <emphasis>buddy_sendbuffer_delay</emphasis> setting you can specify the number of seconds BitlBee should wait for more data before the complete message is sent.
510                        </para>
511
512                        <para>
513                                Please note that if you remove a buddy from your list (or if the connection to that user drops) and there's still data in the buffer, this data will be lost. BitlBee will not try to send the message to the user in those cases.
514                        </para>
515                </description>
516        </bitlbee-setting>
517
518        <bitlbee-setting name="buddy_sendbuffer_delay" type="integer" scope="global">
519                <default>200</default>
520
521                <description>
522
523                        <para>
524                                Tell BitlBee after how many (mili)seconds a buffered message should be sent. Values greater than 5 will be interpreted as miliseconds, 5 and lower as seconds.
525                        </para>
526
527                        <para>
528                                See also the <emphasis>buddy_sendbuffer</emphasis> setting.
529                        </para>
530                </description>
531        </bitlbee-setting>
532
533        <bitlbee-setting name="charset" type="string" scope="global">
534                <default>iso8859-1</default>
535                <possible-values>you can get a list of all possible values by doing 'iconv -l' in a shell</possible-values>
536
537                <description>
538                        <para>
539                                The charset setting enables you to use different character sets in BitlBee. These get converted to UTF-8 before sending and from UTF-8 when receiving.
540                        </para>
541
542                        <para>
543                                If you don't know what's the best value for this, at least iso8859-1 is the best choice for most Western countries. You can try to find what works best for you on http://czyborra.com/charsets/iso8859.html
544                        </para>
545                </description>
546
547        </bitlbee-setting>
548
549        <bitlbee-setting name="debug" type="boolean" scope="global">
550                <default>false</default>
551
552                <description>
553                        <para>
554                                Some debugging messages can be sent to the control channel if you wish. They're probably not really useful for you, unless you're doing some development on BitlBee.
555                        </para>
556                </description>
557        </bitlbee-setting>
558
559        <bitlbee-setting name="default_target" type="string" scope="global">
560                <default>root</default>
561                <possible-values>root, last</possible-values>
562
563                <description>
564                        <para>
565                                With this value set to <emphasis>root</emphasis>, lines written in the control channel without any nickname in front of them will be interpreted as commands. If you want BitlBee to send those lines to the last person you addressed in the control channel, set this to <emphasis>last</emphasis>.
566                        </para>
567                </description>
568        </bitlbee-setting>
569
570        <bitlbee-setting name="display_name" type="string" scope="account">
571                <description>
572                        <para>
573                                Currently only available for MSN connections. This setting allows you to read and change your "friendly name" for this connection. Since this is a server-side setting, it can't be changed when the account is off-line.
574                        </para>
575                </description>
576        </bitlbee-setting>
577
578        <bitlbee-setting name="display_namechanges" type="boolean" scope="global">
579                <default>false</default>
580
581                <description>
582                        <para>
583                                With this option enabled, root will inform you when someone in your buddy list changes his/her "friendly name".
584                        </para>
585                </description>
586        </bitlbee-setting>
587
588        <bitlbee-setting name="handle_unknown" type="string" scope="global">
589                <default>root</default>
590                <possible-values>root, add, add_private, add_channel, ignore</possible-values>
591
592                <description>
593                        <para>
594                                Messages from unknown users are echoed like this by default:
595                        </para>
596
597                        <ircexample>
598                                <ircline nick="root">Unknown message from handle 3137137:</ircline>
599                                <ircline nick="root">j0000! 1 4m l33t h4x0r! kill me!</ircline>
600                        </ircexample>
601
602                        <para>
603                                If you want this lame user to be added automatically, you can set this setting to "add". If you prefer to ignore messages from people you don't know, you can set this one to "ignore". "add_private" and "add_channel" are like add, but you can use them to make messages from unknown buddies appear in the channel instead of a query window.
604                        </para>
605
606                        <note>
607                                <para>
608                                        Auto-added users aren't added to your real contact list. This is because you don't want the user to get authorization requests. So when you restart BitlBee, the auto-added user will be gone. If you want to keep the person in your buddy-list, you have to fixate the add using the <emphasis>add</emphasis> command.
609                                </para>
610                        </note>
611                </description>
612
613        </bitlbee-setting>
614
615        <bitlbee-setting name="lcnicks" type="boolean" scope="global">
616                <default>true</default>
617
618                <description>
619                        <para>
620                                Hereby you can change whether you want all lower case nick names or leave the case as it intended by your peer.
621                        </para>
622                </description>
623
624        </bitlbee-setting>
625
626        <bitlbee-setting name="mail_notifications" type="boolean" scope="account">
627                <default>false</default>
628
629                <description>
630                        <para>
631                                Some protocols (MSN, Yahoo!) can notify via IM about new e-mail. Since most people use their Hotmail/Yahoo! addresses as a spam-box, this is disabled default. If you want these notifications, you can enable this setting.
632                        </para>
633                </description>
634
635        </bitlbee-setting>
636
637        <bitlbee-setting name="ops" type="string" scope="global">
638                <default>both</default>
639                <possible-values>both, root, user, none</possible-values>
640
641                <description>
642                        <para>
643                                Some people prefer themself and root to have operator status in &amp;bitlbee, other people don't. You can change these states using this setting.
644                        </para>
645
646                        <para>
647                                The value "both" means both user and root get ops. "root" means, well, just root. "user" means just the user. "none" means nobody will get operator status.
648                        </para>
649                </description>
650        </bitlbee-setting>
651
652        <bitlbee-setting name="password" type="string" scope="both">
653                <description>
654                        <para>
655                                Use this global setting to change your "NickServ" password.
656                        </para>
657                       
658                        <para>
659                                This setting is also available for all IM accounts to change the password BitlBee uses to connect to the service.
660                        </para>
661                       
662                        <para>
663                                Note that BitlBee will always say this setting is empty. This doesn't mean there is no password, it just means that, for security reasons, BitlBee stores passwords somewhere else so they can't just be retrieved in plain text.
664                        </para>
665                </description>
666        </bitlbee-setting>
667       
668        <bitlbee-setting name="port" type="integer" scope="account">
669                <description>
670                        <para>
671                                Currently only available for Jabber connections. Specifies the port number to connect to. Usually this should be set to 5222, or 5223 for SSL-connections.
672                        </para>
673                </description>
674        </bitlbee-setting>
675
676        <bitlbee-setting name="priority" type="integer" scope="account">
677                <default>0</default>
678
679                <description>
680                        <para>
681                                Can be set for Jabber connections. When connecting to one account from multiple places, this priority value will help the server to determine where to deliver incoming messages (that aren't addressed to a specific resource already).
682                        </para>
683
684                        <para>
685                                According to RFC 3921 servers will always deliver messages to the server with the highest priority value. Mmessages will not be delivered to resources with a negative priority setting (and should be saved as an off-line message if all available resources have a negative priority value).
686                        </para>
687                </description>
688        </bitlbee-setting>
689
690        <bitlbee-setting name="private" type="boolean" scope="global">
691                <default>true</default>
692
693                <description>
694                        <para>
695                                If value is true, messages from users will appear in separate query windows. If false, messages from users will appear in the control channel.
696                        </para>
697
698                        <para>
699                                This setting is remembered (during one session) per-user, this setting only changes the default state. This option takes effect as soon as you reconnect.
700                        </para>
701                </description>
702        </bitlbee-setting>
703
704        <bitlbee-setting name="query_order" type="string" scope="global">
705                <default>lifo</default>
706                <possible-values>lifo, fifo</possible-values>
707
708                <description>
709                        <para>
710                                This changes the order in which the questions from root (usually authorization requests from buddies) should be answered. When set to <emphasis>lifo</emphasis>, BitlBee immediately displays all new questions and they should be answered in reverse order. When this is set to <emphasis>fifo</emphasis>, BitlBee displays the first question which comes in and caches all the others until you answer the first one.
711                        </para>
712
713                        <para>
714                                Although the <emphasis>fifo</emphasis> setting might sound more logical (and used to be the default behaviour in older BitlBee versions), it turned out not to be very convenient for many users when they missed the first question (and never received the next ones).
715                        </para>
716                </description>
717        </bitlbee-setting>
718
719        <bitlbee-setting name="resource" type="string" scope="account">
720                <default>BitlBee</default>
721
722                <description>
723                        <para>
724                                Can be set for Jabber connections. You can use this to connect to your Jabber account from multiple clients at once, with every client using a different resource string.
725                        </para>
726                </description>
727        </bitlbee-setting>
728
729        <bitlbee-setting name="resource_select" type="string" scope="account">
730                <default>priority</default>
731                <possible-values>priority, time</possible-values>
732
733                <description>
734                        <para>
735                                Because the IRC interface makes it pretty hard to specify the resource to talk to (when a buddy is online through different resources), this setting was added.
736                        </para>
737
738                        <para>
739                                Normally it's set to <emphasis>priority</emphasis> which means messages will always be delivered to the buddy's resource with the highest priority. If the setting is set to <emphasis>time</emphasis>, messages will be delivered to the resource that was last used to send you a message (or the resource that most recently connected).
740                        </para>
741                </description>
742        </bitlbee-setting>
743
744        <bitlbee-setting name="save_on_quit" type="boolean" scope="global">
745                <default>true</default>
746
747                <description>
748                        <para>
749                                If enabled causes BitlBee to save all current settings and account details when user disconnects. This is enabled by default, and these days there's not really a reason to have it disabled anymore.
750                        </para>
751                </description>
752        </bitlbee-setting>
753
754        <bitlbee-setting name="server" type="string" scope="account">
755                <description>
756                        <para>
757                                Can be set for Jabber- and OSCAR-connections. For Jabber, you might have to set this if the servername isn't equal to the part after the @ in the Jabber handle. For OSCAR this shouldn't be necessary anymore in recent BitlBee versions.
758                        </para>
759                </description>
760        </bitlbee-setting>
761
762        <bitlbee-setting name="simulate_netsplit" type="boolean" scope="global">
763                <default>true</default>
764
765                <description>
766                        <para>
767                                Some IRC clients parse quit messages sent by the IRC server to see if someone really left or just disappeared because of a netsplit. By default, BitlBee tries to simulate netsplit-like quit messages to keep the control channel window clean. If you don't like this (or if your IRC client doesn't support this) you can disable this setting.
768                        </para>
769                </description>
770        </bitlbee-setting>
771
772        <bitlbee-setting name="ssl" type="boolean" scope="account">
773                <default>false</default>
774
775                <description>
776                        <para>
777                                Currently only available for Jabber connections. Set this to true if the server accepts SSL connections.
778                        </para>
779                </description>
780        </bitlbee-setting>
781
782        <bitlbee-setting name="strip_html" type="boolean" scope="global">
783                <default>true</default>
784
785                <description>
786                        <para>
787                                Determines what BitlBee should do with HTML in messages. Normally this is turned on and HTML will be stripped from messages, if BitlBee thinks there is HTML.
788                        </para>
789                        <para>
790                                If BitlBee fails to detect this sometimes (most likely in AIM messages over an ICQ connection), you can set this setting to <emphasis>always</emphasis>, but this might sometimes accidentally strip non-HTML things too.
791                        </para>
792                </description>
793        </bitlbee-setting>
794
795        <bitlbee-setting name="tls" type="boolean" scope="account">
796                <default>try</default>
797
798                <description>
799                        <para>
800                                Newer Jabber servers allow clients to convert a plain-text session to a TLS/SSL-encrypted session. Normally (with this setting set to <emphasis>try</emphasis>) BitlBee will do this, if possible.
801                        </para>
802
803                        <para>
804                                If you want to force BitlBee to use TLS sessions only (and to give up if that doesn't seem to be possible) you can set this setting to <emphasis>true</emphasis>. Set it to <emphasis>false</emphasis> if you want the session to remain plain-text.
805                        </para>
806                </description>
807        </bitlbee-setting>
808
809        <bitlbee-setting name="to_char" type="string" scope="global">
810                <default>": "</default>
811
812                <description>
813                        <para>
814                                It's customary that messages meant for one specific person on an IRC channel are prepended by his/her alias followed by a colon ':'. BitlBee does this by default. If you prefer a different character, you can set it using <emphasis>set to_char</emphasis>.
815                        </para>
816
817                        <para>
818                                Please note that this setting is only used for incoming messages. For outgoing messages you can use ':' (colon) or ',' to separate the destination nick from the message, and this is not configurable.
819                        </para>
820                </description>
821        </bitlbee-setting>
822
823        <bitlbee-setting name="typing_notice" type="boolean" scope="global">
824                <default>false</default>
825
826                <description>
827                        <para>
828                                Sends you a /notice when a user starts typing a message (if the protocol supports it, MSN for example). This is a bug, not a feature. (But please don't report it.. ;-) You don't want to use it. Really. In fact the typing-notification is just one of the least useful 'innovations' ever. It's just there because some guy will probably ask me about it anyway. ;-)
829                        </para>
830                </description>
831        </bitlbee-setting>
832
833        <bitlbee-setting name="web_aware" type="string" scope="account">
834                <default>false</default>
835
836                <description>
837                        <para>
838                                ICQ allows people to see if you're on-line via a CGI-script. (http://status.icq.com/online.gif?icq=UIN) This can be nice to put on your website, but it seems that spammers also use it to see if you're online without having to add you to their contact list. So to prevent ICQ spamming, recent versions of BitlBee disable this feature by default.
839                        </para>
840
841                        <para>
842                                Unless you really intend to use this feature somewhere (on forums or maybe a website), it's probably better to keep this setting disabled.
843                        </para>
844                </description>
845        </bitlbee-setting>
846
847        <bitlbee-setting name="xmlconsole" type="boolean" scope="account">
848                <default>false</default>
849
850                <description>
851                        <para>
852                                The Jabber module allows you to add a buddy <emphasis>xmlconsole</emphasis> to your contact list, which will then show you the raw XMPP stream between you and the server. You can also send XMPP packets to this buddy, which will then be sent to the server.
853                        </para>
854                        <para>
855                                If you want to enable this XML console permanently (and at login time already), you can set this setting.
856                        </para>
857                </description>
858        </bitlbee-setting>
859
860        <bitlbee-command name="rename">
861                <short-description>Rename (renick) a buddy</short-description>
862                <syntax>rename &lt;oldnick&gt; &lt;newnick&gt;</syntax>
863
864                <description>
865                        <para>
866                                Renick a user in your buddy list. Very useful, in fact just very important, if you got a lot of people with stupid account names (or hard ICQ numbers).
867                        </para>
868                </description>
869
870                <ircexample>
871                        <ircline nick="itsme">rename itsme_ you</ircline>
872                        <ircaction nick="itsme_">is now known as <emphasis>you</emphasis></ircaction>
873                </ircexample>
874
875        </bitlbee-command>
876
877        <bitlbee-command name="yes">
878                <short-description>Accept a request</short-description>
879                <syntax>yes [&lt;number&gt;]</syntax>
880
881                <description>
882                        <para>
883                                Sometimes an IM-module might want to ask you a question. (Accept this user as your buddy or not?) To accept a question, use the <emphasis>yes</emphasis> command.
884                        </para>
885
886                        <para>
887                                By default, this answers the first unanswered question. You can also specify a different question as an argument. You can use the <emphasis>qlist</emphasis> command for a list of questions.
888                        </para>
889                </description>
890
891        </bitlbee-command>
892
893        <bitlbee-command name="no">
894                <short-description>Deny a request</short-description>
895                <syntax>no [&lt;number&gt;]</syntax>
896
897                <description>
898                        <para>
899                                Sometimes an IM-module might want to ask you a question. (Accept this user as your buddy or not?) To reject a question, use the <emphasis>no</emphasis> command.
900                        </para>
901
902                        <para>
903                                By default, this answers the first unanswered question. You can also specify a different question as an argument. You can use the <emphasis>qlist</emphasis> command for a list of questions.
904                        </para>
905                </description>
906        </bitlbee-command>
907
908        <bitlbee-command name="qlist">
909                <short-description>List all the unanswered questions root asked</short-description>
910                <syntax>qlist</syntax>
911
912                <description>
913                        <para>
914                                This gives you a list of all the unanswered questions from root.
915                        </para>
916                </description>
917
918        </bitlbee-command>
919
920        <bitlbee-command name="register">
921                <short-description>Register yourself</short-description>
922                <syntax>register &lt;password&gt;</syntax>
923
924                <description>
925                        <para>
926                                BitlBee can save your settings so you won't have to enter all your IM passwords every time you log in. If you want the Bee to save your settings, use the <emphasis>register</emphasis> command.
927                        </para>
928
929                        <para>
930                                Please do pick a secure password, don't just use your nick as your password. Please note that IRC is not an encrypted protocol, so the passwords still go over the network in plaintext. Evil people with evil sniffers will read it all. (So don't use your root password.. ;-)
931                        </para>
932
933                        <para>
934                                To identify yourself in later sessions, you can use the <emphasis>identify</emphasis> command. To change your password later, you can use the <emphasis>set password</emphasis> command.
935                        </para>
936                </description>
937
938        </bitlbee-command>
939
940        <bitlbee-command name="identify">
941                <syntax>identify &lt;password&gt;</syntax>
942                <short-description>Identify yourself with your password</short-description>
943
944                <description>
945                        <para>
946                                BitlBee saves all your settings (contacts, accounts, passwords) on-server. To prevent other users from just logging in as you and getting this information, you'll have to identify yourself with your password. You can register this password using the <emphasis>register</emphasis> command.
947                        </para>
948
949                        <para>
950                                Once you're registered, you can change your password using <emphasis>set password &lt;password&gt;</emphasis>.
951                        </para>
952                </description>
953        </bitlbee-command>
954
955        <bitlbee-command name="drop">
956                <syntax>drop &lt;password&gt;</syntax>
957                <short-description>Drop your account</short-description>
958
959                <description>
960                        <para>
961                                Drop your BitlBee registration. Your account files will be removed and your password will be forgotten. For obvious security reasons, you have to specify your NickServ password to make this command work.
962                        </para>
963                </description>
964        </bitlbee-command>
965
966        <bitlbee-command name="blist">
967                <syntax>blist [all|online|offline|away]</syntax>
968                <short-description>List all the buddies in your contact list</short-description>
969
970                <description>
971                        <para>
972                                You can get a better readable buddy list using the <emphasis>blist</emphasis> command. If you want a complete list (including the offline users) you can use the <emphasis>all</emphasis> argument.
973                        </para>
974                </description>
975
976        </bitlbee-command>
977
978        <bitlbee-command name="nick">
979                <short-description>Change friendly name, nick</short-description>
980                <syntax>nick &lt;connection&gt; [&lt;new nick&gt;]</syntax>
981                <syntax>nick</syntax>
982
983                <description>
984                        <para>
985                                This command allows to set the friendly name of an im account. If no new name is specified the command will report the current name. When the name contains spaces, don't forget to quote the whole nick in double quotes. Currently this command is only supported by the MSN protocol.
986                        </para>
987
988                        <para>
989                                It is recommended to use the per-account <emphasis>display_name</emphasis> setting to read and change this information. The <emphasis>nick</emphasis> command is deprecated.
990                        </para>
991                </description>
992
993                <ircexample>
994                        <ircline nick="wouter">nick 1 "Wouter Paesen"</ircline>
995                        <ircline nick="root">Setting your name on connection 1 to `Wouter Paesen'</ircline>
996                </ircexample>
997
998        </bitlbee-command>
999
1000        <bitlbee-command name="join_chat">
1001                <short-description>Join a named groupchat/conference room</short-description>
1002                <syntax>join_chat &lt;connection&gt; &lt;room name&gt; [&lt;channel name&gt;] [&lt;room nickname&gt;] [&lt;password&gt;]</syntax>
1003
1004                <description>
1005                        <para>
1006                                On most IM-networks groupchats can be started using the /join command. (<emphasis>/join #foo</emphasis> to start a chatroom with you and <emphasis>foo</emphasis>) This doesn't work with names groupchats though (which exist on Jabber networks and AIM, for example), instead you can use this command.
1007                        </para>
1008
1009                        <para>
1010                                The first two arguments are required. <emphasis>room name</emphasis> is the name of the chatroom on the IM-network. <emphasis>channel name</emphasis> is the IRC channel name BitlBee should map this to. <emphasis>room nickname</emphasis> is the nickname you want to have in this channel. If you don't give these options, BitlBee will do the right guesses.
1011                        </para>
1012
1013                        <para>
1014                                The following command will join you to the chatroom called <emphasis>bitlbee@conference.bitlbee.org</emphasis>. The channel will be called <emphasis>&amp;bitlbee-help</emphasis> because <emphasis>&amp;bitlbee</emphasis> will already be in use. Your nickname will be <emphasis>help-me</emphasis>.
1015                        </para>
1016                </description>
1017
1018                <ircexample>
1019                        <ircline nick="wilmer">join_chat jabber bitlbee@conference.bitlbee.org &amp;bitlbee-help help-me</ircline>
1020                </ircexample>
1021
1022        </bitlbee-command>
1023</chapter>
Note: See TracBrowser for help on using the repository browser.