Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#11413 - Vi package is actually vim; vidiff does not work.
Attached to Project:
Arch Linux
Opened by Maarten Billemont (lhunath) - Sunday, 07 September 2008, 11:18 GMT
Last edited by Tobias Kieslich (tobias) - Sunday, 09 November 2008, 03:41 GMT
Opened by Maarten Billemont (lhunath) - Sunday, 07 September 2008, 11:18 GMT
Last edited by Tobias Kieslich (tobias) - Sunday, 09 November 2008, 03:41 GMT
|
DetailsVi in core/ is actually vim without X. This is misleading; I recommend we change it to vim-nox.
Additionally; because vi is actually vim; renamed; the vim features that depend on argv[0] are broken. For example; vidiff does not do what exec -a vimdiff vidiff (or vim -d) does; because vim checks argv[0] to see if it's ran as vimdiff; and seeing as we ran it as vidiff; it fails the check and does not start in diff mode. If we decide not to rename vi to vim-nox; the following patch might adress the latter issue: www.cs.drexel.edu/~mjw452/vidiff.patch |
This task depends upon
Closed by Tobias Kieslich (tobias)
Sunday, 09 November 2008, 03:41 GMT
Reason for closing: Fixed
Additional comments about closing: ni vidiff symlink is provided anymore. use vi -d to invoke it
Sunday, 09 November 2008, 03:41 GMT
Reason for closing: Fixed
Additional comments about closing: ni vidiff symlink is provided anymore. use vi -d to invoke it
I would argue that vidiff isn't really a command required on a base system. If it is, then implement it as a shell script that does a 'vi -d' on the passed arguments.
Vim is not a different application than vi, it is a modern successor to vi. Users expect the 'vi' command to invoke an editor with the basic functionality of vi. That is what the current Arch Linux vi package does. Making a 'vi' package based on the original 'vi' source code would just be a waste of developer resources.
The "base" group of the "core" repository should have a "vi" package consisting of Vim running in strict vi-compatibility mode. And the "extra" repository should have one or more "vim" packages that provide enhanced Vim functionality. Installation of any "vim" package should cause the uninstallation of the "vi" package (is this possible?) and should symlink /usr/bin/vi to /usr/bin/vim. Users that want vi-compliant behavior would stay with the core vi package. And users that want more would install one of the "vim" packages. Would this resolve the issue to everyone's satisfaction?
Doesn't anyone else have trouble remembering to type 'vim <filename>' instead of 'vi <filename>'? I frequently find that I'm editing a file using the wrong editor binary.
And it still seems that the 'vidiff' symlink should not be part of the "vi" package (to resolve the original reported bug).
Hope I'm not being a nuisance, this is just how I would address the issue. Really a minor nit.
Anyway, archlinux far exceeds any other distribution I've encountered. Well done!
:wq