[lfs-support] Vim Early in Ch. 6

William Harrington kb0iic at berzerkula.org
Mon Oct 14 18:54:30 PDT 2013

On Oct 14, 2013, at 8:08 PM, Bruce Dubbs wrote:

> ./configure --prefix=/tools
> make
> make install

Should probably also include this:

echo '#define SYS_VIMRC_FILE "/tools/etc/vimrc"' >> src/feature.h
There have been many threads in the past throughout the various LFS  
versions even before 5.1.1 to add an editor in ch5, but the LFS devs  
never found it useful, although I have, and others have, too. Some of  
us do require an editor in ch6. Sed isn't that great, cat is okay with  
more as a pager before less isbuilt. But when you have text like this:
"It is a good idea to visually inspect the specs file to verify the  
intended change was actually made."  when adjusting the toolchain,  
it's much easier in a text editor.
Either way, users have a pager which can be used, not ideal if a need  
to edit.
If someone wants a full set of tools to build a complete final system,  
an editor is required, even if the build commands don't use it. But,  
don't see an editor in ch5 any time soon.
Although, if you want to learn how to use sed and gawk, go for it!  
Learn how to edit without an editor! Cause the LFS devs are hardcore!


William Harrington

More information about the lfs-support mailing list