source: doc/user-guide/commands.xml @ 5f8ab6a9

Last change on this file since 5f8ab6a9 was 5f8ab6a9, checked in by Sven Moritz Hallberg <pesco@…>, at 2010-06-03T10:41:03Z

merge in bitlbee 1.2.5

  • Property mode set to 100644
File size: 46.2 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.
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 command 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>.
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="chat">
155                <short-description>Chatroom list maintenance</short-description>
156                <syntax>chat &lt;action&gt; [&lt;arguments&gt;]</syntax>
157
158                <description>
159
160                        <para>
161                                Available actions: add, del, list, with and set. See <emphasis>help chat &lt;action&gt;</emphasis> for more information.
162                        </para>
163
164                </description>
165
166                <bitlbee-command name="add">
167                        <syntax>chat add &lt;account&gt; &lt;room&gt; [&lt;channel&gt;]</syntax>
168
169                        <description>
170                                <para>
171                                        Add a chatroom to the list of chatrooms you're interested in. BitlBee needs this list to map room names to a proper IRC channel name.
172                                </para>
173
174                                <para>
175                                        After adding a room to your list, you can simply use the IRC /join command to enter the room. Also, you can tell BitlBee to automatically join the room when you log in. (See <emphasis>chat set</emphasis>)
176                                </para>
177
178                                <para>
179                                        Password-protected rooms work exactly like on IRC, by passing the password as an extra argument to /join.
180                                </para>
181                        </description>
182
183                </bitlbee-command>
184
185                <bitlbee-command name="del">
186                        <syntax>chat del &lt;chat id&gt;</syntax>
187
188                        <description>
189                                <para>
190                                        This commands deletes an chatroom from your list.
191                                </para>
192
193                                <para>
194                                        The room ID can be a number (see <emphasis>chat list</emphasis>), or (part of) the name of the room/channel.
195                                </para>
196                        </description>
197                </bitlbee-command>
198
199                <bitlbee-command name="list">
200                        <syntax>chat list</syntax>
201
202                        <description>
203                                <para>
204                                        This command gives you a list of all the chatrooms known by BitlBee.
205                                </para>
206                        </description>
207                </bitlbee-command>
208
209                <bitlbee-command name="with">
210                        <syntax>chat with &lt;nickname&gt;</syntax>
211
212                        <description>
213                                <para>
214                                        While most <emphasis>chat</emphasis> subcommands are about named chatrooms, this command can be used to open an unnamed groupchat with one or more persons. This command is what <emphasis>/join #nickname</emphasis> used to do in older BitlBee versions.
215                                </para>
216                        </description>
217                </bitlbee-command>
218
219                <bitlbee-command name="set">
220                        <syntax>chat set &lt;chat id&gt;</syntax>
221                        <syntax>chat set &lt;chat id&gt;/&lt;setting&gt;</syntax>
222                        <syntax>chat set &lt;chat id&gt;/&lt;setting&gt; &lt;value&gt;</syntax>
223                        <syntax>chat set -del &lt;chat id&gt;/&lt;setting&gt;</syntax>
224
225                        <description>
226                                <para>
227                                        This command can be used to change various settings for chatrooms.
228                                </para>
229                               
230                                <para>
231                                        For more infomation about a setting, see <emphasis>help set &lt;setting&gt;</emphasis>.
232                                </para>
233                               
234                                <para>
235                                        The room ID can be a number (see <emphasis>chat list</emphasis>), or (part of) the name of the room/channel.
236                                </para>
237                        </description>
238                </bitlbee-command>
239        </bitlbee-command>
240
241        <bitlbee-command name="add">
242                <short-description>Add a buddy to your contact list</short-description>
243                <syntax>add &lt;connection&gt; &lt;handle&gt; [&lt;nick&gt;]</syntax>
244                <syntax>add -tmp &lt;connection&gt; &lt;handle&gt; [&lt;nick&gt;]</syntax>
245
246                <description>
247                        <para>
248                                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.
249                        </para>
250
251                        <para>
252                                If you want, you can also tell BitlBee what nick to give the new contact. The -tmp option 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. This normally won't show you any presence notifications.
253                        </para>
254                </description>
255
256                <ircexample>
257                        <ircline nick="ctrlsoft">add 3 gryp@jabber.org grijp</ircline>
258                        <ircaction nick="grijp" hostmask="gryp@jabber.org">has joined <emphasis>&amp;bitlbee</emphasis></ircaction>
259                </ircexample>
260        </bitlbee-command>
261
262        <bitlbee-command name="info">
263                <short-description>Request user information</short-description>
264                <syntax>info &lt;connection&gt; &lt;handle&gt;</syntax>
265                <syntax>info &lt;nick&gt;</syntax>
266
267                <description>
268                        <para>
269                                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.
270                        </para>
271                </description>
272
273                <ircexample>
274                        <ircline nick="ctrlsoft">info 0 72696705</ircline>
275                        <ircline nick="root">User info - UIN: 72696705   Nick: Lintux   First/Last name: Wilmer van der Gaast   E-mail: lintux@lintux.cx</ircline>
276                </ircexample>
277
278        </bitlbee-command>
279
280        <bitlbee-command name="remove">
281                <short-description>Remove a buddy from your contact list</short-description>
282                <syntax>remove &lt;nick&gt;</syntax>
283
284                <description>
285                        <para>
286                                Removes the specified nick from your buddy list.
287                        </para>
288                </description>
289
290                <ircexample>
291                        <ircline nick="ctrlsoft">remove gryp</ircline>
292                        <ircaction nick="gryp" hostmask="gryp@jabber.jabber.org">has quit <emphasis>[Leaving...]</emphasis></ircaction>
293                </ircexample>
294
295        </bitlbee-command>
296
297        <bitlbee-command name="block">
298                <short-description>Block someone</short-description>
299                <syntax>block &lt;nick&gt;</syntax>
300                <syntax>block &lt;connection&gt; &lt;handle&gt;</syntax>
301                <syntax>block &lt;connection&gt;</syntax>
302
303                <description>
304                        <para>
305                                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.
306                        </para>
307                       
308                        <para>
309                                When called with only a connection specification as an argument, the command displays the current block list for that connection.
310                        </para>
311                </description>
312        </bitlbee-command>
313
314        <bitlbee-command name="allow">
315                <short-description>Unblock someone</short-description>
316                <syntax>allow &lt;nick&gt;</syntax>
317                <syntax>allow &lt;connection&gt; &lt;handle&gt;</syntax>
318
319                <description>
320                        <para>
321                                Reverse of block. Unignores the specified user or user handle on specified connection.
322                        </para>
323                       
324                        <para>
325                                When called with only a connection specification as an argument, the command displays the current allow list for that connection.
326                        </para>
327                </description>
328        </bitlbee-command>
329       
330        <bitlbee-command name="otr">
331                <short-description>Off-the-Record encryption control</short-description>
332                <syntax>otr &lt;subcommand&gt; [&lt;arguments&gt;]</syntax>
333
334                <description>
335
336                        <para>
337                                Available subcommands: connect, disconnect, smp, trust, info, keygen, and forget. See <emphasis>help otr &lt;subcommand&gt;</emphasis> for more information.
338                        </para>
339
340                </description>
341               
342                <bitlbee-command name="connect">
343                        <syntax>otr connect &lt;nick&gt;</syntax>
344                       
345                        <description>
346                       
347                                <para>
348                                        Attempts to establish an encrypted connection with the specified user by sending a magic string.
349                                </para>
350                               
351                        </description>
352               
353                </bitlbee-command>
354               
355                <bitlbee-command name="disconnect">
356                        <syntax>otr disconnect &lt;nick&gt;</syntax>
357                       
358                        <description>
359                       
360                                <para>
361                                        Resets the connection with the specified user to cleartext.
362                                </para>
363                               
364                        </description>
365               
366                </bitlbee-command>
367               
368                <bitlbee-command name="smp">
369                        <syntax>otr smp &lt;nick&gt; &lt;secret&gt;</syntax>
370                       
371                        <description>
372                       
373                                <para>
374                                        Attempts to authenticate the given user's active fingerprint via the Socialist Millionaires' Protocol.
375                                </para>
376                               
377                                <para>
378                                        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.
379                                </para>
380                               
381                        </description>
382               
383                </bitlbee-command>
384               
385                <bitlbee-command name="trust">
386                        <syntax>otr trust &lt;nick&gt; &lt;fp1&gt; &lt;fp2&gt; &lt;fp3&gt; &lt;fp4&gt; &lt;fp5&gt;</syntax>
387                       
388                        <description>
389                       
390                                <para>
391                                        Manually affirms trust in the specified fingerprint, given as five blocks of precisely eight (hexadecimal) digits each.
392                                </para>
393                               
394                        </description>
395               
396                </bitlbee-command>
397               
398                <bitlbee-command name="info">
399                        <syntax>otr info</syntax>
400                        <syntax>otr info &lt;nick&gt;</syntax>
401                       
402                        <description>
403                       
404                                <para>
405                                        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.
406                                </para>
407                               
408                        </description>
409               
410                </bitlbee-command>
411               
412                <bitlbee-command name="keygen">
413                        <syntax>otr keygen &lt;account-no&gt;</syntax>
414                       
415                        <description>
416                       
417                                <para>
418                                        Generates a new OTR private key for the given account.
419                                </para>
420                               
421                        </description>
422               
423                </bitlbee-command>
424               
425                <bitlbee-command name="forget">
426                        <syntax>otr forget &lt;thing&gt; &lt;arguments&gt;</syntax>
427                       
428                        <description>
429                       
430                                <para>
431                                        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.
432                                </para>
433                       
434                        </description>
435                       
436                        <bitlbee-command name="fingerprint">
437                                <syntax>otr forget fingerprint &lt;nick&gt; &lt;fingerprint&gt;</syntax>
438                               
439                                <description>
440                               
441                                        <para>
442                                                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.
443                                        </para>
444                                       
445                                </description>
446                               
447                        </bitlbee-command>
448                               
449                        <bitlbee-command name="context">
450                                <syntax>otr forget context &lt;nick&gt;</syntax>
451                               
452                                <description>
453                               
454                                        <para>
455                                                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.
456                                        </para>
457                                       
458                                </description>
459                               
460                        </bitlbee-command>
461
462                        <bitlbee-command name="key">
463                                <syntax>otr forget key &lt;fingerprint&gt;</syntax>
464                               
465                                <description>
466                               
467                                        <para>
468                                                Forgets an OTR private key matching the specified fingerprint. It is allowed to specify only a (unique) prefix of the fingerprint.
469                                        </para>
470                                       
471                                </description>
472                               
473                        </bitlbee-command>
474               
475                </bitlbee-command>
476               
477        </bitlbee-command>
478
479        <bitlbee-command name="set">
480                <short-description>Miscellaneous settings</short-description>
481                <syntax>set</syntax>
482                <syntax>set &lt;variable&gt;</syntax>
483                <syntax>set &lt;variable&gt; &lt;value&gt;</syntax>
484                <syntax>set -del &lt;variable&gt;</syntax>
485
486                <description>
487
488                        <para>
489                                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.
490                        </para>
491
492                        <para>
493                                To get more help information about a setting, try:
494                        </para>
495
496                </description>
497
498                <ircexample>
499                        <ircline nick="ctrlsoft">help set private</ircline>
500                </ircexample>
501
502        </bitlbee-command>
503
504        <bitlbee-command name="help">
505                <short-description>BitlBee help system</short-description>
506
507                <syntax>help [subject]</syntax>
508
509                <description>
510                        <para>
511                                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.
512                        </para>
513                </description>
514        </bitlbee-command>
515
516        <bitlbee-command name="save">
517                <short-description>Save your account data</short-description>
518                <syntax>save</syntax>
519
520                <description>
521                        <para>
522                                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... ;-)
523                        </para>
524                </description>
525        </bitlbee-command>
526
527        <bitlbee-setting name="auto_connect" type="boolean" scope="both">
528                <default>true</default>
529
530                <description>
531                        <para>
532                                With this option enabled, when you identify BitlBee will automatically connect to your accounts, with this disabled it will not do this.
533                        </para>
534                       
535                        <para>
536                                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!)
537                        </para>
538                </description>
539        </bitlbee-setting>
540
541        <bitlbee-setting name="auto_join" type="boolean" scope="chat">
542                <default>false</default>
543
544                <description>
545                        <para>
546                                With this option enabled, BitlBee will automatically join this chatroom when you log in.
547                        </para>
548                </description>
549        </bitlbee-setting>
550
551        <bitlbee-setting name="auto_reconnect" type="boolean" scope="both">
552                <default>false</default>
553
554                <description>
555                        <para>
556                                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.
557                        </para>
558
559                        <para>
560                                See also the <emphasis>auto_reconnect_delay</emphasis> setting.
561                        </para>
562
563                        <para>
564                                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!)
565                        </para>
566                </description>
567        </bitlbee-setting>
568
569        <bitlbee-setting name="auto_reconnect_delay" type="string" scope="global">
570                <default>5*3&lt;900</default>
571
572                <description>
573                        <para>
574                                Tell BitlBee after how many seconds it should attempt to bring a broken IM-connection back up.
575                        </para>
576
577                        <para>
578                                This can be one integer, for a constant delay. One can also set it to something like &quot;10*10&quot;, which means wait for ten seconds on the first reconnect, multiply it by ten on every failure. Once successfully connected, this delay is re-set to the initial value. With &lt; you can give a maximum delay.
579                        </para>
580
581                        <para>
582                                See also the <emphasis>auto_reconnect</emphasis> setting.
583                        </para>
584                </description>
585        </bitlbee-setting>
586
587        <bitlbee-setting name="away" type="string" scope="both">
588                <description>
589                        <para>
590                                To mark yourself as away, it is recommended to just use <emphasis>/away</emphasis>, like on normal IRC networks. If you want to mark yourself as away on only one IM network, you can use this per-account setting.
591                        </para>
592
593                        <para>
594                                You can set it to any value and BitlBee will try to map it to the most appropriate away state for every open IM connection, or set it as a free-form away message where possible.
595                        </para>
596
597                        <para>
598                                Any per-account away setting will override globally set away states. To un-set the setting, use <emphasis>set -del away</emphasis>.
599                        </para>
600                </description>
601        </bitlbee-setting>
602
603        <bitlbee-setting name="away_devoice" type="boolean" scope="global">
604                <default>true</default>
605
606                <description>
607                        <para>
608                                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.
609                        </para>
610                </description>
611        </bitlbee-setting>
612
613        <bitlbee-setting name="buddy_sendbuffer" type="boolean" scope="global">
614                <default>false</default>
615
616                <description>
617                        <para>
618                                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.
619                        </para>
620
621                        <para>
622                                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.
623                        </para>
624
625                        <para>
626                                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.
627                        </para>
628                </description>
629        </bitlbee-setting>
630
631        <bitlbee-setting name="buddy_sendbuffer_delay" type="integer" scope="global">
632                <default>200</default>
633
634                <description>
635
636                        <para>
637                                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.
638                        </para>
639
640                        <para>
641                                See also the <emphasis>buddy_sendbuffer</emphasis> setting.
642                        </para>
643                </description>
644        </bitlbee-setting>
645
646        <bitlbee-setting name="charset" type="string" scope="global">
647                <default>utf-8</default>
648                <possible-values>you can get a list of all possible values by doing 'iconv -l' in a shell</possible-values>
649
650                <description>
651                        <para>
652                                This setting tells BitlBee what your IRC client sends and expects. It should be equal to the charset setting of your IRC client if you want to be able to send and receive non-ASCII text properly.
653                        </para>
654
655                        <para>
656                                Most systems use UTF-8 these days. On older systems, an iso8859 charset may work better. For example, iso8859-1 is the best choice for most Western countries. You can try to find what works best for you on http://www.unicodecharacter.com/charsets/iso8859.html
657                        </para>
658                </description>
659
660        </bitlbee-setting>
661
662        <bitlbee-setting name="color_encrypted" type="boolean" scope="global">
663                <default>true</default>
664
665                <description>
666                        <para>
667                                If set to true, BitlBee will color incoming encrypted messages according to their fingerprint trust level: untrusted=red, trusted=green.
668                        </para>
669                </description>
670
671        </bitlbee-setting>
672
673        <bitlbee-setting name="debug" type="boolean" scope="global">
674                <default>false</default>
675
676                <description>
677                        <para>
678                                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.
679                        </para>
680                </description>
681        </bitlbee-setting>
682
683        <bitlbee-setting name="default_target" type="string" scope="global">
684                <default>root</default>
685                <possible-values>root, last</possible-values>
686
687                <description>
688                        <para>
689                                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>.
690                        </para>
691                </description>
692        </bitlbee-setting>
693
694        <bitlbee-setting name="display_name" type="string" scope="account">
695                <description>
696                        <para>
697                                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.
698                        </para>
699                </description>
700        </bitlbee-setting>
701
702        <bitlbee-setting name="display_namechanges" type="boolean" scope="global">
703                <default>false</default>
704
705                <description>
706                        <para>
707                                With this option enabled, root will inform you when someone in your buddy list changes his/her "friendly name".
708                        </para>
709                </description>
710        </bitlbee-setting>
711
712        <bitlbee-setting name="handle_unknown" type="string" scope="global">
713                <default>root</default>
714                <possible-values>root, add, add_private, add_channel, ignore</possible-values>
715
716                <description>
717                        <para>
718                                Messages from unknown users are echoed like this by default:
719                        </para>
720
721                        <ircexample>
722                                <ircline nick="root">Unknown message from handle 3137137:</ircline>
723                                <ircline nick="root">j0000! 1 4m l33t h4x0r! kill me!</ircline>
724                        </ircexample>
725
726                        <para>
727                                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.
728                        </para>
729
730                        <note>
731                                <para>
732                                        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.
733                                </para>
734                        </note>
735                </description>
736
737        </bitlbee-setting>
738
739        <bitlbee-setting name="halfop_buddies" type="string" scope="global">
740                <default>encrypted</default>
741                <possible-values>encrypted, trusted, notaway, false</possible-values>
742
743                <description>
744                        <para>
745                                Specifies under which circumstances BitlBee should give the "halfop" mode flag (+h) to buddies.
746                        </para>
747                       
748                        <para>
749                                If "false", the flag is never set. On "notaway", the flag is removed for users marked as "away" and set for all others. On "encrypted", the flag is set for users with whom we have an encrypted connection. On "trusted", it is set only for encrypted connections using a trusted key.
750                        </para>
751                </description>
752
753        </bitlbee-setting>
754
755        <bitlbee-setting name="lcnicks" type="boolean" scope="global">
756                <default>true</default>
757
758                <description>
759                        <para>
760                                Hereby you can change whether you want all lower case nick names or leave the case as it intended by your peer.
761                        </para>
762                </description>
763
764        </bitlbee-setting>
765
766        <bitlbee-setting name="mail_notifications" type="boolean" scope="account">
767                <default>false</default>
768
769                <description>
770                        <para>
771                                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.
772                        </para>
773                </description>
774
775        </bitlbee-setting>
776
777        <bitlbee-setting name="op_buddies" type="string" scope="global">
778                <default>trusted</default>
779                <possible-values>encrypted, trusted, notaway, false</possible-values>
780
781                <description>
782                        <para>
783                                Specifies under which circumstances BitlBee should give the "op" mode flag (+o) to buddies.
784                        </para>
785                       
786                        <para>
787                                If "false", the flag is never set. On "notaway", the flag is removed for users marked as "away" and set for all others. On "encrypted", the flag is set for users with whom we have an encrypted connection. On "trusted", it is set only for encrypted connections using a trusted key.
788                        </para>
789                </description>
790
791        </bitlbee-setting>
792
793        <bitlbee-setting name="op_root" type="bool" scope="global">
794                <default>true</default>
795
796                <description>
797                        <para>
798                                Some people prefer themself and root to have operator status in &amp;bitlbee, other people don't. You can set the desired state for root using this setting.
799                        </para>
800                </description>
801        </bitlbee-setting>
802
803        <bitlbee-setting name="op_user" type="bool" scope="global">
804                <default>true</default>
805
806                <description>
807                        <para>
808                                Some people prefer themself and root to have operator status in &amp;bitlbee, other people don't. You can set the desired state for yourself using this setting.
809                        </para>
810                </description>
811        </bitlbee-setting>
812
813        <bitlbee-setting name="otr_policy" type="string" scope="global">
814                <default>opportunistic</default>
815                <possible-values>never, opportunistic, manual, always</possible-values>
816
817                <description>
818                        <para>
819                                This setting controls the policy for establishing Off-the-Record connections.
820                        </para>
821                        <para>
822                                A value of "never" effectively disables the OTR subsystem. In "opportunistic" mode, a magic whitespace pattern will be appended to the first message sent to any user. If the peer is also running opportunistic OTR, an encrypted connection will be set up automatically. On "manual", on the other hand, OTR connections must be established explicitly using <emphasis>otr connect</emphasis>. Finally, the setting "always" enforces encrypted communication by causing BitlBee to refuse to send any cleartext messages at all.
823                        </para>
824                </description>
825        </bitlbee-setting>
826
827        <bitlbee-setting name="nick" type="string" scope="chat">
828
829                <description>
830                        <para>
831                                You can use this option to set your nickname in a chatroom. You won't see this nickname yourself, but other people in the room will. By default, BitlBee will use your username as the chatroom nickname.
832                        </para>
833                </description>
834        </bitlbee-setting>
835
836        <bitlbee-setting name="nick_source" type="string" scope="account">
837                <default>handle</default>
838                <possible-values>handle, full_name, first_name</possible-values>
839
840                <description>
841                        <para>
842                                By default, BitlBee generates a nickname for every contact by taking its handle and chopping off everything after the @. In some cases, this gives very inconvenient nicknames. The Facebook XMPP server is a good example, as all Facebook XMPP handles are numeric.
843                        </para>
844
845                        <para>
846                                With this setting set to <emphasis>full_name</emphasis>, the person's full name is used to generate a nickname. Or if you don't like long nicknames, set this setting to <emphasis>first_name</emphasis> instead and only the first word will be used. Note that the full name can be full of non-ASCII characters which will be stripped off.
847                        </para>
848                </description>
849        </bitlbee-setting>
850
851        <bitlbee-setting name="ops" type="string" scope="global">
852                <default>both</default>
853                <possible-values>both, root, user, none</possible-values>
854
855                <description>
856                        <para>
857                                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.
858                        </para>
859
860                        <para>
861                                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.
862                        </para>
863                </description>
864        </bitlbee-setting>
865
866        <bitlbee-setting name="password" type="string" scope="both">
867                <description>
868                        <para>
869                                Use this global setting to change your "NickServ" password.
870                        </para>
871                       
872                        <para>
873                                This setting is also available for all IM accounts to change the password BitlBee uses to connect to the service.
874                        </para>
875                       
876                        <para>
877                                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.
878                        </para>
879                </description>
880        </bitlbee-setting>
881       
882        <bitlbee-setting name="port" type="integer" scope="account">
883                <description>
884                        <para>
885                                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.
886                        </para>
887                </description>
888        </bitlbee-setting>
889
890        <bitlbee-setting name="priority" type="integer" scope="account">
891                <default>0</default>
892
893                <description>
894                        <para>
895                                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).
896                        </para>
897
898                        <para>
899                                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).
900                        </para>
901                </description>
902        </bitlbee-setting>
903
904        <bitlbee-setting name="private" type="boolean" scope="global">
905                <default>true</default>
906
907                <description>
908                        <para>
909                                If value is true, messages from users will appear in separate query windows. If false, messages from users will appear in the control channel.
910                        </para>
911
912                        <para>
913                                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.
914                        </para>
915                </description>
916        </bitlbee-setting>
917
918        <bitlbee-setting name="query_order" type="string" scope="global">
919                <default>lifo</default>
920                <possible-values>lifo, fifo</possible-values>
921
922                <description>
923                        <para>
924                                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.
925                        </para>
926
927                        <para>
928                                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).
929                        </para>
930                </description>
931        </bitlbee-setting>
932
933        <bitlbee-setting name="resource" type="string" scope="account">
934                <default>BitlBee</default>
935
936                <description>
937                        <para>
938                                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.
939                        </para>
940                </description>
941        </bitlbee-setting>
942
943        <bitlbee-setting name="resource_select" type="string" scope="account">
944                <default>activity</default>
945                <possible-values>priority, activity</possible-values>
946
947                <description>
948                        <para>
949                                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.
950                        </para>
951
952                        <para>
953                                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>activity</emphasis>, messages will be delivered to the resource that was last used to send you a message (or the resource that most recently connected).
954                        </para>
955                </description>
956        </bitlbee-setting>
957
958        <bitlbee-setting name="root_nick" type="string" scope="global">
959                <default>root</default>
960
961                <description>
962                        <para>
963                                Normally the "bot" that takes all your BitlBee commands is called "root". If you don't like this name, you can rename it to anything else using the <emphasis>rename</emphasis> command, or by changing this setting.
964                        </para>
965                </description>
966        </bitlbee-setting>
967
968        <bitlbee-setting name="save_on_quit" type="boolean" scope="global">
969                <default>true</default>
970
971                <description>
972                        <para>
973                                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.
974                        </para>
975                </description>
976        </bitlbee-setting>
977
978        <bitlbee-setting name="server" type="string" scope="account">
979                <description>
980                        <para>
981                                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.
982                        </para>
983                </description>
984        </bitlbee-setting>
985
986        <bitlbee-setting name="simulate_netsplit" type="boolean" scope="global">
987                <default>true</default>
988
989                <description>
990                        <para>
991                                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.
992                        </para>
993                </description>
994        </bitlbee-setting>
995
996        <bitlbee-setting name="ssl" type="boolean" scope="account">
997                <default>false</default>
998
999                <description>
1000                        <para>
1001                                Currently only available for Jabber connections. Set this to true if the server accepts SSL connections.
1002                        </para>
1003                </description>
1004        </bitlbee-setting>
1005
1006        <bitlbee-setting name="status" type="string" scope="both">
1007                <description>
1008                        <para>
1009                                Certain protocols (like Jabber/XMPP) support status messages, similar to away messages. They can be used to indicate things like your location or activity, without showing up as away/busy.
1010                        </para>
1011
1012                        <para>
1013                                This setting can be used to set such a message. It will be available as a per-account setting for protocols that support it, and also as a global setting (which will then automatically be used for all protocols that support it).
1014                        </para>
1015
1016                        <para>
1017                                Away states set using <emphasis>/away</emphasis> or the <emphasis>away</emphasis> setting will override this setting. To un-set the setting, use <emphasis>set -del status</emphasis>.
1018                        </para>
1019                </description>
1020        </bitlbee-setting>
1021
1022        <bitlbee-setting name="strip_html" type="boolean" scope="global">
1023                <default>true</default>
1024
1025                <description>
1026                        <para>
1027                                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.
1028                        </para>
1029                        <para>
1030                                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.
1031                        </para>
1032                </description>
1033        </bitlbee-setting>
1034
1035        <bitlbee-setting name="tls" type="boolean" scope="account">
1036                <default>try</default>
1037
1038                <description>
1039                        <para>
1040                                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.
1041                        </para>
1042
1043                        <para>
1044                                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.
1045                        </para>
1046                </description>
1047        </bitlbee-setting>
1048
1049        <bitlbee-setting name="to_char" type="string" scope="global">
1050                <default>": "</default>
1051
1052                <description>
1053                        <para>
1054                                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>.
1055                        </para>
1056
1057                        <para>
1058                                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.
1059                        </para>
1060                </description>
1061        </bitlbee-setting>
1062
1063        <bitlbee-setting name="typing_notice" type="boolean" scope="global">
1064                <default>false</default>
1065
1066                <description>
1067                        <para>
1068                                Sends you a /notice when a user starts typing a message (if supported by the IM protocol and the user's client). To use this, you most likely want to use a script in your IRC client to show this information in a more sensible way.
1069                        </para>
1070                </description>
1071        </bitlbee-setting>
1072
1073        <bitlbee-setting name="voice_buddies" type="string" scope="global">
1074                <default>trusted</default>
1075                <possible-values>encrypted, trusted, notaway, false</possible-values>
1076
1077                <description>
1078                        <para>
1079                                Specifies under which circumstances BitlBee should give the "voice" mode flag (+v) to buddies.
1080                        </para>
1081                       
1082                        <para>
1083                                If "false", the flag is never set. On "notaway", the flag is removed for users marked as "away" and set for all others. On "encrypted", the flag is set for users with whom we have an encrypted connection. On "trusted", it is set only for encrypted connections using a trusted key.
1084                        </para>
1085                </description>
1086
1087        </bitlbee-setting>
1088
1089        <bitlbee-setting name="web_aware" type="string" scope="account">
1090                <default>false</default>
1091
1092                <description>
1093                        <para>
1094                                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.
1095                        </para>
1096
1097                        <para>
1098                                Unless you really intend to use this feature somewhere (on forums or maybe a website), it's probably better to keep this setting disabled.
1099                        </para>
1100                </description>
1101        </bitlbee-setting>
1102
1103        <bitlbee-setting name="xmlconsole" type="boolean" scope="account">
1104                <default>false</default>
1105
1106                <description>
1107                        <para>
1108                                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.
1109                        </para>
1110                        <para>
1111                                If you want to enable this XML console permanently (and at login time already), you can set this setting.
1112                        </para>
1113                </description>
1114        </bitlbee-setting>
1115
1116        <bitlbee-command name="rename">
1117                <short-description>Rename (renick) a buddy</short-description>
1118                <syntax>rename &lt;oldnick&gt; &lt;newnick&gt;</syntax>
1119
1120                <description>
1121                        <para>
1122                                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).
1123                        </para>
1124                </description>
1125
1126                <ircexample>
1127                        <ircline nick="itsme">rename itsme_ you</ircline>
1128                        <ircaction nick="itsme_">is now known as <emphasis>you</emphasis></ircaction>
1129                </ircexample>
1130
1131        </bitlbee-command>
1132
1133        <bitlbee-command name="yes">
1134                <short-description>Accept a request</short-description>
1135                <syntax>yes [&lt;number&gt;]</syntax>
1136
1137                <description>
1138                        <para>
1139                                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.
1140                        </para>
1141
1142                        <para>
1143                                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.
1144                        </para>
1145                </description>
1146
1147        </bitlbee-command>
1148
1149        <bitlbee-command name="no">
1150                <short-description>Deny a request</short-description>
1151                <syntax>no [&lt;number&gt;]</syntax>
1152
1153                <description>
1154                        <para>
1155                                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.
1156                        </para>
1157
1158                        <para>
1159                                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.
1160                        </para>
1161                </description>
1162        </bitlbee-command>
1163
1164        <bitlbee-command name="qlist">
1165                <short-description>List all the unanswered questions root asked</short-description>
1166                <syntax>qlist</syntax>
1167
1168                <description>
1169                        <para>
1170                                This gives you a list of all the unanswered questions from root.
1171                        </para>
1172                </description>
1173
1174        </bitlbee-command>
1175
1176        <bitlbee-command name="register">
1177                <short-description>Register yourself</short-description>
1178                <syntax>register &lt;password&gt;</syntax>
1179
1180                <description>
1181                        <para>
1182                                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.
1183                        </para>
1184
1185                        <para>
1186                                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.. ;-)
1187                        </para>
1188
1189                        <para>
1190                                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.
1191                        </para>
1192                </description>
1193
1194        </bitlbee-command>
1195
1196        <bitlbee-command name="identify">
1197                <syntax>identify &lt;password&gt;</syntax>
1198                <short-description>Identify yourself with your password</short-description>
1199
1200                <description>
1201                        <para>
1202                                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.
1203                        </para>
1204
1205                        <para>
1206                                Once you're registered, you can change your password using <emphasis>set password &lt;password&gt;</emphasis>.
1207                        </para>
1208                </description>
1209        </bitlbee-command>
1210
1211        <bitlbee-command name="drop">
1212                <syntax>drop &lt;password&gt;</syntax>
1213                <short-description>Drop your account</short-description>
1214
1215                <description>
1216                        <para>
1217                                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.
1218                        </para>
1219                </description>
1220        </bitlbee-command>
1221
1222        <bitlbee-command name="blist">
1223                <syntax>blist [all|online|offline|away]</syntax>
1224                <short-description>List all the buddies in your contact list</short-description>
1225
1226                <description>
1227                        <para>
1228                                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.
1229                        </para>
1230                </description>
1231
1232        </bitlbee-command>
1233
1234        <bitlbee-command name="nick">
1235                <short-description>Change friendly name, nick</short-description>
1236                <syntax>nick &lt;connection&gt; [&lt;new nick&gt;]</syntax>
1237                <syntax>nick &lt;connection&gt;</syntax>
1238
1239                <description>
1240                        <para>
1241                                Deprecated: Use the per-account <emphasis>display_name</emphasis> setting to read and change this information.
1242                        </para>
1243                </description>
1244
1245                <ircexample>
1246                        <ircline nick="wouter">account set 1/display_name "The majestik møøse"</ircline>
1247                        <ircline nick="root">display_name = `The majestik møøse'</ircline>
1248                </ircexample>
1249
1250        </bitlbee-command>
1251</chapter>
Note: See TracBrowser for help on using the repository browser.