Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Should vi make it into the Gentoo 1.4 LiveCD?
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Gentoo Chat
View previous topic :: View next topic  

Should vi make it into the Gentoo 1.4 LiveCD?
Yes, alongside nano, to give veteran users the option.
68%
 68%  [ 93 ]
Replace nano with vi, nano sucks!
14%
 14%  [ 20 ]
Vi? What about pico!?
2%
 2%  [ 3 ]
I hate vi. If anything, emacs should go on the LiveCD.
6%
 6%  [ 9 ]
Why not e3, it's small and does all of the above!
1%
 1%  [ 2 ]
[Another editor] is better than all of the above.
5%
 5%  [ 8 ]
Total Votes : 135

Author Message
timbo
Apprentice
Apprentice


Joined: 29 Jul 2002
Posts: 231
Location: New Zealand

PostPosted: Mon Jan 06, 2003 10:57 pm    Post subject: Reply with quote

Call me a throw-back from god knows where but I've found vi too complicated, if it is to be added PLEASE keep nano for us simpletons and if it can be done that nano -w is default would be great too.

Regards
Tim
8)
Back to top
View user's profile Send private message
Carlos
Guru
Guru


Joined: 07 Aug 2002
Posts: 458
Location: Providence, RI

PostPosted: Mon Jan 06, 2003 11:31 pm    Post subject: Reply with quote

You know, there's no straight 'No' choice in the poll - I wonder if that's skewed the results at all.

timbo wrote:
Call me a throw-back from god knows where but I've found vi too complicated, if it is to be added PLEASE keep nano for us simpletons and if it can be done that nano -w is default would be great too.
Don't worry, replacing nano with vi is probably the least likely thing that can happen. It's probably more likely that nano will be replaced with notepad...[/quote]
_________________
Man must shape his tools lest they shape him.
Back to top
View user's profile Send private message
Dalrain
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jul 2002
Posts: 136
Location: Wooster, OH USA

PostPosted: Tue Jan 07, 2003 6:19 am    Post subject: Reply with quote

I'll second on the rescue disk comment...it's quite nice to have a "heavier" editor when you need to really muck about in things after a disaster. vi is also covered in some nice O'Reilly books as well, for those people that really need it. (No, not in its own book in this case, I'm talking about the Linux pocket refs and others.)

Also, I keep running into the :wq thing. That's the worst part. :D
Back to top
View user's profile Send private message
fghellar
Bodhisattva
Bodhisattva


Joined: 10 Apr 2002
Posts: 856
Location: Porto Alegre, BR

PostPosted: Tue Jan 07, 2003 4:48 pm    Post subject: Reply with quote

Dalrain wrote:
vi is also covered in some nice O'Reilly books as well, for those people that really need it.

There's also a good tutorial about vi in the IBM dW site:

vi intro -- the cheat sheet method
Daniel Robbins
December 2000
"Newbies to the vi editor will gain proficiency; experienced users will gain a valuable refresher."


I don't have any personal preferences about vi/nano/whatever; I just use the one at hand and that's it. If I want to pick one editor for regular use, it's just as simple as 'emerge whatever'. Besides, a rescue disk is for (quick) rescue/maintenance tasks; it's not intended to be used as a workstation.
_________________
| www.gentoo.org | www.tldp.org | www.google.com |
Back to top
View user's profile Send private message
masseya
Bodhisattva
Bodhisattva


Joined: 17 Apr 2002
Posts: 2602
Location: Baltimore, MD

PostPosted: Tue Jan 07, 2003 5:10 pm    Post subject: Reply with quote

Kanuslupus..

You have some very good points, but I think that there is a very easy line of demarkation. Emacs and vi are the most popular text editors for a unix system. They have large groups of people who create threads like this when they don't get their way. They also have users who have been dedicated to their respective editor for years and years and find other editors difficult to work with at best. In the interests of appeasing n00bs (with nano) and experienced users (with lightweight versions of vi and Emacs) I would want to see them included and nothing more.

To contradict myself, I would like to say that I like the fact that Gentoo hasn't become a huge CD image to download. I like that they do something and then don't second guess it until there's a very rational argument to do so. I agree that nano is certainly good enough for the small amount of time that you would have to use it.
_________________
if i never try anything, i never learn anything..
if i never take a risk, i stay where i am..
Back to top
View user's profile Send private message
ebrostig
Bodhisattva
Bodhisattva


Joined: 20 Jul 2002
Posts: 3152
Location: Orlando, Fl

PostPosted: Tue Jan 07, 2003 7:35 pm    Post subject: Reply with quote

Tristam29 wrote:
Kanuslupus..

You have some very good points, but I think that there is a very easy line of demarkation. Emacs and vi are the most popular text editors for a unix system. They have large groups of people who create threads like this when they don't get their way. They also have users who have been dedicated to their respective editor for years and years and find other editors difficult to work with at best. In the interests of appeasing n00bs (with nano) and experienced users (with lightweight versions of vi and Emacs) I would want to see them included and nothing more.

To contradict myself, I would like to say that I like the fact that Gentoo hasn't become a huge CD image to download. I like that they do something and then don't second guess it until there's a very rational argument to do so. I agree that nano is certainly good enough for the small amount of time that you would have to use it.


Tristam, you have some good points too!

I agree, keep the download size as small as possible, but it shouldn't affect the usefullness by doing so.

I have used vi for the better part of the last 20 years, and I find myself inserting all kinds of interesting control-codes into a textfile when I use Nano. Vi is so much in my fingertips that I don't have to think about what I'm doing, it's just there :)

Now, I'm not going to be a zealot. If people don't want vi on the LiveCD, I can live without it, but it would be nice IMHO. :)

Erik
_________________
'Yes, Firefox is indeed greater than women. Can women block pops up for you? No. Can Firefox show you naked women? Yes.'
Back to top
View user's profile Send private message
darktux
Veteran
Veteran


Joined: 16 Nov 2002
Posts: 1086
Location: Coimbra, Portugal

PostPosted: Tue Jan 07, 2003 7:44 pm    Post subject: Reply with quote

ebrostig wrote:
Tristam29 wrote:
Kanuslupus..

You have some very good points, but I think that there is a very easy line of demarkation. Emacs and vi are the most popular text editors for a unix system. They have large groups of people who create threads like this when they don't get their way. They also have users who have been dedicated to their respective editor for years and years and find other editors difficult to work with at best. In the interests of appeasing n00bs (with nano) and experienced users (with lightweight versions of vi and Emacs) I would want to see them included and nothing more.

To contradict myself, I would like to say that I like the fact that Gentoo hasn't become a huge CD image to download. I like that they do something and then don't second guess it until there's a very rational argument to do so. I agree that nano is certainly good enough for the small amount of time that you would have to use it.


Tristam, you have some good points too!

I agree, keep the download size as small as possible, but it shouldn't affect the usefullness by doing so.

I have used vi for the better part of the last 20 years, and I find myself inserting all kinds of interesting control-codes into a textfile when I use Nano. Vi is so much in my fingertips that I don't have to think about what I'm doing, it's just there :)

Now, I'm not going to be a zealot. If people don't want vi on the LiveCD, I can live without it, but it would be nice IMHO. :)

Erik


Sheer here! And don't forget it's also a Rescue CD :wink:
_________________
Lego my ego, and I'll lego your knowledge

www.tuxslare.org - My reborn website :P
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Tue Jan 07, 2003 8:09 pm    Post subject: Reply with quote

Having used various flavors of Emacs for 10 years, I tend to put it on all machines I can. However, it's absolutely overkill for an installation/rescue CD. I agree that the slimness of the install CD is a plus that should not be wantonly sacrificed. I'm not too up on all the various vi clones, but vanilla vi is pretty small, and I would prefer it to nano also. I would hope it would be possible to leave out lots of the syntax highlighting and so forth that comes with a full-featured vim.
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
ViMan
n00b
n00b


Joined: 18 Jun 2002
Posts: 51

PostPosted: Tue Jan 07, 2003 9:10 pm    Post subject: Reply with quote

Why not include Jed (http://space.mit.edu/~davis/jed.html) or MicroEmacs (http://www.microemacs.de/) instead of Emacs if you don't want to include all of Emacs? At least Emacs users would have an Emacs clone to use instead.
Back to top
View user's profile Send private message
darktux
Veteran
Veteran


Joined: 16 Nov 2002
Posts: 1086
Location: Coimbra, Portugal

PostPosted: Tue Jan 07, 2003 9:33 pm    Post subject: Reply with quote

MicroEmacs maybe, jed no. I think that those 3 editors, would already make 'the community' happy.
_________________
Lego my ego, and I'll lego your knowledge

www.tuxslare.org - My reborn website :P
Back to top
View user's profile Send private message
joron
n00b
n00b


Joined: 18 Dec 2002
Posts: 2

PostPosted: Tue Jan 07, 2003 10:23 pm    Post subject: Reply with quote

I read nano -w, in the installtion guide, but typed vi on my first installation of Gentoo-1.4rc1. I had never used nano before so I had to learn the basics of a new editor. That took me a couple of minutes :D and I have used nano more and more since then.
I'm glad that it wasn't the other way around. Remeber running vi the first time. ESC -> : -> q! -> ENTER isn't exacly obvius.
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Tue Jan 07, 2003 10:47 pm    Post subject: Reply with quote

darktux wrote:
MicroEmacs maybe, jed no. I think that those 3 editors, would already make 'the community' happy.
Except for those wanting jed. Thats OK though, cause we don't need to make everyone happy.

This is exactly the point I was trying to make.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
ebrostig
Bodhisattva
Bodhisattva


Joined: 20 Jul 2002
Posts: 3152
Location: Orlando, Fl

PostPosted: Tue Jan 07, 2003 11:24 pm    Post subject: Reply with quote

joron wrote:
I read nano -w, in the installtion guide, but typed vi on my first installation of Gentoo-1.4rc1. I had never used nano before so I had to learn the basics of a new editor. That took me a couple of minutes :D and I have used nano more and more since then.
I'm glad that it wasn't the other way around. Remeber running vi the first time. ESC -> : -> q! -> ENTER isn't exacly obvius.


I guess it is just as intuitive as Control+X, N right? :)

The point is not to argue whether vi or nano or any other editor is better because that discussion has been going on on UseNet since the 80's and is still going on strong. But rather if including the basic vi on the LiveCD is adding value to the LiveCD. Personally I think it is.


Erik
_________________
'Yes, Firefox is indeed greater than women. Can women block pops up for you? No. Can Firefox show you naked women? Yes.'
Back to top
View user's profile Send private message
crichards
n00b
n00b


Joined: 01 Jan 2003
Posts: 32

PostPosted: Wed Jan 08, 2003 1:59 am    Post subject: Reply with quote

Actually, its Control-X Control-C in Emacs :P

Now, I can use Vi proficiently, and I prefer Emacs. I don't really CARE what editor is used on an install disk. For all I care, it could be "some-obscure-editor-nobody-uses", as long as its quick and intuitive on an install disk. Vi is quick and universal, but I really don't remember it being on the Debian install disk. Nano there, IIRC.

Nano is PERFECT for an installer. its small, easy, and quick.

And thats all that matters when you're installing or rescuing a system.

But I don't want Emacs on an install disk. Way too large and slow for an install disk.
_________________
KDE | Qt | Python
Back to top
View user's profile Send private message
ebrostig
Bodhisattva
Bodhisattva


Joined: 20 Jul 2002
Posts: 3152
Location: Orlando, Fl

PostPosted: Wed Jan 08, 2003 2:34 am    Post subject: Reply with quote

crichards wrote:
Actually, its Control-X Control-C in Emacs :P

Now, I can use Vi proficiently, and I prefer Emacs. I don't really CARE what editor is used on an install disk. For all I care, it could be "some-obscure-editor-nobody-uses", as long as its quick and intuitive on an install disk. Vi is quick and universal, but I really don't remember it being on the Debian install disk. Nano there, IIRC.

Nano is PERFECT for an installer. its small, easy, and quick.

And thats all that matters when you're installing or rescuing a system.

But I don't want Emacs on an install disk. Way too large and slow for an install disk.

I wasn't referring to Emacs with the Control+X,N but to Nano where it is the cocmmand to quit without saving.

I wouldn't know about Emacs, it's a beast I have'nt used since the 80's and I have no intention of starting now :)

What is the problem of including a minimal vi? If there are good reasons as to why not, I have no problems with it. It's just an editor that exists on each and every UNIX/LINUX distro out there and a lot of people know it by heart. It makes the adaption to Gentoo easy for people who are used to it. People new to this type of OS have no preference and Nano will probably work fine for them.

Erik
_________________
'Yes, Firefox is indeed greater than women. Can women block pops up for you? No. Can Firefox show you naked women? Yes.'
Back to top
View user's profile Send private message
Valen
Apprentice
Apprentice


Joined: 18 Aug 2002
Posts: 197
Location: Toronto, Ontario, Canada

PostPosted: Wed Jan 08, 2003 4:48 am    Post subject: Reply with quote

I seem to recall having vi on my 1.4rc1 LiveCD ... has it been removed in rc2?

As I was reading the mailing list thread it seemed that the argument was focused around having vi included in the stage* tarballs. If vi is on the livecd it is a very simple matter to open another terminal and do your editting with vi from outside the chrooted environment. In fact I don't think I used nano to do any of my editting for 1.4 installations. This would also hold for the rescue disk idea.

That said I do think that vi's history as the standard unix editor and it's relatively small size would make it a reasonable choice to include in the stage* tarballs, but I am leaning strongly towards indifference if it is still on the rc2 livecd.
Back to top
View user's profile Send private message
whit
Tux's lil' helper
Tux's lil' helper


Joined: 26 Oct 2002
Posts: 121
Location: VT

PostPosted: Wed Jan 08, 2003 5:34 am    Post subject: Anything but nano Reply with quote

The same as some people have vi programmed in their fingertip reflexes, others of us have been using WordStar-keyed editors forever. There was a whole slew of small editors under CP/M and DOS using the WordStar control key set, which is a laid out in a way which works very well for anyone with a geometric imagination. Last I looked, Borland's tools still obey the WordStar keys. And those of us from that background who've ended up on Linux often discover that by invoking joe as "jstar" we're still right at home. (On the rare times I still work in DOS, I use vde.)

Okay, so what's wrong with nano? Once a WordStar-keystroke accustomed user learns not to move down a line with ctrl-X, there's still the ctrl-KX to save and exit. So what does nano do with ctrl-KX? It deletes the line you're on and then exits. The last thing you want in an installation system is something that makes it easy - even likely - to lose crucial data - namely a line in a configuration file. I know it's too late to ask, but it would be good if nano just went away. If people want a pico clone, evoking joe as "jpico" gives you one with far more power than nano has. Yes, joe is a larger install than nano - but still quite small in the scheme of things. Yes, the version of joe in Gentoo has lagged behind; installing the current version instead gives you something that won't get confused in X windows.

And vi should always be there too - having the tools that fit the hands well is crucial to the quality of the craft. During an install or a resue disk operation is precisely when you're properly focusing on larger, more pressing questions and shouldn't have to worry about controlling an unfamiliar editor. Plus, nano is braindead - and vi is beautiful in the hands of a user who knows it, but so is joe.
Back to top
View user's profile Send private message
Larde
Guru
Guru


Joined: 07 Jun 2002
Posts: 313
Location: Duesseldorf, Germany

PostPosted: Wed Jan 08, 2003 7:18 am    Post subject: Reply with quote

Quote:
Nano is PERFECT for an installer.

I don't think so. An editor where you have to remember to call it with a commandline switch (-w) to not trash you configfiles? Urgs.

Yours,
Larde.
_________________
Someday this will be my home... http://moonage.net/
I'll make you a deal
I'll say I came from Earth and my tongue is taped
Back to top
View user's profile Send private message
fghellar
Bodhisattva
Bodhisattva


Joined: 10 Apr 2002
Posts: 856
Location: Porto Alegre, BR

PostPosted: Wed Jan 08, 2003 12:37 pm    Post subject: Reply with quote

Larde wrote:
An editor where you have to remember to call it with a commandline switch (-w) to not trash you configfiles? Urgs.

/usr/portage/app-editors/nano/ChangeLog wrote:
11 Apr 2002; Seemant Kulleen <seemant@gentoo.org> nano-1.0.8-r1.ebuild :

I did not bump the revision number of this, but I added a flag to disable text wrapping as root, for when nano is built for the bootcd or build environments. This means that the nano -w instruction in our Gentoo Installation docs will need to be adjusted to just say "nano" now. Thanks to <name omitted> in bug # 1565

_________________
| www.gentoo.org | www.tldp.org | www.google.com |
Back to top
View user's profile Send private message
ajaustin
n00b
n00b


Joined: 18 Oct 2002
Posts: 38
Location: Surrey UK

PostPosted: Fri Jan 10, 2003 11:38 pm    Post subject: Reply with quote

I think vi should be there, it's traditional. After all, wasn't it Richard Stallman's hatred of vi that was the initial impetus behind GNU?

I used to hate vi too, but now I love it, it's just a matter of sticking with it and remembering that if it was good enough for Kernigan and Richie it's good enough for me.

PS. My Windows loving son saw me editing some Perl or Javascript with vi - "what's that? It's really cool!", "Oh, it's just good old vi."
_________________
Tony
Back to top
View user's profile Send private message
bigfoot
n00b
n00b


Joined: 19 Sep 2002
Posts: 1

PostPosted: Tue Jan 14, 2003 3:47 pm    Post subject: Why is this a topic? Reply with quote

A total of %84 percent of the people polled want vi on the disk, either in addition, or replacing nano.

Why is this even a topic of disscusion?

Love it or hate it, if you use unix you end up knowing enough vi to edit a file.

I don't see Gentoo as trying to be the install for first time unix users, it's clearly bent tword the user that rolls thier own sytem. If you can't manage that, you probably couldn't complete the install anyway.

Why don't we rename ls to dir while we are at it?
Back to top
View user's profile Send private message
fghellar
Bodhisattva
Bodhisattva


Joined: 10 Apr 2002
Posts: 856
Location: Porto Alegre, BR

PostPosted: Tue Jan 14, 2003 4:29 pm    Post subject: Re: Why is this a topic? Reply with quote

bigfoot wrote:
A total of %84 percent of the people polled want vi on the disk, either in addition, or replacing nano.

Why is this even a topic of disscusion?

I don't know, because it is already there.
_________________
| www.gentoo.org | www.tldp.org | www.google.com |
Back to top
View user's profile Send private message
jonemi
Tux's lil' helper
Tux's lil' helper


Joined: 16 Apr 2002
Posts: 78
Location: Utah, USA

PostPosted: Tue Jan 14, 2003 4:40 pm    Post subject: Reply with quote

I say small rendition of Vi and Emacs. These are industry-standard.

Personally, I don't mind Nano on an install disk (though remembering to use '-w' and to delete all my extra j's I accidently put in the first line of my config files is a little perturbing). However, for a rescue disk, I would rather use a real editor. Something that is powerful and efficient.
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Tue Jan 14, 2003 5:13 pm    Post subject: Reply with quote

Seems like the topic has exhausted itself.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
Display posts from previous:   
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Gentoo Chat All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
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