LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 09-25-2015, 02:22 AM   #1
geep
LQ Newbie
 
Registered: Feb 2004
Posts: 12

Rep: Reputation: 0
Debian Wheezy; vim-enhanced; E149: Sorry, no help for cp-default


I've spent the entire day trying to install/run vim from the terminal!
I've just installed vim-enhanced... typing "vim" in the terminal produces "vim: command not found" Typing vi runs: VIM - Vi IMproved

The opening window says:
Running in Vi compatible mode.
type :set nocp<Enter> for vim defaults
type :help cp-default<Enter> for info on this

typing :help cp-default produces "E149: Sorry, no help for cp-default"

man vim works
vim --help works

Am I missing something???
 
Old 09-25-2015, 02:54 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,804

Rep: Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306
I do not really understand what is your problem? Yes, usually vi is used and will run vim (but depends on how it was installed).
Why do you think :help cp-default should return something?
 
Old 09-25-2015, 03:39 AM   #3
descendant_command
Senior Member
 
Registered: Mar 2012
Posts: 1,876

Rep: Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643
Maybe you need the related -doc package?
 
Old 09-25-2015, 07:39 AM   #4
geep
LQ Newbie
 
Registered: Feb 2004
Posts: 12

Original Poster
Rep: Reputation: 0
Wink Pan64 said

"Why do you think :help cp-default should return something?"

Because the instructions on the opening page said: type :help cp-default<Enter> for info on this
 
Old 09-25-2015, 07:53 AM   #5
geep
LQ Newbie
 
Registered: Feb 2004
Posts: 12

Original Poster
Rep: Reputation: 0
descendant_command said:

Quote:
Originally Posted by descendant_command View Post
Maybe you need the related -doc package?
I installed vim-doc_7.3.547-7_all.deb (same ver as vim-enhansed)

Result: E149: Sorry, no help for cp-default.
 
Old 09-25-2015, 10:10 AM   #6
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,804

Rep: Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306
Looks like it depends on the version of vim itself, I found it here:
/usr/share/vim/vim74/doc/version5.txt
I have vim-7.4.488-7
 
Old 09-25-2015, 02:43 PM   #7
descendant_command
Senior Member
 
Registered: Mar 2012
Posts: 1,876

Rep: Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643
Quote:
I've just installed vim-enhanced
From where?
https://packages.debian.org/search?k...ll&section=all
 
Old 09-29-2015, 09:14 PM   #8
geep
LQ Newbie
 
Registered: Feb 2004
Posts: 12

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by descendant_command View Post
I've been away for a few days. Sorry for the delay getting back to you.

Your link returns the following result:
You have searched for packages that names contain vim-enhanced in all suites, all sections, and all architectures.
Sorry, your search gave no results

---------------------------------------------------------------

Thanks for your help pan64 & descendant_command but I think we should close this thread!
vim is working... I was just trying to further my education by working out why the [code]help cp-default[code] wasn't working.

I'm running Debian in a test VM while I'm learning the system before setting up a production server and for the time being I've decided to stick with the packages available through my sources.list

deb http://ftp.au.debian.org/debian/ wheezy-updates main contrib non-free
deb-src http://ftp.au.debian.org/debian/ wheezy-updates main contrib non-free

deb http://security.debian.org/ wheezy/updates main contrib
deb-src http://security.debian.org/ wheezy/updates main contrib

It seems I've got quite a bit more reading to do!!!
Thanks again for your help
Graham
 
Old 09-30-2015, 02:06 AM   #9
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,804

Rep: Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306
I think you misunderstood my post. The command :help cp-default will read the file mentioned and display the required help page. So you need to check that file if cp-default was missing. Or probably that file was missing...
 
Old 10-01-2015, 09:17 PM   #10
geep
LQ Newbie
 
Registered: Feb 2004
Posts: 12

Original Poster
Rep: Reputation: 0
Thumbs up

Quote:
Originally Posted by pan64 View Post
I think you misunderstood my post. The command :help cp-default will read the file mentioned and display the required help page. So you need to check that file if cp-default was missing. Or probably that file was missing...
I've no doubt that I misunderstood your post. I struggle in these forums, I'm missing a foundation of knowledge in Linux so many of the posts I read seem to offer only cryptic clues to a solution... but I'm slowly getting there!

Your last post inspired me to have another stab at getting this to work!

First of all, when I opened Synaptic Package Manager and filtered it with "vim", the following applications were marked as installed: vim-common, vim-tiny and vim-doc... all with the same version number: 2:7.3547-7.

The contents of my /usr/share/vim/vim73/doc/ folder is: help.txt, README.Debin and tags.
The README document stated that the help.txt was a "fake" help file and provided a link to the online help... It also mentioned the "vim-runtime" package.

I downloaded and installed vim-runtime, vim-gnome and all missing dependencies.

Now opening the Synaptic Package Manager and filtering with "vim" shows the following: vim-common, vim-tiny, vim-runtime, vim-gui-common, vim-gnome and vim-doc all with the same version number: 2:7.3547-7.

The original message on the opening page of vim (type :help cp-default<Enter> for info on this) is no longer being displayed.
Typing "vim" in a terminal will now start the vim editor. (Previously, I had to type vi to start the vim editor.)

Everything seems to be working as it should.

Thanks for your help.
Graham
 
  


Reply



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
default font settings for debian 7 wheezy tomahawk Debian 2 10-26-2013 05:51 PM
[SOLVED] Lightdm - cannot figure out how to change default xsession - Debian Wheezy ratman1 Linux - Newbie 9 05-23-2013 05:00 AM
[SOLVED] Debian Wheezy default init system. Knightron Debian 6 10-29-2012 05:05 AM
Setting Mozilla Firefox as default in Debian wheezy chiendarret Linux - Software 8 05-15-2012 12:40 AM
trying to install vim-enhanced - arrgh! chewmanfoo Linux - Software 4 06-27-2007 04:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 03:07 PM.

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