Age | Commit message (Collapse) | Author |
|
This fixes problems with NULs in files being scanned, but
costs +800 bytes. The same can be done to sed (TODO).
|
|
text data bss dec hex filename
808035 611 6868 815514 c719a busybox_old
804472 611 6868 811951 c63af busybox_unstripped
|
|
user interaction if stdout is not a tty.
size optimizations
|
|
Doesn't die horribly on binary files anymore.
In fact, they _100%_ work now. Control chars
are in reverse video, including DEL and that idiocy of VT-10x,
Meta-ESC [inventor of which should be prohibited from reproducing].
Regex search is fixed also. When you specify search ('/' key),
control chars turn into dots (unhighlighted),
and found occurrences highlighted instead. This is reversible.
Memory management fixed (was leaky as hell) and optimized.
Linewrapping fixed and thoroughly tested.
Max buffer size made configurable.
~ 600 bytes saved.
|
|
- use shorter boilerplate while at it
|
|
|
|
|
|
|
|
|
|
-Erik
|
|
files. Clean up the resulting damage and fix up the makefile.
-Erik
|