From nobody Thu May 07 18:59:38 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 4gBM4V3B9gz6d1t9 for ; Thu, 07 May 2026 18:59:38 +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 "R13" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4gBM4V0lhwz43np for ; Thu, 07 May 2026 18:59:38 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1778180378; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=KHCtDgOEO6cgy4MjcPLh78nRAG5rmI675rtUoBrNEvI=; b=NOazRjHyG7hdSTV3WQNr8WqDj3SlhrW3uIoUAp915SMFlMjkMIW0amCZtjANGQnfU2owEJ nqUnJXyYwYLYagsa9NUvl9QK1pdO1v7iMv9mS660G4OSJTtkBrVRJvgb3z7Zze9p1LSZO2 jBtLLPYWnrq+aKX/LSuLkYMadT0XKNC+z5N7xnkaI4tYUpR3IDc7k/BuTqf0ytBwR6ujwA 3kzbWJU0uHw57huy7iW3FM3iEhrjgr8rItlMKTP8KoPkh6Ug5nfRp8CEQ1C6DUmvDqjPcz AEbCuwJPqbL1gIR35wILpKxW2ViRmZSbQHU+D/2oDYdIn+mg88858NuKh1LpQg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1778180378; a=rsa-sha256; cv=none; b=sQpHSc+fhNsjvG3N/+odJBH/YCQp3NmXc0dXX4vhWk1XYJEt32tCmYz1CQpLkpnvGpULMr dsZRTJLr+nAf+9KaINYnTcG/19mR/pzzfP7NOwXnm1eBzF4kfFMi4bWF4lLwEULJnK7VYJ bDwM9QlKLVkCGqFGW6YNivAeAdNT5KkwW2EEJPuumnarnrn/j/jDMklxVneZSy3RQj71Nm 4SLRzVW6iqbioIuM/kJxZybTn6SUuKLohfpsxvi9eymw91gg9s74BJTTEVMcKnqC67+d8X vc2qXRvFuxbXlISMOdaaZBQci0r6D0fQjKJhkfJidsZ9W+1MMhAN2UZBW+Nkww== 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=1778180378; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=KHCtDgOEO6cgy4MjcPLh78nRAG5rmI675rtUoBrNEvI=; b=Zqs+mO9KF/zk+YhijmdqH6BqhkIUlcxRitDe2hP/PsGHg/8nQMP3xeEfN5CjpQ5+41dco5 k0oCEGS3qSsg9kseomo0u+nzEV+lxj1tH2vN08qAGt6gKOiRm/cQB64tc/Q7scl5Le3D8Y jM2lh91AdyzV2ULBvm+sxtEWpumrGcPEbdrkZMbgz2Haeq54Wey9ZPZDgQmnEjeLVZKZuC XGsa8qluZSnaHyCaz2f90yDNX9OLLKc+kX010akkzmih5caICcCSzQyGCCOu2rXzBdIFUk CfJXZFvT4wjlbdAxpABs8v1BBHRQyjfPquGvxYbdNae4A9w/l0QSnYN/JYzvzg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4gBM4V0FHYzfbm for ; Thu, 07 May 2026 18:59:38 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 45265 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Thu, 07 May 2026 18:59:38 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Dag-Erling=?utf-8?Q? Sm=C3=B8rg?=rav Subject: git: 219c49468f55 - stable/14 - vis.3: Try to better describe VIS_SAFE 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 List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: des X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: 219c49468f55e3aee4fc3fdafeb9d2b9eae34016 Auto-Submitted: auto-generated Date: Thu, 07 May 2026 18:59:38 +0000 Message-Id: <69fce11a.45265.5eae03a0@gitrepo.freebsd.org> The branch stable/14 has been updated by des: URL: https://cgit.FreeBSD.org/src/commit/?id=219c49468f55e3aee4fc3fdafeb9d2b9eae34016 commit 219c49468f55e3aee4fc3fdafeb9d2b9eae34016 Author: Dag-Erling Smørgrav AuthorDate: 2026-05-04 12:08:10 +0000 Commit: Dag-Erling Smørgrav CommitDate: 2026-05-07 18:54:28 +0000 vis.3: Try to better describe VIS_SAFE The current text fails to draw the reader's attention to the fact that VIS_SAFE essentially exempts certain characters from being encoded. While here, fix some markup nits. MFC after: 1 week Reviewed by: markj Differential Revision: https://reviews.freebsd.org/D56716 (cherry picked from commit 8acc4c16c6635c3cd8871d0ee1221b62d48d71b9) --- contrib/libc-vis/vis.3 | 32 +++++++++++++++++++------------- 1 file changed, 19 insertions(+), 13 deletions(-) diff --git a/contrib/libc-vis/vis.3 b/contrib/libc-vis/vis.3 index 18329589d940..9b7b8152be3e 100644 --- a/contrib/libc-vis/vis.3 +++ b/contrib/libc-vis/vis.3 @@ -29,7 +29,7 @@ .\" .\" @(#)vis.3 8.1 (Berkeley) 6/9/93 .\" -.Dd April 22, 2017 +.Dd May 3, 2026 .Dt VIS 3 .Os .Sh NAME @@ -246,19 +246,22 @@ alter this: Also encode double quotes .It Dv VIS_GLOB Also encode the magic characters -.Ql ( * , +.Po +.Ql * , .Ql \&? , .Ql \&[ , and -.Ql # ) +.Ql # +.Pc recognized by .Xr glob 3 . .It Dv VIS_SHELL Also encode the meta characters used by shells (in addition to the glob characters): -.Ql ( ' , +.Po +.Ql ' , .Ql ` , -.Ql \&" , +.Ql \&\(dq , .Ql \&; , .Ql & , .Ql < , @@ -272,7 +275,8 @@ characters): .Ql \&! , .Ql \&^ , and -.Ql ~ ) . +.Ql ~ +.Pc . .It Dv VIS_SP Also encode space. .It Dv VIS_TAB @@ -286,13 +290,15 @@ Synonym for Synonym for .Dv VIS_WHITE | VIS_GLOB | VIS_SHELL . .It Dv VIS_SAFE -Only encode -.Dq unsafe -characters. -Unsafe means control characters which may cause common terminals to perform -unexpected functions. -Currently this form allows space, tab, newline, backspace, bell, and -return \(em in addition to all graphic characters \(em unencoded. +Leave +.Dq safe +characters unencoded. +Characters are only considered unsafe if they cause common terminals +to perform unexpected functions. +Setting the +.Dv VIS_SAFE +flag exempts the backspace, bell, and return characters from being +encoded. .El .Pp (The above flags have no effect for