|
|
1.1 root 1:
2:
3: bind Command bind
4:
5:
6:
7:
8: Bind key sequence to editing command
9:
10: bbiinndd [-mm] [_s_t_r_i_n_g [= _c_o_m_m_a_n_d]]
11:
12: The command bbiinndd is used by the Korn shell kksshh to bind one of its
13: command-line editing commands to a given key sequence. The
14: editing commands are used by kksshh to perform its MicroEMACS-style
15: command-line editing.
16:
17: When bbiinndd is invoked without arguments, it lists on the standard
18: output all current bindings.
19:
20: When invoked with the syntax _s_t_r_i_n_g=_c_o_m_m_a_n_d, it binds the key-
21: sequence _s_t_r_i_n_g to the command. For example, the command
22:
23:
24: bind ^[X=end-of-line
25:
26:
27: binds the editing command eenndd-ooff-lliinnee (which moves the cursor to
28: the end of the command line) with the key sequence <eesscc>XX. Note
29: that <eesscc> is written ^[ -- that is, a literal carat `^' followed
30: by `['.
31:
32: When invoked with the syntax -mm _s_t_r_i_n_g=_c_o_m_m_a_n_d_s , _s_t_r_i_n_g is bound
33: to _c_o_m_m_a_n_d_s, which contains one or more editing commands. This
34: form of the bbiinndd command lets you build keyboard macros that
35: combine several editing commands into one keystroke sequence.
36:
37: For the list of editing commands, their default bindings, and
38: other details of using MicroEMACS-style command-line editing, see
39: the Lexicon entry for kksshh.
40:
41: ***** See Also *****
42:
43: ccoommmmaannddss, kksshh
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64: COHERENT Lexicon Page 1
65:
66:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.