LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-15-2009, 05:46 AM   #1
badrigate
LQ Newbie
 
Registered: Jun 2009
Posts: 4

Rep: Reputation: 0
Smile vimdiff in mandrake linux version 8.1


Hi,

Im using mandrake linux version 8.1 (running on vmware)
I cant seem to get vimdiff in this version of linux although i do actually have vim editor on it. can someone help me out ? has anybody faced this before ?

thanks
badri
 
Old 06-15-2009, 09:44 AM   #2
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Tweed Heads, Australia
Distribution: Devuan
Posts: 3,441
Blog Entries: 33

Rep: Reputation: 230Reputation: 230Reputation: 230
Hi, I am running Mandriva 2009.1, and as far as I know I do not have vimdiff installed either.....

But, If I type vimdiff --help in a shell terminal, I get heaps of text.

vimdiff (file-1) (file-2)

Code:
vimdiff /home/glenn/My_system/modprobe.conf /home/glenn/My_system/modprobe.conf-ardour
2 files to edit
I have to :q each file to quit vim.

So, you may have it already too. With vim.

Cheers, Glenn

Oh, and Welcome to LQ!

Last edited by GlennsPref; 06-15-2009 at 09:45 AM. Reason: Oh, and Welcome to LQ!
 
Old 06-16-2009, 03:23 AM   #3
badrigate
LQ Newbie
 
Registered: Jun 2009
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks glenn , for the response. when i do what you do i get -

[william@systemcontroller applications]$ vimdiff --help
bash: vimdiff: command not found

so the question is - is there a version of vim which will have vimdiff as well in it ? i thought every vim editor had all this in them !
 
Old 06-16-2009, 05:09 PM   #4
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Tweed Heads, Australia
Distribution: Devuan
Posts: 3,441
Blog Entries: 33

Rep: Reputation: 230Reputation: 230Reputation: 230
Hi, it may be that the older version operates differently.

you may need to be root, but I don't think so.

the other syntax is -d

vim -d (file1) (file2)

vi -d (file1) (file2)

also works on my system.

you might try to install a newer version of vim or/and vi, (Maybe from source)

but beware of deps, you may break your system if you start upgrading everything.

regards Glenn

Last edited by GlennsPref; 06-16-2009 at 05:13 PM. Reason: you may break your system if you start upgrading everything
 
Old 06-17-2009, 03:35 AM   #5
badrigate
LQ Newbie
 
Registered: Jun 2009
Posts: 4

Original Poster
Rep: Reputation: 0
hi glenn,

the version im using is 6.0av BETA
i already broke my system trying to upgrade vim
so ive left it for now. just wondering if i have alternatives. i have to do file comparisons, merge etc.
& vim -d doesnt work for me.
uwww.. tough times

cheers,
badri.
 
Old 06-17-2009, 03:56 AM   #6
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Tweed Heads, Australia
Distribution: Devuan
Posts: 3,441
Blog Entries: 33

Rep: Reputation: 230Reputation: 230Reputation: 230
Have you tried patch or the diff commands

Can be tricky if your not sure the file is correct yet, but backup the files first, then use patch > file-name from the dir the file is in. Same as patching the kernel Makefile or others.

That's all I got really, My experience is mainly with the gui and configs, not development or programming.

Did you try vi --help to see if the diff arg is available?

I started with linux with Mandriva 10.0, so my experience is limited (historically)in any real capacity. I played with Knoppix before that, and tried to install a magazine cd of RH-5.1 before that, but did not know how to get the gui to work, lol.

Back to you, regards Glenn

There must be something out there (www) that can help us/you out!

Last edited by GlennsPref; 06-17-2009 at 03:57 AM. Reason: spelling
 
Old 06-17-2009, 04:01 AM   #7
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Tweed Heads, Australia
Distribution: Devuan
Posts: 3,441
Blog Entries: 33

Rep: Reputation: 230Reputation: 230Reputation: 230
Just having a look at http://rpm.pbone.net

It has a listing for your version, have you tried this site to see what is required, and what is delivers?

brb, Glenn

I'm looking for the change-log, to see if diff is available.....

brb, Glenn

Last edited by GlennsPref; 06-17-2009 at 04:03 AM. Reason: Be right Back....wip
 
Old 06-17-2009, 04:13 AM   #8
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Tweed Heads, Australia
Distribution: Devuan
Posts: 3,441
Blog Entries: 33

Rep: Reputation: 230Reputation: 230Reputation: 230
for mandrake 8.0

vim-x11, vim-minimal, vim-enhanced, vim-bebuginfo, vim-color, vim, vim-common and vim-guide are available

Vim-common lists diff as a file that is included.

I can't install any of these, It will break my system

Code:
Content of RPM :
/usr/bin/vimtutor
/usr/bin/xxd
/usr/share/doc/vim-common-6.1
/usr/share/doc/vim-common-6.1/README.txt
/usr/share/doc/vim-common-6.1/README_lang.txt
/usr/share/doc/vim-common-6.1/README_macros.txt
/usr/share/doc/vim-common-6.1/README_src.txt
/usr/share/doc/vim-common-6.1/README_tools.txt
/usr/share/doc/vim-common-6.1/README_unix.txt
/usr/share/doc/vim-common-6.1/doc
/usr/share/doc/vim-common-6.1/doc/autocmd.txt
/usr/share/doc/vim-common-6.1/doc/change.txt
/usr/share/doc/vim-common-6.1/doc/cmdline.txt
/usr/share/doc/vim-common-6.1/doc/debugger.txt
/usr/share/doc/vim-common-6.1/doc/develop.txt
/usr/share/doc/vim-common-6.1/doc/diff.txt
/usr/share/doc/vim-common-6.1/doc/digraph.txt
/usr/share/doc/vim-common-6.1/doc/doctags.c
/usr/share/doc/vim-common-6.1/doc/editing.txt
/usr/share/doc/vim-common-6.1/doc/eval.txt
/usr/share/doc/vim-common-6.1/doc/farsi.txt
/usr/share/doc/vim-common-6.1/doc/filetype.txt
/usr/share/doc/vim-common-6.1/doc/fold.txt
/usr/share/doc/vim-common-6.1/doc/gui.txt
/usr/share/doc/vim-common-6.1/doc/gui_x11.txt
/usr/share/doc/vim-common-6.1/doc/hangulin.txt
/usr/share/doc/vim-common-6.1/doc/help.txt
/usr/share/doc/vim-common-6.1/doc/howto.txt
/usr/share/doc/vim-common-6.1/doc/if_cscop.txt
/usr/share/doc/vim-common-6.1/doc/if_ole.txt
There is 715 files more in these RPM.
Here are some links, if they don't work, do your own search at the pbone addy above....

This is the url I'm working from,....may not work without the cookie.

links listed..
http://rpm.pbone.net/index.php3/stat....i586.rpm.html

This won't work, click on the link above to access the page, crossed fingers....

Download
mandrake.contactel.cz vim-common-6.1-34.1mdk.i586.rpm
mandrake.contactel.cz vim-common-6.1-34.1mdk.i586.rpm
mandrake.contactel.cz vim-common-6.1-34.1mdk.i586.rpm
carroll.aset.psu.edu vim-common-6.1-34.1mdk.i586.rpm
carroll.aset.psu.edu vim-common-6.1-34.1mdk.i586.rpm
carroll.aset.psu.edu vim-common-6.1-34.1mdk.i586.rpm
bo.mirror.garr.it vim-common-6.1-34.1mdk.i586.rpm
bo.mirror.garr.it vim-common-6.1-34.1mdk.i586.rpm
bo.mirror.garr.it vim-common-6.1-34.1mdk.i586.rpm
ftp.pbone.net vim-common-6.1-34.1mdk.i586.rpm
ftp.pbone.net vim-common-6.1-34.1mdk.i586.rpm
ftp.pbone.net vim-common-6.1-34.1mdk.i586.rpm
ftp.isu.edu.tw vim-common-6.1-34.1mdk.i586.rpm
ftp.isu.edu.tw vim-common-6.1-34.1mdk.i586.rpm
ftp.isu.edu.tw vim-common-6.1-34.1mdk.i586.rpm
Search for other platforms
vim-common-6.1-34.1mdk.sparc.rpm
vim-common-6.1-34.1mdk.alpha.rpm
vim-common-6.1-34.1mdk.ppc.rpm
vim-common-6.1-34.1mdk.ia64.rpm
vim-common-6.1-34.1mdk.s390.rpm

Provides :
vim-common




Hope this helps you, vim-common-6.1-34.1mdk

Kind regards, Glenn

Last edited by GlennsPref; 06-17-2009 at 04:15 AM. Reason: links may not work with out cookie
 
Old 06-18-2009, 03:24 AM   #9
badrigate
LQ Newbie
 
Registered: Jun 2009
Posts: 4

Original Poster
Rep: Reputation: 0
hi glenn,

thanks for the efforts. same with me. even im afraid ill keep breaking the system. so i think ill go for 'diff' command instead of vimdiff. i know its going to be hard, but its failsafe

cheers,
badri.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: vimdiff - Edit two or Three versions of a file with Vim and show differences LXer Syndicated Linux News 0 04-09-2009 12:21 AM
Is there anyway to take a standard diff and get a vimdiff output? kinasz Linux - General 4 02-05-2008 05:53 PM
installation of mandrake 10.1 linux version janjam_640 Linux - Newbie 2 01-06-2005 01:53 AM
Javac not working in Mandrake version of Linux perukhan Linux - Software 1 12-14-2004 02:04 PM
What Version of Xfree86 comes packaged with Mandrake Linux 9.0?? enigma Z Linux - Newbie 3 09-08-2003 10:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:40 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration