Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Sep 2021 04:56:25 +0200
From:      Baptiste Daroussin <bapt@freebsd.org>
To:        Alban Hertroys <haramrae@gmail.com>
Cc:        current@freebsd.org, "arch@freebsd.org" <arch@FreeBSD.org>
Subject:   Re: [HEADSUP] making /bin/sh the default shell for root
Message-ID:  <20210923025625.wtufdwbmq47qsxbv@aniel.nours.eu>
In-Reply-To: <9A7E9AB0-1A59-4E8C-86EC-EFD8A3147112@gmail.com>
References:  <20210922083645.4vnoajyvwq6wfhdf@aniel.nours.eu> <9A7E9AB0-1A59-4E8C-86EC-EFD8A3147112@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Sep 22, 2021 at 10:03:40PM +0200, Alban Hertroys wrote:
> 
> > On 22 Sep 2021, at 10:36, Baptiste Daroussin <bapt@freebsd.org> wrote:
> > 
> > Hello,
> > 
> > TL;DR: this is not a proposal to deorbit csh from base!!!
> 
> (…)
> 
> > 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 $EDITOR)
> > * 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)
> 
> My one concern is this: what is the impact of these usability improvements to sh on its usage in scripts?

None, those are in a code path with doesn't get executed when in non interactive
mode.

Best regards,
Bapt



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20210923025625.wtufdwbmq47qsxbv>