- Timestamp:
- May 14, 2017, 12:35:03 PM (8 years ago)
- Branches:
- sysvinit
- Children:
- 399bd3b
- Parents:
- 78c11d1
- Location:
- BOOK/final-system
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/final-system/common/diffutils.xml
r78c11d1 r8e2690a 38 38 --prefix=/usr</userinput></screen> 39 39 40 <para os="s 3">Diffutils wants <command>ed</command> as the default editor40 <para os="s5">Diffutils wants <command>ed</command> as the default editor 41 41 for <command>sdiff</command>. The following <command>sed</command> will 42 42 change the default to <command>vi</command>:</para> 43 43 44 <screen os="s4"><userinput>sed -i 's@\(^#define DEFAULT_EDITOR_PROGRAM \).*@\1"vi"@' lib/config.h</userinput></screen> 45 44 <screen os="s6"><userinput>sed -i 's@\(^#define DEFAULT_EDITOR_PROGRAM \).*@\1"vi"@' lib/config.h</userinput></screen> 46 45 <para os="c">Compile the package:</para> 47 46 -
BOOK/final-system/multilib/diffutils.xml
r78c11d1 r8e2690a 48 48 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 49 49 href="../common/diffutils.xml" 50 xpointer="xpointer(//*[@os='s 3'])"/>50 xpointer="xpointer(//*[@os='s5'])"/> 51 51 52 52 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 53 53 href="../common/diffutils.xml" 54 xpointer="xpointer(//*[@os='s 4'])"/>54 xpointer="xpointer(//*[@os='s6'])"/> 55 55 56 56 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
Note:
See TracChangeset
for help on using the changeset viewer.