On Thursday, 30 May 2019 12:28:41 BST Dale wrote:

> I use the dispatch one because it is better.  No matter what I attempt
> tho, I can not figure out how to use that dang merge thing.  I wish
> there was a GUI tool to do this.  Maybe that would help.  Of course,
> someone will likely post that there is a GUI tool and then I'll wonder
> how I missed it.  ROFL  You can bet I'd use it tho. 

There's also cfg-update and there may be more tools to manage changes in 
config files following an update.

The merge function is particularly useful, because you can see where your 
edits are/not affected by any changes to the new config defaults and reject/
accept one change at a time.

You can define what tool will be used for diff-ing in the /etc/dispatch-
conf.conf file, or equivalent.  I use colordiff, but I supposed you could set 
up meld, kompare, or some other GUI file comparison application to be launched.

With colordiff once you press 'm' to merge changes, you get your existing 
config file shown on the left and the changed config on the right.  Pressing 
'l' retains your existing config, 'r' overwrites yours with the new defaults. 
When you finish it asks if you want to overwrite the existing config with the 
newly merged file.  Up until this moment you can choose to cancel all changes 
and the old config file will be retained as it was.

Overwriten config files are archived in /etc/config-archive, so you can always 
revert any changes you made by mistake.

HTH.
-- 
Regards,
Mick

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to