From nobody Fri Apr 10 18:31:03 2026 X-Original-To: dev-commits-src-all@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 4fslk02kX1z6YBHf for ; Fri, 10 Apr 2026 18:31:04 +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 4fsljz71vqz4278 for ; Fri, 10 Apr 2026 18:31:03 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1775845864; 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=kc8bRaakEmPhpkXT9Zj2Kahv7WDR0yhaC1zMl7Alrhw=; b=fpxmwz8v3zPooczupDMBrXM41/SUL4Ce3uXXr3bylpoXFX6U3K2KSj3zv6hlpSdyvEEpG9 cTnSpTRDrY6wQ7mpRBA3cuXcW0po82XkcUUqTEK+WSEH3VH9JfD1di+PGh7YwMcOoOASoy 4f8ybyjH5QVVI5PLhMxuhJno4xySf/HGhQw2aUzpHyDhBdCy3p5EdSRZktZNVB9NBrozHm /wr4ZRfz4OBxoazjnpUGnkKrT5LZPHW9jXT7iViy8Ce9OixByr0Krd2M3vc/vUel8nyn34 vUg7fxzmJ7NV1QJwe82lL2mCDL/eeaQGB85BS8gB2QLSKuSvF7V99EqrAQjeDw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1775845864; a=rsa-sha256; cv=none; b=imC+WTNCGG56PivXlsWGVEOiX2o9WtUcexrZ6anQ7Newhekps+nRKlbGd+SEV+IweToQY6 gZPVSxf1ctpaWNloHrQOaTPVRvNBOTicY/htmc3DLtFLQiJmbnLWZXd45IWVwaNqb4v9Ue a/M3zbYDQ+s5XTLMWPxn2Cb8Zy00fdWzVHDfR7ueqygEulgqnMksWw84Qu7B1i3p1t+6+p e9dVlGk1bqOnBQ8IVp6CTa+WXCbwUaI5t0HJ0HSQZPV39ICBRwztsWcVUMU+tbDR8RIQ9w ahn7382sHUufkPRsdC+/seqE2ZRBuHpeRRB7nUlE6StvV64KOeShG/W36SYQ3A== 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=1775845864; 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=kc8bRaakEmPhpkXT9Zj2Kahv7WDR0yhaC1zMl7Alrhw=; b=k+gwLV3DhhWse3DiRWm7pULzsPyBwfvFRjQWzP0EsiWDhCb4ZQ0eUhpRSoqVbrtjOWTkm0 dWp2Vs3Fcw1KQz7oLAFlPW+FO+WWferA83rR0yvWJszPg0ZOmOPVvCI8/1uUzh8o+vZ6Js fBjdiu949+Co9oIxhUaAi9L4/+tduTzZjJHmdLI99diMC7hx73O98KU221xc279voDo/K0 fuwqwqvocgMxyTTxPYrjzLy5L7Z3/KQGD6+C5ommYCTEafbYJCCsnt1z3qmqqCcWANdGve lrOrj3W+jpQn0M73wsYPdJvv55eYyMTXjb/HSTkU6D84QqH8Y2v+71CyHlWbjg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4fsljz5g9fzvh6 for ; Fri, 10 Apr 2026 18:31:03 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 39c08 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Fri, 10 Apr 2026 18:31:03 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Cc: Artem Bunichev From: Alexander Ziaee Subject: git: 064e203f63af - stable/15 - sh.1: Reference editline(7) List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@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/stable/15 X-Git-Reftype: branch X-Git-Commit: 064e203f63af17e13a570afae91c3d90b8e1214b Auto-Submitted: auto-generated Date: Fri, 10 Apr 2026 18:31:03 +0000 Message-Id: <69d941e7.39c08.3f7ff7a2@gitrepo.freebsd.org> The branch stable/15 has been updated by ziaee: URL: https://cgit.FreeBSD.org/src/commit/?id=064e203f63af17e13a570afae91c3d90b8e1214b commit 064e203f63af17e13a570afae91c3d90b8e1214b Author: Artem Bunichev AuthorDate: 2026-02-18 18:16:38 +0000 Commit: Alexander Ziaee CommitDate: 2026-04-10 18:27:16 +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 (cherry picked from commit 009be09172348c352db5d74f6ece2f4cb47ee193) --- 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