Mercurial > hg
annotate mcabber/doc/mcabber.1 @ 480:882e1acae422
Add /say_to command
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Tue, 04 Oct 2005 19:47:50 +0200 |
parents | fa49ac0bb8f3 |
children | b03def7beb78 |
rev | line source |
---|---|
226 | 1 .\"Generated by db2man.xsl. Don't modify this, modify the source. |
2 .de Sh \" Subsection | |
3 .br | |
4 .if t .Sp | |
5 .ne 5 | |
6 .PP | |
7 \fB\\$1\fR | |
8 .PP | |
9 .. | |
10 .de Sp \" Vertical space (when we can't use .PP) | |
11 .if t .sp .5v | |
12 .if n .sp | |
13 .. | |
14 .de Ip \" List item | |
15 .br | |
16 .ie \\n(.$>=3 .ne \\$3 | |
17 .el .ne 3 | |
18 .IP "\\$1" \\$2 | |
19 .. | |
20 .TH "MCABBER" 1 "" "" "" | |
21 .SH NAME | |
22 mcabber \- a simple Jabber console client | |
23 .SH "SYNOPSIS" | |
24 | |
25 | |
26 mcabber [ \-f configfile ] [ --help | \-h ] | |
27 | |
28 .SH "DESCRIPTION" | |
29 | |
30 | |
227 | 31 mcabber(1) is a small Jabber console client\&. For now it needs a configuration file to start, so please copy the sample mcabberrc file and adapt your connection settings\&. |
226 | 32 |
33 | |
360
20283b69db99
Doc: Say a Jabber account should already exist for using mcabber
Mikael Berthe <mikael@lilotux.net>
parents:
330
diff
changeset
|
34 You also need to have an existing Jabber account to use this software, as it cannot (un)register accounts yet\&. |
20283b69db99
Doc: Say a Jabber account should already exist for using mcabber
Mikael Berthe <mikael@lilotux.net>
parents:
330
diff
changeset
|
35 |
20283b69db99
Doc: Say a Jabber account should already exist for using mcabber
Mikael Berthe <mikael@lilotux.net>
parents:
330
diff
changeset
|
36 |
227 | 37 The mcabber(1) screen is divided into 4 regions\&. The \fIroster\fR, alias \fIbuddylist\fR, is on the left\&. The \fIchat window\fR, or chat buffer, is on the right\&. The \fIinput line\fR lies at the bottom of the screen, under a small \fIlog window\fR\&. |
226 | 38 |
39 | |
229 | 40 To display buddies chat buffers, you will have to enter \fIchat mode\fR\&. You can enter chat mode by pressing enter, and leave chat mode with the ESC key\&. Simply sending a message will also enable chat mode\&. |
226 | 41 |
42 | |
43 Here are some of the features of mcabber: | |
44 | |
45 .TP 3 | |
46 \(bu | |
47 SSL support\&. | |
48 .TP | |
49 \(bu | |
467 | 50 MUC support (Multi\-User Chat)\&. |
51 .TP | |
52 \(bu | |
432 | 53 History logging: If enabled (see the CONFIGURATION FILE section), mcabber can save discussions to history log files\&. |
226 | 54 .TP |
55 \(bu | |
432 | 56 Commands completion: If possible, mcabber will try to complete your command line if you hit the Tab key\&. |
226 | 57 .TP |
58 \(bu | |
432 | 59 External actions: Some events (like receiving a message) can trigger an external action, for example a shell script (you need to enable it in your configuration file)\&. A sample events script ("eventcmd") is provided with mcabber source code, in the contrib directory\&. |
226 | 60 .LP |
61 | |
62 .SH "OPTIONS" | |
63 | |
64 .TP | |
298
35cda94e570d
Add /connect and /disconnect commands
Mikael Berthe <mikael@lilotux.net>
parents:
290
diff
changeset
|
65 \-\-help, \-h |
226 | 66 Quick help usage message |
67 | |
68 .TP | |
69 \-f configfile | |
70 Use configuration file configfile | |
71 | |
72 .SH "KEYS" | |
73 | |
74 | |
229 | 75 Text typing occurs in the \fIinput line\fR; basic operations are supported (left arrow, right arrow, home/end keys, insert, delete, backspace...)\&. |
226 | 76 |
77 | |
78 PageUp and PageDown keys are used to move in the roster\&. | |
79 | |
80 | |
81 To send a message, move to the choosen buddy in the buddylist, type your message and hit enter\&. If the line begins with a slash, this will be interpreted as a command (see the COMMAND section below)\&. Hit escape to leave the chat mode\&. | |
82 | |
83 Here is a quick description of the key bindings: | |
84 | |
229 | 85 Ctrl\-a Go to the beginning of the input line |
226 | 86 |
229 | 87 Ctrl\-e Go to the end of the input line |
226 | 88 |
229 | 89 Ctrl\-l Force a resize |
226 | 90 |
229 | 91 PgUp/PgDown Move inside the roster (buddylist) |
226 | 92 |
229 | 93 Tab Complete current word, in the input line |
226 | 94 |
229 | 95 Ctrl\-g Cancel completion / ctrl\-g |
226 | 96 |
229 | 97 Ctrl\-p/Ctrl\-n Scroll up/down half a screen in the buffer window (chat mode) |
226 | 98 |
229 | 99 Ctrl\-u Delete from beginning of the line to the cursor |
226 | 100 |
229 | 101 Ctrl\-k Delete from the cursor to the end of line |
226 | 102 |
229 | 103 Ctrl\-w Backward kill word |
226 | 104 |
229 | 105 Ctrl\-t Transpose chars |
226 | 106 |
263 | 107 Ctrl\-o Accept line and put the next history line in the input line (accept\-line\-and\-down\-history) |
108 | |
236 | 109 Ctrl\-q Jump to the next unread message |
226 | 110 |
111 | |
112 .SH "COMMANDS" | |
113 | |
114 .TP | |
245 | 115 \fB/add\fR jid [nickname] |
116 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\&. | |
226 | 117 |
118 .TP | |
286
a3d65d7f0bc3
Add /alias documentation
Mikael Berthe <mikael@lilotux.net>
parents:
277
diff
changeset
|
119 \fB/alias\fR name = command line |
450 | 120 Add "name" as an alias for "command line"\&. |
121 | |
122 Aliases are expanded only once, thus they can not be chained\&. "/alias name" displays the value associated with the "name" alias; "/alias name =" unsets the "name" alias\&. | |
123 | |
124 Example: "/alias away = status away"\&. | |
289 | 125 |
126 .TP | |
127 \fB/bind\fR keycode = command line | |
450 | 128 Bind a command line to the key with the "keycode" code number\&. |
129 | |
130 Keycodes of unused keys are displayed by mcabber in the log window when pressing the key, for example "Unknown key=265"\&. "/bind keycode" displays the command line bound to the given keycode; "/bind keycode" unbinds the given keycode\&. | |
131 | |
132 Note: aliases can be used in key bindings\&. | |
133 | |
134 Example: "/bind 265 = status online" (265 is F1 for me, but it may depend on your ncurses installation)\&. | |
286
a3d65d7f0bc3
Add /alias documentation
Mikael Berthe <mikael@lilotux.net>
parents:
277
diff
changeset
|
135 |
a3d65d7f0bc3
Add /alias documentation
Mikael Berthe <mikael@lilotux.net>
parents:
277
diff
changeset
|
136 .TP |
372
db004de6440c
Add documentation for /buffer search_*
Mikael Berthe <mikael@lilotux.net>
parents:
364
diff
changeset
|
137 \fB/buffer\fR clear|top|bottom|search_backward|search_forward |
226 | 138 The buffer command manipulates the current buddy's buffer (chat window)\&. |
139 | |
465
52171a3dc199
Update manual page (/buffer command)
Mikael Berthe <mikael@lilotux.net>
parents:
450
diff
changeset
|
140 \fBclear\fR clear the current buddy chat window |
52171a3dc199
Update manual page (/buffer command)
Mikael Berthe <mikael@lilotux.net>
parents:
450
diff
changeset
|
141 \fBtop\fR jump to the top of the current buddy chat buffer |
52171a3dc199
Update manual page (/buffer command)
Mikael Berthe <mikael@lilotux.net>
parents:
450
diff
changeset
|
142 \fBbottom\fR jump to the bottom of the current buddy chat buffer |
372
db004de6440c
Add documentation for /buffer search_*
Mikael Berthe <mikael@lilotux.net>
parents:
364
diff
changeset
|
143 \fBsearch_backward\fR text search for text in the current buddy chat buffer |
db004de6440c
Add documentation for /buffer search_*
Mikael Berthe <mikael@lilotux.net>
parents:
364
diff
changeset
|
144 \fBsearch_forward\fR text search for text in the current buddy chat buffer |
465
52171a3dc199
Update manual page (/buffer command)
Mikael Berthe <mikael@lilotux.net>
parents:
450
diff
changeset
|
145 \fBdate\fR 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) |
52171a3dc199
Update manual page (/buffer command)
Mikael Berthe <mikael@lilotux.net>
parents:
450
diff
changeset
|
146 \fB%\fR n jump to position %n of the buddy chat buffer |
226 | 147 |
148 .TP | |
229 | 149 \fB/clear\fR |
227 | 150 The clear command is actually an alias for "/buffer clear"\&. |
151 | |
152 .TP | |
298
35cda94e570d
Add /connect and /disconnect commands
Mikael Berthe <mikael@lilotux.net>
parents:
290
diff
changeset
|
153 \fB/connect\fR |
35cda94e570d
Add /connect and /disconnect commands
Mikael Berthe <mikael@lilotux.net>
parents:
290
diff
changeset
|
154 Establish connection to the Jabber server\&. |
35cda94e570d
Add /connect and /disconnect commands
Mikael Berthe <mikael@lilotux.net>
parents:
290
diff
changeset
|
155 |
35cda94e570d
Add /connect and /disconnect commands
Mikael Berthe <mikael@lilotux.net>
parents:
290
diff
changeset
|
156 .TP |
229 | 157 \fB/del\fR |
227 | 158 Delete the current buddy from our roster, unsubscribe from its presence notification and unsubscribe it from ours\&. |
226 | 159 |
160 .TP | |
298
35cda94e570d
Add /connect and /disconnect commands
Mikael Berthe <mikael@lilotux.net>
parents:
290
diff
changeset
|
161 \fB/disconnect\fR |
35cda94e570d
Add /connect and /disconnect commands
Mikael Berthe <mikael@lilotux.net>
parents:
290
diff
changeset
|
162 Terminate connection to the Jabber server\&. Note: the roster is only available when the connection to the server is active, so the buddylist is empty when disconnected\&. |
35cda94e570d
Add /connect and /disconnect commands
Mikael Berthe <mikael@lilotux.net>
parents:
290
diff
changeset
|
163 |
35cda94e570d
Add /connect and /disconnect commands
Mikael Berthe <mikael@lilotux.net>
parents:
290
diff
changeset
|
164 .TP |
240 | 165 \fB/group\fR fold|unfold|toggle |
166 The group command changes the current group display\&. | |
226 | 167 |
265 | 168 \fBfold\fR fold (shrink) the current group tree in the roster |
169 \fBunfold\fR unfold (expand) the current group tree in the roster | |
170 \fBtoggle\fR toggle the state (fold/unfold) of the current tree | |
226 | 171 |
172 .TP | |
229 | 173 \fB/info\fR |
440
264f40222872
Update documentation (/info command)
Mikael Berthe <mikael@lilotux.net>
parents:
436
diff
changeset
|
174 Display info on the selected entry (user, agent, group...)\&. For users, resources are displayed with the status, priority and status message (if available) of each resource\&. |
227 | 175 |
176 .TP | |
229 | 177 \fB/move\fR [groupname] |
178 Move the current buddy to the requested group\&. If no group is specified, then the buddy is moved to the default group\&. This command only works with users (not agents), at the moment\&. | |
226 | 179 |
180 .TP | |
260
33e1a05864a6
Add "verbatim multi-line" mode, with commands disabled
mikael@frmp8452
parents:
245
diff
changeset
|
181 \fB/msay\fR begin|verbatim|send|abort |
450 | 182 Send a multi\-line message\&. To write a single message with several lines, the \fImulti\-line mode\fR should be used\&. |
183 | |
184 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\&. | |
185 | |
186 The \fIverbatim\fR 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\&. | |
238 | 187 |
265 | 188 \fBbegin\fR enter multi\-line mode |
189 \fBverbatim\fR enter verbatim multi\-line mode | |
190 \fBsend\fR send the current multi\-line message to the currently selected buddy | |
191 \fBabort\fR leave multi\-line mode without sending the message | |
226 | 192 |
193 .TP | |
436 | 194 \fB/rawxml\fR send |
195 \fBsend\fR 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\&. | |
196 | |
197 .TP | |
229 | 198 \fB/rename\fR nickname |
450 | 199 Rename current buddy to the given nickname\&. This command does not work for groups, at the moment (but you can move the buddies to another group with the "/move" command)\&. |
200 | |
201 | |
202 .TP | |
475
fa49ac0bb8f3
Add "/room topic", and display topic changes
Mikael Berthe <mikael@lilotux.net>
parents:
470
diff
changeset
|
203 \fB/room\fR join|leave|names|remove|topic|unlock |
450 | 204 The room command handles Multi\-User Chat room actions\&. |
205 | |
206 \fBjoin\fR room nick join "room", using "nick" as nickname | |
207 \fBleave\fR leave the current room | |
208 \fBnames\fR display members of the current room | |
470 | 209 \fBnick\fR nick change your nickname in the current room |
467 | 210 \fBremove\fR remove the current room from the roster (you must have left this room before) |
475
fa49ac0bb8f3
Add "/room topic", and display topic changes
Mikael Berthe <mikael@lilotux.net>
parents:
470
diff
changeset
|
211 \fBtopic\fR set topic for current room |
467 | 212 \fBunlock\fR unlock current room (if you are the owner) |
226 | 213 |
214 .TP | |
265 | 215 \fB/roster\fR |
216 The roster command manipulates the roster/buddylist\&. Here are the available parameters: | |
229 | 217 |
265 | 218 \fBbottom\fR jump to the bottom of the roster |
219 \fBtop\fR jump to the top of the roster | |
377
00809e3e327e
Add "/roster up" and "/roster down"
Mikael Berthe <mikael@lilotux.net>
parents:
372
diff
changeset
|
220 \fBup\fR move up in the roster |
00809e3e327e
Add "/roster up" and "/roster down"
Mikael Berthe <mikael@lilotux.net>
parents:
372
diff
changeset
|
221 \fBdown\fR move down in the roster |
265 | 222 \fBhide_offline\fR hide offline buddies |
223 \fBshow_offline\fR show offline buddies | |
290
f63839a4cb35
Add /roster toggle_offline
Mikael Berthe <mikael@lilotux.net>
parents:
289
diff
changeset
|
224 \fBtoggle_offline\fR toggle display of offline buddies |
265 | 225 \fBsearch\fR bud search for a buddy with a name or buddy containing "bud" (only in the displayed buddylist) |
330 | 226 \fBalternate\fR 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") |
265 | 227 \fBunread_first\fR jump to the first unread message |
228 \fBunread_next\fR jump to the next unread message | |
229 | 229 |
230 .TP | |
231 \fB/say\fR text | |
226 | 232 Send the text message to the currently selected buddy\&. Can be useful if you want to send a message beginning with a slash, for example\&. |
233 | |
234 .TP | |
480 | 235 \fB/say_to\fR jid text |
236 Send the text message to the specified jid\&. 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 ressource you will have to use "/say_to" for each message\&. | |
237 | |
238 .TP | |
320
dce1dd4d0ca8
Update documentation for "/status status message"
Mikael Berthe <mikael@lilotux.net>
parents:
300
diff
changeset
|
239 \fB/status\fR [online|avail|invisible|free|dnd|notavail|away [StatusMessage]] |
dce1dd4d0ca8
Update documentation for "/status status message"
Mikael Berthe <mikael@lilotux.net>
parents:
300
diff
changeset
|
240 Set the current status\&. If no status is specified, display the current status\&. If a status message is specified, it will overrride the message* variables\&. |
226 | 241 |
450 | 242 .TP |
243 \fB/status_to\fR jid online|avail|invisible|free|dnd|notavail|away [StatusMessage] | |
244 Send the requested status to the specified Jabber user\&. | |
245 | |
246 Note: this status will be overridden by subsequent "/status" commands\&. If you are using the auto\-away feature, the status will overridden too\&. | |
247 | |
248 Note: The jid can include a resource (i\&.e\&. user@server/resource)\&. | |
249 | |
226 | 250 .SH "CONFIGURATION FILE" |
251 | |
252 | |
253 See the provided sample configuration file, which should be self\-documented\&. | |
254 | |
255 .SH "FILES" | |
256 | |
257 | |
258 The following files can be used by mcabber(1): | |
259 | |
260 .nf | |
261 | |
262 $HOME/\&.mcabber/mcabberrc Default configuration file | |
263 $HOME/\&.mcabberrc Configuration file used if no other has been found | |
264 $HOME/\&.mcabber/histo/ Default directory for storing chat history files, if enabled | |
265 | |
266 .fi | |
267 | |
268 .SH "BUGS" | |
269 | |
270 | |
360
20283b69db99
Doc: Say a Jabber account should already exist for using mcabber
Mikael Berthe <mikael@lilotux.net>
parents:
330
diff
changeset
|
271 Certainly\&. Please tell me if you find one! :\-) |
226 | 272 |
273 .SH "AUTHOR" | |
274 | |
275 | |
229 | 276 Written by Mikael BERTHE <\fImcabber@lilotux.net\fR>\&. |
277 Originally based on cabber (Cabber homepage: <\fIhttp://cabber.sourceforge.net\fR>), please consult the AUTHORS file for details\&. | |
226 | 278 |
279 .SH "RESOURCES" | |
280 | |
281 | |
229 | 282 Main web site: <\fIhttp://www.lilotux.net/~mikael/mcabber/\fR> |
226 | 283 |
284 .SH "COPYING" | |
285 | |
286 | |
229 | 287 Copyright (C) 2005 Mikael Berthe\&. |
288 | |
289 Some portions are Copyright (C) 2002\-2004 <cabber@ajmacias\&.com>\&. | |
226 | 290 |
291 | |
292 Free use of this software is granted under the terms of the GNU General Public License (GPL)\&. | |
293 |