Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Feb 2026 17:30:23 +0000
From:      Alexander Ziaee <ziaee@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 960719762f0a - main - trimdomain.3: Explain DISPLAY a bit more
Message-ID:  <6994a5af.32cfb.3f4f1157@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by ziaee:

URL: https://cgit.FreeBSD.org/src/commit/?id=960719762f0a1f6689ec58bc6d8ce21c4daa9096

commit 960719762f0a1f6689ec58bc6d8ce21c4daa9096
Author:     Alexander Ziaee <ziaee@FreeBSD.org>
AuthorDate: 2026-02-17 17:22:26 +0000
Commit:     Alexander Ziaee <ziaee@FreeBSD.org>
CommitDate: 2026-02-17 17:28:25 +0000

    trimdomain.3: Explain DISPLAY a bit more
    
    MFC after:              3 days
    Reported by:            jrtc27
    Reviewed by:            des
    Differential Revision:  https://reviews.freebsd.org/D54629
---
 lib/libutil/trimdomain.3 | 12 +++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)

diff --git a/lib/libutil/trimdomain.3 b/lib/libutil/trimdomain.3
index 0e65a864936c..114d8d139869 100644
--- a/lib/libutil/trimdomain.3
+++ b/lib/libutil/trimdomain.3
@@ -22,7 +22,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.Dd April 7, 1999
+.Dd February 17, 2025
 .Dt TRIMDOMAIN 3
 .Os
 .Sh NAME
@@ -60,20 +60,18 @@ name does not exceed
 .Pp
 If the passed
 .Ar fullname
-is actually a
-.Dv DISPLAY
+is actually an X11
+.Ev DISPLAY
 specification of the form
 .Sm off
-.Ar host . domain : nn Oo .
-.Ar nn
-.Oc
+.Ar host . Ar domain : Ar display Op . screen ,
 .Sm on
 and the domain name is the same as the local domain name,
 .Fn trimdomain
 will remove the embedded domain name, copying the screen and display
 numbers to the end of the base host name and resulting in
 .Sm off
-.Ar host : nn Op . Ar nn .
+.Ar host : display Op . Ar screen .
 .Sm on
 .Sh RETURN VALUES
 The


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6994a5af.32cfb.3f4f1157>