root/climm/doc/climmrc.5

Revision 2856, 12.5 kB (checked in by kuhlmann, 6 months ago)

fix svn properties to get correct svn id; update reference in de climmcmds accordingly

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1 .\"     $Id$ -*- nroff -*-
2 .\" EN: $Id$
3 .TH CLIMMRC 5 climm
4 .SH NAME
5 .B ~/.climm/climmrc
6 \- The configuration file for climm
7 .SH DESCRIPTION
8 This manual page describes the configuration files for climm. It consists
9 of several sections that are started by
10 .IR [section] ,
11 where
12 .I section
13 is the name of the section. File or directory names given are taken relative
14 to the base directory, which is usually ~/.climm/.
15 .SH CONNECTIONS
16 A
17 .B Connection
18 section describes a server connection within climm. Typically, these are
19 to connect to ICQ or XMPP servers.
20 You may also have a
21 remote control connection: that means a FIFO is opened, and lines read from
22 it are interpreted in the same way as input lines.
23 .TP
24 .BI type \ <type>\ [auto]
25 Set the connection type to
26 .IR type ,
27 which can be
28 .B icq8
29 for a connection to an ICQ v8 server or
30 .B xmpp
31 for a connection to an XMPP server.
32 If
33 .I auto
34 is given, create this connection on startup. You presumable want to do this,
35 unless you have several UINs, then set this on the connection corresponding
36 to this UIN you are using.
37 .TP
38 .BI version \ <nr>
39 Set the version of the protocol used for this connection to
40 .IR nr .
41 Please note that for a server connections, versions
42 .BR 5 ,
43 .B 7
44 and
45 .B 8
46 are supported, and for peer to peer connections
47 .BR 6 ,
48 .B 7
49 and
50 .BR 8 .
51 Remote control FIFOs don\'t have a version.
52 .TP
53 .BI server \ <server>
54 Set the server to connect to to
55 .IR server .
56 This defaults to
57 .IR login.icq.com .
58 Unused for peer to peer connections. For remote control fifos,
59 this is the path of the FIFO to be created.
60 .TP
61 .BI port \ <port>
62 Set the port to connect on the server to
63 .IR port ,
64 or the first port to try to listen on for peer to peer connections to
65 .IR port .
66 .TP
67 .BI uin \ <uin>
68 Set the UIN to log in with to
69 .IR uin .
70 Unused for peer to peer connections and remote control FIFOs.
71 .TP
72 .BI password \ [<password>]
73 Set the password to log in with to
74 .IR password .
75 Unused for peer to peer connections. If omitted, ask for password on startup.
76 Note: BeOS users may not omit the password.
77 .TP
78 .BI status \ <nr>
79 Set the status to be on log in in to
80 .IR nr .
81 Status can be:
82 .RS
83 .TP
84 0
85 online
86 .TP
87 1
88 away
89 .TP
90 5
91 not available
92 .TP
93 17
94 occupied
95 .TP
96 19
97 do not disturb
98 .TP
99 32
100 free for chat
101 .TP
102 256
103 invisible
104 .RE
105 .TP
106 .BI options \ <options>
107 Define options for this server connection. See the opt command in
108 climmcmds(7) for a complete list.
109 .SH GENERAL
110 The
111 .B General
112 section includes general options and some strings to override.
113 .PP
114 A few book-keeping options are usually placed at the beginning of
115 the climmrc file:
116 .TP
117 .BI encoding\ file\  <encoding>
118 Specify the encoding which is used for strings in this file as
119 .IR encoding .
120 climm will always write this file in UTF-8.
121 .TP
122 .BI encoding\ local\  <encoding>
123 Specify the user\'s terminal\'s encoding as
124 .IR encoding .
125 This overrides the encoding derived from environment variables.
126 .br
127 .B Note:
128 Using this will cause the locale to be flagged as broken, thus causing
129 characters outside the iso-8859-1 range to be printed in input handling as
130 hex unicode code points as their screen cell width cannot be determined with
131 wcwidth() anymore. Thus, always use the LC_CTYPE locale setting to override
132 the used character encoding.
133 .TP
134 .BI encoding\ remote\  <encoding>
135 Set the encoding to use for meta data on the server,
136 including the password, to
137 .IR encoding .
138 This encoding is also used for communicating with other contacts
139 whose client doesn\'t understand utf8 messages unless a specific
140 encoding is set for this contact.
141 Deprecated as of climm 0.5; use the
142 .I encoding
143 global option instead.
144 .TP
145 .BI format \ <nr>
146 Set the format this config file is to
147 .IR nr .
148 Format 2 is current, but format 1 is also accepted.
149 .PP
150 Now the other options:
151 .TP
152 .BI verbose \ <level>
153 Set the verbosity level on startup to
154 .IR level .
155 .TP
156 .BI auto_away \ <time>
157 Set the time to set status to away after to
158 .I time
159 seconds. Set to
160 .I 0
161 to disable.
162 .TP
163 .BI Screen_width \ <width>
164 Set the default screen width to
165 .IR width .
166 If unset or
167 .IR 0 , \ 80
168 will be used. This is rarely needed as usually
169 the current screen width can be deduced at runtime.
170 .TP
171 .BI set \ delbs\ on|off
172 If set to
173 .BR on ,
174 let the delete character act as a backspace. When
175 .BR off ,
176 let it act as a delete character.
177 .TP
178 .BI set \ funny\ on|off
179 Disable or enable "funny" messages.
180 .TP
181 .BI set \ color\ on|off
182 Disable or enable the use of colors.
183 .TP
184 .BI set \ hermit\ on|off
185 If set to
186 .BR on ,
187 ignore all messages from everyone not on your contact list.
188 Deprecated as of climm 0.5, set the global option
189 .I ignore
190 to
191 .I on
192 for the same effect.
193 .TP
194 .BI set \ log\ on|off
195 Disable or enable logging.
196 Deprecated as of climm 0.5, set the global option
197 .I logmess
198 to
199 .I on
200 for the same effect.
201 .TP
202 .BI set \ logonoff\ on|off
203 When logging, disable or enable the logging of online/offline status changes.
204 Deprecated as of climm 0.5, set the global options
205 .IR logmess \ and \ logchange
206 to
207 .I on
208 for the same effect.
209 .TP
210 .BI set \ auto\ on|off
211 Disable or enable automatic responses (reply messages).
212 .TP
213 .BI set \ autosave\ on|off
214 Disable or enable the automatic saving of the climmrc.
215 .TP
216 .BI set \ autofinger\ on|off
217 Disable or enable the automatic fingering of new UINs.
218 .TP
219 .BI set \ linebreak\ <type>
220 Configure the line break type for incoming messages to
221 .IR type ,
222 which can be
223 .B simple
224 to just wrap lines as usual,
225 .B break
226 to have a line break before each message,
227 .B indent
228 to have a line break and indent the message and
229 .B smart
230 to have a line break only if the message doesn\'t fit on the current line.
231 .TP
232 .BI set \ tabs\ simple|cycle|cycleall
233 Deprecated as of climm 0.5, as it uses a much improved tab handling now
234 which has all of the previous features.
235 .TP
236 .BI set \ silent\ <type>
237 Suppress some output, namely status changes for
238 .B on
239 and status changes, logins and logouts for
240 .BR complete .
241 Deprecated as of climm 0.5, use global options
242 .IR showchange \ and \ showonoff
243 to
244 .I on
245 for the same effect.
246 .TP
247 .BI options \ <options>
248 Set global options. See the
249 .I opt
250 command for details.
251 .TP
252 .BI chat \ <nr>
253 Set the random chat group to
254 .IR nr .
255 Use
256 .B \-1
257 to disable, and
258 .B 49
259 for climm (which is the default).
260 .TP
261 .B autoupdate \ <level>
262 Current level of automatic configuration updates done. Will be
263 incremented to a bigger value each time configuration is updated
264 to new default values. Do not make the mistake to set to 0 to
265 disable as that will have the effect of all updates being re-done.
266 .PP
267 At last, some strings can be defined:
268 .TP
269 .BI color\ scheme \ <nr>
270 Select the color scheme number
271 .IR nr .
272 .TP
273 .BI color \ <use>\ <color>
274 Select color
275 .IR color
276 for
277 .IR use .
278 .IR use
279 can be any of
280 .BR none ,
281 .BR server ,
282 .BR client ,
283 .BR message ,
284 .BR contact ,
285 .BR sent ,
286 .BR ack ,
287 .BR error ,
288 .BR debug
289 or
290 .BR incoming ,
291 while
292 .IR color
293 can be any one of
294 .BR black ,
295 .BR red ,
296 .BR green ,
297 .BR yellow ,
298 .BR blue ,
299 .BR magenta ,
300 .BR cyan ,
301 .BR white ,
302 .BR none ,
303 or
304 .BR bold
305 or a combination of those
306 .RB ( bold ,
307 however, must be last to take effect),
308 or any verbatim string to make the user\'s terminal
309 select the desired color.
310 .TP
311 .BI logplace \ <file>|<dir>
312 Set the file to log into to
313 .IR file ,
314 or the directory to log into to
315 .IR dir .
316 Please note that a path is assumed to be a directory if it has a trailing
317 .IR / .
318 .TP
319 .BI sound \ on|beep|off|event
320 Specify what happens if a beep is to be generated.
321 .B on
322 or
323 .B beep
324 will simply beep,
325 .B off
326 will do noting,
327 while
328 .B event
329 will call the script for events.
330 .TP
331 .BI event \ <script>
332 Set the script to execute for events to
333 .IR script .
334 It is called with the following arguments:
335 .br
336 1. The IM type, currently only
337 .BR icq .
338 .br
339 2. The UIN of the contact this event relates to, or 0.
340 .br
341 3. The nick of the contact this events to relates to, or the empty string.
342 .br
343 4. The string
344 .BR global .
345 .br
346 5. The type of this event, which can be
347 .BR msg ,
348 .BR on ,
349 .BR off ,
350 .BR beep
351 or
352 .BR status ,
353 where
354 .BR on \ and \ off
355 are for oncoming and offgoing contacts. This list may not be exhaustive.
356 .br
357 6. For messages, the message type, for offgoing contacts, the previous status,
358 and for oncoming contacts or status changes, the new status, otherwise 0.
359 .br
360 7. The text of the message.
361 .br
362 8. The contact\'s user agent.
363 .br
364 Note that for security reasons, single quotes may be replaced by double
365 quotes, and the message text may be truncated.
366 .TP
367 .BI auto \ <status>\ <string>
368 Set the automatic reply in status
369 .I status
370 to
371 .IR string .
372 This option may be repeated for all possible values
373 .BR away ,
374 .BR na ,
375 .BR dnd ,
376 .BR occ ,
377 .BR inv ,
378 and
379 .B ffc
380 for
381 .IR status .
382 .TP
383 .BI prompt_strftime \ <strftime_format>
384 Set format for option %T used in user
385 .IR prompt .
386 For details see climmcmds(7) and strftime(3).
387 .SH STRINGS
388 The
389 .B Strings
390 section contains command renames.
391 .TP
392 .BI prompt \ <user_prompt>
393 Set user prompt in
394 .IR user_prompt .
395 For details see command
396 .IR prompt
397 in climmcmds(7).
398 .TP
399 .BI alter \ <old>\ <new>
400 Rename command
401 .I old
402 to
403 .IR new .
404 Note the old name may still be used, unless it conflicts with some
405 .I new
406 name.
407 For possible command names, see
408 .BR climmcmds (7).
409 This option may be repeated as desired.
410 .br
411 Note: this option is obsolete, use
412 .I alias
413 instead.
414 .TP
415 .BI alias\ [auto[expand]] \ <alias>\ <expansion>
416 Define an alias named
417 .I alias
418 which is substituted with
419 .IR expansion .
420 If the
421 .I auto
422 or
423 .I autoexpand
424 keyword is given, the expansion also happens when the space key
425 or the return key is pressed directly after the alias.
426 If the string
427 .B %s
428 is present in
429 .IR expansion ,
430 each occurence is replaced with the given arguments when the alias is invoked,
431 otherwise they will be appended.
432 If the string
433 .B %r
434 is present in
435 .IR expansion ,
436 each occurence is replaced by the nick name or, if the nick is not
437 available, the UIN, of the contact that sent the last message to you,
438 or the empty string if there is none.
439 If the string
440 .B %a
441 is present in
442 .IR expansion ,
443 each occurence is replaced by the nick name or, if the nick is not
444 available, the UIN, of the contact that you sent the last message to,
445 or the empty string if there is none.
446 .br
447 New for 0.4.10. Auto-expanding aliases new for 0.5.0.4.
448 .SH GROUP
449 The
450 .B Group
451 section contacts a contact group and may be repeated as required. Note
452 that for format 2, it is saved in the BASE/status file, not in
453 BASE/climmrc.
454 It may have the following commands:
455 .TP
456 .BI server \ <type>\ <uin>
457 Set the server connection this contact group belongs to to the one of type
458 .IR type ,
459 which currently can be
460 .BR icqv8
461 for ICQ server connections version 8 or
462 .BR icqv5
463 for ICQ server connections version 5,
464 and for UIN
465 .IR uin .
466 If this command is omitted, the first active server connection is assumed.
467 .TP
468 .BI label \ <label>
469 Set the label of this contact group to
470 .IR label .
471 If it is
472 .BI contacts- <type> - <uin>,
473 then it is the contact list for this server connection. Note that for format 2
474 of the BASE/status file, this is obsolete, as the contacts distributed to
475 the server connections according to the server statement in their Contacts
476 section.
477 .TP
478 .BI id \ <id>
479 Set the id of this contact group to
480 .IR id .
481 .B 0
482 means no id defined. This will be set when downloading or uploading a contact list.
483 .TP
484 .BI options \ <options>...
485 Define options for this contact group. See the
486 .I opt
487 command for details.
488 .TP
489 .BI entry \ <id>\ <uin>
490 Add contact with UIN
491 .I uin
492 as id
493 .I id
494 to this contact group. Note that
495 .I id
496 is obsolete as of climm 0.5 and always set to 0. The id is set
497 in the
498 .I Contacts
499 section instead.
500 .SH CONTACTS (obsolete format)
501 The
502 .B Contacts
503 section contains the (global) contact list. It is obsolete in this format.
504 .TP
505 .I [*][~][^] uin nick
506 Make user with UIN
507 .I uin
508 known under the nick
509 .IR nick .
510 If
511 .B *
512 is given, the user may see you while you\'re invisible. If
513 .B ~
514 is given, let him see you as always offline. If
515 .B ^
516 is given, ignore this user.
517 If a uin occurs multiple times, all except the first are treated as aliases.
518 .SH CONTACTS
519 The
520 .B Contacts
521 section contains a contact list for one server connection. It is
522 repeated for each server connection.
523 Note that it is saved in the BASE/status file, not in BASE/climmrc.
524 It may have the following commands:
525 .TP
526 .BI server \ <type>\ <uin>
527 Defines the server connection this is the contact list for, with the
528 same syntax as in the
529 .I Group
530 section.
531 .TP
532 .BI entry \ <id>\ <uin>\ <nick>...
533 Adds user with the UIN
534 .I uin
535 and id
536 .I id
537 to this contact list, with nick and arbitrary many aliases
538 .IR nick .
539 .TP
540 .BI options \ <options>...
541 Define options for the previous contact. See the
542 .I opt
543 command for details.
544 .SH SEE ALSO
545 .BR climm (1),
546 .BR climmcmds (7)
547 .SH AUTHOR
548 This man page was written by James Morrison
549 .IR <ja2morrison@student.math.uwaterloo.ca> .
550 It was rewritten to match new config file syntax by R\(:udiger Kuhlmann
551 .IR <climm@ruediger-kuhlmann.de> .
Note: See TracBrowser for help on using the browser.