diff options
author | Elliott Hughes <enh@google.com> | 2020-01-14 08:31:45 -0800 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2020-01-14 08:31:45 -0800 |
commit | f199e015cfe53cf8a0d4cfaf1a90b9413d703f95 (patch) | |
tree | 14cc006303f6a07b0864a139e877d69a1ed4ce26 /android | |
parent | ce2b356a0746e1203be0cf1ab9c90abdb0394e47 (diff) | |
download | toybox-f199e015cfe53cf8a0d4cfaf1a90b9413d703f95.tar.gz |
Build vi.
I'm not sure this is ready for a symlink yet, but it is usable, and it's
the best editor we have available, and I have a long-outstanding bug
requesting vi that the machines are nagging me about.
Notably missing last time I used this vi: ZZ (have to :wq) and R/r (have
to insert and delete separately). But I did manage to make the edit
without using adb pull/push and editing on the host, so...
Bug: http://b/110170945
Change-Id: I0d400e5a52b07f3161d1be4c414480e84108ee35
Diffstat (limited to 'android')
-rw-r--r-- | android/device/generated/config.h | 4 | ||||
-rw-r--r-- | android/device/generated/flags.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/android/device/generated/config.h b/android/device/generated/config.h index 87957170..bfabc510 100644 --- a/android/device/generated/config.h +++ b/android/device/generated/config.h @@ -640,8 +640,8 @@ #define USE_UUIDGEN(...) __VA_ARGS__ #define CFG_VCONFIG 1 #define USE_VCONFIG(...) __VA_ARGS__ -#define CFG_VI 0 -#define USE_VI(...) +#define CFG_VI 1 +#define USE_VI(...) __VA_ARGS__ #define CFG_VMSTAT 1 #define USE_VMSTAT(...) __VA_ARGS__ #define CFG_WATCH 1 diff --git a/android/device/generated/flags.h b/android/device/generated/flags.h index b5b76980..b071b59c 100644 --- a/android/device/generated/flags.h +++ b/android/device/generated/flags.h @@ -3268,7 +3268,7 @@ #undef FOR_vconfig #endif -// vi <1>1 +// vi <1>1 <1>1 #undef OPTSTR_vi #define OPTSTR_vi "<1>1" #ifdef CLEANUP_vi |