Author: alexander
Date: 2007-09-13 05:57:29 -0600 (Thu, 13 Sep 2007)
New Revision: 2059

Modified:
   trunk/packages/lynx/Makefile
Log:
Set the default editor to "vi" in Lynx (not "vim", because Lynx knows
that "vi" can position cursor and knows nothing about "vim")


Modified: trunk/packages/lynx/Makefile
===================================================================
--- trunk/packages/lynx/Makefile        2007-09-12 13:23:39 UTC (rev 2058)
+++ trunk/packages/lynx/Makefile        2007-09-13 11:57:29 UTC (rev 2059)
@@ -27,7 +27,8 @@
        make docdir=/usr/share/doc/$(NM)-$(VRS)/doc \
         helpdir=/usr/share/doc/$(NM)-$(VRS)/help install-full
        chgrp -R root /usr/share/doc/$(NM)-$(VRS)/doc
-       sed -i 's/#LOCALE_CHARSET:FALSE/LOCALE_CHARSET:TRUE/' /etc/lynx.cfg
+       sed -i -e 's/#LOCALE_CHARSET:FALSE/LOCALE_CHARSET:TRUE/' \
+           -e 's/#DEFAULT_EDITOR:/DEFAULT_EDITOR:vi/' /etc/lynx.cfg
 
 clean:
        -rm -rf $(DIR)

-- 
http://linuxfromscratch.org/mailman/listinfo/livecd
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to