Thanks, in advance,
Carson
--
Carson R. Wilcox
Senior Architect
DMR Consulting Group
cr...@yahoo.com
Sent via Deja.com http://www.deja.com/
Before you buy.
Go to the directory where vim has all its shared files, for example
it might be called "/usr/share/vim". In that directory, look for
a directory called "tools". In there is a shell script called
"vimdiff". It does this. {disclaimer: This is where I found it
on a recent install of Redhat 6.2, which comes with Vim 5.6.11.
I can't say if this would be similar for other setups.}
I tried it and it wasn't that great. I still prefer "xdiff" for
that sort of thing, but you can try it and make your own judgement
call.
(I Just started using vim 5.6.11 after several years of using
vim 4.something. Wow there's been a lot of good stuff added
while I wasn't looking.)
--
-- ------------------------------------------------------------------
Steven L. Mading at BioMagResBank (BMRB). UW-Madison
Programmer/Analyst/(acting SysAdmin) mailto:mad...@bmrb.wisc.edu
B1108C, Biochem Addition / 433 Babcock Dr / Madison, WI 53706-1544
You can try "tkdiff" in UNIX.
It works pretty well too.
Chun
> > vimdiff..
> > Go to the directory where vim has all its shared files, for example
> > it might be called "/usr/share/vim". In that directory, look for
>
> You can try "tkdiff" in UNIX.
> It works pretty well too.
The very best visual diff program is "windiff".
I think that it is from NT resource kit or you should be able to
get it free somewhere. It kicks all unix utilities' ass ( :-) ).
--
Woody
> The very best visual diff program is "windiff".
> I think that it is from NT resource kit or you should be able to
> get it free somewhere. It kicks all unix utilities' ass ( :-) ).
not the version I've seen: the underlying diff algorithm doesn't distinguish
chunks well enough.
(I assume you're talking about the nice colors ;-)
--
Thomas E. Dickey <dic...@clark.net>
http://dickey.his.com
ftp://dickey.his.com
>In article <8favgl$omq$1...@news.doit.wisc.edu>,
> Steve Mading <mad...@baladi.bmrb.wisc.edu> wrote:
>> cr...@yahoo.com wrote:
>> : I'm looking for a way to do a side by side visual diff in Vim. I
>saw a
>> : post about that here at one time and tried it but couldn't get it to
>> : work. Now I have a real need to do this and was wondering if anyone
>> : knows of a way to do it.
>> snip
A good alternative might be ediff based on emacs, though I'm pernonally NOT
an emacs user, I dislike it very much! (But ediff works great if that's
what you're looking for)
>You can try "tkdiff" in UNIX.
>It works pretty well too.
Which requires full install of Tcl and Tk.
Good (maybe better) replacements that do not require additional stuf:
xdiff: http://reality.sgi.com/rudy/xdiff/xdiff-v3.4.htm
xxdiff: http://xxdiff.sourceforge.net
mgdiff: http://cvsup3.jp.freebsd.org/ports/textproc.html
HP-UX http://hpux.connect.org.uk/hppd/cgi-
bin/search?package=&term=mgdiff-
For unix I personally prefer xdiff.
--
H.Merijn Brand
using perl5.005.03 and 5.6.0 on HP-UX 10.20, HP-UX 11.00, AIX 4.2, AIX 4.3,
DEC OSF/1 4.0 and WinNT 4.0 SP-6a, often with Tk800.021 and/or DBD-Unify
ftp://ftp.funet.fi/pub/languages/perl/CPAN/authors/id/H/HM/HMBRAND/
Member of Amsterdam Perl Mongers (http://www.amsterdam.pm.org/)
There ought to be a rule - enforced Usenet-wide - that whenever a claim is
made about something being the "best", it be noted that "best" always has
(at least) two dimensions:
1) Algorithmically best
2) Best in terms of UI/pretty colors/newbie-friendly
Obviously, both are valid, but it ought to be clear that the first is
generally what is meant when the word "best" is used without qualification.
Suggestions for other dimensions gladly received. I can think of at least
one more:
3) Makes most money for shareholders
In which case, MS windows is clearly the best OS ever written.
>I'm looking for a way to do a side by side visual diff in Vim. I saw a
>post about that here at one time and tried it but couldn't get it to
>work. Now I have a real need to do this and was wondering if anyone
>knows of a way to do it.
diff ;-)
Yes - GNU diff (sure in version 2.7) with parameter --side-by-side
--
Jiří Lisický ČD DATIS Olomouc
e-mail: lis...@datis.cdrail.cz Nerudova 1
phone: +420-068-472-5496 Olomouc, Czech Republic
>>> čeština ISO-8859-2 Compatible <<<
> chun...@my-deja.com (Chun) wrote in <8fc3iq$cnf$1...@nnrp1.deja.com>:
>
> >In article <8favgl$omq$1...@news.doit.wisc.edu>,
> > Steve Mading <mad...@baladi.bmrb.wisc.edu> wrote:
> >> cr...@yahoo.com wrote:
> >> : I'm looking for a way to do a side by side visual diff in Vim.
> snip
>
> Good (maybe better) replacements that do not require additional stuf:
>
> xdiff: http://reality.sgi.com/rudy/xdiff/xdiff-v3.4.htm
The URL is just http://reality.sgi.com/rudy/xdiff. All versions are available
from this page.
> xxdiff: http://xxdiff.sourceforge.net
> mgdiff: http://cvsup3.jp.freebsd.org/ports/textproc.html
> HP-UX
> http://hpux.connect.org.uk/hppd/cgi-bin/search?package=&term=mgdiff-
>
> For unix I personally prefer xdiff.
Good choice!! (no bias here :-)
-rudy
And visual mapping which aids easy understanding of the situation.
Diff'ing two directories is quite handy and extremely time-saving
too.
I don't know, but I haven't had any trouble with
underlying diff algorithm so far.
I wouldn't go back to Unix's diff in any case.
In article <8fe7p1$seh$1...@yin.interaccess.com>,
gaz...@interaccess.com wrote:
> There ought to be a rule - enforced Usenet-wide - that whenever a
claim is
> made about something being the "best", it be noted that "best" always
has
> (at least) two dimensions:
>
> 1) Algorithmically best
> 2) Best in terms of UI/pretty colors/newbie-friendly
>
> Obviously, both are valid, but it ought to be clear that the first is
> generally what is meant when the word "best" is used without
qualification.
>
> Suggestions for other dimensions gladly received. I can think of at
least
> one more:
>
> 3) Makes most money for shareholders
--
visual mapping is done in a half-dozen programs (windiff in fact wasn't
the first nor even the second one where I saw it used ;-)
Could you list some of them ?
I would like to try them and would use them if they
are much better than windiff. If I have to buy them,
I will stick to windiff, since it is more than enough for me
at this moment. I was just blown after all my years of
using Unix text diff, when I saw my colleague using windiff
seamlessly. I felt stupid.
Thanks,
> Could you list some of them ?
they're on other systems, of course (OS/2 and Unix)
offhand, PMDiff (OS/2), TkDiff as well as some of those Motif applications
mentioned in this thread. (I don't recall the name of the first one I saw
since that was 6-7 years ago).
-- it would be interesting to see a webpage devoted to this topic,
unfortunately more are focused on one implementation only.
I think PMDiff (which I used to use and liked a lot) evolved into
windiff. (There's a fair # of shareware/freeware apps that started out
on OS/2, then ended up on NT b/c the market shifted that way. And
before anyone screams, note that a fair # of now commercial apps
started out as shareware/freeware)
Check http://www.skylarkutilities.com/section.pcs?
File-Synchronizing. They have a long (and
unbiased) list of merging freeware/shareware for
Windows.
Victor