view mcabber/doc/help/en/hlp_bind.txt @ 1213:4a7db2870685

Improve Private Storage detection. MCabber now correctly detects Private Storage support when receiving an item-not-found error (which doesn't mean the server has no support for P.S., but that it's empty). I've added a return value to the callback functions. For now the return value is only used for IQ error handling.
author Mikael Berthe <mikael@lilotux.net>
date Tue, 01 May 2007 18:16:11 +0200
parents 59b53fed6de1
children
line wrap: on
line source


 /BIND [keycode [= command line]]

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.

/bind
 Display list of current bindings
/bind keycode
 Display the command line bound to this key
/bind keycode=
 Unbind key with code "keycode"
/bind keycode = command line
 Bind "command line" to the key with code "keycode"

Example: "/bind 265 = status away" (265 is F1).
Note: keycodes can be different depending on your ncurses configuration.
Tip: aliases also can be used instead of commands.