diff options
author | Eric Andersen <andersen@codepoet.org> | 2001-04-04 17:31:15 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2001-04-04 17:31:15 +0000 |
commit | 3f98040554313a50ba68c60f43cd8c4a987a0d24 (patch) | |
tree | 53e5d4b531138eb0853b6233160b2cd4d768de1d /include | |
parent | 91c9388715182a71173f2da71d74173221460412 (diff) | |
download | busybox-w32-3f98040554313a50ba68c60f43cd8c4a987a0d24.tar.gz busybox-w32-3f98040554313a50ba68c60f43cd8c4a987a0d24.tar.bz2 busybox-w32-3f98040554313a50ba68c60f43cd8c4a987a0d24.zip |
I said no new features till after the 0.51 release. Well, I lied. This is a
vi editor for busybox, contributed by Sterling Huxley <sterling@europa.com>.
It adds 22k to the busybox binary when enabled. Quite impressive!
Diffstat (limited to 'include')
-rw-r--r-- | include/applets.h | 3 | ||||
-rw-r--r-- | include/usage.h | 7 |
2 files changed, 10 insertions, 0 deletions
diff --git a/include/applets.h b/include/applets.h index 255bd6b44..c3037973d 100644 --- a/include/applets.h +++ b/include/applets.h | |||
@@ -413,6 +413,9 @@ | |||
413 | #ifdef BB_UUENCODE | 413 | #ifdef BB_UUENCODE |
414 | APPLET(uuencode, uuencode_main, _BB_DIR_USR_BIN) | 414 | APPLET(uuencode, uuencode_main, _BB_DIR_USR_BIN) |
415 | #endif | 415 | #endif |
416 | #ifdef BB_VI | ||
417 | APPLET(vi, vi_main, _BB_DIR_BIN) | ||
418 | #endif | ||
416 | #ifdef BB_WATCHDOG | 419 | #ifdef BB_WATCHDOG |
417 | APPLET(watchdog, watchdog_main, _BB_DIR_SBIN) | 420 | APPLET(watchdog, watchdog_main, _BB_DIR_SBIN) |
418 | #endif | 421 | #endif |
diff --git a/include/usage.h b/include/usage.h index aa7f0af22..abd0156ad 100644 --- a/include/usage.h +++ b/include/usage.h | |||
@@ -1689,6 +1689,13 @@ | |||
1689 | "$ uudecode busybox busybox > busybox.uu\n" \ | 1689 | "$ uudecode busybox busybox > busybox.uu\n" \ |
1690 | "$\n" | 1690 | "$\n" |
1691 | 1691 | ||
1692 | #define vi_trivial_usage \ | ||
1693 | "[OPTION] [FILE]..." | ||
1694 | #define vi_full_usage \ | ||
1695 | "edit FILE.\n\n" \ | ||
1696 | "Options:\n" \ | ||
1697 | "\t-R\tRead-only- do not write to the file." | ||
1698 | |||
1692 | #define watchdog_trivial_usage \ | 1699 | #define watchdog_trivial_usage \ |
1693 | "DEV" | 1700 | "DEV" |
1694 | #define watchdog_full_usage \ | 1701 | #define watchdog_full_usage \ |