[oi-dev] Shipping the nano editor alongside with vi

Hung Nguyen Gia gh_origin at zohomail.com
Mon Jan 11 16:23:04 UTC 2021


I know how to install nano, sir.

To be fair, your OS is a resources hog. This small VM I'm setup only has 4 cores 4 GB of RAM.

Without limiting the ZFS Maximum ARC Cache in /etc/system, any attempts to use pkg will fail.

It could be stuck for eternity if me don't intervene with Ctrl+C. Or it will run for a while but fail because not enough memory.

To be able to use this VM comfortably, I have to assign 8 GB of swap and limit arc cache size to 512 MB maximum.

I can't deal with vi at all. Not the modern VIM let alone your old vi.

Without nano, I can't do text editing.

Yes, vi is historically part of any Unix. But at least, on FreeBSD, they have a fallback, the ee editor, included by default.

It's basically what I'm asking for.


---- On Mon, 11 Jan 2021 15:27:51 +0700 Vincent Torri <vincent.torri at gmail.com> wrote ----

 > On Mon, Jan 11, 2021 at 9:00 AM Toomas Soome via oi-dev
 > <oi-dev at openindiana.org> wrote:
 > >
 > >
 > >
 > > > On 11. Jan 2021, at 09:39, Hung Nguyen Gia via oi-dev <oi-dev at openindiana.org> wrote:
 > > >
 > > > Maybe... I'm impolite. But what if I'm just visit here once for this purpose then?
 > > >
 > > > I only care about the result. Maybe I'm posted on the wrong mailing list. Maybe OI-discuss more fit?
 > > >
 > > > The only thing I want to see and to care is: the next version of OI, nano is included alongside of vi in the text and minimal version.
 > > >
 > > > It's just simple as that. Why make thing complicated?
 > > >
 > >
 > > The problem is, you are asking to expand minimal version, by definition, after such expansion, the minimal is not minimal any more. So, the decision has to me made - should the definition of minimal be changed, or should user who has decided to use minimal image, learn how to enter ‘pkg install nano’.
 > 
 > hello
 > 
 > As a user, I don't want my system to be polluted by unwanted packages.
 > I prefer installing what I want. For example, for text or code editor,
 > I prefer another program than nano.
 > 
 > When searching for a package, i use
 > http://pkg.openindiana.org/hipster/en/index.shtml (in case it helps)
 > 
 > best regards
 > 
 > Vincent Torri
 > 
 > >If you are making decision to use minimal image, you should be aware that such image is missing many things and is not intended to be used by someone who does not know how to use the system.
 > >
 > > PS: I see no problem to include nano with larger image.
 > >
 > > my 2 cents.
 > >
 > > rgds,
 > > toomas
 > >
 > > > ---- On Sun, 10 Jan 2021 14:19:14 +0700 Tim Mooney via oi-dev <oi-dev at openindiana.org> wrote ----
 > > >
 > > >> In regard to: Re: [oi-dev] Shipping the nano editor alongside with vi, Hung...:
 > > >>
 > > >>> Yes, it's just a single line. But why you give me a read-only file and
 > > >>> asked me to modified it?
 > > >>>
 > > >>> It's much more simpler for developer with write access to do it, not me.
 > > >>> And it's within a second, just a single line.
 > > >>
 > > >> I don't know if other languages and cultures have an equivalent, but there
 > > >> is a proverb[1] that applies here:
 > > >>
 > > >>     If you give a man a fish, you feed him for a day.
 > > >>     If you teach a man to fish, you feed him for a lifetime.
 > > >>
 > > >> Teaching someone (or helping them learn) how to do something is often
 > > >> more useful than just doing something (once) for them.
 > > >>
 > > >> Aurélien is trying to help you to learn to fish.
 > > >>
 > > >> Learning how to clone oi-userland, create a branch, make a very simple
 > > >> change like this, and submit a pull request (PR) is very useful knowledge
 > > >> to have for anyone that wants to contribute to OI.  There are certainly
 > > >> other ways to contribute, but since you're posting to the oi-dev list,
 > > >> it seems like you might be interested in the development process.  Knowing
 > > >> the workflow for submitting a change is potentially beneficial to you.
 > > >>
 > > >> Yes, he could do it in just a couple minutes.  But then you've missed an
 > > >> opportunity to learn something that might allow you to contribute to OI.
 > > >>
 > > >> [1] the origin of this proverb appears to be quite contested, but it
 > > >> seems like it might be Lao-Tzu.
 > > >>
 > > >> Tim
 > > >>
 > > >>> ---- On Sun, 10 Jan 2021 00:49:50 +0700 Aurélien Larcher <aurelien.larcher at gmail.com> wrote ----
 > > >>>
 > > >>>>
 > > >>>>
 > > >>>> On Sat, Jan 9, 2021 at 9:09 AM Hung Nguyen Gia via oi-dev <oi-dev at openindiana.org> wrote:
 > > >>>> This should be done for none desktop OI flavors: OI text and OI minimal.
 > > >>>>
 > > >>>> It will help novice user like me very much. Please consider it, developers. I have trouble using the vi editor even though I have my mobile phone with me as a backup showing the vi tutorial. And I think many other novice users have the same trouble as me.
 > > >>>>
 > > >>>> Doing as Fedora is a step too far: https://www.phoronix.com/scan.php?page=news_item&px=Fedora-33-Nano-Is-The-Default
 > > >>>>
 > > >>>> I only asked for shipping nano alongside with vi. The link I put above just to note that nano has pretty much become the default editor on the Linux world and most of us come from Linux. It will be easier for us. Thanks.
 > > >>>>
 > > >>>> Hello,
 > > >>>> basically one could add the nano package to:
 > > >>>>
 > > >>>> https://github.com/OpenIndiana/oi-userland/blob/oi/hipster/components/meta-packages/install-types/includes/minimal
 > > >>>>
 > > >>>> Kind regards,
 > > >>>>
 > > >>>> Aurélien
 > > >>>>
 > > >>>>
 > > >>>>
 > > >>>> _______________________________________________
 > > >>>> oi-dev mailing list
 > > >>>> oi-dev at openindiana.org
 > > >>>> https://openindiana.org/mailman/listinfo/oi-dev
 > > >>>>
 > > >>>>
 > > >>>> --
 > > >>>> ---
 > > >>>> Praise the Caffeine embeddings
 > > >>>> _______________________________________________
 > > >>>> oi-dev mailing list
 > > >>>> oi-dev at openindiana.org
 > > >>>> https://openindiana.org/mailman/listinfo/oi-dev
 > > >>>>
 > > >>>
 > > >>> _______________________________________________
 > > >>> oi-dev mailing list
 > > >>> oi-dev at openindiana.org
 > > >>> https://openindiana.org/mailman/listinfo/oi-dev
 > > >>>
 > > >>
 > > >> --
 > > >> Tim Mooney Tim.Mooney at ndsu.edu
 > > >> Enterprise Computing & Infrastructure /
 > > >> Division of Information Technology    /                701-231-1076 (Voice)
 > > >> North Dakota State University, Fargo, ND 58105-5164_______________________________________________
 > > >> oi-dev mailing list
 > > >> oi-dev at openindiana.org
 > > >> https://openindiana.org/mailman/listinfo/oi-dev
 > > >>
 > > >
 > > > _______________________________________________
 > > > oi-dev mailing list
 > > > oi-dev at openindiana.org
 > > > https://openindiana.org/mailman/listinfo/oi-dev
 > >
 > >
 > > _______________________________________________
 > > oi-dev mailing list
 > > oi-dev at openindiana.org
 > > https://openindiana.org/mailman/listinfo/oi-dev
 > 
 > _______________________________________________
 > oi-dev mailing list
 > oi-dev at openindiana.org
 > https://openindiana.org/mailman/listinfo/oi-dev
 > 



More information about the oi-dev mailing list