diff mcabber/doc/mcabber.1 @ 289:72fa52203651

Update documentation * Update /alias doc * Add documentation for /bind * Improve /msay help for AsciiDoc and HTML formats. Don't know how to get a better presentation with the manpage format :(
author Mikael Berthe <mikael@lilotux.net>
date Fri, 08 Jul 2005 22:10:42 +0100
parents a3d65d7f0bc3
children f63839a4cb35
line wrap: on
line diff
--- a/mcabber/doc/mcabber.1	Fri Jul 08 21:47:17 2005 +0100
+++ b/mcabber/doc/mcabber.1	Fri Jul 08 22:10:42 2005 +0100
@@ -111,7 +111,11 @@
 
 .TP
 \fB/alias\fR name = command line
-Add "name" as an alias for "command line"\&. Example: "/alias away = status away"\&. Aliases are expanded only once, thus they can not be chained\&.
+Add "name" as an alias for "command line"\&. 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\&. Example: "/alias away = status away"\&.
+
+.TP
+\fB/bind\fR keycode = command line
+Bind a command line to the key with the "keycode" code number\&. 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\&. Note: aliases can be used in key bindings\&. Example: "/bind 265 = status online" (265 is F1 for me, but it can depend on your ncurses installation)\&.
 
 .TP
 \fB/buffer\fR clear|top|bottom