root/climm/doc/climmrc.5

Revision 2637, 13.6 kB (checked in by kuhlmann, 2 years ago)

move socks 5 settings to connection specific options

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