You are not logged in.

#1 2009-11-18 02:06:02

myxolam
Member
Registered: 2009-09-21
Posts: 12

[SOLVED]vim gvim rview view ? cant understand.

Hello,

When I do pacman - S gvim

resolving dependencies...
looking for inter-conflicts...

Targets (2): vim-7.2.266-1  gvim-7.2.266-2

Total Download Size:    0.00 MB
Total Installed Size:   31.04 MB

Proceed with installation? [Y/n] y
checking package integrity...
(2/2) checking for file conflicts                   [##############################################] 100%
error: failed to commit transaction (conflicting files)
vim: /usr/bin/rview exists in filesystem
Errors occurred, no packages were upgraded.

I look at the wiki and there is no reference to rview ( at least I couldnt find it).

so is Vim the same as View
from this line in the out put above

vim: /usr/bin/rview exists in filesystem

and Gvim the same as Rview?

why the rename?
I see most people refer to "vim this" or "gvim that " but not rview etc.

In bash when I do gvim or vim
I get a command not found
If I do vi  , view or rview I get an editor , but I really dont know the differences.

I am trying to learn some vim and also use it as a python ide.

Last edited by myxolam (2009-11-18 18:12:16)

Offline

#2 2009-11-18 02:55:35

Pox
Member
From: Melbourne, AU
Registered: 2007-10-04
Posts: 66

Re: [SOLVED]vim gvim rview view ? cant understand.

view starts vi in read-only mode, rview starts vim in read-only mode.

I'm guessing this is an issue caused by the recent vi/vim separation - try doing a full upgrade (pacman -Syu) and then installing vim.  If you still have the issue, post the output of

pacman -Qo $(which rview)

Offline

#3 2009-11-18 05:12:13

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: [SOLVED]vim gvim rview view ? cant understand.

Always read the news before updating your machine. Saves you from a lot of grief.


http://www.archlinux.org/news/464/


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#4 2009-11-18 14:50:40

myxolam
Member
Registered: 2009-09-21
Posts: 12

Re: [SOLVED]vim gvim rview view ? cant understand.

Thanks guys
That clears up the confusion I had.
So I did

pacman -Qo $(which rview)
/usr/bin/rview is owned by vim 7.2.266-1

followed by

sudo rm /usr/bin/{view,rview}

followed by

pacman -Syu
pacman -S vim

pacman -S gvim

Now it installs vim and gvim

now when I do vim or gvim I get the respective editor.

Offline

Board footer

Powered by FluxBB