LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 11-25-2003, 10:37 AM   #1
joseph_1970
Member
 
Registered: Jan 2003
Posts: 62

Rep: Reputation: 15
Vi under Slack vs. Vi under RH


I learned vi on RH and when I moved over to Slack...trying at least, I noticed the vi editor works a lot differently. Whenever I enter into vi and try to insert, I can't delete like in RH. It sure has been an annoying relearning.

Anyone else deal with this issue?

Is this the settings for the user?

Anything I can do to change this?

Thanks!

-joseph
 
Old 11-25-2003, 10:40 AM   #2
scobiej
Member
 
Registered: Aug 2003
Location: London
Distribution: Redhat, SuSE, Ubuntu
Posts: 75

Rep: Reputation: 15
What vi are you referring to? vim, elvis ...
There are a few variants. vim is the default on RH and you can set it up numerous ways.

Type :-

alias vi

to find out which one you are using. Check the versions as well.
 
Old 11-25-2003, 10:44 AM   #3
spurious
Member
 
Registered: Apr 2003
Location: Vancouver, BC
Distribution: Slackware, Ubuntu
Posts: 558

Rep: Reputation: 31
Neither distro actually uses vi. vi itself is somewhat obsolete, apparently. In both distros, vi is a symlink to either elvis (Slackware) or vim (Red Hat). elvis is minimalist and has a smaller footprint than vim. The keymap is slightly different between these two editors (e.g. backspace)

In Slackware, vi (the symlink) and elvis are found under /usr/bin. You can use the locate command to find these programs on your system. If you prefer, you can change the vi symlink to point to a different editor.
 
Old 11-25-2003, 10:50 AM   #4
joseph_1970
Member
 
Registered: Jan 2003
Posts: 62

Original Poster
Rep: Reputation: 15
I did notice it was Elvis (under slack), so I typed vim and there was still big difference in respect to simply entering insert mode and deleting at will by backspacing.

That's kewl...I will figure it out. Something small in the big picture, but it would be nice to simply backspace and delete instead of relearning to hit x to delete a character.

Thanks for the responses.

-joseph

 
Old 11-25-2003, 10:56 AM   #5
scobiej
Member
 
Registered: Aug 2003
Location: London
Distribution: Redhat, SuSE, Ubuntu
Posts: 75

Rep: Reputation: 15
It'll be to do with your .vimrc file or the way X is sending backspace notification. If you don't figure it out, drop a message. You should find the answer on the vim site somewhere. It's so long since I've had to worry about these things that I can't remember the setting off the top of my head.
 
Old 11-25-2003, 11:08 AM   #6
joseph_1970
Member
 
Registered: Jan 2003
Posts: 62

Original Poster
Rep: Reputation: 15
Will do...thanks for the heads up.

-joseph

 
  


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
Frozen-Bubble(from slack 8.2) Not Running in slack 9 bongski55 Slackware 8 01-02-2006 05:10 PM
Slack 10.1 will a Slack 10 Wine pkg work? acummings Slackware 1 03-25-2005 05:55 AM
Using Slack 10's 2.6.7 kernel packages on Slack 10.1? SocialEngineer Slackware 1 03-05-2005 12:53 PM
cd rom error on installation media (With both slack 9,1 and slack 10) busbarn Slackware - Installation 6 07-15-2004 04:03 PM
Anybody know how to use slack-required when creating slack pakages? linuxlah Slackware 1 02-10-2004 03:27 PM


All times are GMT -5. The time now is 12:54 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration