You are not logged in.

#1 2009-09-15 08:47:15

snack
Member
From: Italy
Registered: 2009-01-13
Posts: 862

Troubles after the last vi update

Hi, I followed the instructions posted here http://www.archlinux.org/news/464/ to update vi on my system. So I deleted /usr/bin/view and /usr/bin/rview, then updated my system as usual. But now vi works terribly: it has no more syntax highlighting, keys behave differently and I cannot use it as before. I tried also to reinstall it, but with no success. The installed version is 050325-1, so I think my mirror is in sync with the main repo.
What can I do to have back my old vi? Thanks

Offline

#2 2009-09-15 08:51:19

Stefan Husmann
Member
From: Germany
Registered: 2007-08-07
Posts: 1,391

Re: Troubles after the last vi update

Install vim.

Offline

#3 2009-09-15 08:52:35

snack
Member
From: Italy
Registered: 2009-01-13
Posts: 862

Re: Troubles after the last vi update

Thanks stefan, but is there another way which does not make me install vim?

Offline

#4 2009-09-15 13:01:38

Trent
Member
From: Baltimore, MD (US)
Registered: 2009-04-16
Posts: 990

Re: Troubles after the last vi update

Maybe my memory is faulty, but I'm pretty sure (the package) vi has *never* had syntax highlighting.  (It used to be a stripped-down version of vim; now it's ex/vi, a different vi clone.)  If you want syntax highlighting you need a more fully featured editor.  Perhaps you could tell us how you were invoking vi?

Oh, and if I'm wrong about the stripped-down vi not having syntax highlighting, someone will correct me and you can disregard this post.

Offline

#5 2009-09-15 13:04:41

snack
Member
From: Italy
Registered: 2009-01-13
Posts: 862

Re: Troubles after the last vi update

I used (and use) to invoke vi by simply typing vi (pretty smart, eh?). I knew that vi was very basic but since I switched to Arch I fouund it more rich than  I used to know. And I can bet my house that it had syntax highlighting befor I deleted those two files...
By the way, I tried to install vim, but it also has not syntax highlighting (I tried it on a bash shell script file, with .sh extension).

Offline

#6 2009-09-15 14:14:39

bernarcher
Forum Fellow
From: Germany
Registered: 2009-02-17
Posts: 2,281

Re: Troubles after the last vi update

Those syntax highlighting problems are discussed on this thread: http://bbs.archlinux.org/viewtopic.php?id=80120


To know or not to know ...
... the questions remain forever.

Offline

#7 2009-09-15 14:27:17

snack
Member
From: Italy
Registered: 2009-01-13
Posts: 862

Re: Troubles after the last vi update

bernarcher wrote:

Those syntax highlighting problems are discussed on this thread: http://bbs.archlinux.org/viewtopic.php?id=80120

Ok, sorry for the double thread smile. I'll continue in the other. But since the devs found the time to post a warning for the file deletion issue, they should have mentioned as well that the new vi is the true vi, rather than being a disguised vim like it was in the past...

Offline

#8 2009-09-15 22:16:22

Anikom15
Banned
From: United States
Registered: 2009-04-30
Posts: 836
Website

Re: Troubles after the last vi update

Well I just removed vi and reinstalled vim after the update, and have had no problems.


Personally, I'd rather be back in Hobbiton.

Offline

Board footer

Powered by FluxBB