gam-resource-manager: adjust to updated proxied call callback signature.
[profile/ivi/murphy.git] / src / breedline / README
1 Breedline is a BSD-licensed simplistic alternative to readline.
2 Please see the LICENSE-BSD file for the exact license.
3
4 Breedline provides a limited alternative to readline. It has
5 only support for the most basic readline-like editing interface
6 as well as a callback-based interface for integrating to various
7 mainloops. Glib and murphy mainloop integration convenience
8 libraries are readily provided.
9
10 Breedline should work with most terminal emulators that support
11 just the following set of VT100 escape sequences:
12
13   - move cursor to beginning of line (ESC[0G)
14   - move cursor right by %d (ESC[%dC)
15   - erase right of cursor til the end of line (ESC[0K)
16
17 I have tested it only with xterm, vt100, ansi, and linux console
18 terminal settings in practice but in principle it should work with
19 almost all non-dumb terminals out there.
20
21 Currently breedline supports the following editing commands:
22
23 - basic cursor positioning:
24   o left: left arrow/ctrl-b
25   o right: right arrow/ctrl-f
26   o beginning of line: home/ctrl-a/
27   o end of line: end/ctrl-e
28   o word left: ctrl left arrow
29   o word right: ctrl right arrow
30
31 - basic editing:
32   o erase: backspace
33   o delete: ctrl-d
34   o kill line: ctrl-u (saves to yank buffer)
35   o kill rest of line: ctrl-k (saves to yank buffer)
36   o yank: ctrl-y
37
38 - basic history:
39   o previous: up arrow/ctrl-p
40   o next: down arrow/ctrl-n
41
42 - miscallanea:
43   o redraw line: ctrl-l