root/climm/doc/climmrc.5

Revision 2392, 13.5 kB (checked in by kuhlmann, 3 years ago)

big move to climm

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