comparison mcabber/doc/mcabber.1.txt @ 1759:921429804e20

Update documentation
author Mikael Berthe <mikael@lilotux.net>
date Sat, 13 Mar 2010 18:05:07 +0100
parents d7f26538c24c
children cec7cbeb1c2e
comparison
equal deleted inserted replaced
1758:499d3ec34188 1759:921429804e20
1 MCABBER(1) 1 MCABBER(1)
2 =========== 2 ===========
3 Mikael BERTHE <mcabber@lilotux.net> 3 Mikael BERTHE <mcabber@lilotux.net>
4 v0.10.0-dev, October 2009 4 v0.10.0-dev, March 2010
5 5
6 NAME 6 NAME
7 ---- 7 ----
8 mcabber - a simple Jabber console client 8 mcabber - a simple Jabber (XMPP) console client
9 9
10 SYNOPSIS 10 SYNOPSIS
11 -------- 11 --------
12 'mcabber' [ -h | -V | -f configfile ] 12 'mcabber' [ -h | -V | -f configfile ]
13 13
14 DESCRIPTION 14 DESCRIPTION
15 ----------- 15 -----------
16 `mcabber(1)` is a small Jabber console client. + 16 `mcabber(1)` is a small Jabber (XMPP) console client. +
17 For now it needs a configuration file to start, so please copy the sample 17 For now it needs a configuration file to start, so please copy the sample
18 mcabberrc file and adapt your connection settings. 18 mcabberrc file and adapt your connection settings.
19 19
20 You also need to have an existing Jabber account to use this software, as 20 You also need to have an existing Jabber account to use this software, as
21 it cannot (un)register accounts yet. 21 it cannot (un)register accounts yet.
22 22
23 Here are some of the features of `mcabber`: 23 Here are some of the features of `mcabber`:
24 24
25 - 'SSL/TLS support'. 25 - 'SASL/SSL/TLS support'.
26 - 'MUC support' (Multi-User Chat). 26 - 'MUC support' (Multi-User Chat).
27 - 'PGP support' 27 - 'PGP, OTR support'
28 - 'Chat States' support (typing notifications) 28 - 'Chat States' support (typing notifications)
29 - 'History logging:' If enabled (see the CONFIGURATION FILE section), 29 - 'History logging:' If enabled (see the CONFIGURATION FILE section),
30 `mcabber` can save discussions to history log files. 30 `mcabber` can save discussions to text history log files.
31 - 'Commands completion:' If possible, `mcabber` will try to complete your 31 - 'Commands completion:' If possible, `mcabber` will try to complete your
32 command line if you hit the Tab key. 32 command line if you hit the Tab key.
33 - 'Input line history:' Any message or command entered is in the input line 33 - 'Input line history:' Any message or command entered is in the input line
34 history and can be reused easily. 34 history and can be reused easily.
35 - 'External actions:' Some events (like receiving a message) can trigger an 35 - 'External actions:' Some events (like receiving a message) can trigger an
36 external action such as a shell script if you enable it in your 36 external action such as a shell script if you enable it in your
37 configuration file. A sample events script ("eventcmd") is provided with 37 configuration file. A sample events script ("eventcmd") is provided with
38 `mcabber` source code, in the contrib directory. 38 `mcabber` source code, in the contrib directory.
39 - 'Modules:' `mcabber` can load modules (a.k.a. plugins) at runtime that
40 extend its features.
39 41
40 OPTIONS 42 OPTIONS
41 ------- 43 -------
42 --help, -h:: 44 -h::
43 Quick help usage message 45 Quick help usage message
46
47 -V::
48 Displays `mcabber` version and compile-time definitions.
44 49
45 -f configfile:: 50 -f configfile::
46 Use configuration file 'configfile' 51 Use configuration file 'configfile'
47 52
48 WINDOWS/PANES 53 WINDOWS/PANES
79 84
80 Up and Down arrow keys can be used to move in the input line history; they 85 Up and Down arrow keys can be used to move in the input line history; they
81 jump to the previous/next line from the history beginning with the same string 86 jump to the previous/next line from the history beginning with the same string
82 (from first column to the cursor column). 87 (from first column to the cursor column).
83 88
84 To send a message, move to the choosen buddy in the buddylist, type your 89 To send a message, move to the chosen buddy in the buddylist, type your
85 message and hit enter. If the line begins with a slash, this will be 90 message and hit enter. If the line begins with a slash, this will be
86 interpreted as a command (see the COMMAND section below). Hit escape to 91 interpreted as a command (see the COMMAND section below). Hit escape to
87 leave the chat mode. 92 leave the chat mode.
88 93
89 Here is a quick description of the key bindings: 94 Here is a quick description of the default key bindings:
90 95
91 Esc:: Disable chat mode 96 Esc:: Disable chat mode
92 Ctrl-a:: Go to the beginning of the input line 97 Ctrl-a:: Go to the beginning of the input line
93 Ctrl-e:: Go to the end of the input line 98 Ctrl-e:: Go to the end of the input line
94 Ctrl-l:: Force a refresh 99 Ctrl-l:: Force a refresh
152 157
153 ' --- Buds';; This is a group named 'Buds' 158 ' --- Buds';; This is a group named 'Buds'
154 '#[o] John';; John is online, can see your status, and sent you a message that you did not read yet 159 '#[o] John';; John is online, can see your status, and sent you a message that you did not read yet
155 ' \{?\} Sally';; Neither you nor Sally have authorized each other to see your online status 160 ' \{?\} Sally';; Neither you nor Sally have authorized each other to see your online status
156 ' \{a\} Jane';; Jane is away, but she cannot see your online status 161 ' \{a\} Jane';; Jane is away, but she cannot see your online status
157 '#[C] x@y.c';; You are participating in x@y.c conference room, and there are unread messages 162 '#[C] \x@y.c';; You are participating in \x@y.c conference room, and there are unread messages
158 163
159 COMMANDS 164 COMMANDS
160 -------- 165 --------
161 Please refer to the online help (command /help), it is probably more up-to-date than this manpage. Furthermore, help files have been translated into several languages. + 166 Please refer to the online help (command /help), it is probably more up-to-date than this manpage. Furthermore, help files have been translated into several languages. +
162 You will find an overview of the `mcabber` commands in this manual. 167 You will find an overview of the `mcabber` commands in this manual.
163 168
164 COMMANDS RELATED TO MCABBER 169 COMMANDS RELATED TO MCABBER
165 --------------------------- 170 ---------------------------
171 /add [jid [nickname]]::
172 Add the "jid" Jabber user to our roster (default group), and send a notification request to this buddy. If no nickname is specified, the jid is used. If no jid (or an empty string "") is provided or if jid is ".", the current buddy is used.
173
174 ['jid' [nickname]];; Add to our roster "jid" as "nickname"
175
176 Example: "/add somebody@jabber.server.com Somebody"
177
166 /alias [name [= command line]]:: 178 /alias [name [= command line]]::
167 Add "name" as an alias for "command line". + 179 This command let you to add aliases which can simplify sophisticated commands. +
168 Aliases are expanded only once, thus they can not be chained. + 180 You can manage your aliases by:
169 "/alias name" displays the value associated with the "name" alias; + 181
170 "/alias name =" unsets the "name" alias. + 182 (without arguments);; Print list of currently defined aliases
171 "/alias" displays a list of the existing aliases. + 183 'name';; Print the value of alias called "name"
172 Example: "/alias away = status away". 184 'name'=;; Unset alias called "name"
185 'name' = command line;; Set alias called "name" with value "command line"
186
187 Example: "/alias away = status away"
188
189 /authorization allow|cancel|request|request_unsubscribe [jid]::
190 This command manages presence subscriptions: it allows you to request presence subscriptions from others on your roster, and allows you to control who receives your presence notifications. +
191 If no JID is provided, the currently-selected buddy is used.
192
193 'allow';; Allow the buddy to receive your presence updates
194 'cancel';; Cancel the buddy's subscription to your presence updates
195 'request';; Request a subscription to the buddy's presence updates
196 'request_unsubscribe';; Request unsubscription from the buddy's presence updates
173 197
174 /bind [keycode [= command line]]:: 198 /bind [keycode [= command line]]::
175 Bind a command line to the key with the "keycode" code number. + 199 Bind the command to the key given as "keycode". To examine which keys are currently not used look at `mcabber` log window and press examined key. For example: "Unknown key=265" means that you can bind some command to key #265.
176 Keycodes of unused keys are displayed by `mcabber` in the log window 200
177 when pressing the key, for example "Unknown key=265". + 201 (without arguments);; Display list of current bindings
178 "/bind keycode" displays the command line bound to the given keycode; + 202 'keycode';; Display the command line bound to this key
179 "/bind keycode =" unbinds the given keycode. + 203 'keycode'=;; Unbind key with code "keycode"
180 "/bind" displays a list of the bound keycodes. + 204 'keycode' = command line;; Bind "command line" to the key with code "keycode"
181 Note: aliases can be used in key bindings. + 205
182 Example: "/bind 265 = status online" (265 is F1 for me, but it may 206 Example: "/bind 265 = status away" (265 is F1). +
183 depend on your ncurses installation). 207 Note: keycodes can be different depending on your ncurses configuration. +
184 208 Tip: aliases also can be used instead of commands.
185 /buffer clear|close|close_all|purge:: 209
210 /buffer clear|close|close_all|purge|list::
186 /buffer top|bottom|date|%|search_backward|search_forward:: 211 /buffer top|bottom|date|%|search_backward|search_forward::
187 /buffer scroll_lock|scroll_unlock|scroll_toggle:: 212 /buffer scroll_lock|scroll_unlock|scroll_toggle::
188 The 'buffer' command manipulates the current buddy's buffer 213 /buffer save filename::
189 (chat window). 214 Buddy's buffer manipulation command. Eg. you can search through buffer for "text", clear chat window etc.
190 215
191 'clear';; clear the current buddy chat window 216 'clear';; Clear the current buddy chat window
192 'close';; empty all contents of the buffer and close the current buddy chat window 217 'close' [jid];; Empty all contents of the buffer and close the current buddy chat window
193 'close_all';; empty all contents of the chat buffers and close the chat windows 218 'close_all';; Empty all contents of the chat buffers and close the chat windows
194 'purge';; clear the current buddy chat window and empty all contents of the chat buffer 219 'purge' [jid];; Clear the current buddy chat window and empty all contents of the chat buffer
195 'top';; jump to the top of the current buddy chat buffer 220 'list';; Display the list of existing buffers, with their length (lines/blocks)
196 'bottom';; jump to the bottom of the current buddy chat buffer 221 'top';; Jump to the top of the current buddy chat buffer
197 'up' [n];; scroll the buffer up n lines (default: half a screen) 222 'bottom';; Jump to the bottom of the current buddy chat buffer
198 'down' [n];; scroll the buffer down n lines (default: half a screen) 223 'up' [n];; Scroll the buffer up [n] lines (default: half a screen)
199 'date' date;; jump to the first line after the specified date in the chat buffer (date format: "YYYY-mm-dd[THH:MM:SS]", "-" and ":" are optional) 224 'down' [n];; Scroll the buffer down [n] lines (default: half a screen)
200 '%' n;; jump to position %n of the buddy chat buffer 225 'date' [date];; Jump to the first line after the specified [date] in the chat buffer (date format: "YYYY-mm-dd")
201 'search_backward' text;; search for "text" in the current buddy chat buffer 226 % n;; Jump to position %n of the buddy chat buffer
202 'search_forward' text;; search for "text" in the current buddy chat buffer 227 'search_backward' text;; Search for [text] in the current buddy chat buffer
203 'scroll_lock';; lock buffer scrolling 228 'search_forward' text;; Search for [text] in the current buddy chat buffer
204 'scroll_unlock';; unlock buffer scrolling 229 'scroll_lock';; Lock buffer scrolling
205 'scroll_toggle';; toggle buffer scrolling (lock/unlock) 230 'scroll_unlock';; Unlock buffer scrolling
231 'scroll_toggle';; Toggle buffer scrolling (lock/unlock)
232 'save' filename;; Save the contents of the current buffer to the file "filename"
233
234 /chat_disable [--show-roster]::
235 Disable chat mode. +
236 With --show-roster, the fullscreen mode will be disabled.
206 237
207 /clear:: 238 /clear::
208 The 'clear' command is actually an alias for "/buffer clear". 239 This command is actually an alias for "/buffer clear". It clears the current buddy chat window.
209 240
210 /help [command]:: 241 /color roster (status wildcard (color|-)|clear)::
211 Display generic help or help about a specific mcabber command. 242 /color mucnick nick (color|-)::
212 243 /color muc (jid|.|*) [on|preset|off|-]::
213 /quit:: 244 The 'color' command allows setting dynamic color properties of the screen.
214 Disconnect and leave `mcabber(1)`. 245
215 246 'roster' clear;; Remove all color rules for the roster. All roster items will get its default color.
216 /set option[=value]:: 247 'roster' status wildcard color;; Set a color rule (or overwrite, if it already exists). The status is string containing all statuses the roster item can have for the rule to match, or * if any status is OK. Wildcard is the file-matching wildcard that will be applied to JID. Color is the wanted color. If color is -, the rule is removed. If more than one rule matches, the color from the last created (not overwritten) is used.
217 Display or set an option value. 248 'mucnick' nick (color|-);; Marks the nick to be colored by given color. If a MUC has colored nicks, this one will be used. If color is -, the color is marked as chosen automatically, which means it will not be used in 'preset' coloring mode, but will stay the same in 'on' coloring mode.
218 249 'muc' (jid|.|*) [on|preset|off|-];; Sets a MUC nick coloring mode. If a jid (. means currently selected jid) is provided, the mode will apply to this specific MUC. If * is used, it will be applied to all MUCs, except the ones set by their jid. Mode 'on' colors all nicks, 'preset' only the ones manually set by /color mucnick command and 'off' colors none. If not specified, defaults to 'on'. Mode '-' removes the mode from given JID, which means the global one will apply. You can not remove the global mode. Default global coloring mode is 'off'.
219 /source [file]:: 250
220 Read a configuration file.
221
222 /version::
223 Display mcabber version
224
225 COMMANDS RELATED TO THE SERVER AND CONNECTION
226 ---------------------------------------------
227 /connect:: 251 /connect::
228 Establish connection to the Jabber server. 252 Establish connection to the Jabber server.
229 253
254 /del::
255 Delete the current buddy from our roster, unsubscribe from its presence notification and unsubscribe it from ours.
256
230 /disconnect:: 257 /disconnect::
231 Terminate connection to the Jabber server. Note: the roster is only 258 Terminate the connection to the Jabber server. +
232 available when the connection to the server is active, so the 259 Note: the roster is only available when the connection to the server is active, so the buddylist is empty when disconnected.
233 buddylist is empty when disconnected. 260
234 261 /echo message::
235 /event #n|* accept|ignore|reject:: 262 Display "message" in the log window.
263
264 /event #n|* accept|ignore|reject [event-specific arguments]::
236 /event list:: 265 /event list::
237 Tell mcabber what to do about a pending event. + 266 Tell mcabber what to do about pending events. +
238 If the first parameter is "*", the command will apply to all 267 If the first parameter is '*', the command will apply to all queued events. +
239 queued events. 268 Event-specific arguments will be interpreted on event-to event basis. The only built-in case, when argument is used is MUC invitation reject - argument, if present, will be interpreted as reject reason.
240 269
241 'accept';; accept the event #n 270 #N|* accept [event-specific arguments];; Event number #N/All events will be accepted
242 'ignore';; remove the event #n from the list 271 #N|* ignore [event-specific arguments];; Event number #N/All events will be ignored
243 'reject';; reject the event #n 272 #N|* reject [event-specific arguments];; Event number #N/All events will be rejected
244 'list';; list all pending events 273 'list';; List all pending events
245 274
246 /rawxml send string:: 275 /group fold|unfold|toggle [groupname]::
247 'send' string: send string (raw XML format) to the Jabber server. No check is done on the string provided. BEWARE! Use this only if you know what you are doing, or you could terminate the connection. 276 This command changes the current group display.
248 277
249 COMMANDS RELATED TO THE ROSTER AND JABBER RESOURCES 278 'fold' [groupname];; Fold (shrink) the current/specified group tree in the roster
250 --------------------------------------------------- 279 'unfold' [groupname];; Unfold (expand) the current/specified group tree in the roster
251 /add [jid [nickname]]:: 280 'toggle' [groupname];; Toggle the state (fold/unfold) of the current/specified tree
252 Add the "jid" Jabber user to our roster (default group), and send a 281
253 notification request to this buddy. If no nickname is specified, the 282 /help [command|+topic]::
254 jid is used. If no jid (or an empty string "") is provided or if jid 283 Display help for command "command" or topic "topic". +
255 is ".", the current buddy is used. 284 Example: "/help buffer"
256 285
257 /authorization allow|cancel|request|request_unsubscribe [jid]:: 286 /iline fchar|bchar|char_fdel|char_bdel|char_swap::
258 Manage the presence subscriptions. + 287 /iline fword|bword|word_bdel|word_fdel::
259 If no jid is provided, the current buddy is used. 288 /iline word_upcase|word_downcase|word_capit::
260 289 /iline hist_beginning_search_bwd|hist_beginning_search_fwd::
261 'allow';; allow the buddy to receive your presence updates 290 /iline hist_prev|hist_next::
262 'cancel';; cancel the buddy' subscription to your presence updates 291 /iline iline_start|iline_end|iline_fdel|iline_bdel::
263 'request';; request a subscription to the buddy's presence updates 292 /iline iline_accept|iline_accept_down_hist::
264 'request_unsubscribe';; request unsubscription from the buddy's presence updates 293 /iline compl_do|compl_cancel::
265 294 /iline send_multiline::
266 /del:: 295 Input line commands
267 Delete the current buddy from our roster, unsubscribe from its presence 296
268 notification and unsubscribe it from ours. 297 'fchar';; Move to the next letter
269 298 'bchar';; Move to the previous letter
270 /group fold|unfold|toggle:: 299 'char_fdel';; Delete the letter at cursor position
271 The 'group' command changes the current group display. 300 'char_bdel';; Delete the letter before cursor position
272 301 'char_swap';; Transpose chars
273 'fold';; fold (shrink) the current group tree in the roster 302 'fword';; Move the cursor forward to the end of the current or next word
274 'unfold';; unfold (expand) the current group tree in the roster 303 'bword';; Move the cursor back to the start of the current or previous word
275 'toggle';; toggle the state (fold/unfold) of the current tree 304 'word_bdel';; Delete the word from cursor position to its start
305 'word_fdel';; Delete the word from cursor position to its end
306 'word_upcase';; Convert the word from cursor position to its end to upper case
307 'word_downcase';; Convert the word from cursor position to its end to down case
308 'word_capit';; Capitalize the word from cursor position to its end
309 'hist_beginning_search_bwd';; Search backward in the history for a line beginning with the current line up to the cursor (this leaves the cursor in its original position)
310 'hist_beginning_search_fwd';; Search forward in the history for a line beginning with the current line up to the cursor (this leaves the cursor in its original position)
311 'hist_prev';; Previous line of input line history
312 'hist_next';; Next line of input line history
313 'iline_start';; Go to the beginning of the input line
314 'iline_end';; Go to the end of the input line
315 'iline_fdel';; Delete from the cursor to the end of line
316 'iline_bdel';; Delete from beginning of the line to the cursor
317 'iline_accept';; Accept line
318 'iline_accept_down_hist';; Accept line and put the next history line in the input line
319 'compl_do';; Complete current word, in the input line
320 'compl_cancel';; Cancel completion
321 'send_multiline';; Send/terminate a multi-line message
276 322
277 /info:: 323 /info::
278 Display info on the selected entry (user, agent, group...). + 324 Display info on the selected entry (user, agent, group...). +
279 For users, resources are displayed with the status, priority and 325 For users, resources are displayed with the status, priority and status message (if available) of each resource.
280 status message (if available) of each resource. 326
327 /module load|unload [-f] module::
328 /module info module::
329 /module [list]::
330 Load, unload or show info on module.
331
332 'load' [-f] module;; Loads specified module. If -f flag is specified, most of module loading errors will be ignored.
333 'unload' [-f] module;; Unloads specified module. Note: The force flag will not remove any dependent on this modules!
334 'info' module;; Shows available information about this module.
335 ['list'];; Lists modules in a format: [modulename] [reference count] ([Manually/Automatically loaded]) [any extra info, like version or dependencies]
281 336
282 /move [groupname]:: 337 /move [groupname]::
283 Move the current buddy to the requested group. If no group is 338 Move the current buddy to the requested group. If no group is specified, then the buddy is moved to the default group. If the group "groupname" doesn't exist, it is created. +
284 specified, then the buddy is moved to the default group. 339 Tip: if the chatmode is enabled, you can use "/roster alternate" to jump to the moved buddy.
285 If the group groupname doesn't exist, it is created. +
286 Tip: if the chatmode is enabled, you can use "/roster alternate"
287 to jump to the moved buddy.
288 340
289 /msay begin|verbatim|send|send_to|toggle|toggle_verbatim|abort:: 341 /msay begin|verbatim|send|send_to|toggle|toggle_verbatim|abort::
290 Send a multi-line message. To write a single message with several 342 Send a multi-line message. To write a single message with several lines, the 'multi-line mode' should be used. +
291 lines, the 'multi-line mode' should be used. + 343 In multi-line mode, each line (except command lines) typed in the input line will be added to the multi-line message. Once the message is finished, it can be sent to the current selected buddy with the "/msay send" command. +
292 In multi-line mode, each line (except command lines) typed in the input 344 The 'begin' subcommand enables multi-line mode. Note that it allows a message subject to be specified. +
293 line will be added to the multi-line message. Once the message is 345 The 'verbatim' multi-line mode disables commands, so that it is possible to enter lines starting with a slash. Only the "/msay" command (with send or abort parameters) can be used to exit verbatim mode. +
294 finished, it can be sent to the current selected buddy with the "/msay 346 The 'toggle' subcommand can be bound to a key to use the multi-line mode quickly (for example, "bind M13 = msay toggle" to switch using the Meta-Enter combination).
295 send" command (or Ctrl-d). + 347
296 The 'begin' subcommand enables multi-line mode. Note that it allows 348 'begin' [subject];; Enter multi-line mode
297 a message subject to be specified. + 349 'verbatim';; Enter verbatim multi-line mode
298 The 'verbatim' multi-line mode disables commands, so that it is 350 'send' [-n|-h];; Send the current multi-line message to the currently selected buddy
299 possible to enter lines starting with a slash. Only the "/msay" 351 'send_to' [-n|-h] jid;; Send the current multi-line message to "jid"
300 command (with send or abort parameters) can be used to exit verbatim 352 'toggle'|'toggle_verbatim';; Switch to/from multi-line mode (begin/send)
301 mode. + 353 'abort';; Leave multi-line mode without sending the message
302 The 'toggle' and 'toggle_verbatim' subcommands can be bound to a key to 354
303 use the multi-line mode quickly (for example, "bind M109 = msay toggle" 355 The -n or -h flags turn the message to "normal" or "headline" accordingly, as opposed to default "chat" message.
304 to switch using the Meta-m combination). 356
305 357 /otr key::
306 'begin' [subject];; enter multi-line mode 358 /otr start|stop|info [jid]::
307 'verbatim';; enter verbatim multi-line mode 359 /otr fingerprint [jid [fpr]]::
308 'send';; send the current multi-line message to the currently selected buddy 360 /otr smpq|smpr [jid] secret::
309 'send_to' jid;; send the current multi-line message to "jid" 361 /otr smpa [jid]::
310 'toggle';; switch to/from multi-line mode (begin/send) 362 You can use the shortcut-jid "." for the currently selected contact.
311 'toggle_verbatim';; same with verbatim multi-line mode 363
312 'abort';; leave multi-line mode without sending the message 364 'key';; Print the fingerprint of your private key to the Status Buffer
365 'start' [jid];; Open an OTR channel to the specified jid (or the currently selected contact)
366 'stop' [jid];; Close the OTR channel to the specified jid (or the currently selected contact)
367 'info' [jid];; Show current OTR status for the specified jid (or the currently selected contact)
368 'fingerprint' [jid [fpr]];; Show the active fingerprint of an OTR channel. If the fingerprint is provided instead of "fpr", the fingerprint will become trusted. If you replace "fpr" by some bogus string the fingerprint will loose the trusted status.
369 'smpq' [jid] secret;; Initiate the Socialist Millionaires Protocol with the secret and the buddy
370 'smpr' [jid] secret;; Respond to the Initiation of the jid with the secret
371 'smpa' [jid];; Abort the running Socialist Millionaires Protocol
372
373 /otrpolicy::
374 /otrpolicy (default|jid) (plain|manual|opportunistic|always)::
375 You can use the shortcut-jid "." for the currently selected contact.
376
377 (without arguments);; Prints all OTR policies to the status buffer
378 ('default'|'jid') (plain|manual|opportunistic|always);; Sets either the default policy or the policy for the given jid The plain policy should never be used, because you won't be able to receive or send any OTR encrypted messages. If you set the policy to manual, you or your chat partner have to start the OTR encryption by hand (e.g. with /otr start). The policy "opportunistic" does that itself by sending a special whitespace-sequence at the end of unencrypted messages. So the other OTR-enabled chat client knows, that you want to use OTR. Note that the first message will always be unencryted, if you use this policy. With the policy "always" no message will be sent in plain text. If you try to sent the first message unencrypted, mcabber will try to establish an OTR channel. Please resend your message, when you get the information that the channel was established. If someone sends you plaintext messages while the policy is set to "always", you'll be able to read the message but it won't be saved to the history.
313 379
314 /pgp disable|enable|force|info [jid]:: 380 /pgp disable|enable|force|info [jid]::
315 /pgp setkey [jid [key]]:: 381 /pgp setkey [jid [key]]::
316 Manipulate PGP settings for the specified jid (by default the currently selected contact). Please note that PGP encryption won't be used if no remote PGP support is detected, even if PGP is enabled with this command. 382 This command manipulates PGP settings for the specified jid (by default the currently selected contact). +
317 383 Please note that PGP encryption won't be used if no remote PGP support is detected, even if PGP is enabled with this command. You can force PGP encryption with the "force" subcommand.
318 'disable' [jid];; disable PGP encryption for jid (or the currently selected contact) 384
319 'enable' [jid];; enable PGP encryption for jid (or the currently selected contact) 385 'disable' [jid];; Disable PGP encryption for jid (or the currently selected contact)
320 [-]'force' [jid];; enforce PGP encryption, even for offline messages, and always assume the recipient has PGP support 386 'enable' [jid];; Enable PGP encryption for jid (or the currently selected contact)
321 'info' [jid];; show current PGP settings for the contact 387 [+|-]'force' [jid];; Enforce PGP encryption, even for offline messages, and always assume the recipient has PGP support. If a message can't be encrypted (missing key or key id), the messages won't be sent at all. This option is ignored when PGP is disabled.
322 'setkey' [jid [key]];; set the PGP key to be used to encrypt message for this contact. If no key is provided, the current key is erased. You can use the shortcut-jid "." for the currently selected contact. 388 'info' [jid];; Show current PGP settings for the contact
389 'setkey' [jid [key]];; Set the PGP key to be used to encrypt message for this contact. If no key is provided, the current key is erased. You can use the shortcut-jid "." for the currently selected contact.
390
391 /quit::
392 This command closes all connections and quit mcabber.
393
394 /rawxml send string::
395 Send "string" (raw XML format) to the Jabber server. +
396 No check is done on the string provided. +
397 BEWARE!
398 Use this only if you know what you are doing, or you could terminate the connection. +
399 Example: "/rawxml send <presence><show>away</show></presence>"
323 400
324 /rename name:: 401 /rename name::
325 Rename current buddy or group to the given name. 402 Rename the current buddy or group to the given "name". If "name" is -, the name is removed from the roster (and mcabber will display the JID or username).
326 Please note that a group name change is only done when the server's 403
327 acknowledgment is received, so a slight delay can be noticed. 404 /request last|ping|time|vcard|version [jid]::
328 405 Send a "IQ" query to the current buddy, or to the specified Jabber user. If the resource is not provided with the jid, mcabber will send the query to all known resources for this user.
329 /request last|time|vcard|version [jid]:: 406
330 Send a "IQ" query to the current buddy, or to the specified Jabber 407 'last';; Request "last" information (usually idle time)
331 user. If the resource is not provided with the jid, mcabber will 408 'ping';; Send an XMPP Ping request. Note that you should use the full JID since a ping sent to a bare JID will be handled by the server.
332 send the query to all known resources for this user. 409 'time';; Request time from the buddy
333 410 'vcard';; Request VCard from the buddy
334 /room join|leave|names|nick|privmsg|remove|topic|unlock|destroy:: 411 'version';; Request version from the buddy
335 /room invite|kick|ban|role|affil:: 412
336 /room bookmark [add|del] [-autojoin|+autojoin]:: 413 /room join|leave|names|nick|remove|topic|unlock|destroy::
414 /room privmsg|invite|whois|kick|ban|unban|role|affil::
415 /room setopt print_status|auto_whois [value]::
416 /room bookmark [add|del] [-autojoin|+autojoin] [-|nick]::
337 The 'room' command handles Multi-User Chat room actions. 417 The 'room' command handles Multi-User Chat room actions.
338 418
339 'join' [room [nick [pass]]];; join "room", using "nick" as nickname. If no nickname is provided (or if it is an empty string), the "nickname" option value is used (see sample configuration file). If the currently selected entry is correctly recognized as a room by mcabber, the shortcut "." can be used instead of the full room id. A password can be provided to enter protected rooms. If your nickname contains space characters, use quotes. 419 'join' [room [nick [pass]]];; Join "room", using "nick" as nickname. If no nickname is provided (or if it is an empty string), the "nickname" option value is used (see sample configuration file). If the currently selected entry is correctly recognized as a room by mcabber, the shortcut "." can be used instead of the full room id. A password can be provided to enter protected rooms. If your nickname contains space characters, use quotes.
340 'leave' [message];; leave the current room 420 'leave' [message];; Leave the current room
341 'names' [--detail|--short|--quiet];; display the members of the current room 421 'names' [--detail|--short|--quiet|--compact];; Display members of the current room
342 'nick' nick;; change your nickname in the current room 422 'nick' newnick;; Change your nickname in the current room
343 'privmsg' nick msg;; send private message "msg" to "nick" 423 'privmsg' nick msg;; Send private message "msg" to "nick"
344 'remove';; remove the current room from the roster (you must have left this room before) 424 'remove';; Remove the current room from the roster (you must have left this room before)
345 'topic';; set topic for current room 425 'topic' -|newtopic;; Set topic for current room
346 'unlock';; unlock current room (if you are the owner) 426 'unlock';; Unlock current room (if you are the owner)
347 'destroy' [reason];; destroy the current room (use with care!) 427 'destroy' [reason];; Destroy the current room (use with care!)
348 'whois' nick;; display MUC information about "nick" 428 'whois' nick;; Display MUC information about "nick"
349 'ban' jid [reason];; ban jid from the current room 429 'ban' jid [reason];; Ban jid from the current room
350 'invite' jid [reason];; invite jid to the current room 430 'unban' jid;; Unban jid from the current room
351 'kick' nick [reason];; kick "nick" from the current room 431 'invite' jid [reason];; Invite jid to the current room
352 'role' jid role [reason];; change jid's role (role can be "none", "visitor", "participant", "moderator") 432 'kick' nick [reason];; Kick "nick" from the current room
353 'affil' jid affil [reason];; change jid's affiliation (affil can be "none", "member", "admin", "owner") 433 'role' jid role [reason];; Change jid's role (role can be "none", "visitor", "participant", "moderator")
354 'bookmark' add/update/remove a room bookmark, set/unset autojoin 434 'affil' jid affil [reason];; Change jid's affiliation (affil can be "none", "member", "admin", "owner")
435 'setopt' print_status|auto_whois [value];; Change settings for the current room For print_status, the possible values are "default", "none", "in_and_out", "all". For auto_whois, the possible values are "default", "off", "on". When the value is "default", the options muc_print_status / muc_auto_whois is used.
436 'bookmark' [add|del] [-autojoin|+autojoin] [-|nick];; Add, remove or update a bookmark (default is add). If autojoin is set, mcabber will automatically join the MUC room when it connects to the server. To see the list of bookmarks, use /room bookmark in the status buffer.
355 437
356 /roster bottom|top|up|down|group_prev|group_next:: 438 /roster bottom|top|up|down|group_prev|group_next::
357 /roster alternate|unread_first|unread_next:: 439 /roster alternate|unread_first|unread_next::
358 /roster search bud:: 440 /roster search bud::
359 /roster hide_offline|show_offline|toggle_offline:: 441 /roster display|hide_offline|show_offline|toggle_offline::
360 /roster item_lock|item_unlock:: 442 /roster item_lock|item_unlock|item_toggle_lock::
361 /roster hide|show|toggle:: 443 /roster hide|show|toggle::
362 /roster note [-|text]:: 444 /roster note [-|text]::
363 The 'roster' command manipulates the roster/buddylist. Here are the available parameters: 445 The 'roster' command manipulates the roster/buddylist. +
364 446 Here are the available parameters:
365 'bottom';; jump to the bottom of the roster 447
366 'top';; jump to the top of the roster 448 'bottom';; Jump to the bottom of the roster
367 'up';; move up in the roster 449 'top';; Jump to the top of the roster
368 'down';; move down in the roster 450 'up' [n];; Move up [n lines] in the roster
369 'group_prev';; jump to the previous group in the roster 451 'down' [n];; Move down [n lines] in the roster
370 'group_next';; jump to the next group in the roster 452 'group_prev';; Jump to the previous group in the roster
371 'alternate';; jump to alternate buddy. The "alternate" buddy is the last buddy left while being in chat mode (this command is thus especially useful after commands like "/roster unread_first") 453 'group_next';; Jump to the next group in the roster
372 'unread_first';; jump to the first unread message 454 'alternate';; Jump to alternate buddy. The "alternate" buddy is the last buddy left while being in chat mode. This command is thus especially useful after commands like "/roster unread_next" (Ctrl-q).
373 'unread_next';; jump to the next unread message 455 'unread_first';; Jump to the first unread message
374 'search' bud;; search for a buddy with a name or jid containing "bud" (only in the displayed buddylist) 456 'unread_next';; Jump to the next unread message
375 'hide_offline';; hide offline buddies 457 'search' bud;; Search for a buddy with a name or jid containing "bud" (only in the displayed buddylist)
376 'show_offline';; show offline buddies 458 'display' [mask];; See or update the roster filter. The mask should contain the shortcut letters of the status you want to see ([o]nline, [f]ree_for_chat, [d]o_not_disturb, [n]ot_available, [a]way, [_]offline). For example "ofdna" to display only connected buddies.
377 'toggle_offline';; toggle display of offline buddies 459 'hide_offline';; Hide offline buddies (same as /roster display ofdna)
378 'item_lock' jid;; lock the roster item so it remains visible regardless of its status 460 'show_offline';; Show offline buddies (same as /roster display ofdna_)
379 'item_unlock' jid;; undo the effects of item_lock 461 'toggle_offline';; Toggle display of offline buddies
380 'hide';; hide roster (full-width chat window) 462 'item_lock' [jid];; Lock the roster item so it remains visible regardless of its status
381 'show';; show roster 463 'item_unlock' [jid];; Undo the effects of item_lock
382 'toggle';; toggle roster visibility 464 'item_toggle_lock' [jid];; Invert the current lock flag
383 'note' [text];; display or set an annotation (if text is "-", the annotation is deleted). In the "status" buffer, it will display all annotations. 465 'hide';; Hide roster (full-width chat window)
384 466 'show';; Show roster
385 /say text:: 467 'toggle';; Toggle roster visibility
386 Send the "text" message to the currently selected buddy. Can be useful 468 'note' [-|text];; Set/update/delete an annotation. If there is no text, the current item's annotation is displayed -- if you are in the status buffer, all notes are displayed. If text is "-", the note is erased.
387 if you want to send a message beginning with a slash, for example. 469
388 470 /say [-n|-h|--] text::
389 /say_to jid text:: 471 Send the "text" message to the currently selected buddy. It can be useful if you want to send a message beginning with a slash, for example. +
390 Send the "text" message to the specified jid. 472 The "-n" flag turns the message to "normal" type, "-h" to "headline". "--" can be used to send chat message beginning with -n or -h.
391 Please note that this command doesn't set the default resource for 473
392 a contact, so if you want to send several messages to a specific 474 /say_to [-n|-h] [-q] [-f file] jid text::
393 resource you will have to use "/say_to" for each message. 475 Send the "text" message to the specified jid. +
394 476 Please note that this command doesn't set the default resource for a contact, so if you want to send several messages to a specific resource you will have to use "/say_to" for each message. +
395 /status [online|avail|invisible|free|dnd|notavail|away [-|StatusMessage]]:: 477 The "-n" flag turns the message to "normal" type, "-h" to "headline". "--" can be used to send chat messages beginning with -n or -h. +
478 When "-q" is used, the message will be sent in the background and will not change the current active window. +
479 A text file can be provided with the "-f" switch (in which case there's no need to pass a text argument after the jid, of course).
480
481 /screen_refresh::
482 Refresh the mcabber screen.
483
484 /set option [= value]::
485 Display or set an option value.
486
487 /source pattern::
488 Read configuration files, that match glob pattern (sorted in alphabetical order).
489
490 /status [online|avail|invisible|free|dnd|notavail|away [-|statusmessage]]::
491 /status message -|statusmessage::
396 Show or set the current status. + 492 Show or set the current status. +
397 If no status is specified, display the current status. + 493 If no status is specified, display the current status. +
398 If a status message is specified, it will overrride the message* 494 If a status message is specified, it will overrride the message* variables (these variables can be set in the configuration file). +
399 variables (these variables can be set in the configuration file). 495 If no relevant message* variable is set and no status message provided, the current status message is kept. +
400 If no relevant message* variable is set and no status message provided, 496 If StatusMessage is "-", the current status message is cleared. +
401 the current status message is kept. If StatusMessage is "-", the 497 With the "/status message" command, mcabber will update the message while preserving the status.
402 current status message is cleared. 498
403 499 /status_to jid online|avail|invisible|free|dnd|notavail|away [statusmessage]::
404 /status_to jid online|avail|invisible|free|dnd|notavail|away [StatusMessage]:: 500 /status_to jid message statusmessage::
405 Send the requested status to the specified Jabber user. + 501 Send the requested status to the specified Jabber user. +
406 If the specified jid is ".", the current buddy is used. + 502 If the specified jid is ".", the current buddy is used. +
407 Note: this status will be overridden by subsequent "/status" commands. 503 Note: this status will be overridden by subsequent "/status" commands. If you are using the auto-away feature, the status will overridden too. +
408 If you are using the auto-away feature, the status will overridden 504 Note: The jid can include a resource (i.e. \user@server/resource).
409 too. + 505
410 Note: The jid can include a resource (i.e. user@server/resource). 506 /version::
507 Display current version of mcabber.
411 508
412 CONFIGURATION FILE 509 CONFIGURATION FILE
413 ------------------ 510 ------------------
414 See the provided sample configuration file, which should be self-documenting. 511 See the provided sample configuration file, which should be self-documenting.
415 512
418 The following files can be used by `mcabber(1)`: 515 The following files can be used by `mcabber(1)`:
419 516
420 $HOME/.mcabber/mcabberrc Default configuration file 517 $HOME/.mcabber/mcabberrc Default configuration file
421 $HOME/.mcabberrc Configuration file used if no other has been found 518 $HOME/.mcabberrc Configuration file used if no other has been found
422 $HOME/.mcabber/histo/ Default directory for storing chat history files, if enabled 519 $HOME/.mcabber/histo/ Default directory for storing chat history files, if enabled
520 /usr/share/mcabber/help/ Default directory for online help files
521 /usr/lib/mcabber/ Default directory for modules
423 522
424 BUGS 523 BUGS
425 ---- 524 ----
426 Certainly. Please tell me if you find one! :-) 525 Certainly. Please tell me if you find one! :-) +
526 Please visit our website to find out about the MUC room and the bug tracker.
427 527
428 AUTHOR 528 AUTHOR
429 ------ 529 ------
430 Written by mailto:mcabber@lilotux.net[Mikael BERTHE]. + 530 Written by mailto:mikael@lilotux.net[Mikael BERTHE] and others
431 Originally based on http://cabber.sourceforge.net[Cabber], please 531 (see AUTHORS file). +
432 consult the AUTHORS file for details.
433 532
434 RESOURCES 533 RESOURCES
435 --------- 534 ---------
436 http://www.lilotux.net/~mikael/mcabber/[Main web site] 535 http://mcabber.com/[Main web site]
437 536
438 COPYING 537 COPYING
439 ------- 538 -------
440 Copyright \(C) 2005, 2006, 2007, 2008 Mikael Berthe. + 539 Copyright \(C) 2005-2010 Mikael Berthe and others. +
441 Some portions are Copyright \(C) 2002-2004 mailto:cabber@ajmacias.com[].
442 540
443 Free use of this software is granted under the terms of the GNU General Public 541 Free use of this software is granted under the terms of the GNU General Public
444 License (GPL). 542 License (GPL).
445