aboutsummaryrefslogtreecommitdiff
path: root/android
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2021-04-20 10:05:20 -0700
committerElliott Hughes <enh@google.com>2021-04-20 10:05:54 -0700
commitb1ea0e83d6298d16183288d377f4eeb303927d22 (patch)
treee75868f8f1da25032b9ec1c6c4697679433221f6 /android
parent937df7b865d6fc9a0a72d08662c2fdabeb5e001e (diff)
parentf73d10a50afb2073c3825614d0d6811737cfaf91 (diff)
downloadtoybox-b1ea0e83d6298d16183288d377f4eeb303927d22.tar.gz
Merge remote-tracking branch 'toybox/master' into HEAD
Change-Id: I1bedc3801a9e95a1471610870eb367ae4af13a3b
Diffstat (limited to 'android')
-rw-r--r--android/device/generated/globals.h6
-rw-r--r--android/device/generated/help.h2
-rw-r--r--android/linux/generated/globals.h6
-rw-r--r--android/linux/generated/help.h2
-rw-r--r--android/mac/generated/globals.h6
-rw-r--r--android/mac/generated/help.h2
6 files changed, 18 insertions, 6 deletions
diff --git a/android/device/generated/globals.h b/android/device/generated/globals.h
index f0e13a80..006c3377 100644
--- a/android/device/generated/globals.h
+++ b/android/device/generated/globals.h
@@ -277,7 +277,11 @@ struct hexedit_data {
char *data;
long long len, base;
int numlen, undo, undolen;
- unsigned height;
+ unsigned rows, cols;
+ long long pos;
+ char keybuf[16];
+ char input[80];
+ char *search;
};
// toys/other/hwclock.c
diff --git a/android/device/generated/help.h b/android/device/generated/help.h
index 68769532..0e3af90d 100644
--- a/android/device/generated/help.h
+++ b/android/device/generated/help.h
@@ -266,7 +266,7 @@
#define HELP_hwclock "usage: hwclock [-rswtluf]\n\nGet/set the hardware clock.\n\n-f FILE Use specified device file instead of /dev/rtc0 (--rtc)\n-l Hardware clock uses localtime (--localtime)\n-r Show hardware clock time (--show)\n-s Set system time from hardware clock (--hctosys)\n-t Set the system time based on the current timezone (--systz)\n-u Hardware clock uses UTC (--utc)\n-w Set hardware clock from system time (--systohc)"
-#define HELP_hexedit "usage: hexedit FILENAME\n\nHexadecimal file editor. All changes are written to disk immediately.\n\n-r Read only (display but don't edit)\n\nKeys:\nArrows Move left/right/up/down by one line/column\nPg Up/Pg Dn Move up/down by one page\n0-9, a-f Change current half-byte to hexadecimal value\nu Undo\nq/^c/^d/<esc> Quit"
+#define HELP_hexedit "usage: hexedit FILE\n\nHexadecimal file editor/viewer. All changes are written to disk immediately.\n\n-r Read only (display but don't edit)\n\nKeys:\nArrows Move left/right/up/down by one line/column\nPgUp/PgDn Move up/down by one page\nHome/End Start/end of line (start/end of file with ctrl)\n0-9, a-f Change current half-byte to hexadecimal value\n^J or : Jump (+/- for relative offset, otherwise absolute address)\n^F or / Find string (^G/n: next, ^D/p: previous match)\nu Undo\nq/^C/^Q/Esc Quit"
#define HELP_help "usage: help [-ahu] [COMMAND]\n\n-a All commands\n-u Usage only\n-h HTML output\n\nShow usage information for toybox commands.\nRun \"toybox\" with no arguments for a list of available commands."
diff --git a/android/linux/generated/globals.h b/android/linux/generated/globals.h
index f0e13a80..006c3377 100644
--- a/android/linux/generated/globals.h
+++ b/android/linux/generated/globals.h
@@ -277,7 +277,11 @@ struct hexedit_data {
char *data;
long long len, base;
int numlen, undo, undolen;
- unsigned height;
+ unsigned rows, cols;
+ long long pos;
+ char keybuf[16];
+ char input[80];
+ char *search;
};
// toys/other/hwclock.c
diff --git a/android/linux/generated/help.h b/android/linux/generated/help.h
index b2fde269..a0c75204 100644
--- a/android/linux/generated/help.h
+++ b/android/linux/generated/help.h
@@ -268,7 +268,7 @@
#define HELP_hwclock "usage: hwclock [-rswtluf]\n\nGet/set the hardware clock.\n\n-f FILE Use specified device file instead of /dev/rtc0 (--rtc)\n-l Hardware clock uses localtime (--localtime)\n-r Show hardware clock time (--show)\n-s Set system time from hardware clock (--hctosys)\n-t Set the system time based on the current timezone (--systz)\n-u Hardware clock uses UTC (--utc)\n-w Set hardware clock from system time (--systohc)"
-#define HELP_hexedit "usage: hexedit FILENAME\n\nHexadecimal file editor. All changes are written to disk immediately.\n\n-r Read only (display but don't edit)\n\nKeys:\nArrows Move left/right/up/down by one line/column\nPg Up/Pg Dn Move up/down by one page\n0-9, a-f Change current half-byte to hexadecimal value\nu Undo\nq/^c/^d/<esc> Quit"
+#define HELP_hexedit "usage: hexedit FILE\n\nHexadecimal file editor/viewer. All changes are written to disk immediately.\n\n-r Read only (display but don't edit)\n\nKeys:\nArrows Move left/right/up/down by one line/column\nPgUp/PgDn Move up/down by one page\nHome/End Start/end of line (start/end of file with ctrl)\n0-9, a-f Change current half-byte to hexadecimal value\n^J or : Jump (+/- for relative offset, otherwise absolute address)\n^F or / Find string (^G/n: next, ^D/p: previous match)\nu Undo\nq/^C/^Q/Esc Quit"
#define HELP_help "usage: help [-ahu] [COMMAND]\n\n-a All commands\n-u Usage only\n-h HTML output\n\nShow usage information for toybox commands.\nRun \"toybox\" with no arguments for a list of available commands."
diff --git a/android/mac/generated/globals.h b/android/mac/generated/globals.h
index f0e13a80..006c3377 100644
--- a/android/mac/generated/globals.h
+++ b/android/mac/generated/globals.h
@@ -277,7 +277,11 @@ struct hexedit_data {
char *data;
long long len, base;
int numlen, undo, undolen;
- unsigned height;
+ unsigned rows, cols;
+ long long pos;
+ char keybuf[16];
+ char input[80];
+ char *search;
};
// toys/other/hwclock.c
diff --git a/android/mac/generated/help.h b/android/mac/generated/help.h
index b2fde269..a0c75204 100644
--- a/android/mac/generated/help.h
+++ b/android/mac/generated/help.h
@@ -268,7 +268,7 @@
#define HELP_hwclock "usage: hwclock [-rswtluf]\n\nGet/set the hardware clock.\n\n-f FILE Use specified device file instead of /dev/rtc0 (--rtc)\n-l Hardware clock uses localtime (--localtime)\n-r Show hardware clock time (--show)\n-s Set system time from hardware clock (--hctosys)\n-t Set the system time based on the current timezone (--systz)\n-u Hardware clock uses UTC (--utc)\n-w Set hardware clock from system time (--systohc)"
-#define HELP_hexedit "usage: hexedit FILENAME\n\nHexadecimal file editor. All changes are written to disk immediately.\n\n-r Read only (display but don't edit)\n\nKeys:\nArrows Move left/right/up/down by one line/column\nPg Up/Pg Dn Move up/down by one page\n0-9, a-f Change current half-byte to hexadecimal value\nu Undo\nq/^c/^d/<esc> Quit"
+#define HELP_hexedit "usage: hexedit FILE\n\nHexadecimal file editor/viewer. All changes are written to disk immediately.\n\n-r Read only (display but don't edit)\n\nKeys:\nArrows Move left/right/up/down by one line/column\nPgUp/PgDn Move up/down by one page\nHome/End Start/end of line (start/end of file with ctrl)\n0-9, a-f Change current half-byte to hexadecimal value\n^J or : Jump (+/- for relative offset, otherwise absolute address)\n^F or / Find string (^G/n: next, ^D/p: previous match)\nu Undo\nq/^C/^Q/Esc Quit"
#define HELP_help "usage: help [-ahu] [COMMAND]\n\n-a All commands\n-u Usage only\n-h HTML output\n\nShow usage information for toybox commands.\nRun \"toybox\" with no arguments for a list of available commands."