Here is the adb patch to increase the amount of text that vi can edit...
cp /bin/vi /bin/vi-
adb -w /bin/vi
$x
?m 3f 0 ffff
3f:30?w 5000 /* was 8000 */
$q
Questions, comments, bugs to me...
--
----
Robin Cutshaw
Director of Systems Research, MedSTAR, Inc.
..{akgua,gatech,gacsr}!medstar!robin