aboutsummaryrefslogtreecommitdiff
path: root/miscutils/hexedit.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* hexedit: code shrinkDenys Vlasenko2017-09-151-10/+9
| | | | | | | function old new delta hexedit_main 1171 1170 -1 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* hexedit: fixes to "goto address" codeDenys Vlasenko2017-09-151-20/+40
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* hexedit: position in correct column on "goto" commandDenys Vlasenko2017-09-141-2/+4
| | | | | | | function old new delta hexedit_main 1169 1202 +33 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* hexedit: code shrinkDenys Vlasenko2017-09-141-4/+5
| | | | | | | function old new delta hexedit_main 1176 1169 -7 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* hexdump: code shrinkDenys Vlasenko2017-09-141-16/+16
| | | | | | | | | | | | function old new delta remap 173 178 +5 move_mapping_lower 107 109 +2 move_mapping_further 141 143 +2 hexedit_main 1191 1176 -15 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 3/1 up/down: 9/-15) Total: -6 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* hexedit: implement "[enter] goto offset" keyDenys Vlasenko2017-09-141-25/+54
| | | | | | | | | | This is a must if you need to edit sector 123456789999 on your /dev/disk. text data bss dec hex filename 922745 481 6832 930058 e310a busybox_old 923023 481 6832 930336 e3220 busybox_unstripped Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* hexedit: restore screen on exitDenys Vlasenko2017-09-141-27/+52
| | | | | | | | | | | function old new delta hexedit_main 998 1082 +84 restore_term - 29 +29 remap 168 173 +5 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 2/0 up/down: 118/0) Total: 118 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* hexedit: optimize output bufferingDenys Vlasenko2017-09-141-7/+12
| | | | | | | function old new delta hexedit_main 970 998 +28 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* hexedit: implement page up/downDenys Vlasenko2017-09-131-1/+13
| | | | | | | function old new delta hexedit_main 924 970 +46 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* hexedit: smarter redrawDenys Vlasenko2017-09-131-26/+41
| | | | | | | | | | | function old new delta format_line 197 209 +12 hexedit_main 930 924 -6 redraw_cur_line 104 94 -10 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/2 up/down: 12/-16) Total: -4 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* hexedit: new appletDenys Vlasenko2017-09-131-0/+357
function old new delta hexedit_main - 930 +930 format_line - 197 +197 remap - 168 +168 move_mapping_further - 141 +141 move_mapping_lower - 107 +107 redraw_cur_line - 104 +104 packed_usage 31802 31812 +10 applet_names 2688 2696 +8 applet_main 1552 1556 +4 applet_suid 97 98 +1 applet_install_loc 194 195 +1 ------------------------------------------------------------------------------ (add/remove: 7/0 grow/shrink: 5/0 up/down: 1671/0) Total: 1671 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>