Date: Wed, 22 Sep 2021 13:03:54 +0200 From: Mariusz Zaborski <oshogbo@freebsd.org> To: Chris Stephan <chris.stephan@live.com> Cc: Baptiste Daroussin <bapt@freebsd.org>, "current@freebsd.org" <current@freebsd.org>, "arch@FreeBSD.org" <arch@freebsd.org> Subject: Re: [HEADSUP] making /bin/sh the default shell for root Message-ID: <CAGOYWV_%2BSS_CqhQ8pMrm7G9dEK5XUrECDiby_LLoL69uOj3jLA@mail.gmail.com> In-Reply-To: <SA1PR02MB8669B26ABC212799FF5B18E59BA29@SA1PR02MB8669.namprd02.prod.outlook.com> References: <20210922083645.4vnoajyvwq6wfhdf@aniel.nours.eu> <SA1PR02MB8669B26ABC212799FF5B18E59BA29@SA1PR02MB8669.namprd02.prod.outlook.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--0000000000003a720005cc9375cf Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable +1 from me. On Wed, 22 Sept 2021 at 12:31, Chris Stephan <chris.stephan@live.com> wrote= : > I completely agree. It will save me the =E2=80=98/bin/sh=E2=80=99 at the = beginning of each > =E2=80=98su -=E2=80=98 session. Also, it will simplify building extra sma= ll FreeBSD images, > allowing an easier removal of =E2=80=98csh=E2=80=99. > > I use csh from time to time, but I do wish it would take a much more > explicit action so my brain has switched over to =E2=80=98csh mode=E2=80= =99. I won=E2=80=99t lie > that I=E2=80=99ve pasted script into my terminal and spent time troublesh= ooting why > the commands didn=E2=80=99t work only to realize I forgot to change to /b= in/sh > first. > > Chris Stephan > > Sent from FreeBSD > ________________________________ > From: owner-freebsd-current@freebsd.org <owner-freebsd-current@freebsd.or= g> > on behalf of Baptiste Daroussin <bapt@FreeBSD.org> > Sent: Wednesday, September 22, 2021 3:36:45 AM > To: current@freebsd.org <current@freebsd.org>; arch@FreeBSD.org > <arch@FreeBSD.org> > Subject: [HEADSUP] making /bin/sh the default shell for root > > Hello, > > TL;DR: this is not a proposal to deorbit csh from base!!! > > For years now, csh is the default root shell for FreeBSD, csh can be > confusing > as a default shell for many as all other unix like settled on a bourne > shell > compatible interactive shell: zsh, bash, or variant of ksh. > > Recently our sh(1) has receive update to make it more user friendly in > interactive mode: > * command completion (thanks pstef@) > * improvement in the emacs mode, to make it behave by default like other > shells > * improvement in the vi mode (in particular the vi edit to respect $EDITO= R) > * support for history as described by POSIX. > > This makes it a usable shell by default, which is why I would like to > propose to > make it the default shell for root starting FreeBSD 14.0-RELEASE (not > MFCed) > > If no strong arguments has been raised until October 15th, I will make th= is > proposal happen. > > Again just in case: THIS IS NOT A PROPOSAL TO REMOVE CSH FROM BASE! > > Best regards, > Baptiste > > --0000000000003a720005cc9375cf--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGOYWV_%2BSS_CqhQ8pMrm7G9dEK5XUrECDiby_LLoL69uOj3jLA>