Mercurial > hg
annotate mcabber/doc/mcabber.1.txt @ 2346:7921c8d671c8
Implemented another helper function jid_get_resource_name
author | franky |
---|---|
date | Tue, 14 May 2019 22:19:33 +0200 |
parents | 457891789a7d |
children | b951567c78bf |
rev | line source |
---|---|
198 | 1 MCABBER(1) |
2 =========== | |
222 | 3 Mikael BERTHE <mcabber@lilotux.net> |
2319 | 4 v1.1.1-dev, June 2017 |
198 | 5 |
6 NAME | |
7 ---- | |
1759 | 8 mcabber - a simple Jabber (XMPP) console client |
198 | 9 |
10 SYNOPSIS | |
11 -------- | |
1259
c5c09f8f60b0
Change command line option -v to -V
Mikael Berthe <mikael@lilotux.net>
parents:
1257
diff
changeset
|
12 'mcabber' [ -h | -V | -f configfile ] |
198 | 13 |
14 DESCRIPTION | |
15 ----------- | |
1759 | 16 `mcabber(1)` is a small Jabber (XMPP) console client. + |
200 | 17 For now it needs a configuration file to start, so please copy the sample |
208 | 18 mcabberrc file and adapt your connection settings. |
200 | 19 |
360
20283b69db99
Doc: Say a Jabber account should already exist for using mcabber
Mikael Berthe <mikael@lilotux.net>
parents:
349
diff
changeset
|
20 You also need to have an existing Jabber account to use this software, as |
20283b69db99
Doc: Say a Jabber account should already exist for using mcabber
Mikael Berthe <mikael@lilotux.net>
parents:
349
diff
changeset
|
21 it cannot (un)register accounts yet. |
20283b69db99
Doc: Say a Jabber account should already exist for using mcabber
Mikael Berthe <mikael@lilotux.net>
parents:
349
diff
changeset
|
22 |
854 | 23 Here are some of the features of `mcabber`: |
24 | |
1759 | 25 - 'SASL/SSL/TLS support'. |
854 | 26 - 'MUC support' (Multi-User Chat). |
1759 | 27 - 'PGP, OTR support' |
1062 | 28 - 'Chat States' support (typing notifications) |
854 | 29 - 'History logging:' If enabled (see the CONFIGURATION FILE section), |
1759 | 30 `mcabber` can save discussions to text history log files. |
854 | 31 - 'Commands completion:' If possible, `mcabber` will try to complete your |
32 command line if you hit the Tab key. | |
33 - 'Input line history:' Any message or command entered is in the input line | |
34 history and can be reused easily. | |
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 | |
37 configuration file. A sample events script ("eventcmd") is provided with | |
38 `mcabber` source code, in the contrib directory. | |
1759 | 39 - 'Modules:' `mcabber` can load modules (a.k.a. plugins) at runtime that |
40 extend its features. | |
854 | 41 |
42 OPTIONS | |
43 ------- | |
1759 | 44 -h:: |
854 | 45 Quick help usage message |
46 | |
1759 | 47 -V:: |
48 Displays `mcabber` version and compile-time definitions. | |
49 | |
854 | 50 -f configfile:: |
51 Use configuration file 'configfile' | |
52 | |
53 WINDOWS/PANES | |
54 ------------- | |
202 | 55 The `mcabber(1)` screen is divided into 4 regions. |
200 | 56 The 'roster', alias 'buddylist', is on the left. The 'chat window', or chat |
57 buffer, is on the right. The 'input line' lies at the bottom of the screen, | |
58 under a small 'log window'. | |
59 | |
775
b4befb3052e5
Update NEWS, ChangeLog and documentation
Mikael Berthe <mikael@lilotux.net>
parents:
710
diff
changeset
|
60 Two status lines surround the log window. The bottom status line is the |
b4befb3052e5
Update NEWS, ChangeLog and documentation
Mikael Berthe <mikael@lilotux.net>
parents:
710
diff
changeset
|
61 "main status line" and reflects mcabber general status. The other line |
b4befb3052e5
Update NEWS, ChangeLog and documentation
Mikael Berthe <mikael@lilotux.net>
parents:
710
diff
changeset
|
62 is the "chat status line" and shows the status of the currently selected |
b4befb3052e5
Update NEWS, ChangeLog and documentation
Mikael Berthe <mikael@lilotux.net>
parents:
710
diff
changeset
|
63 buddy. |
b4befb3052e5
Update NEWS, ChangeLog and documentation
Mikael Berthe <mikael@lilotux.net>
parents:
710
diff
changeset
|
64 |
204 | 65 To display buddies chat buffers, you will have to enter 'chat mode'. |
2304
fa8365fb6ac2
[PATCH 1/3] New option: vi_mode
Holger Weiß <holger@zedat.fu-berlin.de>
parents:
2302
diff
changeset
|
66 You can enter chat mode by pressing enter (unless 'vi mode' is enabled), and |
fa8365fb6ac2
[PATCH 1/3] New option: vi_mode
Holger Weiß <holger@zedat.fu-berlin.de>
parents:
2302
diff
changeset
|
67 leave chat mode with the ESC key. Simply sending a message will also enable |
fa8365fb6ac2
[PATCH 1/3] New option: vi_mode
Holger Weiß <holger@zedat.fu-berlin.de>
parents:
2302
diff
changeset
|
68 chat mode (unless 'vi mode' is enabled). |
204 | 69 |
854 | 70 There are several advantages to the two-mode implementation: first, it allows |
71 accurate "unread" message functionality, as described in the next section; | |
72 without this, merely scrolling to a specific buddy will "read" the new | |
73 messages of all buddies in-between. Second, it allows quickly hiding the | |
74 conversation with a single keystroke. Third, it allows jumping between | |
75 the few buddies with whom you are conversing with the '/roster alternate' | |
76 command described in another section, without having to manually scroll | |
77 back and forth. | |
200 | 78 |
79 KEYS | |
80 ---- | |
229 | 81 Text typing occurs in the 'input line'; basic operations are supported |
82 (left arrow, right arrow, home/end keys, insert, delete, backspace...). | |
200 | 83 |
84 PageUp and PageDown keys are used to move in the roster. | |
85 | |
618 | 86 Up and Down arrow keys can be used to move in the input line history; they |
87 jump to the previous/next line from the history beginning with the same string | |
88 (from first column to the cursor column). | |
89 | |
1759 | 90 To send a message, move to the chosen buddy in the buddylist, type your |
200 | 91 message and hit enter. If the line begins with a slash, this will be |
92 interpreted as a command (see the COMMAND section below). Hit escape to | |
93 leave the chat mode. | |
94 | |
1759 | 95 Here is a quick description of the default key bindings: |
200 | 96 |
1062 | 97 Esc:: Disable chat mode |
200 | 98 Ctrl-a:: Go to the beginning of the input line |
99 Ctrl-e:: Go to the end of the input line | |
618 | 100 Ctrl-l:: Force a refresh |
101 Up/Down:: Move in the input line history | |
200 | 102 PgUp/PgDown:: Move inside the roster (buddylist) |
103 Tab:: Complete current word, in the input line | |
1083
07941d7feee9
Ctrl-d sends a multi-line message
Mikael Berthe <mikael@lilotux.net>
parents:
1062
diff
changeset
|
104 Ctrl-g:: Cancel completion |
07941d7feee9
Ctrl-d sends a multi-line message
Mikael Berthe <mikael@lilotux.net>
parents:
1062
diff
changeset
|
105 Ctrl-c:: Abort multi-line messages and completions |
07941d7feee9
Ctrl-d sends a multi-line message
Mikael Berthe <mikael@lilotux.net>
parents:
1062
diff
changeset
|
106 Ctrl-d:: Send/terminate a multi-line message |
200 | 107 Ctrl-p/Ctrl-n:: Scroll up/down half a screen in the buffer window (chat mode) |
775
b4befb3052e5
Update NEWS, ChangeLog and documentation
Mikael Berthe <mikael@lilotux.net>
parents:
710
diff
changeset
|
108 Ctrl-Left:: Move the cursor back to the start of the current or previous word |
b4befb3052e5
Update NEWS, ChangeLog and documentation
Mikael Berthe <mikael@lilotux.net>
parents:
710
diff
changeset
|
109 Ctrl-Right:: Move the cursor forward to the end of the current or next word |
200 | 110 Ctrl-u:: Delete from beginning of the line to the cursor |
111 Ctrl-k:: Delete from the cursor to the end of line | |
112 Ctrl-w:: Backward kill word | |
113 Ctrl-t:: Transpose chars | |
263 | 114 Ctrl-o:: Accept line and put the next history line in the input line (accept-line-and-down-history) |
198 | 115 |
1096 | 116 Additional key bindings may be specified using the '/bind' command described |
854 | 117 in the COMMANDS section. |
118 | |
2304
fa8365fb6ac2
[PATCH 1/3] New option: vi_mode
Holger Weiß <holger@zedat.fu-berlin.de>
parents:
2302
diff
changeset
|
119 VI MODE |
fa8365fb6ac2
[PATCH 1/3] New option: vi_mode
Holger Weiß <holger@zedat.fu-berlin.de>
parents:
2302
diff
changeset
|
120 ------- |
2314 | 121 If the "vi_mode" option is set to 1, `mcabber(1)` accepts a few commands |
2304
fa8365fb6ac2
[PATCH 1/3] New option: vi_mode
Holger Weiß <holger@zedat.fu-berlin.de>
parents:
2302
diff
changeset
|
122 loosely based on those available in `vi(1)`'s normal mode. In this case, chat |
fa8365fb6ac2
[PATCH 1/3] New option: vi_mode
Holger Weiß <holger@zedat.fu-berlin.de>
parents:
2302
diff
changeset
|
123 mode is not entered by pressing enter, and messages cannot be composed outside |
fa8365fb6ac2
[PATCH 1/3] New option: vi_mode
Holger Weiß <holger@zedat.fu-berlin.de>
parents:
2302
diff
changeset
|
124 of the chat mode. The following commands are accepted: |
fa8365fb6ac2
[PATCH 1/3] New option: vi_mode
Holger Weiß <holger@zedat.fu-berlin.de>
parents:
2302
diff
changeset
|
125 |
fa8365fb6ac2
[PATCH 1/3] New option: vi_mode
Holger Weiß <holger@zedat.fu-berlin.de>
parents:
2302
diff
changeset
|
126 A:: Call "/roster unread_first". |
fa8365fb6ac2
[PATCH 1/3] New option: vi_mode
Holger Weiß <holger@zedat.fu-berlin.de>
parents:
2302
diff
changeset
|
127 a:: Call "/roster unread_next". |
fa8365fb6ac2
[PATCH 1/3] New option: vi_mode
Holger Weiß <holger@zedat.fu-berlin.de>
parents:
2302
diff
changeset
|
128 F:: Call "/roster group_prev". |
fa8365fb6ac2
[PATCH 1/3] New option: vi_mode
Holger Weiß <holger@zedat.fu-berlin.de>
parents:
2302
diff
changeset
|
129 f:: Call "/roster group_next". |
fa8365fb6ac2
[PATCH 1/3] New option: vi_mode
Holger Weiß <holger@zedat.fu-berlin.de>
parents:
2302
diff
changeset
|
130 G:: Call "/roster bottom". |
fa8365fb6ac2
[PATCH 1/3] New option: vi_mode
Holger Weiß <holger@zedat.fu-berlin.de>
parents:
2302
diff
changeset
|
131 gg:: Call "/roster top". |
fa8365fb6ac2
[PATCH 1/3] New option: vi_mode
Holger Weiß <holger@zedat.fu-berlin.de>
parents:
2302
diff
changeset
|
132 i:: Enter chat mode. |
2314 | 133 [N]j:: Call "/roster down [N]". |
134 [N]k:: Call "/roster up [N]". | |
2304
fa8365fb6ac2
[PATCH 1/3] New option: vi_mode
Holger Weiß <holger@zedat.fu-berlin.de>
parents:
2302
diff
changeset
|
135 n:: Repeat the previous search (if any). |
fa8365fb6ac2
[PATCH 1/3] New option: vi_mode
Holger Weiß <holger@zedat.fu-berlin.de>
parents:
2302
diff
changeset
|
136 O:: Call "/roster unread_first" and open chat window. |
fa8365fb6ac2
[PATCH 1/3] New option: vi_mode
Holger Weiß <holger@zedat.fu-berlin.de>
parents:
2302
diff
changeset
|
137 o:: Call "/roster unread_next" and open chat window. |
fa8365fb6ac2
[PATCH 1/3] New option: vi_mode
Holger Weiß <holger@zedat.fu-berlin.de>
parents:
2302
diff
changeset
|
138 ZZ:: Call "/quit". |
fa8365fb6ac2
[PATCH 1/3] New option: vi_mode
Holger Weiß <holger@zedat.fu-berlin.de>
parents:
2302
diff
changeset
|
139 zM:: Call "/group fold" for all groups. |
fa8365fb6ac2
[PATCH 1/3] New option: vi_mode
Holger Weiß <holger@zedat.fu-berlin.de>
parents:
2302
diff
changeset
|
140 zR:: Call "/group unfold" for all groups. |
2314 | 141 '':: Call "/roster alternate". |
2304
fa8365fb6ac2
[PATCH 1/3] New option: vi_mode
Holger Weiß <holger@zedat.fu-berlin.de>
parents:
2302
diff
changeset
|
142 !:: Toggle attention flag for current buddy. |
fa8365fb6ac2
[PATCH 1/3] New option: vi_mode
Holger Weiß <holger@zedat.fu-berlin.de>
parents:
2302
diff
changeset
|
143 #:: Toggle unread messages flag for current buddy. |
fa8365fb6ac2
[PATCH 1/3] New option: vi_mode
Holger Weiß <holger@zedat.fu-berlin.de>
parents:
2302
diff
changeset
|
144 <Space>:: Call "/group toggle" for the current group. |
fa8365fb6ac2
[PATCH 1/3] New option: vi_mode
Holger Weiß <holger@zedat.fu-berlin.de>
parents:
2302
diff
changeset
|
145 |
fa8365fb6ac2
[PATCH 1/3] New option: vi_mode
Holger Weiß <holger@zedat.fu-berlin.de>
parents:
2302
diff
changeset
|
146 A leading slash enables search mode: |
fa8365fb6ac2
[PATCH 1/3] New option: vi_mode
Holger Weiß <holger@zedat.fu-berlin.de>
parents:
2302
diff
changeset
|
147 |
2314 | 148 /string:: Call "/roster search string". |
2304
fa8365fb6ac2
[PATCH 1/3] New option: vi_mode
Holger Weiß <holger@zedat.fu-berlin.de>
parents:
2302
diff
changeset
|
149 |
fa8365fb6ac2
[PATCH 1/3] New option: vi_mode
Holger Weiß <holger@zedat.fu-berlin.de>
parents:
2302
diff
changeset
|
150 A leading colon enabled command-line mode: |
fa8365fb6ac2
[PATCH 1/3] New option: vi_mode
Holger Weiß <holger@zedat.fu-berlin.de>
parents:
2302
diff
changeset
|
151 |
fa8365fb6ac2
[PATCH 1/3] New option: vi_mode
Holger Weiß <holger@zedat.fu-berlin.de>
parents:
2302
diff
changeset
|
152 :q:: Call "/quit". |
2314 | 153 :N:: Jump to line N in the roster. |
154 :CMD-LINE:: Call "/CMD-LINE" (unless the CMD-LINE matches one of the | |
2304
fa8365fb6ac2
[PATCH 1/3] New option: vi_mode
Holger Weiß <holger@zedat.fu-berlin.de>
parents:
2302
diff
changeset
|
155 above commands). |
fa8365fb6ac2
[PATCH 1/3] New option: vi_mode
Holger Weiß <holger@zedat.fu-berlin.de>
parents:
2302
diff
changeset
|
156 |
fa8365fb6ac2
[PATCH 1/3] New option: vi_mode
Holger Weiß <holger@zedat.fu-berlin.de>
parents:
2302
diff
changeset
|
157 Commands entered with a leading colon and searches are either submitted by |
fa8365fb6ac2
[PATCH 1/3] New option: vi_mode
Holger Weiß <holger@zedat.fu-berlin.de>
parents:
2302
diff
changeset
|
158 pressing enter or aborted by hitting escape. In either case, `mcabber(1)` |
fa8365fb6ac2
[PATCH 1/3] New option: vi_mode
Holger Weiß <holger@zedat.fu-berlin.de>
parents:
2302
diff
changeset
|
159 returns to the normal (non-chat) mode. History editing is supported in |
fa8365fb6ac2
[PATCH 1/3] New option: vi_mode
Holger Weiß <holger@zedat.fu-berlin.de>
parents:
2302
diff
changeset
|
160 command-line mode and in search mode. In command-line mode, tab completion is |
fa8365fb6ac2
[PATCH 1/3] New option: vi_mode
Holger Weiß <holger@zedat.fu-berlin.de>
parents:
2302
diff
changeset
|
161 supported as well. |
fa8365fb6ac2
[PATCH 1/3] New option: vi_mode
Holger Weiß <holger@zedat.fu-berlin.de>
parents:
2302
diff
changeset
|
162 |
854 | 163 MCABBER'S ROSTER |
164 ---------------- | |
1842 | 165 The first listed item on the roster is '[status]', which keeps a log of |
854 | 166 everything that appears in the short log window below the main chat area. |
167 While the log window was designed for showing the latest few elements, the | |
168 dedicated '[status]' buffer allows more comfortable viewing of the log, as | |
169 well as scrolling it in a standard manner. | |
170 | |
1842 | 171 Group names are displayed above the items that are within them, and are |
854 | 172 indicated by '---' to the left of the name. |
173 | |
1842 | 174 For every real Jabber contact, the roster displays four pieces of information: |
175 the buddy's name or alias, its online status, its authorization status, and | |
176 whether there are unread messages from the buddy waiting for you. | |
854 | 177 |
178 The online status is one of the following: | |
199 | 179 |
854 | 180 'o';; online |
181 'f';; free for chat | |
182 'a';; away | |
183 'n';; not available (labeled 'extended away' in some clients) | |
184 'd';; do not disturb | |
185 '_';; offline (or invisible to you) | |
1842 | 186 '?';; unknown, usually meaning you are not authorized to see this buddy's status |
854 | 187 'x';; a conference room in which you are not participating |
188 'C';; a conference room in which you are participating | |
199 | 189 |
1842 | 190 The authorization status indicates whether a buddy is authorized to receive |
854 | 191 your online status updates, and is displayed by the brackets surrounding the |
1842 | 192 buddy's online status. Square brackets, like '[o]', indicate that this |
193 buddy is authorized to receive your status. Curly braces, like '\{o\}', | |
854 | 194 indicate that they are not authorized to receive your status. |
195 | |
1842 | 196 When there are unread messages from a buddy which you have not looked at, |
854 | 197 a hash mark ('#') appears in the leftmost section of the roster for that |
1842 | 198 buddy. The hash mark disappears once you view that buddy's message |
199 buffer. | |
200 When the user attention is requested (or when you receive a message containing | |
201 your nickname in a MUC room), the hash mark is replaced with the 'attention | |
202 sign', an exclamation mark ('!'). | |
854 | 203 |
204 Examples: | |
205 | |
206 ' --- Buds';; This is a group named 'Buds' | |
207 '#[o] John';; John is online, can see your status, and sent you a message that you did not read yet | |
208 ' \{?\} Sally';; Neither you nor Sally have authorized each other to see your online status | |
209 ' \{a\} Jane';; Jane is away, but she cannot see your online status | |
1759 | 210 '#[C] \x@y.c';; You are participating in \x@y.c conference room, and there are unread messages |
854 | 211 |
1242 | 212 COMMANDS |
213 -------- | |
214 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. + | |
215 You will find an overview of the `mcabber` commands in this manual. | |
216 | |
854 | 217 COMMANDS RELATED TO MCABBER |
218 --------------------------- | |
1759 | 219 /add [jid [nickname]]:: |
220 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. | |
221 | |
222 ['jid' [nickname]];; Add to our roster "jid" as "nickname" | |
223 | |
224 Example: "/add somebody@jabber.server.com Somebody" | |
225 | |
870 | 226 /alias [name [= command line]]:: |
1759 | 227 This command let you to add aliases which can simplify sophisticated commands. + |
228 You can manage your aliases by: | |
229 | |
230 (without arguments);; Print list of currently defined aliases | |
231 'name';; Print the value of alias called "name" | |
232 'name'=;; Unset alias called "name" | |
233 'name' = command line;; Set alias called "name" with value "command line" | |
234 | |
235 Example: "/alias away = status away" | |
236 | |
237 /authorization allow|cancel|request|request_unsubscribe [jid]:: | |
238 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. + | |
239 If no JID is provided, the currently-selected buddy is used. | |
240 | |
241 'allow';; Allow the buddy to receive your presence updates | |
242 'cancel';; Cancel the buddy's subscription to your presence updates | |
243 'request';; Request a subscription to the buddy's presence updates | |
244 'request_unsubscribe';; Request unsubscription from the buddy's presence updates | |
289 | 245 |
870 | 246 /bind [keycode [= command line]]:: |
1759 | 247 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. |
286
a3d65d7f0bc3
Add /alias documentation
Mikael Berthe <mikael@lilotux.net>
parents:
277
diff
changeset
|
248 |
1759 | 249 (without arguments);; Display list of current bindings |
250 'keycode';; Display the command line bound to this key | |
251 'keycode'=;; Unbind key with code "keycode" | |
252 'keycode' = command line;; Bind "command line" to the key with code "keycode" | |
253 | |
254 Example: "/bind 265 = status away" (265 is F1). + | |
255 Note: keycodes can be different depending on your ncurses configuration. + | |
256 Tip: aliases also can be used instead of commands. | |
257 | |
258 /buffer clear|close|close_all|purge|list:: | |
1139 | 259 /buffer top|bottom|date|%|search_backward|search_forward:: |
876 | 260 /buffer scroll_lock|scroll_unlock|scroll_toggle:: |
1759 | 261 /buffer save filename:: |
1842 | 262 Buddy's buffer manipulation command. E.g. you can search through buffer for "text", clear chat window etc. |
199 | 263 |
1759 | 264 'clear';; Clear the current buddy chat window |
265 'close' [jid];; Empty all contents of the buffer and close the current buddy chat window | |
266 'close_all';; Empty all contents of the chat buffers and close the chat windows | |
267 'purge' [jid];; Clear the current buddy chat window and empty all contents of the chat buffer | |
268 'list';; Display the list of existing buffers, with their length (lines/blocks) | |
269 'top';; Jump to the top of the current buddy chat buffer | |
270 'bottom';; Jump to the bottom of the current buddy chat buffer | |
271 'up' [n];; Scroll the buffer up [n] lines (default: half a screen) | |
272 'down' [n];; Scroll the buffer down [n] lines (default: half a screen) | |
273 'date' [date];; Jump to the first line after the specified [date] in the chat buffer (date format: "YYYY-mm-dd") | |
274 % n;; Jump to position %n of the buddy chat buffer | |
275 'search_backward' text;; Search for [text] in the current buddy chat buffer | |
276 'search_forward' text;; Search for [text] in the current buddy chat buffer | |
277 'scroll_lock';; Lock buffer scrolling | |
278 'scroll_unlock';; Unlock buffer scrolling | |
279 'scroll_toggle';; Toggle buffer scrolling (lock/unlock) | |
280 'save' filename;; Save the contents of the current buffer to the file "filename" | |
281 | |
282 /chat_disable [--show-roster]:: | |
283 Disable chat mode. + | |
284 With --show-roster, the fullscreen mode will be disabled. | |
199 | 285 |
286 /clear:: | |
1759 | 287 This command is actually an alias for "/buffer clear". It clears the current buddy chat window. |
854 | 288 |
1759 | 289 /color roster (status wildcard (color|-)|clear):: |
290 /color mucnick nick (color|-):: | |
291 /color muc (jid|.|*) [on|preset|off|-]:: | |
292 The 'color' command allows setting dynamic color properties of the screen. | |
1242 | 293 |
1842 | 294 'roster' clear;; Remove all color rules for the roster. All roster items will get its default color. |
295 '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. | |
296 '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. | |
297 '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'. | |
854 | 298 |
298
35cda94e570d
Add /connect and /disconnect commands
Mikael Berthe <mikael@lilotux.net>
parents:
290
diff
changeset
|
299 /connect:: |
35cda94e570d
Add /connect and /disconnect commands
Mikael Berthe <mikael@lilotux.net>
parents:
290
diff
changeset
|
300 Establish connection to the Jabber server. |
35cda94e570d
Add /connect and /disconnect commands
Mikael Berthe <mikael@lilotux.net>
parents:
290
diff
changeset
|
301 |
1759 | 302 /del:: |
303 Delete the current buddy from our roster, unsubscribe from its presence notification and unsubscribe it from ours. | |
304 | |
298
35cda94e570d
Add /connect and /disconnect commands
Mikael Berthe <mikael@lilotux.net>
parents:
290
diff
changeset
|
305 /disconnect:: |
1759 | 306 Terminate the connection to the Jabber server. + |
307 Note: the roster is only available when the connection to the server is active, so the buddylist is empty when disconnected. | |
298
35cda94e570d
Add /connect and /disconnect commands
Mikael Berthe <mikael@lilotux.net>
parents:
290
diff
changeset
|
308 |
1759 | 309 /echo message:: |
310 Display "message" in the log window. | |
311 | |
312 /event #n|* accept|ignore|reject [event-specific arguments]:: | |
775
b4befb3052e5
Update NEWS, ChangeLog and documentation
Mikael Berthe <mikael@lilotux.net>
parents:
710
diff
changeset
|
313 /event list:: |
1759 | 314 Tell mcabber what to do about pending events. + |
315 If the first parameter is '*', the command will apply to all queued events. + | |
1842 | 316 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. |
1759 | 317 |
318 #N|* accept [event-specific arguments];; Event number #N/All events will be accepted | |
319 #N|* ignore [event-specific arguments];; Event number #N/All events will be ignored | |
320 #N|* reject [event-specific arguments];; Event number #N/All events will be rejected | |
321 'list';; List all pending events | |
775
b4befb3052e5
Update NEWS, ChangeLog and documentation
Mikael Berthe <mikael@lilotux.net>
parents:
710
diff
changeset
|
322 |
1759 | 323 /group fold|unfold|toggle [groupname]:: |
324 This command changes the current group display. | |
775
b4befb3052e5
Update NEWS, ChangeLog and documentation
Mikael Berthe <mikael@lilotux.net>
parents:
710
diff
changeset
|
325 |
1759 | 326 'fold' [groupname];; Fold (shrink) the current/specified group tree in the roster |
327 'unfold' [groupname];; Unfold (expand) the current/specified group tree in the roster | |
328 'toggle' [groupname];; Toggle the state (fold/unfold) of the current/specified tree | |
329 | |
330 /help [command|+topic]:: | |
331 Display help for command "command" or topic "topic". + | |
332 Example: "/help buffer" | |
854 | 333 |
1759 | 334 /iline fchar|bchar|char_fdel|char_bdel|char_swap:: |
335 /iline fword|bword|word_bdel|word_fdel:: | |
336 /iline word_upcase|word_downcase|word_capit:: | |
337 /iline hist_beginning_search_bwd|hist_beginning_search_fwd:: | |
338 /iline hist_prev|hist_next:: | |
339 /iline iline_start|iline_end|iline_fdel|iline_bdel:: | |
340 /iline iline_accept|iline_accept_down_hist:: | |
341 /iline compl_do|compl_cancel:: | |
342 /iline send_multiline:: | |
343 Input line commands | |
854 | 344 |
1759 | 345 'fchar';; Move to the next letter |
346 'bchar';; Move to the previous letter | |
347 'char_fdel';; Delete the letter at cursor position | |
348 'char_bdel';; Delete the letter before cursor position | |
349 'char_swap';; Transpose chars | |
350 'fword';; Move the cursor forward to the end of the current or next word | |
351 'bword';; Move the cursor back to the start of the current or previous word | |
352 'word_bdel';; Delete the word from cursor position to its start | |
353 'word_fdel';; Delete the word from cursor position to its end | |
354 'word_upcase';; Convert the word from cursor position to its end to upper case | |
355 'word_downcase';; Convert the word from cursor position to its end to down case | |
356 'word_capit';; Capitalize the word from cursor position to its end | |
357 '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) | |
358 '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) | |
359 'hist_prev';; Previous line of input line history | |
360 'hist_next';; Next line of input line history | |
361 'iline_start';; Go to the beginning of the input line | |
362 'iline_end';; Go to the end of the input line | |
363 'iline_fdel';; Delete from the cursor to the end of line | |
364 'iline_bdel';; Delete from beginning of the line to the cursor | |
365 'iline_accept';; Accept line | |
366 'iline_accept_down_hist';; Accept line and put the next history line in the input line | |
367 'compl_do';; Complete current word, in the input line | |
368 'compl_cancel';; Cancel completion | |
369 'send_multiline';; Send/terminate a multi-line message | |
199 | 370 |
371 /info:: | |
440
264f40222872
Update documentation (/info command)
Mikael Berthe <mikael@lilotux.net>
parents:
436
diff
changeset
|
372 Display info on the selected entry (user, agent, group...). + |
1759 | 373 For users, resources are displayed with the status, priority and status message (if available) of each resource. |
374 | |
375 /module load|unload [-f] module:: | |
376 /module info module:: | |
377 /module [list]:: | |
378 Load, unload or show info on module. | |
379 | |
1842 | 380 'load' [-f] module;; Loads specified module. If -f flag is specified, most of module loading errors will be ignored. |
381 'unload' [-f] module;; Unloads specified module. Note: The force flag will not remove any dependency on this module! | |
1759 | 382 'info' module;; Shows available information about this module. |
383 ['list'];; Lists modules in a format: [modulename] [reference count] ([Manually/Automatically loaded]) [any extra info, like version or dependencies] | |
199 | 384 |
210 | 385 /move [groupname]:: |
1759 | 386 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. + |
387 Tip: if the chatmode is enabled, you can use "/roster alternate" to jump to the moved buddy. | |
210 | 388 |
839 | 389 /msay begin|verbatim|send|send_to|toggle|toggle_verbatim|abort:: |
1759 | 390 Send a multi-line message. To write a single message with several lines, the 'multi-line mode' should be used. + |
391 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. + | |
392 The 'begin' subcommand enables multi-line mode. Note that it allows a message subject to be specified. + | |
393 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. + | |
394 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). | |
395 | |
396 'begin' [subject];; Enter multi-line mode | |
397 'verbatim';; Enter verbatim multi-line mode | |
398 'send' [-n|-h];; Send the current multi-line message to the currently selected buddy | |
399 'send_to' [-n|-h] jid;; Send the current multi-line message to "jid" | |
400 'toggle'|'toggle_verbatim';; Switch to/from multi-line mode (begin/send) | |
401 'abort';; Leave multi-line mode without sending the message | |
402 | |
403 The -n or -h flags turn the message to "normal" or "headline" accordingly, as opposed to default "chat" message. | |
238 | 404 |
1759 | 405 /otr key:: |
406 /otr start|stop|info [jid]:: | |
407 /otr fingerprint [jid [fpr]]:: | |
408 /otr smpq|smpr [jid] secret:: | |
409 /otr smpa [jid]:: | |
410 You can use the shortcut-jid "." for the currently selected contact. | |
411 | |
412 'key';; Print the fingerprint of your private key to the Status Buffer | |
413 'start' [jid];; Open an OTR channel to the specified jid (or the currently selected contact) | |
414 'stop' [jid];; Close the OTR channel to the specified jid (or the currently selected contact) | |
415 'info' [jid];; Show current OTR status for the specified jid (or the currently selected contact) | |
1842 | 416 '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. |
1759 | 417 'smpq' [jid] secret;; Initiate the Socialist Millionaires Protocol with the secret and the buddy |
418 'smpr' [jid] secret;; Respond to the Initiation of the jid with the secret | |
419 'smpa' [jid];; Abort the running Socialist Millionaires Protocol | |
420 | |
421 /otrpolicy:: | |
422 /otrpolicy (default|jid) (plain|manual|opportunistic|always):: | |
423 You can use the shortcut-jid "." for the currently selected contact. | |
424 | |
425 (without arguments);; Prints all OTR policies to the status buffer | |
1842 | 426 ('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. |
238 | 427 |
1242 | 428 /pgp disable|enable|force|info [jid]:: |
1096 | 429 /pgp setkey [jid [key]]:: |
1759 | 430 This command manipulates PGP settings for the specified jid (by default the currently selected contact). + |
431 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. | |
432 | |
433 'disable' [jid];; Disable PGP encryption for jid (or the currently selected contact) | |
434 'enable' [jid];; Enable PGP encryption for jid (or the currently selected contact) | |
435 [+|-]'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. | |
436 'info' [jid];; Show current PGP settings for the contact | |
437 '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. | |
1096 | 438 |
1759 | 439 /quit:: |
440 This command closes all connections and quit mcabber. | |
441 | |
442 /rawxml send string:: | |
443 Send "string" (raw XML format) to the Jabber server. + | |
444 No check is done on the string provided. + | |
445 BEWARE! | |
446 Use this only if you know what you are doing, or you could terminate the connection. + | |
447 Example: "/rawxml send <presence><show>away</show></presence>" | |
1096 | 448 |
886 | 449 /rename name:: |
1759 | 450 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). |
451 | |
452 /request last|ping|time|vcard|version [jid]:: | |
453 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. | |
450 | 454 |
1759 | 455 'last';; Request "last" information (usually idle time) |
456 '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. | |
457 'time';; Request time from the buddy | |
458 'vcard';; Request VCard from the buddy | |
459 'version';; Request version from the buddy | |
700 | 460 |
1759 | 461 /room join|leave|names|nick|remove|topic|unlock|destroy:: |
462 /room privmsg|invite|whois|kick|ban|unban|role|affil:: | |
463 /room setopt print_status|auto_whois [value]:: | |
464 /room bookmark [add|del] [-autojoin|+autojoin] [-|nick]:: | |
450 | 465 The 'room' command handles Multi-User Chat room actions. |
466 | |
1759 | 467 '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. |
468 'leave' [message];; Leave the current room | |
469 'names' [--detail|--short|--quiet|--compact];; Display members of the current room | |
470 'nick' newnick;; Change your nickname in the current room | |
471 'privmsg' nick msg;; Send private message "msg" to "nick" | |
472 'remove';; Remove the current room from the roster (you must have left this room before) | |
473 'topic' -|newtopic;; Set topic for current room | |
474 'unlock';; Unlock current room (if you are the owner) | |
475 'destroy' [reason];; Destroy the current room (use with care!) | |
476 'whois' nick;; Display MUC information about "nick" | |
477 'ban' jid [reason];; Ban jid from the current room | |
478 'unban' jid;; Unban jid from the current room | |
479 'invite' jid [reason];; Invite jid to the current room | |
480 'kick' nick [reason];; Kick "nick" from the current room | |
2271
8e4e91c5cf6b
Update manpage wrt latest change
Mikael Berthe <mikael@lilotux.net>
parents:
2257
diff
changeset
|
481 'role' nick role [reason];; Change nick's role (role can be "none", "visitor", "participant", "moderator") |
1759 | 482 'affil' jid affil [reason];; Change jid's affiliation (affil can be "none", "member", "admin", "owner") |
483 '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. | |
484 '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. | |
199 | 485 |
1086
5e2e647e781b
Add command /roster group_prev|group_next and update documentation
Mikael Berthe <mikael@lilotux.net>
parents:
1083
diff
changeset
|
486 /roster bottom|top|up|down|group_prev|group_next:: |
330 | 487 /roster alternate|unread_first|unread_next:: |
265 | 488 /roster search bud:: |
1759 | 489 /roster display|hide_offline|show_offline|toggle_offline:: |
490 /roster item_lock|item_unlock|item_toggle_lock:: | |
1086
5e2e647e781b
Add command /roster group_prev|group_next and update documentation
Mikael Berthe <mikael@lilotux.net>
parents:
1083
diff
changeset
|
491 /roster hide|show|toggle:: |
1062 | 492 /roster note [-|text]:: |
1759 | 493 The 'roster' command manipulates the roster/buddylist. + |
494 Here are the available parameters: | |
199 | 495 |
1759 | 496 'bottom';; Jump to the bottom of the roster |
497 'top';; Jump to the top of the roster | |
498 'up' [n];; Move up [n lines] in the roster | |
499 'down' [n];; Move down [n lines] in the roster | |
500 'group_prev';; Jump to the previous group in the roster | |
501 'group_next';; Jump to the next group in the roster | |
502 '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). | |
503 'unread_first';; Jump to the first unread message | |
504 'unread_next';; Jump to the next unread message | |
505 'search' bud;; Search for a buddy with a name or jid containing "bud" (only in the displayed buddylist) | |
506 '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. | |
507 'hide_offline';; Hide offline buddies (same as /roster display ofdna) | |
508 'show_offline';; Show offline buddies (same as /roster display ofdna_) | |
509 'toggle_offline';; Toggle display of offline buddies | |
510 'item_lock' [jid];; Lock the roster item so it remains visible regardless of its status | |
511 'item_unlock' [jid];; Undo the effects of item_lock | |
512 'item_toggle_lock' [jid];; Invert the current lock flag | |
513 'hide';; Hide roster (full-width chat window) | |
514 'show';; Show roster | |
515 'toggle';; Toggle roster visibility | |
516 '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. | |
199 | 517 |
1759 | 518 /say [-n|-h|--] text:: |
519 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. + | |
1842 | 520 The "-n" flag turns the message to "normal" type, "-h" to "headline". "--" can be used to send chat message beginning with -n or -h. |
1759 | 521 |
522 /say_to [-n|-h] [-q] [-f file] jid text:: | |
523 Send the "text" message to the specified jid. + | |
524 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. + | |
1924
57c352ed37f9
Update help/documentation
Mikael Berthe <mikael@lilotux.net>
parents:
1891
diff
changeset
|
525 You can send a message to a specific resource of the currently selected contact by using /say_to ./resourcename message. + |
1759 | 526 The "-n" flag turns the message to "normal" type, "-h" to "headline". "--" can be used to send chat messages beginning with -n or -h. + |
527 When "-q" is used, the message will be sent in the background and will not change the current active window. + | |
528 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). | |
199 | 529 |
1759 | 530 /screen_refresh:: |
531 Refresh the mcabber screen. | |
532 | |
1842 | 533 /set [option [= value]]:: |
534 Display or set an option value. + | |
535 Without arguments prints a list of all set options with their values | |
480 | 536 |
1759 | 537 /source pattern:: |
538 Read configuration files, that match glob pattern (sorted in alphabetical order). | |
539 | |
1973 | 540 /status [online|avail|free|dnd|notavail|away [-|statusmessage]]:: |
1759 | 541 /status message -|statusmessage:: |
522 | 542 Show or set the current status. + |
543 If no status is specified, display the current status. + | |
1759 | 544 If a status message is specified, it will overrride the message* variables (these variables can be set in the configuration file). + |
545 If no relevant message* variable is set and no status message provided, the current status message is kept. + | |
546 If StatusMessage is "-", the current status message is cleared. + | |
547 With the "/status message" command, mcabber will update the message while preserving the status. | |
199 | 548 |
1973 | 549 /status_to jid online|avail|free|dnd|notavail|away [statusmessage]:: |
1759 | 550 /status_to jid message statusmessage:: |
450 | 551 Send the requested status to the specified Jabber user. + |
660 | 552 If the specified jid is ".", the current buddy is used. + |
1759 | 553 Note: this status will be overridden by subsequent "/status" commands. If you are using the auto-away feature, the status will overridden too. + |
554 Note: The jid can include a resource (i.e. \user@server/resource). | |
555 | |
556 /version:: | |
557 Display current version of mcabber. | |
450 | 558 |
199 | 559 CONFIGURATION FILE |
560 ------------------ | |
854 | 561 See the provided sample configuration file, which should be self-documenting. |
198 | 562 |
200 | 563 FILES |
564 ----- | |
202 | 565 The following files can be used by `mcabber(1)`: |
200 | 566 |
567 $HOME/.mcabber/mcabberrc Default configuration file | |
2314 | 568 $HOME/.config/mcabber/mcabberrc Alternate location (can use XDG_CONFIG_HOME) |
200 | 569 $HOME/.mcabberrc Configuration file used if no other has been found |
570 $HOME/.mcabber/histo/ Default directory for storing chat history files, if enabled | |
1759 | 571 /usr/share/mcabber/help/ Default directory for online help files |
572 /usr/lib/mcabber/ Default directory for modules | |
200 | 573 |
198 | 574 BUGS |
575 ---- | |
1759 | 576 Certainly. Please tell me if you find one! :-) + |
577 Please visit our website to find out about the MUC room and the bug tracker. | |
198 | 578 |
579 AUTHOR | |
580 ------ | |
1759 | 581 Written by mailto:mikael@lilotux.net[Mikael BERTHE] and others |
582 (see AUTHORS file). + | |
198 | 583 |
584 RESOURCES | |
585 --------- | |
1842 | 586 http://mcabber.com/[Main web site] + |
587 http://wiki.mcabber.com/[Official wiki] + | |
588 xmpp:mcabber@conf.lilotux.net[MCabber MUC room] | |
198 | 589 |
590 COPYING | |
591 ------- | |
2302 | 592 Copyright \(C) 2005-2017 Mikael Berthe and others. + |
198 | 593 |
594 Free use of this software is granted under the terms of the GNU General Public | |
595 License (GPL). |