56 command line if you hit the Tab key. |
56 command line if you hit the Tab key. |
57 </p> |
57 </p> |
58 </li> |
58 </li> |
59 <li> |
59 <li> |
60 <p> |
60 <p> |
|
61 <b>Input line history:</b> Any message or command entered is in the input line |
|
62 history and can be reused easily. |
|
63 </p> |
|
64 </li> |
|
65 <li> |
|
66 <p> |
61 <b>External actions:</b> Some events (like receiving a message) can trigger an |
67 <b>External actions:</b> Some events (like receiving a message) can trigger an |
62 external action, for example a shell script (you need to enable it in your |
68 external action, for example a shell script (you need to enable it in your |
63 configuration file). A sample events script ("eventcmd") is provided with |
69 configuration file). A sample events script ("eventcmd") is provided with |
64 <tt>mcabber</tt> source code, in the contrib directory. |
70 <tt>mcabber</tt> source code, in the contrib directory. |
65 </p> |
71 </p> |
82 </dl> |
88 </dl> |
83 <h2>KEYS</h2> |
89 <h2>KEYS</h2> |
84 <p>Text typing occurs in the <b>input line</b>; basic operations are supported |
90 <p>Text typing occurs in the <b>input line</b>; basic operations are supported |
85 (left arrow, right arrow, home/end keys, insert, delete, backspace…).</p> |
91 (left arrow, right arrow, home/end keys, insert, delete, backspace…).</p> |
86 <p>PageUp and PageDown keys are used to move in the roster.</p> |
92 <p>PageUp and PageDown keys are used to move in the roster.</p> |
|
93 <p>Up and Down arrow keys can be used to move in the input line history; they |
|
94 jump to the previous/next line from the history beginning with the same string |
|
95 (from first column to the cursor column).</p> |
87 <p>To send a message, move to the choosen buddy in the buddylist, type your |
96 <p>To send a message, move to the choosen buddy in the buddylist, type your |
88 message and hit enter. If the line begins with a slash, this will be |
97 message and hit enter. If the line begins with a slash, this will be |
89 interpreted as a command (see the COMMAND section below). Hit escape to |
98 interpreted as a command (see the COMMAND section below). Hit escape to |
90 leave the chat mode.</p> |
99 leave the chat mode.</p> |
91 <p>Here is a quick description of the key bindings:</p> |
100 <p>Here is a quick description of the key bindings:</p> |
212 Add "name" as an alias for "command line".<br /> |
229 Add "name" as an alias for "command line".<br /> |
213 Aliases are expanded only once, thus they can not be chained.<br /> |
230 Aliases are expanded only once, thus they can not be chained.<br /> |
214 "/alias name" displays the value associated with the "name" alias; |
231 "/alias name" displays the value associated with the "name" alias; |
215 "/alias name =" unsets the "name" alias.<br /> |
232 "/alias name =" unsets the "name" alias.<br /> |
216 Example: "/alias away = status away". |
233 Example: "/alias away = status away". |
|
234 </dd> |
|
235 <dt><b> |
|
236 /authorization allow|cancel|request [jid] |
|
237 </b></dt> |
|
238 <dd> |
|
239 Manage the presence subscriptions.<br /> |
|
240 If no jid is provided, the current buddy is used. |
|
241 <table class="hlist"> |
|
242 <tr valign="top"> |
|
243 <td> |
|
244 <b>allow</b> |
|
245 </td> |
|
246 <td> |
|
247 allow the buddy to receive your presence updates |
|
248 </td> |
|
249 </tr> |
|
250 <tr valign="top"> |
|
251 <td> |
|
252 <b>cancel</b> |
|
253 </td> |
|
254 <td> |
|
255 cancel the buddy' subscription to your presence updates |
|
256 </td> |
|
257 </tr> |
|
258 <tr valign="top"> |
|
259 <td> |
|
260 <b>request</b> |
|
261 </td> |
|
262 <td> |
|
263 request a subscription to the buddy's presence updates |
|
264 </td> |
|
265 </tr> |
|
266 </table> |
217 </dd> |
267 </dd> |
218 <dt><b> |
268 <dt><b> |
219 /bind keycode = command line |
269 /bind keycode = command line |
220 </b></dt> |
270 </b></dt> |
221 <dd> |
271 <dd> |
227 Note: aliases can be used in key bindings.<br /> |
277 Note: aliases can be used in key bindings.<br /> |
228 Example: "/bind 265 = status online" (265 is F1 for me, but it may |
278 Example: "/bind 265 = status online" (265 is F1 for me, but it may |
229 depend on your ncurses installation). |
279 depend on your ncurses installation). |
230 </dd> |
280 </dd> |
231 <dt><b> |
281 <dt><b> |
232 /buffer clear|top|bottom|search_backward|search_forward|date|% |
282 /buffer clear|top|bottom|date|%|search_backward|search_forward |
233 </b></dt> |
283 </b></dt> |
234 <dd> |
284 <dd> |
235 The <b>buffer</b> command manipulates the current buddy's buffer |
285 The <b>buffer</b> command manipulates the current buddy's buffer |
236 (chat window). |
286 (chat window). |
237 <table class="hlist"> |
287 <table class="hlist"> |