[U-Boot-Users] [PATCH] Command history and Command buffer editing

J Mac macamirix.com at gmail.com
Tue Sep 27 14:59:24 CEST 2005


I made this patch using 'diff' on two source trees;  I got the original copies
of the files from the gitweb interface at source.denx.net.  I used the
'diff -purN OLD NEW' command as described in README to generate the patch.

All code changes are local to common/main.c

Define CONFIG_COMMAND_HISTORY and/or CONFIG_COMMAND_EDIT to enable the
behaviour(s).

Please let me know if there is something I need to do to make the patch
acceptable.

* Patch by James MacAulay Sept 27, 2005
	- Add a configuration option CONFIG_COMMAND_HISTORY to implement command
	  history.  Uses up and down arrow keys to scroll through history.  Other
	  options are described in README.
	- Add a configuration option CONFIG_COMMAND_EDIT to implement command
	  buffer editing.  Uses ^A, ^E, left and right arrow keys to move through
	  command buffer.  Other options are described in README.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: command_history_and_edit.patch.tar.gz
Type: application/x-gzip
Size: 3803 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20050927/b76c2190/attachment.bin 


More information about the U-Boot mailing list