On 6 Jul 2014, at 15:27, kp kirchdoerfer wrote: > Am Sonntag, 6. Juli 2014, 16:10:29 schrieb Yves Blusseau: >> Le 6 juil. 2014 à 15:57, kp kirchdoerfer <kap...@users.sourceforge.net> a > écrit : >>>> If we ALWAYS build busybox with the vi applet we don't need to build >>>> separate initrd. >>> >>> True, but it consumes some more kb, which arent't useful for most of the >>> users. >>> Keep in mind - if we want to support MIPS-based routers we need to be >>> small as possible, usually they don't have a lot of RAM (32 to 64 MB >>> AFAIK). >> True but i made a test with or without vi applet: >> >> busybox without vi: 371140 >> busybox with vi: 388248 >> >> so the difference is only of 17k. > > Yes, that's why I decided to without vi in busybox by default. > >> For me it's better to always compile busybox with vi (so there an editor in >> ALL platform in initrd), than to have a mechanism to enable/disable vi >> applet depending on the platform architecture (just to gain 17k). The >> simple way is always the best ? > > Also true! :) > > We can always remove vi from a MIPS image, if it ever happens and we need a > few kb. The mechanics has been implemented, and improved and can be seen in > git history, if we need to come back. > > kp
Hi, I am a vi user, and I have noticed the occasional segfault with our current elvis. So far I've been happy to use alternatives for large files but it's annoying to have to clean out the temporary files which get left behind. For me, e3vi is not close enough to "real" vi, and perhaps busy box vi is similar. When I updated elvis-tiny some time ago I did consider moving to (proper) elvis, but the increase in size put me off. My vote would be: - Include the busybox vi for all images by default - Continue to package elvis-tiny for users who like the compromise of size and functionality - Add a "better" vi clone for people who want full functionality and don't mind the size davidMbrooke ------------------------------------------------------------------------------ Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft _______________________________________________ leaf-devel mailing list leaf-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-devel