From nobody Thu Aug 7 17:02:42 2025 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 4byYPb45nDz64VnY; Thu, 07 Aug 2025 17:02:43 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4byYPZ75WHz3bgM; Thu, 07 Aug 2025 17:02:42 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1754586163; 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=Ipn4Z9sbxr5GTi05s+moSkIHEY4arX7FhYMb1EXAaBQ=; b=D+80wQZkRnaYM5kDpO8Uhunbdcf0M2TubH9xYhgWlw/i7qi+ZD2om75xExabLucCviOzpp 2pumU6vji2un5u3oXnftMP0QBItccs7hA4a6Ehw7PpRkcQM2XiLxaK1wMlbbtljvBBM9uJ dcEnm+AO65dGdKWCxB87A0v22+JljBja0plX22LmGbmuywG8HLL1G5ZJ28FxXqwmIW+oF5 ToFTMWZAyTJYluasPAotoE0I1akzq35tiuQGfE51MoTUt10aDvGBEpKi5/m1PJ2dda6Og/ lu0RI5U0S71XeJxPr0V0wbGgd3fsgjpGKj4W7moQuL7RDAsgxv9sKJKgGvcOQQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1754586163; 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=Ipn4Z9sbxr5GTi05s+moSkIHEY4arX7FhYMb1EXAaBQ=; b=Wn7K9CzRtUV8XbMgcbsaQyhpkW0N0xs81VFG/20lPwqz46q47DXCmb3tnhmd9lx+U8knJT 56IWWV9wWjvlff1g7F0uvGiqItji8hCavJubCXHHnUEnfoAyOaMoQYo5PQ5Bagxxgt/cVU HiPCsolTswPxc++0RGWsAHN0y+08sjs05AUlb3MCAYDA5vEFpTVuqdakDTTO/gOmT48x3g 6Yo5rfR5213E9AeDZSC96T+9Wkaojv0EGGt+ZXHJcbqhkacyx7b9+77UAtJj6TGYpF50ix pcCXcklHm62bcbzeacjDhEvexhfxpxVUrBMCtT+2aAjVaYPZPQg1FLV0sRLxOw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1754586163; a=rsa-sha256; cv=none; b=WqHjNRFaTCa73zYQC1z+3sjPIfzyF0TlYqZEjaZ7yyjcbMcPzV7ReJUoEqLA5DyRZeacCX gw0ZgpsPIRe0HQxjN0E429Hs/Farq6wPoZhpZWplF6T4Nab83JglEGn1kR6PjJEmFPTiDN ZnBrq+F7oNqC0vCxzGzRIbYPZRL5onrUL51JR+vHiBTW5+7JO9wAOpIGRqvjeJ79jN0m7G l3/lzHhXl1QMJoEQ3FMjDq2KiT1ny2gjUhVcFaB5cGvwwXEIx2/WXbW+BJRgIXGH9kX3Ym qadDp8+d42v3epe9fPv57xes1o2Ofdx8z4WnkY5TwMrk/T4G3FT9iTebZGPcJA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4byYPZ6YKnz1DJx; Thu, 07 Aug 2025 17:02:42 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 577H2gRa032335; Thu, 7 Aug 2025 17:02:42 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 577H2g3Y032332; Thu, 7 Aug 2025 17:02:42 GMT (envelope-from git) Date: Thu, 7 Aug 2025 17:02:42 GMT Message-Id: <202508071702.577H2g3Y032332@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Alexander Ziaee Subject: git: 7cd6da268a8f - main - vt.4: Style pass 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/main X-Git-Reftype: branch X-Git-Commit: 7cd6da268a8fbf34b16564dd9a94c86853eb7c56 Auto-Submitted: auto-generated The branch main has been updated by ziaee: URL: https://cgit.FreeBSD.org/src/commit/?id=7cd6da268a8fbf34b16564dd9a94c86853eb7c56 commit 7cd6da268a8fbf34b16564dd9a94c86853eb7c56 Author: Alexander Ziaee AuthorDate: 2025-08-07 17:01:29 +0000 Commit: Alexander Ziaee CommitDate: 2025-08-07 17:02:13 +0000 vt.4: Style pass Outstanding: I'm not sure kernel configuration declarations are defined variables. Dv does not allow arguments, but some why allowed paths, so non-path arguments were being incorrectly marked up as paths. MFC after: 3 days Reviewed by: 0mp, emaste Differential Revision: https://reviews.freebsd.org/D49565 --- share/man/man4/vt.4 | 50 +++++++++++++++++++++++++------------------------- 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/share/man/man4/vt.4 b/share/man/man4/vt.4 index ad050bdd0d59..21d69bf9d495 100644 --- a/share/man/man4/vt.4 +++ b/share/man/man4/vt.4 @@ -1,4 +1,4 @@ -.\"- +.\" .\" SPDX-License-Identifier: BSD-2-Clause .\" .\" Copyright (c) 2014 Warren Block @@ -26,32 +26,32 @@ .\" SUCH DAMAGE. .\" .Dd July 7, 2024 -.Dt "VT" 4 +.Dt VT 4 .Os .Sh NAME .Nm vt .Nd virtual terminal system video console driver .Sh SYNOPSIS -.Cd "options TERMINAL_KERN_ATTR=_attribute_" -.Cd "options TERMINAL_NORM_ATTR=_attribute_" -.Cd "options VT_MAXWINDOWS=N" +.Cd "options TERMINAL_KERN_ATTR=" +.Cd "options TERMINAL_NORM_ATTR=" +.Cd "options VT_MAXWINDOWS=" .Cd "options VT_ALT_TO_ESC_HACK=1" .Cd "options VT_TWOBUTTON_MOUSE" -.Cd "options VT_FB_MAX_WIDTH=X" -.Cd "options VT_FB_MAX_HEIGHT=Y" +.Cd "options VT_FB_MAX_WIDTH=" +.Cd "options VT_FB_MAX_HEIGHT=" .Cd "options SC_NO_CUTPASTE" .Cd "device vt" .Pp In .Xr loader.conf 5 : -.Cd hw.vga.textmode=1 -.Cd hw.vga.acpi_ignore_no_vga=1 -.Cd kern.vty=vt -.Cd kern.vt.color..rgb="" -.Cd kern.vt.fb.default_mode="x" -.Cd kern.vt.fb.modes.="x" -.Cd kern.vt.slow_down=" -.Cd screen.font="x" +.Cd "hw.vga.textmode=1" +.Cd "hw.vga.acpi_ignore_no_vga=1" +.Cd "kern.vty=vt" +.Cd "kern.vt.color..rgb=" +.Cd "kern.vt.fb.default_mode=x" +.Cd "kern.vt.fb.modes.=x" +.Cd "kern.vt.slow_down=" +.Cd "screen.font=x" .Pp In .Xr loader.conf 5 or @@ -130,8 +130,8 @@ These kernel options control the .Nm driver. .Bl -tag -width MAXCONS -.It Dv TERMINAL_NORM_ATTR= Ns Pa attribute -.It Dv TERMINAL_KERN_ATTR= Ns Pa attribute +.It Dv TERMINAL_NORM_ATTR= +.It Dv TERMINAL_KERN_ATTR= These options change the default colors used for normal and kernel text. Available colors are defined in @@ -139,7 +139,7 @@ Available colors are defined in See .Sx EXAMPLES below. -.It Dv VT_MAXWINDOWS=N +.It Dv VT_MAXWINDOWS= Set the number of virtual terminals to be created to .Fa N . The value defaults to 12. @@ -152,10 +152,10 @@ In effect, this makes the right-hand mouse button perform a paste. These options are checked in the order shown. .It Dv SC_NO_CUTPASTE Disable mouse support. -.It VT_FB_MAX_WIDTH=X +.It VT_FB_MAX_WIDTH= Set the maximum width to .Fa X . -.It VT_FB_MAX_HEIGHT=Y +.It VT_FB_MAX_HEIGHT= Set the maximum height to .Fa Y . .El @@ -166,7 +166,7 @@ console device, These options will be removed in a future .Fx version. -.Bl -column -offset indent ".Sy vt VT_TWOBUTTON_MOUSE" ".Sy SC_TWOBUTTON_MOUSE" +.Bl -column -offset indent "TERMINAL_KERN_ATTR" "SC_KERNEL_CONS_ATTR" .It Sy vt Option Name Ta Sy sc Option Name .It Dv TERMINAL_KERN_ATTR Ta Dv SC_KERNEL_CONS_ATTR .It Dv TERMINAL_NORM_ATTR Ta Dv SC_NORM_ATTR @@ -230,7 +230,7 @@ Note that is not compatible with .Xr UEFI 8 boot. -.It Va kern.vt.color. Ns Ar colornum Ns Va .rgb +.It Va kern.vt.color. Ns Ar colornum Ns . Ns Va rgb Set this value to override default palette entry for color .Pa colornum which should be in a range from 0 to 15 inclusive. @@ -245,15 +245,15 @@ Note: The .Nm VGA hardware driver does not support palette configuration. .It Va kern.vt.fb.default_mode -Set this value to a graphic mode to override the default mode picked by the +Set this value to a graphic mode to override the default picked by the .Nm backend. The mode is applied to all output connectors. This is currently only supported by the .Cm vt_fb backend when it is paired with a KMS video driver. -.It Va kern.vt.fb.modes. Ns Pa connector_name -Set this value to a graphic mode to override the default mode picked by the +.It Va kern.vt.fb.modes. +Set this value to a graphic mode to override the default picked by the .Nm backend. This mode is applied to the output connector