annotate mcabber/doc/help/en/hlp_bind.txt @ 2269:766666eb6928

Link with the tinfo library On some systems we have to explicitly link with libtinfo. pkg-config cannot be used on every system with ncurses, see discussion in https://bugs.gentoo.org/show_bug.cgi?id=457530#c18 For now we'll use the same fix as Mutt: https://dev.mutt.org/hg/mutt/rev/c84aa0d62ce3 Thanks to Wolfram Schlich for the report and troubleshooting!
author Mikael Berthe <mikael@lilotux.net>
date Mon, 12 Sep 2016 22:39:04 +0200
parents 59b53fed6de1
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
904
9d11c1b1af7a English help files
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
1
9d11c1b1af7a English help files
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
2 /BIND [keycode [= command line]]
9d11c1b1af7a English help files
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
3
915
59b53fed6de1 Update help files
Mikael Berthe <mikael@lilotux.net>
parents: 904
diff changeset
4 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.
904
9d11c1b1af7a English help files
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
5
9d11c1b1af7a English help files
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
6 /bind
9d11c1b1af7a English help files
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
7 Display list of current bindings
9d11c1b1af7a English help files
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
8 /bind keycode
9d11c1b1af7a English help files
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
9 Display the command line bound to this key
9d11c1b1af7a English help files
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
10 /bind keycode=
915
59b53fed6de1 Update help files
Mikael Berthe <mikael@lilotux.net>
parents: 904
diff changeset
11 Unbind key with code "keycode"
904
9d11c1b1af7a English help files
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
12 /bind keycode = command line
915
59b53fed6de1 Update help files
Mikael Berthe <mikael@lilotux.net>
parents: 904
diff changeset
13 Bind "command line" to the key with code "keycode"
904
9d11c1b1af7a English help files
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
14
9d11c1b1af7a English help files
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
15 Example: "/bind 265 = status away" (265 is F1).
9d11c1b1af7a English help files
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
16 Note: keycodes can be different depending on your ncurses configuration.
9d11c1b1af7a English help files
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
17 Tip: aliases also can be used instead of commands.