LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   General (https://www.linuxquestions.org/questions/general-10/)
-   -   nano vs vi (https://www.linuxquestions.org/questions/general-10/nano-vs-vi-589300/)

iwasapenguin 10-24-2007 07:23 PM

Okay, After Windows media play (can't beat a pretty media player), edit.com is the best thing that Microsoft have ever made!
... I mean it!

Any way going back to *NIX stuff my first experience with vi was on SAM Linux trying to edit the settings (why are there distros that lock you out of root?). Sadly vi SAM only has the core binary for vi and none of the shared libs it needs so things like using backspace at the begging of a line failed to work and it added in D's and B's if I hit enter more than one time in a row. Very awkward.

But don't get me wrong I just converted from vim to gvim.

oskar 10-25-2007 07:26 AM

What do you mean -'lock you out of root'? Can't access the root directory? Can't create a root user? Never heard of that.

Quag7 10-28-2007 01:26 PM

I don't know if this has changed but Gentoo, the distribution I run, is very nano-centric and doesn't include vi on its installation disk - at least not since last I checked. It is an odd exception to the rule of vi being available everywhere (which it should be).

I got used to nano, which is easy to use but has less features than vi, and then I got into this environment at work where I had to telnet to an internal HP-UX machine, and then from there to a system on another network segment which ran some old version of Solaris. Each of those machines *only* had vi installed (well, they didn't have pico, nano, or emacs - maybe they had something older). I was forced to learn vi, which was infuriating at first, but it goes to show that, as several have pointed out, it is ubiquitous, or nearly so. vi is something that anyone can learn, but I can't say it is intuitive or user-friendly.

It's just that, if you do learn it, you can do a lot more with it than you can with nano. The time investment up front might be worth it. And you really don't want to ever encounter it, and have it be your only choice, in an emergency, having never used it before. This is how I first encountered it (in terms of having no choice but to use it), and it was not pleasant.

Me, I think the BANK STREET WRITER should be the default text editor on all operating systems.

Because I am all about the danger.

iwasapenguin 10-28-2007 06:57 PM

Distos like Ubuntu won't let you log in normally as the root user since they are not really intended to be used by the technically inclined.
Instead if you have to do anything remotely useful in learning how the system fits together, su for everything.

brightwindow 10-28-2007 07:48 PM

Some people prefer vi and some others nano ,I think I like vi better .

oskar 10-28-2007 10:00 PM

Quote:

Originally Posted by iwasapenguin (Post 2940282)
Distos like Ubuntu won't let you log in normally as the root user since they are not really intended to be used by the technically inclined.
Instead if you have to do anything remotely useful in learning how the system fits together, su for everything.

I don't quite understand. Naturally you can create a root user.

Never mind though... This is the vi-vs-nano thread, right.

Go VI!


All times are GMT -5. The time now is 11:18 PM.