LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 02-25-2003, 10:55 PM   #1
d33pdream
Member
 
Registered: Jan 2003
Distribution: LFS
Posts: 90

Rep: Reputation: 15
VI & VIM are borked!


Seems like these are the only to peices of software that do it...

Lets say i want to insert some text, i punch "I" and start to right but nothing appears.. i start hitting a single key and eventually it will appear... i cannot backspace, space forward... anything... when i hit the left or right arrow it breaks the line and type a "B"

Is this bash or the editor doing this? Was thinking about compiling VI from sources... but figured i'd ask first, as i've had this problem on a few other machines, the current machine is a Mandrake 9 install, pretty much OEM
 
Old 02-26-2003, 01:05 AM   #2
gtnorton
LQ Newbie
 
Registered: Feb 2003
Posts: 14

Rep: Reputation: 0
That sounds very odd. What version are you using? Have you looked at your .vimrc for anything unusual. Does this also happen in the gui version? Try the ViM help mailing list. Sorry I couldn't be too helpful, but check out http://www.vim.org/maillist.php#vim

Regards,
gtnorton
 
Old 02-26-2003, 02:12 AM   #3
d33pdream
Member
 
Registered: Jan 2003
Distribution: LFS
Posts: 90

Original Poster
Rep: Reputation: 15
hrm, seems to run OK with the following command at the VIM command line:


set nocp, which i guess gives it VIM default. Must of screwed something up. I don't have an X version, it's on an old server of mine. Koo. Thanks for your help
 
Old 02-26-2003, 02:13 AM   #4
punt
Member
 
Registered: Jun 2001
Distribution: Fedora 22
Posts: 371

Rep: Reputation: 30
yeah. some versions of VI are not kind to arrow keys. it's somewhat like the korn shell. if you use the arrows, you'll get A/B/C/D. just hit escape and dd those lines that you end up getting. i don't really know the easiest way around it, but you just need to make sure you're not hitting the arrow keys when you're in INSERT mode.
 
Old 11-15-2004, 02:57 AM   #5
stellarboy
LQ Newbie
 
Registered: Oct 2004
Posts: 9

Rep: Reputation: 0
solution

well i had the same problem on slackware (arrow keys gave me a, b c or d's),
the easiest way is to create an .vimrc in your home-directory....
 
  


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
Possible problem with VISUAL=vi (vim & bash) redthor Linux - Newbie 2 04-26-2005 06:19 AM
vim & aspell configuration edM Slackware 4 03-29-2005 12:50 PM
vim 6.2 & set nocp JJX Linux - Newbie 6 04-08-2004 06:34 AM
XFCE 4.0.1 & vim fr0zen Linux - Software 2 12-11-2003 02:23 PM
VI & VIM dont behave phoeniXflame Linux - Software 2 07-02-2003 11:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:03 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
Open Source Consulting | Domain Registration