From nobody Wed Sep 22 13:00:49 2021 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 10EA317D2A4B for ; Wed, 22 Sep 2021 13:00:55 +0000 (UTC) (envelope-from garga.bsd@gmail.com) Received: from mail-qv1-xf34.google.com (mail-qv1-xf34.google.com [IPv6:2607:f8b0:4864:20::f34]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HDz1f4x7Hz3Bvn for ; Wed, 22 Sep 2021 13:00:54 +0000 (UTC) (envelope-from garga.bsd@gmail.com) Received: by mail-qv1-xf34.google.com with SMTP id z12so1840996qvx.5 for ; Wed, 22 Sep 2021 06:00:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:message-id:date:mime-version:user-agent:subject :content-language:to:references:from:in-reply-to :content-transfer-encoding; bh=hZVNTvhVU+ICQi3Bmjz3cbOA+xaAp0/oX6u60EXCXsM=; b=BOWUjIUdHHcC+tODRNC8pI20rie17h2VGsyVx7vHIQOrd/QcrXcyqAVDeAehCP8X9N ShEbkGwQ+PWUcVMKqxrB7TYUEDGliGkHP99sYHtTPkNIKrVKfXZ0S2I9+BcXVpdiC0vn b+ICZMjAURTdPkPW9fQKSd9a5p1rmXXXpRe+1qtq9DKYVnwmxSBEUxKLptytCCsOKpw7 LGS3xpUsC7lhSQS+PHN9z6NO3ioPHqS3NY0dLpLGPcMSbnxXFGgF4Yk4gi0/xVnaqOIY s/trOxmcT1J3UC5on76Kx1hGQHhq+ZWfFZDEPR7iUi6Q2/eFjJR6ZF6LIgxUMy7HECLK l66w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:message-id:date:mime-version:user-agent :subject:content-language:to:references:from:in-reply-to :content-transfer-encoding; bh=hZVNTvhVU+ICQi3Bmjz3cbOA+xaAp0/oX6u60EXCXsM=; b=pRCZNN9/f9NryFY0wg9gMaxdYiMlcpF6HRAA2hKyDtF2O003uvNRHb++eVzRd/uiIk XP46t+kAj72J46H3pZl82gQNx8QjmDzFU/oAPFCZSkyl+pZb24DA6G6Wq90CPiiUZw6U I9GqdlYWZLDFwFJdjyX3Wpo3GQcd1y4VTiJ1H0C3r5zeSWPYDVb4I+HoQLGLmwcjL1Ae JqJRug0+ItouaDsnyFV2hxD4uZ9MUDWlATR7iFQ/1yGHbU8k764ZKxFDwgTP84t1yb3v A09YYRZ/dM2FTo9C8iXQGAdnlVZfjt5vibqpKlqGc6GApAWkgqY65sS3hvuQ9qrBeG6F tDfw== X-Gm-Message-State: AOAM530AVvDv6nzV3wPKF42J/fmRoLrSU2aFV6E68SNS/05AAlnLzkJr 0p1WqFYOAbs/iPxiZ3+EtIw= X-Google-Smtp-Source: ABdhPJwVKtvoV5oX09iCrC+gzEX6nznlEd0c90CCwARYwNSbtmANsrwCVu7/cxyS6hd3TVT3FpnFYA== X-Received: by 2002:a05:6214:12b4:: with SMTP id w20mr36225589qvu.1.1632315653171; Wed, 22 Sep 2021 06:00:53 -0700 (PDT) Received: from [172.21.4.113] (dynamic-177-53-82-16.telecominternet.net.br. [177.53.82.16]) by smtp.gmail.com with ESMTPSA id h68sm1697420qkf.126.2021.09.22.06.00.51 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 22 Sep 2021 06:00:52 -0700 (PDT) Message-ID: <2c69aac3-2169-f2ed-ef46-22f40f1d80f6@FreeBSD.org> Date: Wed, 22 Sep 2021 10:00:49 -0300 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.1.1 Subject: Re: [HEADSUP] making /bin/sh the default shell for root Content-Language: en-US To: daniel@morante.net, freebsd-current@freebsd.org References: <20210922083645.4vnoajyvwq6wfhdf@aniel.nours.eu> From: Renato Botelho In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4HDz1f4x7Hz3Bvn X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; TAGGED_FROM(0.00)[]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N +1 for keeping this behavior on default config On 22/09/21 06:19, Daniel Morante via freebsd-current wrote: > Will history/completion continue to work the same way? (for example > typing part of the command, pressing UP and having it complete based on > history) > > On 9/22/2021 4:36 AM, Baptiste Daroussin wrote: >> 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 >> $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) >> >> If no strong arguments has been raised until October 15th, I will make >> this >> proposal happen. >> >> Again just in case: THIS IS NOT A PROPOSAL TO REMOVE CSH FROM BASE! >> >> Best regards, >> Baptiste >> > -- Renato Botelho