Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Could not find vi when installing
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
baomike
n00b
n00b


Joined: 23 May 2006
Posts: 11
Location: Oregon

PostPosted: Tue May 23, 2006 6:26 pm    Post subject: Could not find vi when installing Reply with quote

I got to the editing of fstab file . For this you need an editor. no vi. elvis or vim aught work .
did an enable elvis about two hours ago and it's still at download/compile.
It appears to be fetching the entire Xwindows system. Can I safely kill the enable?

Vi is a small program ( used to carry it around on 5.25. floppy), could it not be included
for installation?
Back to top
View user's profile Send private message
zxiiro
Tux's lil' helper
Tux's lil' helper


Joined: 27 Apr 2004
Posts: 98
Location: Ottawa

PostPosted: Tue May 23, 2006 6:39 pm    Post subject: Reply with quote

I never used a Gentoo install disc but I believe they use 'nano' as the default editor. You can install vi at post installation.
Back to top
View user's profile Send private message
sternklang
Veteran
Veteran


Joined: 10 Sep 2005
Posts: 1641
Location: Somewhere in time and space

PostPosted: Tue May 23, 2006 6:40 pm    Post subject: Reply with quote

There have been mutiple discussions on the forums on this subject. When installing Gentoo, vim is the first package I emerge after untarring the Portage snapshot, but vi would work just as well. Yes I really wish it would be included in the install stage, but no, the devs are not going to do this. :(

You can interrupt the emerge of elvis, but you will have a partial X system installed. This shouldn't keep you from installing the rest later on, so it's safe to stop it now.
Back to top
View user's profile Send private message
zxiiro
Tux's lil' helper
Tux's lil' helper


Joined: 27 Apr 2004
Posts: 98
Location: Ottawa

PostPosted: Tue May 23, 2006 6:45 pm    Post subject: Reply with quote

Use Knoppix to install Gentoo, you'll get vi.
Back to top
View user's profile Send private message
lxg
Veteran
Veteran


Joined: 12 Nov 2005
Posts: 1019
Location: Aachen, Germany

PostPosted: Tue May 23, 2006 8:38 pm    Post subject: Re: Could not find vi when installing Reply with quote

baomike wrote:
It appears to be fetching the entire Xwindows system.


That's why you should alway do a emerge -pv PACKAGE before actually emerging. This way, you see dependancies and USE flags. For example, if you have USE="-X minimal" for vim, you should get a tiny emerge.

Quote:
Can I safely kill the enable?

If by "enable" you mean "emerge", then: Yes.
_________________
lxg.de – codebits and tech talk
Back to top
View user's profile Send private message
yabbadabbadont
Advocate
Advocate


Joined: 14 Mar 2003
Posts: 4791
Location: 2 exits past crazy

PostPosted: Tue May 23, 2006 8:49 pm    Post subject: Reply with quote

Vim is included on the install cd though (both the livecd and minimal one). What I always do is to edit the files from outside of the chroot in a different terminal or console session using vim. You just have to make sure that you edit the files under /mnt/gentoo, for example, /mnt/gentoo/etc/fstab. All other (non-editing) tasks, I perform inside the chroot.
_________________
Bones McCracker wrote:
On the other hand, regex is popular with the ladies.
Back to top
View user's profile Send private message
Ast0r
Guru
Guru


Joined: 11 Apr 2006
Posts: 404
Location: Dallas, Tx - USA

PostPosted: Tue May 23, 2006 10:59 pm    Post subject: Reply with quote

zxiiro wrote:
Use Knoppix to install Gentoo, you'll get vi.

Once you enter the chroot you'll lose it though. I always install Vim right after untarring the tarball too.
yabbadabbadont wrote:
Vim is included on the install cd though (both the livecd and minimal one). What I always do is to edit the files from outside of the chroot in a different terminal or console session using vim. You just have to make sure that you edit the files under /mnt/gentoo, for example, /mnt/gentoo/etc/fstab. All other (non-editing) tasks, I perform inside the chroot.

Exactly. There is no benefit to using Knoppix to get Vi support because the LiveCD has it. Just do
Code:
emerge vim

after you extract the portage tarball and set the time.
Back to top
View user's profile Send private message
baomike
n00b
n00b


Joined: 23 May 2006
Posts: 11
Location: Oregon

PostPosted: Tue May 23, 2006 11:42 pm    Post subject: vi Reply with quote

Thanks for the responses.
I must admit I lost patience with the thing (emerge VIM) and killed it.
Wiped the disk. I am giving the full install a try but it begins to look like a
Debian et al install. Will see when it ends.

It appears I may have missed a vi vs EMACs type battle ....
I'll say this for gentoo, it is the first version of Linux that is not a Windows "do a like".
I am used to Slackware and liked the ability in gentoo to play with/adjust the parts.
Some I have tried didn't even have the kernel code with them. The first thing you do when you install
is customize the kernel.

Thanks again for the suggestions.
Mike
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum