Re: [gentoo-user] Some intelligence in etc-update... please.

2005-08-09 Thread Robert Svoboda
* A. Khattri [EMAIL PROTECTED] [2005-08-07 18:51]:
 On Fri, 5 Aug 2005, Mark Knecht wrote:
 
 With vimdiff how do yo make the actual changes? Can you somehow
  tell it to apply certain lines from file2 to file1 or do you have to
  copy and paste by hand?
 
 If there are minor changes, you can directly edit the update then save,
 quit and merge the update. If there are whole line that are different, you
 can cut and paste between windows (vimdiff colorises too so its easy to
 see what's different and what's not).

It can be even simpler use 'dp' (as Diff Put), where you want
propagate the difference to the other file and do 'do' (Diff
Obtain) to put change from the other file. There is much more
(yeah, it's vim after all :), see :help vimdiff .

-r
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Some intelligence in etc-update... please.

2005-08-05 Thread A. Khattri
On Thu, 4 Aug 2005, Zac Medico wrote:

 You could try dispatch-conf (see manpage) or emerge conf-update.
 Unfortunately, etc-update has many known bugs.  The problem you
 mentioned sounds like bug 26807.

Both etc-update and dispatch-conf have good and bad points - none
of them are ideal tools. For example, it would be nice if etc-update could
archive config files into CVS. On the other hand, Im using vimdiff with
etc-update which makes comparing config files very easy - dispatch-conf
doesn't use vimdiff. Ive used both and ultimately stayed with etc-update
(the colors in vimdiff make it easier to work with).

-- 

-- 
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] Some intelligence in etc-update... please.

2005-08-05 Thread Michael Kintzios


 -Original Message-
 From: A. Khattri [mailto:[EMAIL PROTECTED] 
 Sent: 05 August 2005 14:14
 To: gentoo-user@lists.gentoo.org
 Subject: Re: [gentoo-user] Some intelligence in etc-update... please.
 
 
 On Thu, 4 Aug 2005, Zac Medico wrote:
 
  You could try dispatch-conf (see manpage) or emerge conf-update.
  Unfortunately, etc-update has many known bugs.  The problem you
  mentioned sounds like bug 26807.
 
 Both etc-update and dispatch-conf have good and bad points - none
 of them are ideal tools. For example, it would be nice if 
 etc-update could
 archive config files into CVS. On the other hand, Im using 
 vimdiff with
 etc-update which makes comparing config files very easy - 
 dispatch-conf
 doesn't use vimdiff. Ive used both and ultimately stayed with 
 etc-update
 (the colors in vimdiff make it easier to work with).
 
You can always emerge colordiff and change your etc-update.conf and/or
dispatch-conf.conf to use it.  Lovely colours all around.  :)

-- 
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] Some intelligence in etc-update... please.

2005-08-05 Thread A. Khattri
On Fri, 5 Aug 2005, Michael Kintzios wrote:

 You can always emerge colordiff and change your etc-update.conf and/or
 dispatch-conf.conf to use it.  Lovely colours all around.  :)

Ive tried it with dispatch-conf. I went back to etc-update and vimdiff
(since its vi, its easy to move around and the split windows making
comparing side-by-side easier than any other diff tool.


-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Some intelligence in etc-update... please.

2005-08-05 Thread Mark Knecht
On 8/5/05, A. Khattri [EMAIL PROTECTED] wrote:
 On Fri, 5 Aug 2005, Michael Kintzios wrote:
 
  You can always emerge colordiff and change your etc-update.conf and/or
  dispatch-conf.conf to use it.  Lovely colours all around.  :)
 
 Ive tried it with dispatch-conf. I went back to etc-update and vimdiff
 (since its vi, its easy to move around and the split windows making
 comparing side-by-side easier than any other diff tool.
 
Hi,
   With vimdiff how do yo make the actual changes? Can you somehow
tell it to apply certain lines from file2 to file1 or do you have to
copy and paste by hand?

Thanks,
Mark

-- 
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] Some intelligence in etc-update... please.

2005-08-05 Thread Daevid Vincent
I'll put in a plug for meld if you're like me and non-masochistic. It's an
X-windows application and is as simple as point  click.

-- 
gentoo-user@gentoo.org mailing list



Re: Re: [gentoo-user] Some intelligence in etc-update... please.

2005-08-05 Thread Willie Wong
On Fri, Aug 05, 2005 at 10:03:06AM -0400, A. Khattri wrote:
 On Fri, 5 Aug 2005, John wrote:
 
  This email address is being abandoned due to the sick amount of junk mail I 
  receive.  Please stop spamming it.
 
  If you are a friend and need to contact me I can be reached at:
 
  Email: firstinitiallastinitial at neochicago.com
 
 And the last name and initial is???
 
 Someone please unsubscribe this person from ths list!
 

Actually, I sent an email to [EMAIL PROTECTED] and so
far it hasn't bounced. So either his server doesn't return unknown
recipient, or the email address is actually that long string. =) 

W
-- 
So we just have to integrate around the ring to get the gravitational force?
Yeah.
But that doesn't sound fun.
~DeathMech, Some Student. P-town PHY 205
Sortir en Pantoufles: up 5 days,  7:49
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Some intelligence in etc-update... please.

2005-08-05 Thread A. Khattri
On Fri, 5 Aug 2005, Mark Knecht wrote:

With vimdiff how do yo make the actual changes? Can you somehow
 tell it to apply certain lines from file2 to file1 or do you have to
 copy and paste by hand?

If there are minor changes, you can directly edit the update then save,
quit and merge the update. If there are whole line that are different, you
can cut and paste between windows (vimdiff colorises too so its easy to
see what's different and what's not).


-- 

-- 
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] Some intelligence in etc-update... please.

2005-08-05 Thread A. Khattri
On Fri, 5 Aug 2005, Daevid Vincent wrote:

 I'll put in a plug for meld if you're like me and non-masochistic. It's an
 X-windows application and is as simple as point  click.

Yeah, but that's no use on a server without X now is it?

-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Some intelligence in etc-update... please.

2005-08-04 Thread Zac Medico

Walter Dnes wrote:

  After a while, it gets old telling etc-update after each emerge update
that no, I do *NOT* want to change...

  - my clocktime setting from local to UTC
  - my console font from lat0-10 (48 rows with vga=2) to default8x16
(30 rows with vga=2).
  - the hostnames of *BOTH* my Gentoo machines to localhost (try ssh
with *THAT* setup!?!?).

  Is there a way to get etc-update ignore those items?




You could try dispatch-conf (see manpage) or emerge conf-update.  
Unfortunately, etc-update has many known bugs.  The problem you mentioned 
sounds like bug 26807.

Zac
--
gentoo-user@gentoo.org mailing list