PATCH: ENABLE_FEATURE_EDITING_HELP: Provide help on lineedit keycodes.

Flemming Madsen busybox at themadsens.dk
Mon Sep 26 19:18:42 UTC 2011


ENABLE_FEATURE_EDITING_HELP: Provide help on lineedit keycodes.
Add the following to 'help' output:

Signed-off-by: Flemming Madsen <busybox at themadsens.dk>

---

Line editing:
-------------------
	C-A, <Home>	Move to start of line
	C-E, <End>	Move to end of line
	C-B, <Left>	Move back one char
	C-F, <Right>	Move forward one char
	C-D		Delete one char or exit
	<Del>		Delete one char to the right
	C-H		Delete one char to the left
	C-W		Delete one Word to the left
	C-U		Clear line before cursor
	C-K		Kill / Clear rest of line
	C-L		Clear screen
	C-R		Inremental reverse history search
	C-X		Redraw line
	C-P, <Up>	Get previous command line
	C-N, <Down>	Get next command line
	<Tab>		Tab completion
	M-Tab, S-Tab	Tab menu forward. <Tab> goes back again
	M-b, C-Left	Move word backward
	M-f, C-Right	Move word forward
	M-w, M-BkSpace	Delete word backward
	M-d, M-Delete	Delete word forward
	M-P, M-Up	Get previous line, matching prefix
	M-N, M-Down	Get next line, matching prefix
	M-., M-_	Insert last word of previous line


Mostly because bash has a man page and the 'bind -p' command, whereas
Busybox users has to peruse the raw source code to get at the same
information. Also I find it darn convenient.  Of course one could argue
that vi-binding users are left out in the cold ...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 06-lineedit-keys-builtin-help.patch
Type: text/x-patch
Size: 7027 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20110926/ce3741b8/attachment.bin>


More information about the busybox mailing list