Date: Sat, 26 Jan 2019 06:53:11 +1100 (EST) From: Bruce Evans <brde@optusnet.com.au> To: Gleb Popov <arrowd@freebsd.org> Cc: Baptiste Daroussin <bapt@freebsd.org>, arch@freebsd.org Subject: Re: Importing mksh in base Message-ID: <20190126064128.Y872@besplex.bde.org> In-Reply-To: <CALH631keUjj8qUomFY4nT2Mij9T7AWwFEGLDok=6zaaPx4T8DQ@mail.gmail.com> References: <20190125165751.kpcjjncmf7j7maxd@ivaldir.net> <CALH631keUjj8qUomFY4nT2Mij9T7AWwFEGLDok=6zaaPx4T8DQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 25 Jan 2019, Gleb Popov wrote: > On Fri, Jan 25, 2019 at 8:58 PM Baptiste Daroussin <bapt@freebsd.org> wrote: > >> I would like to import mksh in base, https://www.mirbsd.org/mksh.htm >> And make it the default root shell (not necessary in one step) >> >> Why: >> 1/ it is tiny 400k (in the packaged version) all other shells fitting the >> expectation are bigger >> 2/ it's default frontend in interactive mode is very close to what most >> people >> are used to with bash You should warm up with a more modest task, such as replacing vi by emacs as the default editor. > Are there FreeBSD users that are used to bash? If not, this proposal looks > like another "let's do like Linux" thing. I have used /bin/bash as the root shell for more about 20 years. The currently install version is slightly newer -- only about 15 years old (bash-1.14.7(1) installed by mv'ing it from /usr/local/bin where some port put it. toor still uses csh, but I never use toor. I still use /bin/sh and of course /bin/ed for the single user shell and editing there, except on one system which is misconfigured with /usr on the root partition so that vi is accidentally available for editing. If need, I exec bin/bash from /bin/sh or mount /usr, but my /usr is usually on nfs and most boot-time editing is to fix network configuratation so that nfs is available. Bruce
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20190126064128.Y872>