Re: Diffutils default editor set to ed by default

2011-09-05 Thread DJ Lucas
On 09/05/2011 11:58 AM, Bruce Dubbs wrote: > DJ Lucas wrote: >> Taken from cross-lfs: >> >> sed -i 's@\(^#define DEFAULT_EDITOR_PROGRAM \).*@\1"vi"@' lib/config.h >> >> >> Any reason not to do this in LFS? > I have never seen the use of an editor in diffutils, but I learn new > stuff all the time.

Re: Diffutils default editor set to ed by default

2011-09-05 Thread DJ Lucas
On 09/05/2011 11:58 AM, Bruce Dubbs wrote: > > I have never seen the use of an editor in diffutils, but I learn new > stuff all the time. The only place DEFAULT_EDITOR_PROGRAM is in the > code is sdiff. > > After some looking, I found Section 2.5.1 in the diffutils info page > about 'ed' scripts.

Re: Diffutils default editor set to ed by default

2011-09-05 Thread Bruce Dubbs
DJ Lucas wrote: > Taken from cross-lfs: > > sed -i 's@\(^#define DEFAULT_EDITOR_PROGRAM \).*@\1"vi"@' lib/config.h > > > Any reason not to do this in LFS? I have never seen the use of an editor in diffutils, but I learn new stuff all the time. The only place DEFAULT_EDITOR_PROGRAM is in the

Diffutils default editor set to ed by default

2011-09-04 Thread DJ Lucas
Taken from cross-lfs: sed -i 's@\(^#define DEFAULT_EDITOR_PROGRAM \).*@\1"vi"@' lib/config.h Any reason not to do this in LFS? -- DJ Lucas -- This message has been scanned for viruses and dangerous content, and is believed to be clean. -- http://linuxfromscratch.org/mailman/listinfo/lfs-