From nobody Wed Feb 18 18:21:31 2026 X-Original-To: dev-commits-src-main@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 4fGPwd05D5z6SbGJ for ; Wed, 18 Feb 2026 18:21:37 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R12" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4fGPwc6dx7z3TsQ for ; Wed, 18 Feb 2026 18:21:36 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1771438896; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=4Rna0FHO3jTi37Xr12d7ZW1kL+v0eiwcBCIn5cMF4VU=; b=BxI4tSVKpy+RgtEY9z66RvJwALCcpC0faafqiurulNWTbMYGTgVuZed5UHPJhmzEK+B4FL Kyvvl5ANjviw0QugFewBle6N/vqoeU0pdj/f38JHNckM9EjFyYWxZ0U9ZUePLIHh4AVbls 5xrkfRZvHubxAynEDgMGCko1l2l5WC3Ezg9paqHmq55EgID5G3ix7AeRmowyMvFA9gQdrB 8xoq+7WIfIwugatX3kkXd6nH5ogmfXIUXs0vsbkRHlyC07+9OdMOIH2O7wieSuj5ORA2Ja uhFKpZBgNA+aQOGkQHd8CnRV+vYg81T+seUE4Yxnc4olBf+RRr2Qd7pememoMg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1771438896; a=rsa-sha256; cv=none; b=TV0yBeePQOx6bvCMsOS/Nsceq9zV31cRATdtBbh2xZUM1oAxRzJinph5ssALd7/g+UkhY1 LGxSlDWUDI+VeF5yB8FmIK0+mVd/0b6Ijr8SrPFzWr5drGrOZVSqc+RI95KhRRNhZnd9ZJ BE1q4Z9urlMQ0QInlY8byATaYrmOuUcqmwh1B46q3SX7ULGzbxLZ/xZN7PjMJuAqXeP4hz JWLPINxYyjT77TipX8VQV5rKdVkfWd0e7Ke3QokIgAuaXrPgg0SZqHCgPLK8XOetmeFKg+ hcKGRAbVFCNhlih5vXDwVsEHOx9Z8WOd9RFWEzex2HPRroRgR0Rh6eZixg3RfQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1771438896; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=4Rna0FHO3jTi37Xr12d7ZW1kL+v0eiwcBCIn5cMF4VU=; b=eg5BNJdTY+5A5CQeNlRpsO8g7nRJF1xDixLoGe+QCk/iSdRf2Wc+oyEvCzvTkVzahXLcqN c4qTyeTmxd//u9haOLzp4iFDSnG7PZs3OtP7f2oWx6Mj0jGOQ2g8j93yw9bu7ApNzGU7EH JS06nBIgqWep3QlYlC/SFmHS6ptT2e7jeghIQzdK2ygGep+77YcfFfJ1oYn9bMOeZ5rQQO RBMVSxewCJqRs1NFinWXEhXvB/ZTM7pS6Zb6VcqR2h3MBsyoGIS2a38+eBr+HvobzuWw9x SOjNKMzVf3GZM6iM4SRQYkAAFS3zqkNpfbz1YVUykhBwStm9QEbWAsH5sM+FGw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4fGPwc5wCqz16H8 for ; Wed, 18 Feb 2026 18:21:36 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 3e1b3 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Wed, 18 Feb 2026 18:21:31 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Cc: Artem Bunichev From: Alexander Ziaee Subject: git: 009be0917234 - main - sh.1: Reference editline(7) List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: ziaee X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 009be09172348c352db5d74f6ece2f4cb47ee193 Auto-Submitted: auto-generated Date: Wed, 18 Feb 2026 18:21:31 +0000 Message-Id: <6996032b.3e1b3.43e13997@gitrepo.freebsd.org> The branch main has been updated by ziaee: URL: https://cgit.FreeBSD.org/src/commit/?id=009be09172348c352db5d74f6ece2f4cb47ee193 commit 009be09172348c352db5d74f6ece2f4cb47ee193 Author: Artem Bunichev AuthorDate: 2026-02-18 18:16:38 +0000 Commit: Alexander Ziaee CommitDate: 2026-02-18 18:17:07 +0000 sh.1: Reference editline(7) Key bindings for command line editing are documented in editline(7). MFC after: 3 days Reviewed by: jilles, ziaee Differential Revision: https://reviews.freebsd.org/D54767 --- bin/sh/sh.1 | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/bin/sh/sh.1 b/bin/sh/sh.1 index dfe5419479a3..63755bbcf8a9 100644 --- a/bin/sh/sh.1 +++ b/bin/sh/sh.1 @@ -41,7 +41,7 @@ .\" the referee document. The original Standard can be obtained online at .\" http://www.opengroup.org/unix/online.html. .\" -.Dd February 9, 2026 +.Dd February 17, 2026 .Dt SH 1 .Os .Sh NAME @@ -228,6 +228,8 @@ command line editor (disables the .Fl V option if it has been set; set automatically when interactive on terminals). +See +.Sx Command Line Editing . .It Fl e Li errexit Exit immediately if any untested command fails in non-interactive mode. The exit status of a command is considered to be @@ -337,6 +339,8 @@ Enable the built-in command line editor (disables .Fl E if it has been set). +See +.Sx Command Line Editing . .It Fl v Li verbose The shell writes its input to standard error as it is read. @@ -2064,7 +2068,8 @@ See .Sx Job Control for a list of job ID forms. .It Ic bind Oo Fl aeklrsv Oc Oo Ar key Oo Ar command Oc Oc -List or alter key bindings for the line editor. +List or alter key bindings for the line editor, +.Xr editline 7 . This command is documented in .Xr editrc 5 . .It Ic break Op Ar num @@ -3049,6 +3054,11 @@ Similarly, the command can be used to enable a subset of .Nm emacs Ns -style command line editing features. +.Pp +Command line editing in +.Nm +is handled by the +.Xr editline 7 . .Sh ENVIRONMENT The following environment variables affect the execution of .Nm : @@ -3119,7 +3129,8 @@ will return the argument. .Xr signal 3 , .Xr wctype 3 , .Xr editrc 5 , -.Xr shells 5 +.Xr shells 5 , +.Xr editline 7 .Sh HISTORY A .Nm