Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
09-25-2003, 01:56 PM
|
#1
|
Member
Registered: Feb 2003
Location: Germany
Distribution: Slackware 9.1
Posts: 77
Rep:
|
help: vi starts elvis
Hi,
bash-2.05b$ vi --help
Usage: elvis [flags] [files]...
Doesn't this mean that by typing elvis instead of vi is started?
How can I undo it?
|
|
|
09-25-2003, 04:01 PM
|
#2
|
Member
Registered: Apr 2002
Location: Los Gatos, CA
Distribution: boring redhat 9
Posts: 163
Rep:
|
elvis is a vi clone. Should have the same functionality, plus some. On my RH9 system, running "vi" fires up vim.
The bottom line is anything that you can do with good old vi, you should be able to do with elvis. If you don't like it, change the alias. For instance, on a RH9 machine, where vi runs vim, go to the /etc/profile.d/ directory and remove the vim.sh file, or edit it to point to what you want it to run.
If your system isn't using an alias (I checked by using "which vi") then track down the vi command, it's probably a symlink to elvis.
|
|
|
09-25-2003, 08:15 PM
|
#3
|
LQ Newbie
Registered: Sep 2003
Location: nova scotia, canada
Distribution: slackware 9
Posts: 27
Rep:
|
Try /usr/bin/vim.
Then /usr/bin/vimtutor.
(Or try /usr/bin/gvim in X)
|
|
|
09-26-2003, 08:12 AM
|
#4
|
Member
Registered: Feb 2003
Location: Germany
Distribution: Slackware 9.1
Posts: 77
Original Poster
Rep:
|
ok,
I removed elvis (it seemed to be broken), vi is now no longer found, but I can still use vim.
thx
|
|
|
09-26-2003, 08:54 AM
|
#5
|
Member
Registered: Jul 2003
Location: The Netherlands
Distribution: Slack/Ubuntu & OpenBSD (not a linux distro)
Posts: 56
Rep:
|
This happens when you install elvis + vim for the next time you install slack on expert mode de-select elvis and make sure vim is selected when you are installing
|
|
|
09-26-2003, 10:05 AM
|
#6
|
Member
Registered: Jul 2003
Location: --> X <-- You are here.
Distribution: Slackware, OpenBSD
Posts: 305
Rep:
|
To install "vim" instead of elvis, simply delete the "vi" link to point to vim instead of elvis.
Then, copy the default/example .vimrc files that are in vim /shared directories to your home directory. And you are all set! 
|
|
|
All times are GMT -5. The time now is 09:01 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|