Bug 4748 - enhance vi applet to allowing viewing/editing arbitrarily large files
Summary: enhance vi applet to allowing viewing/editing arbitrarily large files
Status: REOPENED
Alias: None
Product: Busybox
Classification: Unclassified
Component: Other (show other bugs)
Version: unspecified
Hardware: PC All
: P1 normal
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-03 19:51 UTC by Bob Bagwill
Modified: 2018-04-23 19:27 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bob Bagwill 2012-02-03 19:51:07 UTC
Rather than attempting to read the entire file into memory, the vi applet could load the file in chunks.  This could be the default behavior or an option. This would allow viewing/editing arbitrarily large files while using a fixed amount of memory.

My primary use case is dealing with large log files after a crash. I want to be able to boot my forensic tool on a memory-constrained box, search for and cut-n-paste relevant log file entries.
Comment 1 Thomas Petazzoni 2018-04-23 19:27:52 UTC
Revert the changes done by some silly spammer.