Code: Select all
etc-updateCode: Select all
/etc/etc-update.confI'm not all that great with vim, so I thought I'd try to use a graphical diff - namely gtkdiff.
You'll need to emerge it
Code: Select all
emerge gtkdiff
The first change is the line
Code: Select all
pager="less"Code: Select all
#pager="less"
pager=""
Code: Select all
diff_command="gtkdiff -g 1600x1000 %file1 %file2"
Code: Select all
-g 1600x1000 For the merge command I have
Code: Select all
merge_command="gtkdiff -g 1600x1000 -o %merged %orig %new"
This works fine for me - my only problem is that gtkdiff will display 3 panes after it has been used in merge mode, even when it is in diff mode. If anybody knows how to force 2 panes only in diff mode (via commandline, not via the GUI) please let me know.
If I get motivated enough I may trawl through the code & add options to force 2 pane and auto-save.
Oh, if you're like me & su to root from a console, you will probably need to run
Code: Select all
xhost +Any feedback would be great.
Cheers
Brad








