public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] dispatch-conf, the big pic?
@ 2017-12-30 18:10 Ian Zimmerman
  2017-12-30 18:18 ` Mike Gilbert
  2017-12-31  0:14 ` Neil Bothwick
  0 siblings, 2 replies; 3+ messages in thread
From: Ian Zimmerman @ 2017-12-30 18:10 UTC (permalink / raw
  To: gentoo-user

I realized I don't really understand it - I just repeat by rote some
keystrokes.  In particular:

What do the 'z' and 'n' commands do exactly, and what's the difference
between them?

After I do a 'm', how do I actually use the result of the merge?  Is the
merged file now the same as the 'new' one, or the same as the 'old' one?
IOW, if I do 'm' and then 'z', will the merged version be the active
one?

Neither manpage nor wiki is of any help answering these.

-- 
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
To reply privately _only_ on Usenet, fetch the TXT record for the domain.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] dispatch-conf, the big pic?
  2017-12-30 18:10 [gentoo-user] dispatch-conf, the big pic? Ian Zimmerman
@ 2017-12-30 18:18 ` Mike Gilbert
  2017-12-31  0:14 ` Neil Bothwick
  1 sibling, 0 replies; 3+ messages in thread
From: Mike Gilbert @ 2017-12-30 18:18 UTC (permalink / raw
  To: gentoo-user

On Sat, Dec 30, 2017 at 1:10 PM, Ian Zimmerman <itz@very.loosely.org> wrote:
> I realized I don't really understand it - I just repeat by rote some
> keystrokes.  In particular:
>
> What do the 'z' and 'n' commands do exactly, and what's the difference
> between them?

The 'z' command throws away the new config file, leaving the existing
config file in place. Use this when you don't care about the changes
in the new file at all.

The 'n' command skips over the current file, and does nothing. If you
quit and re-run dispatch-conf, you should be prompted to do something
with the file again.

> After I do a 'm', how do I actually use the result of the merge?  Is the
> merged file now the same as the 'new' one, or the same as the 'old' one?
> IOW, if I do 'm' and then 'z', will the merged version be the active
> one?

After completing the merge, use the 'u' command to use the merged
version. Use the 'z' command to throw away the merged version and
stick with the old file.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] dispatch-conf, the big pic?
  2017-12-30 18:10 [gentoo-user] dispatch-conf, the big pic? Ian Zimmerman
  2017-12-30 18:18 ` Mike Gilbert
@ 2017-12-31  0:14 ` Neil Bothwick
  1 sibling, 0 replies; 3+ messages in thread
From: Neil Bothwick @ 2017-12-31  0:14 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 839 bytes --]

On Sat, 30 Dec 2017 10:10:33 -0800, Ian Zimmerman wrote:

> I realized I don't really understand it - I just repeat by rote some
> keystrokes.  In particular:
> 
> What do the 'z' and 'n' commands do exactly, and what's the difference
> between them?
> 
> After I do a 'm', how do I actually use the result of the merge?  Is the
> merged file now the same as the 'new' one, or the same as the 'old' one?
> IOW, if I do 'm' and then 'z', will the merged version be the active
> one?
> 
> Neither manpage nor wiki is of any help answering these.

Can I suggest you try conf-update. I find it far more intuitive than
dispatch-conf and everything you asked is completely obvious in it. Of
course, you may decide you hate it, but it's worth a look to find out.


-- 
Neil Bothwick

Indecision is the key to flexibility.

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-12-31  0:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-30 18:10 [gentoo-user] dispatch-conf, the big pic? Ian Zimmerman
2017-12-30 18:18 ` Mike Gilbert
2017-12-31  0:14 ` Neil Bothwick

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox